A self-contained JavaScript wiki for the browser, Node.js, AWS Lambda etc.
This report presents the forensic synthetic code analysis of TiddlyWiki/TiddlyWiki5, a JavaScript project with 8,609 GitHub stars. SynthScan v2.0 examined 122,939 lines of code across 928 source files, recording 136 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 3.6 places this repository in the Likely human-written 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 136 distinct pattern matches across 10 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 |
|---|---|---|---|---|
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 152 | print('failed to register reporter "' + env.reporter + '"'); | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 153 | print(e.message); | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 154 | print(e.stack); | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 204 | print('Usage: jasmine [command] [options] [files]'); | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 205 | print(''); | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 206 | print('Commands:'); | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 212 | print('%s\t%s', lPad(commandNameText, 10), subCommands[cmd].description); | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 214 | print(''); | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 215 | print('If no command is given, jasmine specs will be run'); | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 216 | print(''); | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 217 | print(''); | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 219 | print('Options:'); | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 220 | print('%s\tturn off color in spec output', lPad('--no-color', 18)); | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 221 | print('%s\tforce turn on color in spec output', lPad('--color', 18)); | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 222 | print('%s\tfilter specs to run only those that match the given string', lPad('--filter=', 18)); | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 223 | print('%s\tload helper files that match the given string', lPad('--helper=', 18)); | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 224 | print('%s\tload module that match the given string', lPad('--require=', 18)); | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 225 | print('%s\t[true|false] stop spec execution on expectation failure', lPad('--stop-on-failure=', 18)); | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 226 | print('%s\t[true|false] stop Jasmine execution on spec failure', lPad('--fail-fast=', 18)); | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 227 | print('%s\tpath to your optional jasmine.json', lPad('--config=', 18)); | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 228 | print('%s\tpath to reporter to use instead of the default Jasmine reporter', lPad('--reporter=', 18)); | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 229 | print(''); | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 230 | print('The given arguments take precedence over options in your jasmine.json'); | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 231 | print('The path to your optional jasmine.json can also be configured by setting the JASMINE_CONFIG_PATH environment va | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 236 | print('jasmine v' + require('../package.json').version); | CODE |
| HIGH⚡ | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 237 | print('jasmine-core v' + options.jasmine.coreVersion()); | CODE |
| HIGH | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 52 | print('Unknown options: ' + env.unknownOptions.join(', ')); | CODE |
| HIGH | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 53 | print(''); | CODE |
| HIGH | plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js | 169 | print('spec/support/jasmine.json already exists in your project.'); | CODE |
| HIGH⚡ | …asmine/files/jasmine/lib/reporters/console_reporter.js | 48 | print('Randomized with seed ' + options.order.seed); | CODE |
| HIGH⚡ | …asmine/files/jasmine/lib/reporters/console_reporter.js | 51 | print('Started'); | CODE |
| HIGH⚡ | …asmine/files/jasmine/lib/reporters/console_reporter.js | 60 | print('Failures:'); | CODE |
| HIGH⚡ | …asmine/files/jasmine/lib/reporters/console_reporter.js | 75 | print("Pending:"); | CODE |
| HIGH⚡ | …asmine/files/jasmine/lib/reporters/console_reporter.js | 85 | print('Ran ' + executableSpecCount + ' of ' + specCount + plural(' spec', specCount)); | CODE |
| HIGH⚡ | …asmine/files/jasmine/lib/reporters/console_reporter.js | 95 | print(specCounts); | CODE |
| HIGH⚡ | …asmine/files/jasmine/lib/reporters/console_reporter.js | 97 | print('No specs found'); | CODE |
| HIGH⚡ | …asmine/files/jasmine/lib/reporters/console_reporter.js | 102 | print('Finished in ' + seconds + ' ' + plural('second', seconds)); | CODE |
| HIGH⚡ | …asmine/files/jasmine/lib/reporters/console_reporter.js | 106 | print('Incomplete: ' + result.incompleteReason); | CODE |
| HIGH⚡ | …asmine/files/jasmine/lib/reporters/console_reporter.js | 111 | print('Randomized with seed ' + result.order.seed); | CODE |
| HIGH⚡ | …asmine/files/jasmine/lib/reporters/console_reporter.js | 112 | print(' (jasmine --random=true --seed=' + result.order.seed + ')'); | CODE |
| HIGH⚡ | …asmine/files/jasmine/lib/reporters/console_reporter.js | 123 | print(colored('yellow', '*')); | CODE |
| HIGH⚡ | …asmine/files/jasmine/lib/reporters/console_reporter.js | 129 | print(colored('green', '.')); | CODE |
| HIGH⚡ | …asmine/files/jasmine/lib/reporters/console_reporter.js | 137 | print(colored('red', 'F')); | CODE |
| HIGH⚡ | …asmine/files/jasmine/lib/reporters/console_reporter.js | 192 | print(failedSpecNumber + ') '); | CODE |
| HIGH⚡ | …asmine/files/jasmine/lib/reporters/console_reporter.js | 193 | print(result.fullName); | CODE |
| HIGH⚡ | …asmine/files/jasmine/lib/reporters/console_reporter.js | 199 | print('Suite error: ' + result.fullName); | CODE |
| HIGH⚡ | …asmine/files/jasmine/lib/reporters/console_reporter.js | 207 | print(indent('Message:', 2)); | CODE |
| HIGH⚡ | …asmine/files/jasmine/lib/reporters/console_reporter.js | 209 | print(colored('red', indent(failedExpectation.message, 4))); | CODE |
| HIGH⚡ | …asmine/files/jasmine/lib/reporters/console_reporter.js | 211 | print(indent('Stack:', 2)); | CODE |
| HIGH⚡ | …asmine/files/jasmine/lib/reporters/console_reporter.js | 213 | print(indent(stackFilter(failedExpectation.stack), 4)); | CODE |
| HIGH⚡ | …asmine/files/jasmine/lib/reporters/console_reporter.js | 222 | print(pendingSpecNumber + ') '); | CODE |
| HIGH⚡ | …asmine/files/jasmine/lib/reporters/console_reporter.js | 223 | print(result.fullName); | CODE |
| HIGH⚡ | …asmine/files/jasmine/lib/reporters/console_reporter.js | 229 | print(indent(colored('yellow', pendingReason), 2)); | CODE |
| HIGH | …asmine/files/jasmine/lib/reporters/console_reporter.js | 151 | print('\n'); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | core/modules/utils/dom/csscolorparser.js | 1 | // (c) Dean McNamee <dean@gmail.com>, 2012. | COMMENT |
| LOW | core/modules/widgets/navigator.js | 401 | COMMENT | |
| LOW | bin/serve.sh | 1 | #!/bin/bash | COMMENT |
| LOW | editions/test/tiddlers/tests/test-back-indexer.js | 101 | // if(updateDescriptor["new"].exists) { ... } // correct: stays green | COMMENT |
| LOW | editions/test/tiddlers/tests/test-linked-list.js | 121 | var pair = compare(remove(newPair(["A", "A"]), ["A", "A"])); // | COMMENT |
| LOW | …/test-edit-widgets/test-edit-text-widget-attributes.js | 181 | // --------------------------------------------------------------- | COMMENT |
| LOW | …/test-edit-widgets/test-edit-text-widget-attributes.js | 301 | // manual: | COMMENT |
| LOW | plugins/tiddlywiki/qrcode/files/qrcode/qrcode.js | 1 | //--------------------------------------------------------------------- | COMMENT |
| LOW | plugins/tiddlywiki/bibtex/files/bibtexParse.js | 1 | /* start bibtexParse 0.0.24 */ | COMMENT |
| LOW | plugins/tiddlywiki/xmldom/files/sax.js | 341 | s = S_TAG_SPACE; | COMMENT |
| LOW | plugins/tiddlywiki/xmldom/files/dom.js | 1101 | //var attrs = node2.attributes; | COMMENT |
| LOW | plugins/tiddlywiki/text-slicer/modules/slicer.js | 341 | if(url.slice(0,5) === "data:") { | COMMENT |
| LOW | plugins/tiddlywiki/jasmine/jasmine-plugin.js | 41 | // The `global` property is needed in two places: | COMMENT |
| LOW | plugins/tiddlywiki/jasmine/jasmine-plugin.js | 101 | } else { | COMMENT |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 61 | // @property lastId: Number | COMMENT |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 1661 | COMMENT | |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 2001 | COMMENT | |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 3161 | COMMENT | |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 3181 | // outside the view. To set the restriction dynamically, use | COMMENT |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 3201 | // @option fadeAnimation: Boolean = true | COMMENT |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 3221 | // right after a [`fitBounds()`](#map-fitbounds) or a pinch-zoom. | COMMENT |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 4121 | // @method wrapLatLng(latlng: LatLng): LatLng | COMMENT |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 4241 | this._paneRenderers = {}; | COMMENT |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 4401 | _initEvents: function (remove) { | COMMENT |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 4421 | // @event contextmenu: MouseEvent | COMMENT |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 5081 | position: 'topright', | COMMENT |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 7701 | var Marker = Layer.extend({ | COMMENT |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 7741 | // @option riseOffset: Number = 250 | COMMENT |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 7761 | // visible within the map's bounds | COMMENT |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 9221 | // @namespace Marker | COMMENT |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 10141 | // @aka Popup options | COMMENT |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 10161 | // inside a popup if its content exceeds it. | COMMENT |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 10181 | // @option autoPanPadding: Point = Point(5, 5) | COMMENT |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 10641 | // @namespace Tooltip | COMMENT |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 11181 | options: { | COMMENT |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 11221 | // @option maxNativeZoom: Number = undefined | COMMENT |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 12061 | // @aka TileLayer options | COMMENT |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 13681 | if (map.options.doubleClickZoom === 'center') { | COMMENT |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 13721 | COMMENT | |
| LOW | …eospatial/files/open-location-code/openlocationcode.js | 1 | // Copyright 2014 Google Inc. All rights reserved. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | core/modules/filters/math.js | 202 | function makeNumericBinaryOperator(fnCalc) { | CODE |
| LOW | core/modules/filters/math.js | 213 | function makeNumericReducingOperator(fnCalc,initialValue,fnFinal) { | CODE |
| LOW | core/modules/filters/json-ops.js | 135 | function getDataItemValueAsStrings(data,indexes) { | CODE |
| LOW | core/modules/filters/json-ops.js | 155 | function convertDataItemValueToStrings(item) { | CODE |
| LOW | core/modules/filters/json-ops.js | 188 | function convertDataItemKeysToStrings(item) { | CODE |
| LOW | core/modules/filters/strings.js | 137 | function makeStringReducingOperator(fnCalc,initialValue) { | CODE |
| LOW | core/modules/utils/messaging.js | 24 | function BrowserMessagingSubscriber(options) { | CODE |
| LOW | core/modules/utils/messaging.js | 68 | function BrowserMessagingPublisher(options) { | CODE |
| LOW | …tils/diff-match-patch/diff_match_patch_uncompressed.js | 484 | function diffCleanupSemanticLossless(diffs) { | CODE |
| LOW | core/modules/widgets/importvariables.js | 112 | function haveListedTiddlersChanged() { | CODE |
| LOW | editions/test/tiddlers/tests/test-filters.js | 65 | function testWithAndWithoutIndexers(options) { | CODE |
| LOW | plugins/tiddlywiki/markdown/wrapper.js | 162 | function parseStringLiteralExtended(source,pos) { | CODE |
| LOW | plugins/tiddlywiki/twitter-archivist/archivist.js | 195 | function TwitterArchivistSourceNodeJs(options) { | CODE |
| LOW | plugins/tiddlywiki/twitter-archivist/archivist.js | 222 | function TwitterArchivistSourceBrowser(options) { | CODE |
| LOW | …ugins/tiddlywiki/wikitext-serialize/utils/parsetree.js | 27 | exports.serializeWikitextParseTree = function serializeWikitextParseTree(tree,options) { | CODE |
| LOW | plugins/tiddlywiki/jasmine/run-wiki-based-tests.js | 58 | function readMultipleTiddlersTiddler(title) { | CODE |
| LOW | …jasmine/files/jasmine-core/lib/jasmine-core/jasmine.js | 2464 | function originalTimingFunctionsIntact() { | CODE |
| LOW | …jasmine/files/jasmine-core/lib/jasmine-core/jasmine.js | 3867 | function objectKeysAreDifferentFormatter(actual, expected, path) { | CODE |
| LOW | …jasmine/files/jasmine-core/lib/jasmine-core/jasmine.js | 3889 | function constructorsAreDifferentFormatter(actual, expected, path) { | CODE |
| LOW | …jasmine/files/jasmine-core/lib/jasmine-core/jasmine.js | 3900 | function actualArrayIsLongerFormatter(actual, expected, path) { | CODE |
| LOW | plugins/tiddlywiki/jasmine/files/jasmine/lib/jasmine.js | 214 | function exitIfAllStreamsCompleted() { | CODE |
| LOW | plugins/tiddlywiki/dynaview/dynaview.js | 218 | function shouldPreserveScrollPosition() { | CODE |
| LOW | plugins/tiddlywiki/geospatial/operators/lookup.js | 30 | function getPolygonsContainingPoint(featureCollection,point) { | CODE |
| LOW | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 400 | function checkDeprecatedMixinEvents(includes) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | plugins/tiddlywiki/codemirror/files/codemirror.js | 1 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | core/modules/editor/factory.js | 172 | this.editPlaceholder = this.getAttribute("placeholder"); | CODE |
| LOW | core/modules/editor/engines/simple.js | 38 | this.domNode.setAttribute("placeholder",this.widget.editPlaceholder); | CODE |
| LOW | core/modules/editor/engines/framed.js | 64 | this.domNode.setAttribute("placeholder",this.widget.editPlaceholder); | CODE |
| LOW | core/modules/widgets/edit-shortcut.js | 43 | this.inputNode.setAttribute("placeholder",this.shortcutPlaceholder); | CODE |
| LOW | core/modules/widgets/edit-shortcut.js | 73 | this.shortcutPlaceholder = this.getAttribute("placeholder"); | CODE |
| LOW | …/test-edit-widgets/test-edit-text-widget-attributes.js | 209 | expect(dn.getAttribute("placeholder")).toBe("Type here"); | CODE |
| LOW | plugins/tiddlywiki/highlight/files/highlight.min.js | 316 | }),ae=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | bin/serve.sh | 84 | # -------------------------------------------------- | COMMENT |
| MEDIUM | bin/serve.sh | 98 | #---------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 7785 | * In addition to [shared layer methods](#Layer) like `addTo()` and `remove()` and [popup methods](#Popup) like bindP | COMMENT |
| LOW | .github/workflows/ci.yml | 70 | # When making a change here, don't forget to see if it also applies to the step | COMMENT |
| LOW | .github/workflows/ci.yml | 70 | # When making a change here, don't forget to see if it also applies to the step | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js | 12092 | // If `true` and user is on a retina display, it will request four tiles of half the specified size and a bigger zoo | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/pr-validation.yml | 16 | # Step 1: Validate PR paths | COMMENT |
| LOW | .github/workflows/pr-validation.yml | 27 | # Step 2: Validate change notes | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/pr-validation.yml | 16 | # Step 1: Validate PR paths | COMMENT |
| LOW | .github/workflows/pr-validation.yml | 27 | # Step 2: Validate change notes | COMMENT |