Bash Line Editor―a line editor written in pure Bash with syntax highlighting, auto suggestions, vim modes, etc. for Bash interactive sessions.
This report presents the forensic synthetic code analysis of akinomyoga/ble.sh, a Shell project with 4,502 GitHub stars. SynthScan v2.0 examined 96,596 lines of code across 185 source files, recording 749 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 12.9 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 749 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| 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 | 915 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | make_command.sh | 1058 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | make_command.sh | 1161 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | make_command.sh | 1206 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | make_command.sh | 1218 | #------------------------------------------------------------------------------ | 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/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 |
| MEDIUM | memo/benchmark/201809-test.sh | 130 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/201809-test.sh | 141 | #-------------------------------------- | COMMENT |
| MEDIUM | memo/benchmark/201809-test.sh | 154 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/201809-test.sh | 167 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/201809-test.sh | 182 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/201903-string-build.sh | 7 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/201903-string-build.sh | 38 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | memo/benchmark/201711-arithmetic.sh | 7 | #------------------------------------------------------------------------------ | COMMENT |
| 312 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | make_command.sh | 1141 | } | 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/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 |
| LOW | memo/D1302/D1302.benchmark-c2s-cached.sh | 101 | # 603000.000 usec/eval: tester.2 ble/util/c2s.0 100 (x1) | COMMENT |
| LOW | memo/D1302/D1302.benchmark-c2s-cached.sh | 121 | COMMENT | |
| LOW | lib/vim-surround.sh | 1 | #!/bin/bash | COMMENT |
| LOW | lib/vim-surround.sh | 21 | # <, t (未対応) タグで囲む | COMMENT |
| 308 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 | 6546 | # In this implementation, we first attempt the pathname expansion without | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/build.yml | 84 | # INSTALL (more robust) | COMMENT |
| MEDIUM | lib/core-complete.sh | 3946 | # When we want to sort items that may contain newlines, we utilize the | COMMENT |
| MEDIUM | src/util.sh | 3279 | # 33>&-. We here utilize another bug in Bash 3.1, where 77>&33- fails | 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 | 3425 | # Initialize the variable as if "ble/fd#alloc _ble_util_fd_null base:inherit" | COMMENT |
| MEDIUM | src/util.sh | 3433 | # Initialize the variable as if "ble/fd#alloc _ble_util_fd_null base". | 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 |