macOS system monitor in your menu bar
This report presents the forensic synthetic code analysis of exelban/stats, a Swift project with 40,426 GitHub stars. SynthScan v2.0 examined 47,525 lines of code across 183 source files, recording 96 pattern matches distributed across 4 syntactic categories. The overall adjusted score of 2.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).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
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 96 distinct pattern matches across 4 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 |
|---|---|---|---|---|
| LOW | Kit/helpers.swift | 1 | // | COMMENT |
| LOW | Kit/plugins/Charts.swift | 1 | // | COMMENT |
| LOW | Kit/lldb/lldb.m | 1 | // | COMMENT |
| LOW | Kit/lldb/lldb.h | 1 | // | COMMENT |
| LOW | Kit/lldb/include/env.h | 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. | COMMENT |
| LOW | Kit/lldb/include/env.h | 21 | #include "export.h" | COMMENT |
| LOW | Kit/lldb/include/env.h | 61 | // system. Sophisticated users may wish to provide their own Env | COMMENT |
| LOW | Kit/lldb/include/env.h | 81 | // status. Implementations should return a NotFound status when the file does | COMMENT |
| LOW | Kit/lldb/include/env.h | 101 | // returns OK. On failure stores nullptr in *result and returns | COMMENT |
| LOW | Kit/lldb/include/env.h | 121 | // Delete the named file. | COMMENT |
| LOW | Kit/lldb/include/env.h | 141 | // Create the specified directory. | COMMENT |
| LOW | Kit/lldb/include/env.h | 161 | // A future release will remove this method. | COMMENT |
| LOW | Kit/lldb/include/env.h | 181 | // with a failure. I.e., this call does not wait for existing locks | COMMENT |
| LOW | Kit/lldb/include/env.h | 261 | // Read up to "n" bytes from the file starting at "offset". | COMMENT |
| LOW | Kit/lldb/include/env.h | 401 | private: | COMMENT |
| LOW | Kit/lldb/include/export.h | 1 | // Copyright (c) 2017 The LevelDB Authors. All rights reserved. | COMMENT |
| LOW | Kit/lldb/include/export.h | 21 | #define LEVELDB_EXPORT __attribute__((visibility("default"))) | COMMENT |
| LOW | Kit/lldb/include/status.h | 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. | COMMENT |
| LOW | Kit/lldb/include/db.h | 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. | COMMENT |
| LOW | Kit/lldb/include/db.h | 61 | virtual ~DB(); | COMMENT |
| LOW | Kit/lldb/include/db.h | 81 | // corresponding value in *value and return OK. | COMMENT |
| LOW | Kit/lldb/include/db.h | 101 | // snapshot is no longer needed. | COMMENT |
| LOW | Kit/lldb/include/db.h | 121 | // of the sstables that make up the db contents. | COMMENT |
| LOW | Kit/lldb/include/db.h | 141 | // be invoked by users who understand the underlying implementation. | COMMENT |
| LOW | Kit/lldb/include/slice.h | 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. | COMMENT |
| LOW | Kit/lldb/include/cache.h | 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. | COMMENT |
| LOW | Kit/lldb/include/cache.h | 41 | // Destroys all existing entries by calling the "deleter" | COMMENT |
| LOW | Kit/lldb/include/cache.h | 61 | // | COMMENT |
| LOW | Kit/lldb/include/cache.h | 81 | virtual void Erase(const Slice& key) = 0; | COMMENT |
| LOW | Kit/lldb/include/write_batch.h | 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. | COMMENT |
| LOW | Kit/lldb/include/options.h | 41 | // Comparator used to define the order of keys in the table. | COMMENT |
| LOW | Kit/lldb/include/options.h | 61 | COMMENT | |
| LOW | Kit/lldb/include/options.h | 81 | // Also, a larger write buffer will result in a longer recovery time | COMMENT |
| LOW | Kit/lldb/include/options.h | 101 | size_t block_size = 4 * 1024; | COMMENT |
| LOW | Kit/lldb/include/options.h | 121 | // Default: kSnappyCompression, which gives lightweight but fast | COMMENT |
| LOW | Kit/lldb/include/options.h | 161 | // (which must belong to the DB that is being read and which must | COMMENT |
| LOW | Kit/lldb/include/dumpfile.h | 1 | // Copyright (c) 2014 The LevelDB Authors. All rights reserved. | COMMENT |
| LOW | Kit/lldb/include/filter_policy.h | 1 | // Copyright (c) 2012 The LevelDB Authors. All rights reserved. | COMMENT |
| LOW | Kit/lldb/include/filter_policy.h | 41 | // Warning: do not change the initial contents of *dst. Instead, | COMMENT |
| LOW | Kit/lldb/include/filter_policy.h | 61 | // Note: if you are using a custom comparator that ignores some parts | COMMENT |
| LOW | Kit/lldb/include/comparator.h | 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. | COMMENT |
| LOW | Kit/lldb/include/comparator.h | 21 | public: | COMMENT |
| LOW | Kit/lldb/include/comparator.h | 41 | COMMENT | |
| LOW | Kit/lldb/include/table.h | 21 | class TableCache; | COMMENT |
| LOW | Kit/lldb/include/table_builder.h | 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. | COMMENT |
| LOW | Kit/lldb/include/table_builder.h | 41 | // Change the options used by this builder. Note: only some of the | COMMENT |
| LOW | Kit/lldb/include/table_builder.h | 61 | Status status() const; | COMMENT |
| LOW | Kit/lldb/include/iterator.h | 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. | COMMENT |
| LOW | Kit/lldb/include/iterator.h | 41 | // Position at the last key in the source. The iterator is | COMMENT |
| LOW | Kit/lldb/include/iterator.h | 61 | // the returned slice is valid only until the next modification of | COMMENT |
| LOW | Kit/Supporting Files/Kit.h | 1 | // | COMMENT |
| LOW | Kit/scripts/SMJobBlessUtil.py | 1 | #! /usr/bin/python3 | COMMENT |
| LOW | Kit/scripts/SMJobBlessUtil.py | 21 | # original Apple software (the "Apple Software"), to use, | COMMENT |
| LOW | Kit/scripts/SMJobBlessUtil.py | 41 | # COMBINATION WITH YOUR PRODUCTS. | COMMENT |
| LOW | Modules/Sensors/bridge.h | 1 | // | COMMENT |
| LOW | Modules/Sensors/readers.swift | 401 | var eventType: Int32 = kIOHIDEventTypeTemperature | COMMENT |
| LOW | Modules/Sensors/reader.m | 1 | // | COMMENT |
| LOW | Modules/GPU/bridge.h | 1 | // | COMMENT |
| LOW | Modules/Net/readers.swift | 1 | // | COMMENT |
| LOW | Modules/Net/popup.swift | 1 | // | COMMENT |
| 3 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Kit/helpers.swift | 810 | print("Error IOServiceGetMatchingServices(): " + (String(cString: mach_error_string(result), encoding: String.En | CODE |
| MEDIUM | Kit/helpers.swift | 846 | print("Error IORegistryEntryGetName(): " + (String(cString: mach_error_string(result), encoding: String.Encoding | CODE |
| MEDIUM | Kit/helpers.swift | 1231 | print("Error while installing the Helper: \(blessError.localizedDescription)") | CODE |
| MEDIUM | Kit/plugins/SystemKit.swift | 364 | print("Error find AppleARMPE: " + (String(cString: mach_error_string(result), encoding: String.Encoding.asci | CODE |
| MEDIUM | Kit/plugins/SystemKit.swift | 497 | print("Error find AppleARMIODevice: " + (String(cString: mach_error_string(result), encoding: String.Encodin | CODE |
| MEDIUM | Kit/plugins/SystemKit.swift | 603 | print("Error parsing diskutil output: \(error)") | CODE |
| MEDIUM | Kit/plugins/SystemStats.swift | 993 | print("Error sending MQTT CONNECT: \(error)") | CODE |
| MEDIUM | Kit/plugins/SystemStats.swift | 1007 | print("Error sending MQTT PINGREQ: \(error)") | CODE |
| MEDIUM | Kit/plugins/SystemStats.swift | 1026 | print("Error publishing MQTT message: \(error)") | CODE |
| MEDIUM | Kit/plugins/SystemStats.swift | 1038 | print("Error subscribing to MQTT topic: \(error)") | CODE |
| LOW | Kit/scripts/i18n.py | 12 | except Exception: | CODE |
| LOW | Kit/scripts/i18n.py | 272 | except Exception: | CODE |
| LOW | Kit/scripts/i18n.py | 475 | except Exception: | CODE |
| MEDIUM⚡ | SMC/smc.swift | 173 | print("Error IOServiceGetMatchingServices(): " + (String(cString: mach_error_string(result), encoding: Strin | CODE |
| MEDIUM⚡ | SMC/smc.swift | 180 | print("Error IOIteratorNext(): " + (String(cString: mach_error_string(result), encoding: String.Encoding.asc | CODE |
| MEDIUM⚡ | SMC/smc.swift | 187 | print("Error IOServiceOpen(): " + (String(cString: mach_error_string(result), encoding: String.Encoding.asci | CODE |
| MEDIUM | SMC/smc.swift | 209 | print("Error read(\(key)): " + (String(cString: mach_error_string(result), encoding: String.Encoding.ascii) | CODE |
| MEDIUM | SMC/smc.swift | 280 | print("Error read(): " + (String(cString: mach_error_string(result), encoding: String.Encoding.ascii) ?? "un | CODE |
| MEDIUM | SMC/smc.swift | 416 | print("Error read fan mode: " + (String(cString: mach_error_string(result), encoding: String.Encoding.as | CODE |
| MEDIUM | SMC/smc.swift | 429 | print("Error write: " + (String(cString: mach_error_string(result), encoding: String.Encoding.ascii) ?? | CODE |
| MEDIUM | SMC/smc.swift | 464 | print("Error read fan mode: " + (String(cString: mach_error_string(result), encoding: String.Encoding.ascii) | CODE |
| MEDIUM | SMC/smc.swift | 477 | print("Error write: " + (String(cString: mach_error_string(result), encoding: String.Encoding.ascii) ?? "unk | CODE |
| MEDIUM | SMC/smc.swift | 493 | print("Error read fan mode: " + (String(cString: mach_error_string(modeResult), encoding: String.Encoding.as | CODE |
| MEDIUM | SMC/smc.swift | 506 | print("Error read fan value: " + (String(cString: mach_error_string(result), encoding: String.Encoding.ascii | CODE |
| MEDIUM | SMC/smc.swift | 530 | print("Error write: " + (String(cString: mach_error_string(result), encoding: String.Encoding.ascii) ?? "unk | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Kit/scripts/SMJobBlessUtil.py | 131 | CODE | |
| LOW | Kit/scripts/changelog.py | 43 | CODE | |
| LOW | Kit/scripts/i18n.py | 84 | CODE | |
| LOW | Kit/scripts/i18n.py | 105 | CODE | |
| LOW | Kit/scripts/i18n.py | 203 | CODE | |
| LOW | Kit/scripts/i18n.py | 435 | CODE | |
| LOW | Kit/scripts/i18n.py | 211 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Kit/scripts/SMJobBlessUtil.py | 233 | # Create a map from the tool name (not path) to its designated requirement. | COMMENT |