Repository Analysis

Serial-Studio/Serial-Studio

Open-source telemetry dashboard. Supports UART, BLE, MQTT, Modbus, CAN Bus and more.

5.9 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of Serial-Studio/Serial-Studio, a C++ project with 7,041 GitHub stars. SynthScan v2.0 examined 933,291 lines of code across 2244 source files, recording 2987 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 5.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).

5.9
Adjusted Score
5.9
Raw Score
100%
Time Factor
2026-07-14
Last Push
7.0K
Stars
C++
Language
933.3K
Lines of Code
2.2K
Files
3.0K
Pattern Hits
2026-07-14
Scan Date
0.03
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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.

CRITICAL 2HIGH 62MEDIUM 1017LOW 1906

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 2987 distinct pattern matches across 21 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.

Decorative Section Separators972 hits · 3306 pts
SeverityFileLineSnippetContext
MEDIUMCMakeLists.txt217#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt226#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt228#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt315#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt317#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt327#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt331#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt333#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt351#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt360#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt362#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt403#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt405#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt411#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt417#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt419#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt429#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt438#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt440#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt446#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt451#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt453#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt473#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt478#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt480#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt23#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt25#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt36#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt49#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt51#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt77#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt97#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt99#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt122#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt134#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt136#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt166#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt199#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt201#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt253#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt377#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt500#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMapp/CMakeLists.txt34#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMapp/CMakeLists.txt39#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMapp/CMakeLists.txt41#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMapp/CMakeLists.txt57#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMapp/CMakeLists.txt65#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMapp/CMakeLists.txt67#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMapp/CMakeLists.txt1051#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMapp/CMakeLists.txt1056#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMapp/CMakeLists.txt1058#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMapp/CMakeLists.txt1183#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMapp/CMakeLists.txt1185#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMapp/CMakeLists.txt1192#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMapp/CMakeLists.txt1197#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMapp/CMakeLists.txt1199#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMapp/CMakeLists.txt1417#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMapp/CMakeLists.txt1419#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMapp/CMakeLists.txt1424#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMapp/CMakeLists.txt21#---------------------------------------------------------------------------------------------------COMMENT
912 more matches not shown…
Hyper-Verbose Identifiers870 hits · 713 pts
SeverityFileLineSnippetContext
LOWapp/rcc/ai/build_search_index.py222def harvest_templates_manifest():CODE
LOWapp/translations/translate_welcome_messages.py80def translate_welcome_message(source_text, target_language, context, lang_code):CODE
LOWapp/translations/translate_welcome_messages.py160def translate_welcome_files_in_subdir(subdir, languages):CODE
LOWapp/translations/llm_translate.py812def harvest_translation_memory(ts_root) -> list[tuple[str, str]]:CODE
LOWapp/translations/llm_translate.py1038def _call_provider_with_retry(CODE
LOWapp/translations/llm_translate.py1129 def parse_numbered_translations(CODE
LOWapp/translations/llm_translate.py1512def apply_capitalization_pattern(CODE
LOWapp/translations/llm_translate.py1612def verify_capitalization_batch(entries, lang_code):CODE
LOWapp/translations/llm_translate.py1946def verify_capitalization_ts_file(filename):CODE
LOWtests/conftest.py122def pytest_collection_modifyitems(config, items):CODE
LOWtests/unit/test_updates_manifest.py63def test_manifest_has_exactly_the_expected_keys(updates):CODE
LOWtests/unit/test_updates_manifest.py67def test_every_entry_has_the_required_fields(updates):CODE
LOWtests/unit/test_updates_manifest.py73def test_all_entries_advertise_the_same_version(updates):CODE
LOWtests/unit/test_updates_manifest.py79def test_download_urls_match_package_type_and_arch(updates):CODE
LOWtests/unit/test_updates_manifest.py88def test_open_url_keys_have_no_direct_download(updates):CODE
LOWtests/unit/test_updates_manifest.py94def test_direct_download_keys_do_not_shadow_with_open_url(updates):CODE
LOWtests/unit/test_updates_manifest.py101def test_changelog_present_everywhere(updates):CODE
LOWtests/security/test_access_control.py386def test_information_disclosure(tester):CODE
LOWtests/security/test_access_control.py178def test_command_authorization(tester):CODE
LOWtests/security/test_access_control.py267def test_configuration_tampering(tester):CODE
LOWtests/security/test_access_control.py329def test_project_manipulation(tester):CODE
LOWtests/security/test_access_control.py453def test_cross_client_interference(tester):CODE
LOWtests/security/conftest.py238def pytest_collection_modifyitems(config, items):CODE
LOWtests/security/test_exploit_techniques.py468def test_deserialization_attacks(exploiter):CODE
LOWtests/security/test_denial_of_service.py530def test_recursive_operations(tester):CODE
LOWtests/security/test_denial_of_service.py360def test_bandwidth_exhaustion(tester):CODE
LOWtests/security/test_denial_of_service.py453def test_fork_bomb_simulation(tester):CODE
LOWtests/security/test_denial_of_service.py490def test_amplification_attack(tester):CODE
LOWtests/security/test_api_security.py78 def test_oversized_json_payload(self, security_client, vuln_tracker):CODE
LOWtests/security/test_api_security.py118 def test_json_with_control_characters(self, security_client, vuln_tracker):CODE
LOWtests/security/test_api_security.py263 def test_buffer_without_newline(self, check_server_alive, vuln_tracker):CODE
LOWtests/security/test_api_vulnerabilities.py78def test_json_parsing_exploits(tester):CODE
LOWtests/security/test_api_vulnerabilities.py364def test_connection_exhaustion(tester):CODE
LOWtests/security/test_api_vulnerabilities.py470def test_parameter_validation(tester, check_server_alive):CODE
LOWtests/security/test_api_vulnerabilities.py535def test_information_disclosure(tester):CODE
LOWtests/security/test_protocol_fuzzing.py432def test_protocol_violations_fuzz(fuzzer):CODE
LOWtests/security/test_protocol_fuzzing.py444def test_raw_message_type_fuzz(fuzzer):CODE
LOWtests/security/test_zero_day_adversarial.py305 def test_prototype_pollution_via_command(self, security_client, payload):CODE
LOWtests/security/test_zero_day_adversarial.py326 def test_prototype_pollution_in_raw_json(self, check_server_alive):CODE
LOWtests/security/test_zero_day_adversarial.py478 def test_null_byte_in_frame_delimiters(self, security_client, check_server_alive):CODE
LOWtests/security/test_zero_day_adversarial.py867 def test_rapid_checksum_algorithm_switching(CODE
LOWtests/security/test_zero_day_adversarial.py1217 def test_integer_truncation_in_time_range(CODE
LOWtests/security/test_zero_day_adversarial.py1262 def test_negative_port_numbers(self, security_client, check_server_alive):CODE
LOWtests/security/test_zero_day_adversarial.py1495 def test_error_message_analysis(self, security_client):CODE
LOWtests/security/test_zero_day_adversarial.py2184 def test_reflected_payload_in_title(self, security_client, payload):CODE
LOWtests/security/test_zero_day_adversarial.py220 def test_js_code_via_project_json(self, security_client, check_server_alive):CODE
LOWtests/security/test_zero_day_adversarial.py442 def test_null_byte_path_truncation(self, security_client):CODE
LOWtests/security/test_zero_day_adversarial.py461 def test_null_byte_in_command_name(self, check_server_alive):CODE
LOWtests/security/test_zero_day_adversarial.py517 def test_partial_json_then_valid(self, check_server_alive):CODE
LOWtests/security/test_zero_day_adversarial.py550 def test_interleaved_binary_and_json(self, check_server_alive):CODE
LOWtests/security/test_zero_day_adversarial.py579 def test_newline_injection_in_json_value(self, check_server_alive):CODE
LOWtests/security/test_zero_day_adversarial.py601 def test_message_boundary_confusion(self, check_server_alive):CODE
LOWtests/security/test_zero_day_adversarial.py673 def test_quadratic_blowup_duplicate_keys(self, check_server_alive):CODE
LOWtests/security/test_zero_day_adversarial.py715 def test_sabotage_via_config_change(self, check_server_alive):CODE
LOWtests/security/test_zero_day_adversarial.py804 def test_inject_json_command_as_frame(self, check_server_alive):CODE
LOWtests/security/test_zero_day_adversarial.py829 def test_delimiter_injection_in_data(self, security_client, check_server_alive):CODE
LOWtests/security/test_zero_day_adversarial.py895 def test_checksum_length_mismatch(self, security_client, check_server_alive):CODE
LOWtests/security/test_zero_day_adversarial.py945 def test_rapid_framereader_recreation(self, check_server_alive):CODE
LOWtests/security/test_zero_day_adversarial.py988 def test_project_reload_during_data_flow(self, check_server_alive):CODE
LOWtests/security/test_zero_day_adversarial.py1113 def test_ansi_escape_via_raw_data(self, payload, check_server_alive):CODE
810 more matches not shown…
Over-Commented Block586 hits · 514 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1#COMMENT
LOWCMakeLists.txt21cmake_minimum_required(VERSION 3.20)COMMENT
LOWCMakeLists.txt41COMMENT
LOWCMakeLists.txt61# ENABLE_PGO=OFF (default) - Profile-Guided OptimizationCOMMENT
LOWCMakeLists.txt101# Commercial builds require valid API keys and license credentials:COMMENT
LOWCMakeLists.txt141# - PROJECT_VERSION_MAJOR: Major version (breaking changes)COMMENT
LOWCMakeLists.txt201#---------------------------------------------------------------------------------------------------COMMENT
LOWCMakeLists.txt221add_definitions(-DPROJECT_VERSION="${PROJECT_VERSION}")COMMENT
LOWCMakeLists.txt241# - Build fails if license is invalid, expired, or not activatedCOMMENT
LOWCMakeLists.txt321# - aarch64: 64-bit ARM processors (Apple Silicon, Raspberry Pi 4+)COMMENT
LOWCMakeLists.txt341#COMMENT
LOWCMakeLists.txt361# Compiler warnings configurationCOMMENT
LOWCMakeLists.txt401endif()COMMENT
LOWCMakeLists.txt421# MSVC's debug STL ships with _ITERATOR_DEBUG_LEVEL=2 by default, which wraps every iteratorCOMMENT
LOWCMakeLists.txt441#COMMENT
LOWCMakeLists.txt461# - mdflib: MDF4/MF4 file format parserCOMMENT
LOWCMakeLists.txt481#COMMENT
LOWapp/CMakeLists.txt1#COMMENT
LOWapp/CMakeLists.txt21#---------------------------------------------------------------------------------------------------COMMENT
LOWapp/CMakeLists.txt41#---------------------------------------------------------------------------------------------------COMMENT
LOWapp/CMakeLists.txt61set(CMAKE_AUTORCC ON)COMMENT
LOWapp/CMakeLists.txt81# Qt6::Bluetooth - Bluetooth LE device discovery and communicationCOMMENT
LOWapp/CMakeLists.txt161qt_policy(SET QTP0002 NEW)COMMENT
LOWapp/CMakeLists.txt181# - MDF4/: MDF4 file playback (Pro feature)COMMENT
LOWapp/CMakeLists.txt861#---------------------------------------------------------------------------------------------------COMMENT
LOWapp/CMakeLists.txt941# Platform-specific source files and resourcesCOMMENT
LOWapp/CMakeLists.txt1021 set(HEADERSCOMMENT
LOWapp/CMakeLists.txt1041# - Languages: English, Spanish, Chinese, German, French, etc.COMMENT
LOWapp/CMakeLists.txt1061#COMMENT
LOWapp/CMakeLists.txt1141 endif()COMMENT
LOWapp/CMakeLists.txt1161# Why Linux only?COMMENT
LOWapp/CMakeLists.txt1181endif()COMMENT
LOWapp/CMakeLists.txt1201# Compiles QML files into a Qt Quick module with ahead-of-time compilation:COMMENT
LOWapp/CMakeLists.txt1241# MiniAudio audio input library configuration (Pro only)COMMENT
LOWapp/CMakeLists.txt1261# Windows: Uses WASAPI (built-in, no extra libs needed)COMMENT
LOWapp/CMakeLists.txt1341 else()COMMENT
LOWapp/CMakeLists.txt1361# - MACOSX_BUNDLE=TRUE: Creates .app bundle (required for macOS apps)COMMENT
LOWapp/CMakeLists.txt1441 )COMMENT
LOWapp/CMakeLists.txt1461# BUNDLE: macOS .app bundles → install to top-level directoryCOMMENT
LOWapp/CMakeLists.txt1481# Linux:COMMENT
LOWapp/CMakeLists.txt1541 OUTPUT_SCRIPT deploy_scriptCOMMENT
LOWapp/CMakeLists.txt1561# CPACK_PACKAGE_DESCRIPTION - README.md contentCOMMENT
LOWapp/CMakeLists.txt1581# - No installer wizard (simple drag-and-drop)COMMENT
LOWapp/rcc/scripts/painter/default_template.js1// Default painter template.COMMENT
LOWapp/rcc/scripts/parser/js/batched_sensor_data.js61 // Modify this based on your data format (JSON, CSV, binary, etc.)COMMENT
LOWapp/rcc/scripts/transforms/js/logarithmic_db.js1// 'value' is the live numeric reading for this dataset,COMMENT
LOWapp/rcc/scripts/transforms/js/ema.js1// 'value' is the live numeric reading for this dataset,COMMENT
LOWapp/rcc/scripts/transforms/js/schmitt_trigger.js1// 'value' is the live numeric reading for this dataset,COMMENT
LOWapp/rcc/scripts/transforms/js/moving_average.js1// 'value' is the live numeric reading for this dataset,COMMENT
LOWapp/rcc/scripts/transforms/js/running_max.js1// 'value' is the live numeric reading for this dataset,COMMENT
LOWapp/rcc/scripts/transforms/js/fahrenheit_to_celsius.js1// 'value' is the live numeric reading for this dataset,COMMENT
LOWapp/rcc/scripts/transforms/js/rolling_rms.js1// 'value' is the live numeric reading for this dataset,COMMENT
LOWapp/rcc/scripts/transforms/js/unwrap_angle.js1// 'value' is the live numeric reading for this dataset,COMMENT
LOWapp/rcc/scripts/transforms/js/kalman_1d.js1// 'value' is the live numeric reading for this dataset,COMMENT
LOWapp/rcc/scripts/transforms/js/map_range.js1// 'value' is the live numeric reading for this dataset,COMMENT
LOWapp/rcc/scripts/transforms/js/thermistor_steinhart.js1// 'value' is the live numeric reading for this dataset,COMMENT
LOWapp/rcc/scripts/transforms/js/degrees_to_radians.js1// 'value' is the live numeric reading for this dataset,COMMENT
LOWapp/rcc/scripts/transforms/js/polynomial_2nd.js1// 'value' is the live numeric reading for this dataset,COMMENT
LOWapp/rcc/scripts/transforms/js/round_decimals.js1// 'value' is the live numeric reading for this dataset,COMMENT
LOWapp/rcc/scripts/transforms/js/adc_to_voltage.js1// 'value' is the live numeric reading for this dataset,COMMENT
526 more matches not shown…
Cross-Language Confusion49 hits · 302 pts
SeverityFileLineSnippetContext
HIGHtests/security/test_protocol_fuzzing.py97 b'{"type":"command","id":null,"command":"test"}\n',CODE
HIGHtests/security/test_zero_day_adversarial.py150 "function parse(f){var a=[];while(true)a.push(new Array(1e6));"CODE
HIGHtests/security/test_zero_day_adversarial.py2065 b'{"type":"batch","id":"x","commands":[null,null]}\n',CODE
HIGHtests/security/test_zero_day_adversarial.py2073 b'{"type":"batch","id":"x","commands":[{"command":"api.getCommands"},42,"str",null,true]}\n',CODE
HIGHtests/security/test_zero_day_adversarial.py2121 b'{"type":null,"id":"x","command":"api.getCommands"}\n',CODE
HIGHtests/integration/test_dataset_transforms.py265 "var ema = null;\n"CODE
HIGHtests/integration/test_dataset_transforms.py267 " ema = (ema === null) ? v : alpha * v + (1 - alpha) * ema;\n"CODE
HIGHtests/integration/test_session_export.py272# non-null) instead of QString().COMMENT
HIGHtests/integration/test_image_view.py686 # Payload is not a valid image — QImage::fromData will return null,COMMENT
HIGHtests/integration/test_image_view.py672 (it is passed to QImage::fromData which returns null) without crashing."""STRING
HIGHtests/integration/test_device_write.py195 " if (typeof r !== 'object' || r === null) throw 'deviceWrite must return an object';\n"CODE
HIGHtests/integration/test_device_write.py426 " if (info && typeof info.timestampMs === 'number') {\n"CODE
HIGHtests/integration/test_frame_parsing.py428 values.push(data.groups[i].datasets[j].value);CODE
HIGHtests/integration/test_frame_parsing.py893 values.push(data.groups[i].datasets[j].value);CODE
HIGHtests/integration/test_frame_parsing.py968 values.push(data.groups[i].datasets[j].value);CODE
HIGHtests/integration/test_frame_parsing.py1047 values.push(data.groups[i].datasets[j].value);CODE
HIGHtests/integration/test_frame_parsing.py1140 values.push(data.groups[i].datasets[j].value);CODE
HIGHtests/integration/test_table_handles.py90var H = null;CODE
HIGHtests/integration/test_table_handles.py92 if (H === null) H = tableHandleMany("DAQ", ["ch1","ch2","ch3","ch4"]);CODE
HIGHtests/utils/data_generator.py478 '{"null": null}{"extra":"object"}',STRING
HIGHtests/utils/data_generator.py487 '{"undefined": undefined}',STRING
HIGHtests/scripts/conftest.py100 if (gen !== GEN || idx >= ORDER.length) return -1;CODE
HIGHtests/scripts/conftest.py113 if (def !== undefined) write(rec, def);CODE
HIGHtests/scripts/conftest.py115 ORDER.push(k);CODE
HIGHtests/scripts/conftest.py120 return rec ? read(rec) : undefined;CODE
HIGHtests/scripts/conftest.py123 if (v === undefined || v === null) return;CODE
HIGHtests/scripts/conftest.py123 if (v === undefined || v === null) return;CODE
HIGHtests/scripts/conftest.py125 if (rec && rec.computed) write(rec, v);CODE
HIGHtests/scripts/conftest.py133 for (var i = 0; i < regs.length; i++) out.push(tableHandle(t, regs[i]));CODE
HIGHtests/scripts/conftest.py141 if (v === undefined || v === null) return;CODE
HIGHtests/scripts/conftest.py141 if (v === undefined || v === null) return;CODE
HIGHtests/scripts/test_cpp_regressions.py68 assert "writtenData.chop(writtenData.length() - boundedBytes);" in textCODE
HIGHtests/scripts/test_cpp_regressions.py147 assert "if (!data || data->data.isEmpty())" in frame_readerCODE
HIGHtests/scripts/test_cpp_regressions.py188 "if (widgetIdx < 0 || widgetIdx >= keys.size())",CODE
HIGHtests/scripts/test_cpp_regressions.py189 "if (eolIdx < 0 || eolIdx >= eolKeys.size())",CODE
HIGHtests/scripts/test_cpp_regressions.py190 "if (checksumId < 0 || checksumId >= checksums.size())",CODE
HIGHtests/scripts/test_cpp_regressions.py191 "if (idx < 0 || idx >= m_frameDetectionMethodsValues.size())",CODE
HIGHtests/scripts/test_cpp_regressions.py192 "if (widgetIdx < 0 || widgetIdx >= datasetWidgetKeys.size())",CODE
HIGHtests/scripts/test_cpp_regressions.py193 "if (plotIdx < 0 || plotIdx >= plotOptionKeys.size())",CODE
HIGHtests/scripts/test_cpp_regressions.py194 "if (sampleIdx < 0 || sampleIdx >= m_fftSamples.size())",CODE
HIGHtests/scripts/test_cpp_regressions.py625 r"if \(modified && m_groups\.empty\(\)[\s\S]*?"CODE
HIGHtests/scripts/test_cpp_regressions.py866 "if (spec.operationMode == SerialStudio::QuickPlot && spec.finishSequences.isEmpty())"CODE
HIGHtests/scripts/test_table_handles.py188 a.push(tableGet('A', CH[i]));CODE
HIGHtests/scripts/test_table_handles.py189 b.push(tableGet('B', CH[i]));CODE
HIGHscripts/generate-sdk.py117 lines.append(" bytes.push(parseInt(hex.substr(i, 2), 16));")CODE
HIGHscripts/generate-sdk.py123 lines.append(" out.push(s.charCodeAt(j) & 0xff);")CODE
HIGHscripts/code-verify.py2146 `for (int i = 0; i < kMaxIterations && cond; ++i)` so the bound isCODE
HIGHscripts/code_verify_rules.py2775 # `start < line.length()`. The bare-identifier form covers member fieldsCOMMENT
HIGHscripts/code_verify_rules.py1556 "prefer `for (int i = 0; i < kMax && cond; ++i)` "CODE
Excessive Try-Catch Wrapping211 hits · 205 pts
SeverityFileLineSnippetContext
LOWapp/rcc/ai/build_search_index.py258 except Exception:CODE
LOWapp/translations/translate_welcome_messages.py207 except Exception as e:CODE
MEDIUMapp/translations/translate_welcome_messages.py238 print(f"Error: unknown language code '{args.lang}'. Available: {available}")CODE
MEDIUMapp/translations/translation_manager.py218 print(f"Error: {ts_dir} directory does not exist.")CODE
LOWapp/translations/llm_translate.py1058 except Exception as exc:CODE
LOWapp/translations/llm_translate.py1082 except Exception:CODE
LOWapp/translations/llm_translate.py1818 except Exception as e:CODE
LOWapp/translations/llm_translate.py2634 except Exception as e:CODE
LOWapp/translations/llm_translate.py2651 except Exception as e:CODE
LOWtests/conftest.py57 except Exception:CODE
LOWtests/conftest.py83 except Exception:CODE
LOWtests/conftest.py85 except Exception:CODE
LOWtests/security/test_access_control.py382 except Exception as e:CODE
LOWtests/security/test_access_control.py96 except Exception as e:CODE
LOWtests/security/test_access_control.py135 except Exception as e:CODE
LOWtests/security/test_access_control.py174 except Exception as e:CODE
LOWtests/security/test_access_control.py258 except Exception as e:CODE
LOWtests/security/test_access_control.py302 except Exception as e:CODE
LOWtests/security/test_access_control.py325 except Exception as e:CODE
LOWtests/security/test_access_control.py358 except Exception as e:CODE
LOWtests/security/test_access_control.py416 except Exception as e:CODE
LOWtests/security/test_access_control.py443 except Exception as e:CODE
LOWtests/security/test_access_control.py490 except Exception as e:CODE
LOWtests/security/conftest.py116 except Exception:CODE
LOWtests/security/test_exploit_techniques.py387 except Exception as e:CODE
LOWtests/security/test_exploit_techniques.py502 except Exception as e:CODE
LOWtests/security/test_exploit_techniques.py559 except Exception as e:CODE
LOWtests/security/test_exploit_techniques.py574 except Exception as e:CODE
LOWtests/security/test_exploit_techniques.py607 except Exception as e:CODE
LOWtests/security/test_exploit_techniques.py677 except Exception as e:CODE
MEDIUMtests/security/test_denial_of_service.py166def flood_thread():CODE
LOWtests/security/test_denial_of_service.py522 except Exception as e:CODE
LOWtests/security/test_denial_of_service.py120 except Exception as e:CODE
LOWtests/security/test_denial_of_service.py242 except Exception as e:CODE
LOWtests/security/test_denial_of_service.py268 except Exception as e:CODE
LOWtests/security/test_denial_of_service.py401 except Exception as e:CODE
LOWtests/security/test_denial_of_service.py445 except Exception as e:CODE
LOWtests/security/test_denial_of_service.py482 except Exception as e:CODE
LOWtests/security/test_denial_of_service.py554 except Exception as e:CODE
LOWtests/security/test_api_security.py186 except Exception as e:CODE
LOWtests/security/test_api_security.py253 except Exception:CODE
LOWtests/security/test_api_security.py456 except Exception as e:CODE
LOWtests/security/test_api_security.py597 except Exception:CODE
LOWtests/security/test_api_security.py638 except Exception as e:CODE
LOWtests/security/test_protocol_fuzzing.py74 except Exception as e:CODE
LOWtests/security/test_protocol_fuzzing.py199 except Exception as e:CODE
MEDIUMtests/security/test_zero_day_adversarial.py952def reconfigure_rapidly(thread_id):CODE
MEDIUMtests/security/test_zero_day_adversarial.py995def send_data():CODE
MEDIUMtests/security/test_zero_day_adversarial.py1018def reload_project():CODE
MEDIUMtests/security/test_zero_day_adversarial.py1833def config_changer():CODE
MEDIUMtests/security/test_zero_day_adversarial.py1852def data_sender():CODE
MEDIUMtests/security/test_zero_day_adversarial.py1875def status_querier():CODE
MEDIUMtests/security/test_zero_day_adversarial.py1897def project_loader():CODE
MEDIUMtests/security/test_zero_day_adversarial.py1933def export_toggler():CODE
LOWtests/security/test_zero_day_adversarial.py263 except Exception:CODE
LOWtests/security/test_zero_day_adversarial.py314 except Exception:CODE
LOWtests/security/test_zero_day_adversarial.py323 except Exception:CODE
LOWtests/security/test_zero_day_adversarial.py488 except Exception:CODE
LOWtests/security/test_zero_day_adversarial.py497 except Exception:CODE
LOWtests/security/test_zero_day_adversarial.py627 except Exception:CODE
151 more matches not shown…
Structural Annotation Overuse45 hits · 87 pts
SeverityFileLineSnippetContext
LOWtests/integration/test_frame_parsing.py116 # Step 1: Set delimiters and checksumCOMMENT
LOWtests/integration/test_frame_parsing.py125 # Step 2: Set frame detection modeCOMMENT
LOWtests/integration/test_frame_parsing.py212 # Step 1: Set delimiters and checksumCOMMENT
LOWtests/integration/test_frame_parsing.py221 # Step 2: Set frame detection modeCOMMENT
LOWexamples/CAN Bus Example/README.md32### Step 1: Connect to CAN BusCOMMENT
LOWexamples/CAN Bus Example/README.md35### Step 2: Import DBC DatabaseCOMMENT
LOWexamples/CAN Bus Example/README.md41### Step 3: Review the PreviewCOMMENT
LOWexamples/CAN Bus Example/README.md50### Step 4: Save the ProjectCOMMENT
LOWexamples/CAN Bus Example/README.md60### Step 5: View the DashboardCOMMENT
LOWexamples/CAN Bus Example/README.md70### Step 6: Customize (Optional)COMMENT
LOWexamples/System Monitor/README.md56### Step 1: install dependenciesCOMMENT
LOWexamples/System Monitor/README.md67### Step 2: configure Serial StudioCOMMENT
LOWexamples/MCP Client/README.md212#### Step 1: Enable Serial Studio API ServerCOMMENT
LOWexamples/MCP Client/README.md219#### Step 2: Locate the Bridge ScriptCOMMENT
LOWexamples/MCP Client/README.md244#### Step 3: Configure Claude DesktopCOMMENT
LOWexamples/MCP Client/README.md313#### Step 4: Restart Claude DesktopCOMMENT
LOWexamples/MCP Client/README.md320#### Step 5: Verify IntegrationCOMMENT
LOWexamples/MCP Client/README.md334#### Step 6: Use It!COMMENT
LOWexamples/Camera Telemetry/README.md49### Step 1: install dependenciesCOMMENT
LOWexamples/Camera Telemetry/README.md55### Step 2: start the scriptCOMMENT
LOWexamples/Camera Telemetry/README.md78### Step 3: configure Serial StudioCOMMENT
LOWdoc/help/Project-Editor.md145### Step 1: create a new projectCOMMENT
LOWdoc/help/Project-Editor.md152### Step 2: configure frame parsingCOMMENT
LOWdoc/help/Project-Editor.md184### Step 3: add groupsCOMMENT
LOWdoc/help/Project-Editor.md206### Step 4: add datasetsCOMMENT
LOWdoc/help/Project-Editor.md252### Step 5: add actions (optional)COMMENT
LOWdoc/help/Project-Editor.md280### Step 6: add sources (multi-device projects)COMMENT
LOWdoc/help/Project-Editor.md294### Step 7: write a frame parser script (optional)COMMENT
LOWdoc/help/Getting-Started.md143### Step 1: prepare your deviceCOMMENT
LOWdoc/help/Getting-Started.md168### Step 2: configure Serial StudioCOMMENT
LOWdoc/help/Getting-Started.md176### Step 3: connectCOMMENT
LOWdoc/help/Getting-Started.md186### Step 4: explore the dashboardCOMMENT
LOWdoc/help/Getting-Started.md196### Step 1: open the Project EditorCOMMENT
LOWdoc/help/Getting-Started.md200### Step 2: create a projectCOMMENT
LOWdoc/help/Getting-Started.md208### Step 3: add groups and datasetsCOMMENT
LOWdoc/help/Getting-Started.md215### Step 4: save and loadCOMMENT
LOWdoc/help/Getting-Started.md221### Step 5: connectCOMMENT
LOWdoc/help/API-Reference.md458# Step 1: Connect to ArduinoCOMMENT
LOWdoc/help/API-Reference.md465# Step 2: Enable CSV loggingCOMMENT
LOWdoc/help/API-Reference.md470# Step 3: Stop recordingCOMMENT
LOWdoc/help/Use-Cases.md634### Step 1: Identify Your Data SourcesCOMMENT
LOWdoc/help/Use-Cases.md639### Step 2: Choose Your HardwareCOMMENT
LOWdoc/help/Use-Cases.md645### Step 3: Select Serial Studio ModeCOMMENT
LOWdoc/help/Use-Cases.md652### Step 4: Prototype and TestCOMMENT
LOWdoc/help/Use-Cases.md658### Step 5: Deploy and MonitorCOMMENT
Deep Nesting99 hits · 76 pts
SeverityFileLineSnippetContext
LOWapp/translations/translation_manager.py155CODE
LOWapp/translations/llm_translate.py1038CODE
LOWapp/translations/llm_translate.py1465CODE
LOWapp/translations/llm_translate.py1897CODE
LOWapp/translations/llm_translate.py1946CODE
LOWapp/translations/llm_translate.py2472CODE
LOWtests/conftest.py64CODE
LOWtests/conftest.py73CODE
LOWtests/security/test_access_control.py47CODE
LOWtests/security/test_access_control.py329CODE
LOWtests/security/test_access_control.py386CODE
LOWtests/security/test_exploit_techniques.py58CODE
LOWtests/security/test_exploit_techniques.py67CODE
LOWtests/security/test_denial_of_service.py155CODE
LOWtests/security/test_denial_of_service.py453CODE
LOWtests/security/test_denial_of_service.py530CODE
LOWtests/security/test_denial_of_service.py166CODE
LOWtests/security/test_api_security.py263CODE
LOWtests/security/test_api_security.py489CODE
LOWtests/security/test_api_vulnerabilities.py78CODE
LOWtests/security/test_api_vulnerabilities.py178CODE
LOWtests/security/test_api_vulnerabilities.py318CODE
LOWtests/security/test_api_vulnerabilities.py424CODE
LOWtests/security/test_api_vulnerabilities.py535CODE
LOWtests/security/test_api_vulnerabilities.py594CODE
LOWtests/security/test_protocol_fuzzing.py42CODE
LOWtests/security/test_protocol_fuzzing.py83CODE
LOWtests/security/test_zero_day_adversarial.py61CODE
LOWtests/security/test_zero_day_adversarial.py1294CODE
LOWtests/security/test_zero_day_adversarial.py1344CODE
LOWtests/security/weaponized_exploits.py41CODE
LOWtests/security/weaponized_exploits.py170CODE
LOWtests/security/weaponized_exploits.py331CODE
LOWtests/security/weaponized_exploits.py179CODE
LOWtests/integration/conftest.py74CODE
LOWtests/integration/conftest.py90CODE
LOWtests/integration/test_driver_api_comprehensive.py24CODE
LOWtests/integration/test_driver_api_comprehensive.py278CODE
LOWtests/integration/test_driver_api_comprehensive.py368CODE
LOWtests/integration/test_driver_api_comprehensive.py599CODE
LOWtests/utils/device_simulator.py92CODE
LOWtests/utils/device_simulator.py112CODE
LOWtests/utils/device_simulator.py116CODE
LOWtests/utils/data_generator.py89CODE
LOWtests/utils/data_generator.py255CODE
LOWtests/manual/api_enrichment_check.py32CODE
LOWtests/benchmarks/big_db_test/big_db_test.py257CODE
LOWexamples/Protobuf Example/sensor_simulator.py165CODE
LOWexamples/CAN Bus Example/ecu_simulator.py1103CODE
LOWexamples/CAN Bus Example/ecu_simulator.py1174CODE
LOWexamples/CAN Bus Example/ecu_simulator.py815CODE
LOWexamples/CAN Bus Example/ecu_simulator.py1007CODE
LOWexamples/RC Plane Simulator/rc_plane_simulator.py577CODE
LOWexamples/RC Plane Simulator/rc_plane_simulator.py176CODE
LOWexamples/Vibration Test Rig/vibration_test_rig.py56CODE
LOWexamples/API Test/test_api.py771CODE
LOWexamples/API Test/test_api.py1088CODE
LOWexamples/API Test/test_api.py1270CODE
LOWexamples/API Test/test_api.py277CODE
LOWexamples/API Test/test_api.py311CODE
39 more matches not shown…
Unused Imports76 hits · 66 pts
SeverityFileLineSnippetContext
LOWapp/rcc/ai/build_search_index.py24CODE
LOWtests/security/conftest.py18CODE
LOWtests/security/test_exploit_techniques.py28CODE
LOWtests/security/test_exploit_techniques.py30CODE
LOWtests/security/test_denial_of_service.py28CODE
LOWtests/security/test_protocol_fuzzing.py22CODE
LOWtests/security/test_protocol_fuzzing.py25CODE
LOWtests/security/test_protocol_fuzzing.py25CODE
LOWtests/security/test_zero_day_adversarial.py40CODE
LOWtests/security/test_zero_day_adversarial.py45CODE
LOWtests/security/test_zero_day_adversarial.py46CODE
LOWtests/security/weaponized_exploits.py24CODE
LOWtests/integration/test_licensing_tiers.py17CODE
LOWtests/integration/test_licensing_tiers.py18CODE
LOWtests/integration/test_licensing.py20CODE
LOWtests/integration/test_data_tables.py12CODE
LOWtests/integration/test_data_tables.py14CODE
LOWtests/integration/test_script_api_call.py19CODE
LOWtests/integration/test_source_configure.py25CODE
LOWtests/integration/conftest.py10CODE
LOWtests/integration/conftest.py11CODE
LOWtests/integration/test_csv_parsing_verified.py13CODE
LOWtests/integration/test_csv_parsing_verified.py16CODE
LOWtests/integration/test_painter_widget.py16CODE
LOWtests/integration/test_app_state.py21CODE
LOWtests/integration/test_csv_export.py11CODE
LOWtests/integration/test_csv_export.py16CODE
LOWtests/integration/test_batch_api.py14CODE
LOWtests/integration/test_dataset_transforms.py22CODE
LOWtests/integration/test_fuzzy.py13CODE
LOWtests/integration/test_image_view.py29CODE
LOWtests/integration/test_image_view.py29CODE
LOWtests/integration/test_device_write.py30CODE
LOWtests/integration/test_output_widgets.py22CODE
LOWtests/integration/test_project_configuration.py10CODE
LOWtests/integration/test_multi_source.py16CODE
LOWtests/integration/test_mcp.py18CODE
LOWtests/utils/validators.py13CODE
LOWtests/utils/validators.py14CODE
LOWtests/utils/__init__.py10CODE
LOWtests/utils/__init__.py10CODE
LOWtests/utils/__init__.py11CODE
LOWtests/utils/__init__.py12CODE
LOWtests/utils/__init__.py12CODE
LOWtests/utils/__init__.py13CODE
LOWtests/utils/__init__.py13CODE
LOWtests/utils/__init__.py14CODE
LOWtests/utils/__init__.py14CODE
LOWtests/utils/__init__.py14CODE
LOWtests/utils/__init__.py15CODE
LOWtests/utils/__init__.py15CODE
LOWtests/utils/__init__.py15CODE
LOWtests/utils/__init__.py15CODE
LOWtests/utils/virtual_serial.py12CODE
LOWtests/utils/data_generator.py15CODE
LOWtests/utils/api_client.py14CODE
LOWtests/manual/api_enrichment_check.py13CODE
LOWtests/benchmarks/big_db_test/big_db_test.py58CODE
LOWtests/scripts/test_csv2wav.py19CODE
LOWtests/scripts/test_table_handles.py12CODE
16 more matches not shown…
Docstring Block Structure9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHtests/utils/validators.py20 Validate frame has correct structure. Args: frame: Frame dict from Serial Studio expected_grouSTRING
HIGHtests/utils/validators.py62 Validate CSV export file. Args: csv_path: Path to CSV file min_rows: Minimum expected rows (exSTRING
HIGHtests/utils/validators.py115 Validate project JSON file. Args: project_path: Path to .json project file Returns: True STRING
HIGHtests/utils/validators.py146 Validate checksum matches data. Args: data: Payload bytes checksum_value: Expected checksum vaSTRING
HIGHtests/utils/validators.py179 Validate export file can be opened and read. Args: export_path: Path to export file file_type:STRING
HIGHtests/utils/data_generator.py263 Wrap payload with delimiters and optional binary checksum. IMPORTANT: Both DeviceSendsJSON and ProjectSTRING
HIGHtests/utils/api_client.py127 Send a command and return the result. Args: command: Command name (e.g., "io.getStatus") STRING
HIGHtests/utils/api_client.py172 Send batch of commands. Args: commands: List of dicts with "command" and optional "params"STRING
HIGHtests/scripts/conftest.py21 Execute a parser script's parse() function via Node.js. The frame_input is serialised as JSON and injected dirSTRING
Redundant / Tautological Comments23 hits · 36 pts
SeverityFileLineSnippetContext
LOWtests/security/test_access_control.py378 # Check if it's properly sanitizedCOMMENT
LOWtests/security/test_access_control.py428 # Check if error reveals internal detailsCOMMENT
LOWtests/security/test_exploit_techniques.py91 # Check if server crashedCOMMENT
LOWtests/security/test_exploit_techniques.py295 # Check if server is confusedCOMMENT
LOWtests/security/test_exploit_techniques.py390 # Check if server still accepts new connectionsCOMMENT
LOWtests/security/test_exploit_techniques.py428 # Check if server is still responsiveCOMMENT
LOWtests/security/test_exploit_techniques.py637 # Check if server returned error responseCOMMENT
LOWtests/security/test_denial_of_service.py333 # Check if server times out slow connectionsCOMMENT
LOWtests/security/test_denial_of_service.py393 # Check if server is still responsiveCOMMENT
LOWtests/security/test_api_security.py368 # Check if rate limiting is workingCOMMENT
LOWtests/security/test_api_security.py407 # Check if server returned an error responseCOMMENT
LOWtests/security/test_api_vulnerabilities.py235 # Check if response leaks memory addressesCOMMENT
LOWtests/security/test_api_vulnerabilities.py267 # Check if server is still responsiveCOMMENT
LOWtests/security/test_api_vulnerabilities.py332 # Check if server rejected the batch (error dict returned)COMMENT
LOWtests/security/test_api_vulnerabilities.py529 # Check if extra params are silently ignored or cause issuesCOMMENT
LOWtests/security/test_api_vulnerabilities.py545 # Check if error reveals internal paths, versions, etc.COMMENT
LOWtests/security/test_api_vulnerabilities.py655 # Check if server is runningCOMMENT
LOWtests/security/run_all_security_tests.sh24# Check if Serial Studio is runningCOMMENT
LOWtests/security/test_zero_day_adversarial.py376 # Check if path traversal succeededCOMMENT
LOWtests/security/weaponized_exploits.py230 # Check if server crashedCOMMENT
LOWtests/security/weaponized_exploits.py364 # Check if injection executed (unlikely but worth checking)COMMENT
LOWexamples/Modbus PLC Simulator/plc_simulator.py682 # Check if shutdown completeCOMMENT
LOWlib/KissFFT/test/kissfft-testsuite.sh236 # Return resultCOMMENT
Self-Referential Comments8 hits · 25 pts
SeverityFileLineSnippetContext
MEDIUMtests/security/test_exploit_techniques.py589 # Create a message with extreme redundancyCOMMENT
MEDIUMtests/security/test_denial_of_service.py539 # Create a project that references itselfCOMMENT
MEDIUMtests/integration/test_project_configuration.py297 # Define a simple JavaScript parserSTRING
MEDIUMexamples/CAN Bus Example/ecu_simulator.py684 # Create a realistic driving pattern: accelerate, cruise, brake, repeatCOMMENT
MEDIUM.github/workflows/ci.yml7# This file is dual-licensed:COMMENT
MEDIUMlib/KissFFT/test/testkiss.py3# This file is part of KISS FFT - https://github.com/mborgerding/kissfftCOMMENT
MEDIUMlib/KissFFT/test/kissfft-testsuite.sh7# This file is part of KISS FFT - https://github.com/mborgerding/kissfftCOMMENT
MEDIUMlib/QSimpleUpdater/sanitize-commit.sh34# Create a temp file with the list of tracked filesCOMMENT
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICALlib/mdflib/docs/manual/html/jquery.js67set:function(e,t){if(!y.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.valueCODE
CRITICALlib/mdflib/docs/manual/html/jquery.js107)&&(t.left+=l+i+h):0<r&&(0<(o=t.left-e.collisionPosition.marginLeft+l+i+h-o)||D(o)<r)&&(t.left+=l+i+h)},top:function(t,eCODE
Modern AI Meta-Vocabulary6 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUMapp/rcc/ai/skills/tool_discovery.md60## Semantic doc search (RAG)COMMENT
MEDIUMapp/translations/llm_translate.py120# paraphrase. gpt-5 hallucinates terminology in our experience.COMMENT
MEDIUMapp/translations/llm_translate.py50# from the same .ts file are injected as few-shot examples per batch.COMMENT
MEDIUMapp/translations/llm_translate.py799# entries from the same target .ts file and inject them as few-shot examples.COMMENT
MEDIUMapp/translations/llm_translate.py801# context window. MAX_TM_SOURCE_LEN keeps a single huge paragraph fromCOMMENT
MEDIUMapp/translations/llm_translate.py1187 # include them as few-shot examples — anchors terminology choices.COMMENT
AI Slop Vocabulary6 hits · 17 pts
SeverityFileLineSnippetContext
MEDIUMapp/rcc/scripts/transforms/js/median_filter.js10// robust than moving average at rejecting outlier spikes (salt andCOMMENT
MEDIUMapp/translations/llm_translate.py1180 # Build the domain-context block first — it's the highest-leverage section.COMMENT
LOWtests/integration/test_workspaces.py748 # is overkill -- just add another group, which is enough to fire the merge).COMMENT
MEDIUMtests/integration/test_table_handles.py88# the table store is built, so it is robust regardless of script-vs-store load order.COMMENT
MEDIUMtests/scripts/conftest.py80# Data-table handle API contract harnessCOMMENT
LOWlib/hidapi/testgui/copy_to_bundle.sh84# necessary. If ../libtool not available, just use cp to do the copy, butCOMMENT
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHtests/integration/test_dual_serial.py0return true when connected to a commercial build of serial studio.STRING
HIGHtests/integration/test_app_state.py0return true when connected to a commercial build of serial studio.STRING
HIGHtests/integration/test_multi_source.py0return true when connected to a commercial build of serial studio.STRING
Verbosity Indicators4 hits · 9 pts
SeverityFileLineSnippetContext
LOWtests/integration/test_frame_parsing.py116 # Step 1: Set delimiters and checksumCOMMENT
LOWtests/integration/test_frame_parsing.py125 # Step 2: Set frame detection modeCOMMENT
LOWtests/integration/test_frame_parsing.py212 # Step 1: Set delimiters and checksumCOMMENT
LOWtests/integration/test_frame_parsing.py221 # Step 2: Set frame detection modeCOMMENT
Modern Structural Boilerplate9 hits · 8 pts
SeverityFileLineSnippetContext
LOWtests/integration/test_lua_script_engine.py90def _setup_lua_project(api_client, lua_code: str, dataset_titles=None) -> None:CODE
LOWtests/integration/test_dataset_transforms.py72def _set_transform(api_client, group_id: int, dataset_id: int, code: str) -> None:CODE
LOWtests/integration/test_device_write.py129def _set_transform(api_client, group_id: int, dataset_id: int, code: str) -> None:CODE
LOWtests/utils/__init__.py22__all__ = [CODE
LOWtests/utils/api_client.py229 def set_bus_type(self, bus_type: str) -> None:CODE
LOWtests/utils/api_client.py329 def set_dashboard_fps(self, fps: int) -> None:CODE
LOWtests/utils/api_client.py340 def set_dashboard_time_range(self, seconds: float) -> None:CODE
LOWtests/utils/api_client.py369 def set_operation_mode(self, mode: str) -> None:CODE
LOWtests/utils/api_client.py746 def set_dataset_options(self, group_id: int, dataset_id: int, options: int) -> None:CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHscripts/code-verify.py1076# AI-narration patterns — phrases and shapes that ship in AI-generated codeCOMMENT
AI Structural Patterns5 hits · 4 pts
SeverityFileLineSnippetContext
LOWtests/integration/test_output_widgets.py55CODE
LOWexamples/LTE modem/lte_serial.py34CODE
LOWexamples/LTE modem/lte_udp.py34CODE
LOWexamples/LTE modem/lte_mqtt.py35CODE
LOWexamples/MCP Client/client.py70CODE
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/integration/test_licensing.py199 dummy_key = "00000000-0000-0000-0000-000000000000"CODE
LOWtests/integration/test_licensing.py200 api_client.command("licensing.setLicense", {"licenseKey": dummy_key})CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWlib/QSimpleUpdater/sanitize-commit.sh18# Usage:COMMENT