Bash Line Editor―a line editor written in pure Bash with syntax highlighting, auto suggestions, vim modes, etc. for Bash interactive sessions.
This report summarizes scanner evidence for akinomyoga/ble.sh, a Shell project with 4,815 GitHub stars. SynthScan examined 98,896 lines of code across 187 source files, recording 782 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 13.1 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 400 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 381 finding(s).
Which changes need focused human review? 782 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 782 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | make_command.sh | 46 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | make_command.sh | 228 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | make_command.sh | 246 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | make_command.sh | 917 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | make_command.sh | 1060 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | make_command.sh | 1163 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | make_command.sh | 1208 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | make_command.sh | 1220 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | test/benchmark/202607-heap.sh | 220 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | make/color.sample.sh | 195 | #-------------------------------------------------------------------------- | COMMENT |
| MEDIUM | make/color.sample.sh | 242 | #-------------------------------------------------------------------------- | COMMENT |
| MEDIUM | make/color.sample.sh | 314 | #-------------------------------------------------------------------------- | COMMENT |
| MEDIUM | make/color.sample.sh | 620 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | make/color.sample.sh | 693 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | make/canvas.c2w.generate-table.sh | 38 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | make/canvas.c2w.generate-table.sh | 1168 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | make/canvas.emoji.sh | 65 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | make/canvas.emoji.sh | 117 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | make/canvas.emoji.sh | 200 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | make/canvas.emoji.sh | 474 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/T0003.debug-trap.sh | 53 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/T0003.debug-trap.sh | 76 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/D1314.bashrc.sh | 21 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/D1314.bashrc.sh | 42 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/D1522.large-array-passing.sh | 37 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/D1522.large-array-passing.sh | 61 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/D1522.large-array-passing.sh | 142 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/D2014-complete-mandb-for-command.bash | 59 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/D0628.extract-global-values.sh | 7 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/D0628.extract-global-values.sh | 34 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/D0628.extract-global-values.sh | 61 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/D0628.extract-global-values.sh | 93 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/D0628.extract-global-values.sh | 118 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/D1614.bash32-soh-and-del-in-arrays.sh | 25 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/D1231.ble-measure-calibration.sh | 51 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/array-reverse.sh | 37 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/array-reverse.sh | 51 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/array-reverse.sh | 96 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/array-reverse.sh | 141 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/array-reverse.sh | 178 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/array-reverse.sh | 227 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/array-reverse.sh | 320 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/array-reverse.sh | 369 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/array.sh | 12 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/array.sh | 88 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/array.sh | 107 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/202607-dict.sh | 97 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/202607-dict.sh | 138 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/202607-dict.sh | 170 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/202607-dict.sh | 205 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/202607-dict.sh | 734 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/202607-dict.sh | 1017 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/202607-dict.sh | 1252 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/201902-sort.sh | 44 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/201902-sort.sh | 146 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/201902-sort.sh | 165 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/201902-sort.sh | 205 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/201809-test.sh | 54 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/201809-test.sh | 65 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/201809-test.sh | 114 | #------------------------------------------------------------------------------ | COMMENT |
| 321 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | make_command.sh | 1141 | percentile = count / g_total_count * 100; | COMMENT |
| LOW | archive/getopt1.sh | 1 | #!/bin/bash | COMMENT |
| LOW | archive/getopt.sh | 1 | # bash source -*- mode:sh; mode:sh-bash -*- | COMMENT |
| LOW | archive/getopt.sh | 21 | ## # | COMMENT |
| LOW | archive/getopt.sh | 41 | ## else | COMMENT |
| LOW | archive/getopt.sh | 61 | ## [[ $flagVersion ]] && print-version | COMMENT |
| LOW | archive/getopt-test.sh | 1 | #!/bin/bash | COMMENT |
| LOW | archive/cmap/xterm.sh | 101 | ble/cmap:xterm/CSI-CMS '2 6' '$' f24 | COMMENT |
| LOW | archive/cmap/xterm.sh | 121 | # # [96]='`' [97]=a [98]=b [99]=c | COMMENT |
| LOW | make/canvas.c2w.wcwidth.cpp | 21 | int *old_widths = &widths2[0]; | COMMENT |
| LOW | make/canvas.c2w.list-ucsver-detection-codes.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | memo/D1314.bashrc.sh | 1 | #!/bin/bash | COMMENT |
| LOW | memo/D0375.quote-in-param-expansion.sh | 101 | [[ "${digits["1"]}" == 1 ]] || echo Error3 | COMMENT |
| LOW | memo/D0375.quote-in-param-expansion.sh | 121 | ## 2. ${var:offset} の形式では基本的に offset に quote を含めると | COMMENT |
| LOW | memo/D1522.large-array-passing.sh | 141 | COMMENT | |
| LOW | memo/D1440.suppress-locale-error.sh | 41 | # checkB1 | COMMENT |
| LOW | memo/D0628.extract-global-values.sh | 61 | #------------------------------------------------------------------------------ | COMMENT |
| LOW | memo/D1519.posix-option.sh | 21 | # set -o posix | COMMENT |
| LOW | memo/D1782.test.sh | 1 | #!/bin/bash | COMMENT |
| LOW | memo/D1231.ble-measure-calibration.sh | 21 | f8; echo $nsec | COMMENT |
| LOW | memo/D1231.ble-measure-calibration.sh | 41 | # S1, S5 ... サブシェルで source した時。 | COMMENT |
| LOW | memo/D1231.ble-measure-calibration.sh | 81 | # g1 790 429 | COMMENT |
| LOW | memo/benchmark/array-access.sh | 21 | function sum-random { local s=0; for ((i=0;i<N;i++)); do ((s+=a[RANDOM%N])); done; } | COMMENT |
| LOW | memo/benchmark/array-access.sh | 41 | # 135904.300 usec/eval: sum-random 10000 (x1) | COMMENT |
| LOW | memo/benchmark/array-access.sh | 61 | # bash-4.4 | COMMENT |
| LOW | memo/benchmark/array-reverse.sh | 21 | # | COMMENT |
| LOW | memo/benchmark/array-reverse.sh | 41 | # 更に逆順にループを回した場合も遅くなる。 | COMMENT |
| LOW | memo/benchmark/array-reverse.sh | 101 | # # 改行が含まれていると駄目 | COMMENT |
| LOW | memo/benchmark/array-reverse.sh | 141 | #------------------------------------------------------------------------------ | COMMENT |
| LOW | memo/benchmark/array-reverse.sh | 181 | # ブレース展開を用いて A=([0]=${S[9]} ... [9]=${S[0]}) などの文字列を生成し、 | COMMENT |
| LOW | memo/benchmark/array-reverse.sh | 221 | ble-measure 'ble/array#reverse4.1a A S2' # 12270.00 us 3469.90 us 12270.00 us | COMMENT |
| LOW | memo/benchmark/array-reverse.sh | 241 | # } | COMMENT |
| LOW | memo/benchmark/array-reverse.sh | 321 | # 2018-07-15 BASH_ARGV を用いた実装。 | COMMENT |
| LOW | memo/benchmark/202607-dict.sh | 1261 | # test_rand impl0 1000 # 0.008 0.005ms | COMMENT |
| LOW | memo/benchmark/202607-dict.sh | 1281 | # test_rand impl2 10 # 0.001s 0.092ms | COMMENT |
| LOW | memo/benchmark/202607-dict.sh | 1301 | # | COMMENT |
| LOW | memo/benchmark/202607-dict.sh | 1321 | # test_seq impl4 10000 # 29.510s 0.856ms 29.276s 0.826ms 28.801s 836.000ms 9.508s 0.473ms | COMMENT |
| LOW | memo/benchmark/201902-sort.sh | 201 | COMMENT | |
| LOW | memo/benchmark/201809-test.sh | 21 | dirverylonglong=/hello/world | COMMENT |
| LOW | memo/benchmark/201809-test.sh | 41 | COMMENT | |
| LOW | memo/benchmark/201809-test.sh | 61 | # # multiple assign | COMMENT |
| LOW | memo/benchmark/201809-test.sh | 81 | # # increment | COMMENT |
| LOW | memo/benchmark/201809-test.sh | 101 | # ble-measure "((a==1?(x=1):(y=1)))" | COMMENT |
| LOW | memo/benchmark/201809-test.sh | 121 | # ble-measure _empty | COMMENT |
| LOW | memo/benchmark/201809-test.sh | 141 | #-------------------------------------- | COMMENT |
| LOW | memo/benchmark/201809-test.sh | 161 | # ble-measure 'filter1' | COMMENT |
| LOW | memo/benchmark/array-is-array.sh | 101 | # 4.422 usec/eval: ble/is-array5 arr1 (x20000) | COMMENT |
| LOW | memo/benchmark/array-is-array.sh | 121 | # 211.200 usec/eval: ble/is-array6 arr2 (x500) | COMMENT |
| LOW | memo/benchmark/201512-setvalue.sh | 41 | ble-measure 'ble/util/set.printf "$var" "$value"' | COMMENT |
| LOW | memo/benchmark/string-split-words.sh | 101 | # split4 30.0 30.6 30.8 34.8 30.3 33.2 38.2 38.7 37.1 29.0 26.6 [split3 + change quoting] 一緒に計測すると遅くなる傾向 | COMMENT |
| LOW | memo/D2165/reduced.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | memo/D2165/reduced.sh | 21 | # fcntl(51, F_GETFD) = 0 | COMMENT |
| LOW | memo/D2165/reduced.sh | 41 | # fcntl(52, F_GETFD) = 0x1 (flags FD_CLOEXEC) | COMMENT |
| LOW | memo/D1302/D1302.benchmark-array-copy.sh | 1 | #!/bin/bash | COMMENT |
| LOW | memo/D1302/D1302.benchmark-array-copy.sh | 21 | # bash-4.3 17900.000 usec/eval: arr2=("${arr1[@]}") (x10) | COMMENT |
| LOW | memo/D1302/D1302.benchmark-array-copy.sh | 41 | COMMENT | |
| LOW | memo/D1302/D1302.benchmark-array-copy.sh | 61 | # bash-5.0 4759.662 usec/eval: arr2=({0..10000}) (x50) | COMMENT |
| LOW | memo/D1302/D1302.benchmark-array-copy.sh | 81 | # bash-5.0 15342.200 usec/eval: arr2=({0..10000}); ble/array#push.2 arr2 {1..1000} (x10) | COMMENT |
| LOW | memo/D1302/D1302.benchmark-array-copy.sh | 101 | # bash-5.0 15667.830 usec/eval: arr2=({0..1000}); ble/array#push.2 arr2 "${arr1[@]}" (x10) | COMMENT |
| LOW | memo/D1302/D1302.benchmark-c2s-cached.sh | 81 | tester.2/loop1 "${input[@]}" | COMMENT |
| 327 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | memo/D1488/D1488.vim-mode-in-status.bash | 35 | # In this example, we put the mode string, date and time, and the | COMMENT |
| HIGH | lib/core-complete.sh | 6702 | # In this implementation, we first attempt the pathname expansion without | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | memo/benchmark/202607-dict.sh | 408 | # If the target kvpair to remove is not found, we just return. | COMMENT |
| LOW | memo/benchmark/202607-dict.sh | 939 | # If the target kvpair to remove is not found, we just return. | COMMENT |
| LOW | memo/benchmark/202607-dict.sh | 1196 | # If the target kvpair to remove is not found, we just return. | COMMENT |
| MEDIUM | .github/workflows/build.yml | 84 | # INSTALL (more robust) | COMMENT |
| MEDIUM | lib/core-complete.sh | 3958 | # When we want to sort items that may contain newlines, we utilize the | COMMENT |
| MEDIUM | src/util.sh | 3511 | # 33>&-. We here utilize another bug in Bash 3.1, where 77>&33- fails | COMMENT |
| LOW | src/util.sh | 1936 | # If the target kvpair to remove is not found, we just return. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | lib/core-syntax.sh | 1947 | # This function is a callback for "ble/util/for-global-variables" | COMMENT |
| MEDIUM | src/util.sh | 3662 | # Initialize the variable as if "ble/fd#alloc _ble_util_fd_null base:inherit" | COMMENT |
| MEDIUM | src/util.sh | 3670 | # Initialize the variable as if "ble/fd#alloc _ble_util_fd_null base". | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | memo/benchmark/202607-dict.sh | 494 | # AI-generated test cases for impl4#unset | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/test-canvas.sh | 525 | 30:5 $'hello world\nfoo bar buzz\nA quick brown fox\nLorem ipsum\n1 1 2 3 5 8 13 21 34 55 89 144' \ | CODE |