Repository Analysis

Serial-Studio/Serial-Studio

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

7.2 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,160 GitHub stars. SynthScan v2.0 examined 1,160,992 lines of code across 3695 source files, recording 4837 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 7.2 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).

7.2
Adjusted Score
7.2
Raw Score
100%
Time Factor
2026-08-29
Last Push
7.2K
Stars
C
Language
1.2M
Lines of Code
3.7K
Files
4.8K
Pattern Hits
2026-08-29
Scan Date
0.02
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

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.

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 87MEDIUM 1406LOW 3342

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 4837 distinct pattern matches across 23 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 Separators1325 hits · 4520 pts
SeverityFileLineSnippetContext
MEDIUMREUSE.toml6# ------------------------------------------------------------------------------------------------COMMENT
MEDIUMREUSE.toml9# ------------------------------------------------------------------------------------------------COMMENT
MEDIUMREUSE.toml36# ------------------------------------------------------------------------------------------------COMMENT
MEDIUMREUSE.toml39# ------------------------------------------------------------------------------------------------COMMENT
MEDIUMREUSE.toml70# ------------------------------------------------------------------------------------------------COMMENT
MEDIUMREUSE.toml73# ------------------------------------------------------------------------------------------------COMMENT
MEDIUMREUSE.toml80# ------------------------------------------------------------------------------------------------COMMENT
MEDIUMREUSE.toml83# ------------------------------------------------------------------------------------------------COMMENT
MEDIUMREUSE.toml110# ------------------------------------------------------------------------------------------------COMMENT
MEDIUMREUSE.toml113# ------------------------------------------------------------------------------------------------COMMENT
MEDIUMREUSE.toml144# ------------------------------------------------------------------------------------------------COMMENT
MEDIUMREUSE.toml148# ------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt224#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt233#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt235#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt331#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt333#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt343#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt347#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt349#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt367#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt376#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt378#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt419#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt421#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt427#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt433#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt435#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt462#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt464#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt470#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt475#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt477#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt497#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt506#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt508#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt23#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt25#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt36#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt49#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt51#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt77#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt104#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt106#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt129#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt141#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt143#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt173#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt206#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt208#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt260#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt393#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt451#---------------------------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt528#---------------------------------------------------------------------------------------------------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
1265 more matches not shown…
Over-Commented Block1385 hits · 1270 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 message(STATUS "WITH_WEBENGINE=OFF, markdown viewers will use Qt rich-text and reports will be HTML-only")COMMENT
LOWCMakeLists.txt141#---------------------------------------------------------------------------------------------------COMMENT
LOWCMakeLists.txt161# - License: GPL-3.0-or-later.txtCOMMENT
LOWCMakeLists.txt201set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")COMMENT
LOWCMakeLists.txt221# const char *version = PROJECT_VERSION;COMMENT
LOWCMakeLists.txt241# - Prevents accidental inclusion of Pro features in GPL buildsCOMMENT
LOWCMakeLists.txt341# (e.g., -march=x86-64-v2, -march=armv8-a, SSE4.1, NEON)COMMENT
LOWCMakeLists.txt361# - CMAKE_C_COMPILER_RANLIB: Index generator for C static librariesCOMMENT
LOWCMakeLists.txt381#COMMENT
LOWCMakeLists.txt421#---------------------------------------------------------------------------------------------------COMMENT
LOWCMakeLists.txt441# performance while leaving Q_ASSERT, debug symbols, and stepping intact.COMMENT
LOWCMakeLists.txt461COMMENT
LOWCMakeLists.txt481# 1. lib/ (third-party libraries and dependencies):COMMENT
LOWCMakeLists.txt501endif()COMMENT
LOWCMakeLists.txt521# - Optimization flags are correctly appliedCOMMENT
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.txt181#COMMENT
LOWapp/CMakeLists.txt1381# When ENABLE_GRPC=ON:COMMENT
LOWapp/CMakeLists.txt1461#---------------------------------------------------------------------------------------------------COMMENT
LOWapp/CMakeLists.txt1541COMMENT
LOWapp/CMakeLists.txt1561# - Simplifies deployment (single executable + Qt libs)COMMENT
LOWapp/CMakeLists.txt1581# (allows setting properties before qt_finalize_executable)COMMENT
LOWapp/CMakeLists.txt1701# Executable-specific hardening flags (Linux)COMMENT
LOWapp/CMakeLists.txt1741#---------------------------------------------------------------------------------------------------COMMENT
LOWapp/CMakeLists.txt1761# - QML caching: Pre-compiles QML to bytecode for faster startupCOMMENT
LOWapp/CMakeLists.txt1801#COMMENT
LOWapp/CMakeLists.txt1861 if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(x86_64|amd64)$")COMMENT
LOWapp/CMakeLists.txt1901 set_source_files_properties(src/ThirdParty/tweetnacl.cCOMMENT
LOWapp/CMakeLists.txt1921#COMMENT
LOWapp/CMakeLists.txt1961 src/ThirdParty/ed25519_verify.cppCOMMENT
LOWapp/CMakeLists.txt1981#COMMENT
LOWapp/CMakeLists.txt2061 $<$<BOOL:${MSVC}>:/DEBUG:NONE>COMMENT
LOWapp/CMakeLists.txt2081# qt_generate_deploy_qml_app_script():COMMENT
LOWapp/CMakeLists.txt2161#---------------------------------------------------------------------------------------------------COMMENT
LOWapp/CMakeLists.txt2181# - CPACK_WIX_LICENSE_RTF: License agreement displayed during installCOMMENT
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/annotations/modbus_rtu.js1//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
1325 more matches not shown…
Hyper-Verbose Identifiers1288 hits · 1133 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/unit/test_mirror_protocol.py74def test_every_fixture_line_is_json(name):CODE
LOWtests/unit/test_mirror_protocol.py144def test_fixture_round_trips_through_the_client(name):CODE
LOWtests/unit/test_mirror_protocol.py160def test_layout_hash_is_reproducible(name):CODE
LOWtests/unit/test_mirror_protocol.py170def test_layout_hash_detects_reordering():CODE
LOWtests/unit/test_mirror_protocol.py180def test_snapshot_encodes_strings_and_non_finite_out_of_band():CODE
LOWtests/unit/test_mirror_protocol.py224def test_epoch_mismatch_drops_the_snapshot_and_requests_structure():CODE
LOWtests/unit/test_mirror_protocol.py281def test_unknown_fields_kinds_and_push_keys_are_tolerated():CODE
LOWtests/unit/test_mirror_protocol.py298def test_a_push_without_the_mirror_key_decodes_to_nothing():CODE
LOWtests/unit/test_mirror_protocol.py306def test_heartbeat_decodes_and_separates_stale_from_idle():CODE
LOWtests/unit/test_mirror_protocol.py320def test_chunked_structure_reassembles_regardless_of_arrival_order():CODE
LOWtests/unit/test_mirror_protocol.py375def test_rate_bounds_and_watchdog_match_the_contract():CODE
LOWtests/unit/test_mirror_protocol.py87def test_structure_order_matches_the_source_project(name):CODE
LOWtests/unit/test_mirror_protocol.py123def test_snapshot_value_count_matches_the_dataset_list(name):CODE
LOWtests/unit/test_mirror_protocol.py204def test_precision_parameter_shrinks_the_wire_without_changing_shape():CODE
LOWtests/unit/test_mirror_protocol.py240def test_length_mismatch_is_handled_like_an_epoch_mismatch():CODE
LOWtests/unit/test_mirror_protocol.py252def test_layout_hash_mismatch_refuses_the_structure():CODE
LOWtests/unit/test_mirror_protocol.py263def test_version_mismatch_is_reported_not_half_decoded():CODE
LOWtests/unit/test_mirror_protocol.py342def test_chunking_round_trips_a_structure_byte_for_byte():CODE
LOWtests/unit/test_mirror_protocol.py387def test_timestamps_are_relative_and_monotonic_per_source():CODE
LOWtests/security/test_access_control.py390def test_information_disclosure(tester):CODE
LOWtests/security/test_access_control.py182def test_command_authorization(tester):CODE
LOWtests/security/test_access_control.py271def test_configuration_tampering(tester):CODE
LOWtests/security/test_access_control.py333def test_project_manipulation(tester):CODE
LOWtests/security/test_access_control.py457def test_cross_client_interference(tester):CODE
LOWtests/security/conftest.py238def pytest_collection_modifyitems(config, items):CODE
LOWtests/security/test_unknown_input_hardening.py305 def test_prototype_pollution_via_command(self, security_client, payload):CODE
LOWtests/security/test_unknown_input_hardening.py326 def test_prototype_pollution_in_raw_json(self, check_server_alive):CODE
LOWtests/security/test_unknown_input_hardening.py478 def test_null_byte_in_frame_delimiters(self, security_client, check_server_alive):CODE
LOWtests/security/test_unknown_input_hardening.py871 def test_rapid_checksum_algorithm_switching(CODE
LOWtests/security/test_unknown_input_hardening.py1221 def test_integer_truncation_in_time_range(CODE
LOWtests/security/test_unknown_input_hardening.py1266 def test_negative_port_numbers(self, security_client, check_server_alive):CODE
LOWtests/security/test_unknown_input_hardening.py1499 def test_error_message_analysis(self, security_client):CODE
LOWtests/security/test_unknown_input_hardening.py2188 def test_reflected_payload_in_title(self, security_client, payload):CODE
LOWtests/security/test_unknown_input_hardening.py220 def test_js_code_via_project_json(self, security_client, check_server_alive):CODE
LOWtests/security/test_unknown_input_hardening.py251 def test_js_code_length_amplification(self, security_client, check_server_alive):CODE
LOWtests/security/test_unknown_input_hardening.py442 def test_null_byte_path_truncation(self, security_client):CODE
LOWtests/security/test_unknown_input_hardening.py461 def test_null_byte_in_command_name(self, check_server_alive):CODE
LOWtests/security/test_unknown_input_hardening.py517 def test_partial_json_then_valid(self, check_server_alive):CODE
LOWtests/security/test_unknown_input_hardening.py550 def test_interleaved_binary_and_json(self, check_server_alive):CODE
LOWtests/security/test_unknown_input_hardening.py579 def test_newline_injection_in_json_value(self, check_server_alive):CODE
LOWtests/security/test_unknown_input_hardening.py601 def test_message_boundary_confusion(self, check_server_alive):CODE
LOWtests/security/test_unknown_input_hardening.py677 def test_quadratic_blowup_duplicate_keys(self, check_server_alive):CODE
LOWtests/security/test_unknown_input_hardening.py719 def test_sabotage_via_config_change(self, check_server_alive):CODE
1228 more matches not shown…
Cross-Language Confusion62 hits · 388 pts
SeverityFileLineSnippetContext
HIGHtests/security/test_unknown_input_hardening.py150 "function parse(f){var a=[];while(true)a.push(new Array(1e6));"CODE
HIGHtests/security/test_unknown_input_hardening.py2069 b'{"type":"batch","id":"x","commands":[null,null]}\n',CODE
HIGHtests/security/test_unknown_input_hardening.py2077 b'{"type":"batch","id":"x","commands":[{"command":"api.getCommands"},42,"str",null,true]}\n',CODE
HIGHtests/security/test_unknown_input_hardening.py2125 b'{"type":null,"id":"x","command":"api.getCommands"}\n',CODE
HIGHtests/security/test_protocol_fuzzing.py97 b'{"type":"command","id":null,"command":"test"}\n',CODE
HIGHtests/integration/test_session_regression.py74 " if (parseInt(frame) % 30 === 0) return null;"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.py321# 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/conftest.py153 if (!(uid in DS_RAW)) { DS_RAW[uid] = undefined; DS_FINAL[uid] = undefined; }CODE
HIGHtests/scripts/conftest.py159 if (typeof sel === "number") return (sel in DS_RAW) ? sel : undefined;CODE
HIGHtests/scripts/conftest.py160 if (typeof sel === "string") return ALIAS.hasOwnProperty(sel) ? ALIAS[sel] : undefined;CODE
HIGHtests/scripts/conftest.py161 return undefined;CODE
HIGHtests/scripts/test_cpp_regressions.py112 assert "writtenData.chop(writtenData.length() - boundedBytes);" in textCODE
HIGHtests/scripts/test_cpp_regressions.py219 assert "if (!data || data->data.isEmpty())" in frame_readerCODE
HIGHtests/scripts/test_cpp_regressions.py262 "if (widgetIdx < 0 || widgetIdx >= keys.size())",CODE
HIGHtests/scripts/test_cpp_regressions.py263 "if (eolIdx < 0 || eolIdx >= eolKeys.size())",CODE
HIGHtests/scripts/test_cpp_regressions.py264 "if (checksumId < 0 || checksumId >= checksums.size())",CODE
HIGHtests/scripts/test_cpp_regressions.py265 "if (idx < 0 || idx >= m_frameDetectionMethodsValues.size())",CODE
HIGHtests/scripts/test_cpp_regressions.py269 "return index >= 0 && index < m_datasetWidgets.size();",CODE
HIGHtests/scripts/test_cpp_regressions.py270 "return index >= 0 && index < m_plotOptions.size();",CODE
HIGHtests/scripts/test_cpp_regressions.py271 "return index >= 0 && index < m_fftSamples.size();",CODE
HIGHtests/scripts/test_cpp_regressions.py671 r"if \(modified && m_groups\.empty\(\)[\s\S]*?"CODE
HIGHtests/scripts/test_cpp_regressions.py914 "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
HIGHtests/scripts/test_dataset_alias.py65 __defineDataset(128, null);CODE
HIGHtests/scripts/test_dataset_alias.py80 __defineDataset(128, null);CODE
HIGHtests/scripts/test_dataset_alias.py100 console.log(JSON.stringify({ missing: (v === undefined) }));CODE
HIGHtests/scripts/test_dataset_alias.py108 console.log(JSON.stringify({ missing: (v === undefined) }));CODE
HIGHscripts/generate-sdk.py135 lines.append(" bytes.push(parseInt(hex.substr(i, 2), 16));")CODE
HIGHscripts/generate-sdk.py141 lines.append(" out.push(s.charCodeAt(j) & 0xff);")CODE
HIGHscripts/generate-property-registry.py524 " if (kDatasetProperties[i].hasFormRow && kDatasetProperties[i].formId == formId)\n"CODE
HIGHscripts/generate-property-registry.py1259 return f"value.toString(){suffix}"CODE
HIGHscripts/code-verify.py2703 `for (int i = 0; i < kMaxIterations && cond; ++i)` so the bound isCODE
HIGHscripts/code_verify_rules.py2774 # `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
2 more matches not shown…
Excessive Try-Catch Wrapping243 hits · 245 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.py386 except Exception as e:CODE
LOWtests/security/test_access_control.py100 except Exception as e:CODE
LOWtests/security/test_access_control.py139 except Exception as e:CODE
LOWtests/security/test_access_control.py178 except Exception as e:CODE
LOWtests/security/test_access_control.py262 except Exception as e:CODE
LOWtests/security/test_access_control.py306 except Exception as e:CODE
LOWtests/security/test_access_control.py329 except Exception as e:CODE
LOWtests/security/test_access_control.py362 except Exception as e:CODE
LOWtests/security/test_access_control.py420 except Exception as e:CODE
LOWtests/security/test_access_control.py447 except Exception as e:CODE
LOWtests/security/test_access_control.py494 except Exception as e:CODE
LOWtests/security/conftest.py116 except Exception:CODE
MEDIUMtests/security/test_unknown_input_hardening.py956def reconfigure_rapidly(thread_id):CODE
MEDIUMtests/security/test_unknown_input_hardening.py999def send_data():CODE
MEDIUMtests/security/test_unknown_input_hardening.py1022def reload_project():CODE
MEDIUMtests/security/test_unknown_input_hardening.py1837def config_changer():CODE
MEDIUMtests/security/test_unknown_input_hardening.py1856def data_sender():CODE
MEDIUMtests/security/test_unknown_input_hardening.py1879def status_querier():CODE
MEDIUMtests/security/test_unknown_input_hardening.py1901def project_loader():CODE
MEDIUMtests/security/test_unknown_input_hardening.py1937def export_toggler():CODE
LOWtests/security/test_unknown_input_hardening.py263 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py314 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py323 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py488 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py497 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py627 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py1205 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py1211 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py1245 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py1253 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py1259 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py1275 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py1378 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py1568 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py1621 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py2195 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py2204 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py82 except Exception as e:CODE
LOWtests/security/test_unknown_input_hardening.py88 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py213 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py244 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py401 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py458 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py545 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py574 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py753 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py758 except Exception:CODE
LOWtests/security/test_unknown_input_hardening.py775 except Exception:CODE
183 more matches not shown…
Deep Nesting163 hits · 136 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.py51CODE
LOWtests/security/test_access_control.py333CODE
LOWtests/security/test_access_control.py390CODE
LOWtests/security/test_unknown_input_hardening.py61CODE
LOWtests/security/test_unknown_input_hardening.py1298CODE
LOWtests/security/test_unknown_input_hardening.py1348CODE
LOWtests/security/test_api_security.py269CODE
LOWtests/security/test_api_security.py495CODE
LOWtests/security/test_resource_exhaustion.py155CODE
LOWtests/security/test_resource_exhaustion.py453CODE
LOWtests/security/test_resource_exhaustion.py531CODE
LOWtests/security/test_resource_exhaustion.py166CODE
LOWtests/security/test_protocol_fuzzing.py42CODE
LOWtests/security/test_protocol_fuzzing.py83CODE
LOWtests/security/test_api_input_hardening.py78CODE
LOWtests/security/test_api_input_hardening.py178CODE
LOWtests/security/test_api_input_hardening.py318CODE
LOWtests/security/test_api_input_hardening.py424CODE
LOWtests/security/test_api_input_hardening.py535CODE
LOWtests/security/test_api_input_hardening.py594CODE
LOWtests/security/security_probe_suite.py41CODE
LOWtests/security/security_probe_suite.py172CODE
LOWtests/security/security_probe_suite.py333CODE
LOWtests/security/security_probe_suite.py181CODE
LOWtests/security/test_robustness_techniques.py58CODE
LOWtests/security/test_robustness_techniques.py67CODE
LOWtests/integration/test_session_verification.py95CODE
LOWtests/integration/conftest.py74CODE
LOWtests/integration/conftest.py90CODE
LOWtests/integration/test_session_regression.py95CODE
LOWtests/integration/test_api_surfaces.py120CODE
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/integration/test_project_undo.py79CODE
LOWtests/utils/device_simulator.py95CODE
LOWtests/utils/device_simulator.py143CODE
LOWtests/utils/device_simulator.py175CODE
LOWtests/utils/device_simulator.py147CODE
LOWtests/utils/mirror_client.py183CODE
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
LOW.claude/hooks/canary-check.py136CODE
LOWexamples/IEC 104 Example/iec104_server.py420CODE
LOWexamples/Protobuf Example/sensor_simulator.py165CODE
LOWexamples/CAN Bus Example/ecu_simulator.py1173CODE
LOWexamples/CAN Bus Example/ecu_simulator.py1244CODE
LOWexamples/CAN Bus Example/ecu_simulator.py885CODE
LOWexamples/CAN Bus Example/ecu_simulator.py1077CODE
103 more matches not shown…
Unused Imports140 hits · 127 pts
SeverityFileLineSnippetContext
LOWapp/rcc/ai/build_search_index.py24CODE
LOWtests/unit/test_mirror_protocol.py19CODE
LOWtests/security/conftest.py18CODE
LOWtests/security/test_unknown_input_hardening.py40CODE
LOWtests/security/test_unknown_input_hardening.py45CODE
LOWtests/security/test_unknown_input_hardening.py46CODE
LOWtests/security/test_resource_exhaustion.py28CODE
LOWtests/security/test_protocol_fuzzing.py22CODE
LOWtests/security/test_protocol_fuzzing.py25CODE
LOWtests/security/test_protocol_fuzzing.py25CODE
LOWtests/security/security_probe_suite.py24CODE
LOWtests/security/test_robustness_techniques.py28CODE
LOWtests/security/test_robustness_techniques.py30CODE
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.py224CODE
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/integration/test_remote_mirror.py35CODE
LOWtests/integration/test_remote_mirror.py51CODE
LOWtests/integration/test_remote_mirror.py51CODE
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__.py15CODE
LOWtests/utils/__init__.py15CODE
LOWtests/utils/__init__.py15CODE
LOWtests/utils/__init__.py16CODE
LOWtests/utils/__init__.py16CODE
LOWtests/utils/__init__.py16CODE
LOWtests/utils/__init__.py16CODE
LOWtests/utils/http_ws_server.py23CODE
LOWtests/utils/mirror_client.py22CODE
LOWtests/utils/virtual_serial.py12CODE
80 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.md36### Step 1: Connect to CAN BusCOMMENT
LOWexamples/CAN Bus Example/README.md39### Step 2: Import DBC DatabaseCOMMENT
LOWexamples/CAN Bus Example/README.md45### Step 3: Review the PreviewCOMMENT
LOWexamples/CAN Bus Example/README.md54### Step 4: Save the ProjectCOMMENT
LOWexamples/CAN Bus Example/README.md64### Step 5: View the DashboardCOMMENT
LOWexamples/CAN Bus Example/README.md74### 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.md161### Step 1: create a new projectCOMMENT
LOWdoc/help/Project-Editor.md168### Step 2: configure frame parsingCOMMENT
LOWdoc/help/Project-Editor.md239### Step 3: add groupsCOMMENT
LOWdoc/help/Project-Editor.md262### Step 4: add datasetsCOMMENT
LOWdoc/help/Project-Editor.md308### Step 5: add actions (optional)COMMENT
LOWdoc/help/Project-Editor.md336### Step 6: add sources (multi-device projects)COMMENT
LOWdoc/help/Project-Editor.md350### Step 7: write a frame parser script (optional)COMMENT
LOWdoc/help/Getting-Started.md139### Step 1: prepare your deviceCOMMENT
LOWdoc/help/Getting-Started.md164### Step 2: configure Serial StudioCOMMENT
LOWdoc/help/Getting-Started.md172### Step 3: connectCOMMENT
LOWdoc/help/Getting-Started.md182### Step 4: explore the dashboardCOMMENT
LOWdoc/help/Getting-Started.md192### Step 1: open the Project EditorCOMMENT
LOWdoc/help/Getting-Started.md196### Step 2: create a projectCOMMENT
LOWdoc/help/Getting-Started.md204### Step 3: add groups and datasetsCOMMENT
LOWdoc/help/Getting-Started.md211### Step 4: save and loadCOMMENT
LOWdoc/help/Getting-Started.md217### Step 5: connectCOMMENT
LOWdoc/help/API-Reference.md460# Step 1: Connect to ArduinoCOMMENT
LOWdoc/help/API-Reference.md467# Step 2: Enable CSV loggingCOMMENT
LOWdoc/help/API-Reference.md472# Step 3: Stop recordingCOMMENT
LOWdoc/help/Use-Cases.md649### Step 1: Identify Your Data SourcesCOMMENT
LOWdoc/help/Use-Cases.md654### Step 2: Choose Your HardwareCOMMENT
LOWdoc/help/Use-Cases.md660### Step 3: Select Serial Studio ModeCOMMENT
LOWdoc/help/Use-Cases.md667### Step 4: Prototype and TestCOMMENT
LOWdoc/help/Use-Cases.md673### Step 5: Deploy and MonitorCOMMENT
Self-Referential Comments25 hits · 76 pts
SeverityFileLineSnippetContext
MEDIUMtests/security/test_resource_exhaustion.py540 # Create a project that references itselfCOMMENT
MEDIUMtests/security/test_robustness_techniques.py587 # Create a message with extreme redundancyCOMMENT
MEDIUMtests/integration/test_project_configuration.py297 # Define a simple JavaScript parserSTRING
MEDIUMexamples/CAN Bus Example/ecu_simulator.py754 # Create a realistic driving pattern: accelerate, cruise, brake, repeatCOMMENT
MEDIUM.github/workflows/ci.yml7# This file is dual-licensed:COMMENT
MEDIUMlib/mbedtls/framework/scripts/code_style.py95 # Create an environment without these variables for running commands on theCOMMENT
MEDIUMlib/mbedtls/framework/scripts/all-helpers.sh6# This file contains helpers for test components that are executed by all.sh.COMMENT
MEDIUMlib/mbedtls/framework/scripts/all-helpers.sh9# This file is the right place for helpers:COMMENT
MEDIUMlib/mbedtls/framework/scripts/generate_test_code.py1114 # Create a placeholder pattern with the correct named capture groupsSTRING
MEDIUMlib/mbedtls/framework/scripts/demo_common.sh125 # This function is commonly called in an if condition, where "set -e"COMMENT
MEDIUMlib/mbedtls/framework/scripts/demo_common.sh176 # Create a seedfile that's sufficiently long in all library configurations.COMMENT
MEDIUM…tls/framework/scripts/mbedtls_framework/test_driver.py164 # Create the test driver treeCOMMENT
MEDIUM…framework/scripts/mbedtls_framework/generated_files.py126 # This file is optional and didn't exist before, soCOMMENT
MEDIUM…ework/scripts/mbedtls_framework/c_wrapper_generator.py60 # This class is designed to have many methods potentially overloaded.COMMENT
MEDIUMlib/mbedtls/include/psa/crypto_extra.h1617 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMlib/mbedtls/include/psa/crypto.h962 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMlib/mbedtls/include/psa/crypto.h1325 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMlib/mbedtls/include/psa/crypto.h1385 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMlib/mbedtls/include/psa/crypto.h1734 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMlib/mbedtls/include/psa/crypto.h1797 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMlib/mbedtls/include/psa/crypto.h2260 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMlib/mbedtls/include/psa/crypto.h2330 * -# Initialize the operation object with one of the methods described in theCOMMENT
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
Redundant / Tautological Comments37 hits · 59 pts
SeverityFileLineSnippetContext
LOWtests/security/test_access_control.py382 # Check if it's properly sanitizedCOMMENT
LOWtests/security/test_access_control.py432 # Check if error reveals internal detailsCOMMENT
LOWtests/security/test_unknown_input_hardening.py376 # Check if path traversal succeededCOMMENT
LOWtests/security/test_api_security.py374 # Check if rate limiting is workingCOMMENT
LOWtests/security/test_api_security.py413 # Check if server returned an error responseCOMMENT
LOWtests/security/test_resource_exhaustion.py333 # Check if server times out slow connectionsCOMMENT
LOWtests/security/test_resource_exhaustion.py393 # Check if server is still responsiveCOMMENT
LOWtests/security/run_all_security_tests.sh24# Check if Serial Studio is runningCOMMENT
LOWtests/security/test_api_input_hardening.py235 # Check if response leaks memory addressesCOMMENT
LOWtests/security/test_api_input_hardening.py267 # Check if server is still responsiveCOMMENT
LOWtests/security/test_api_input_hardening.py332 # Check if server rejected the batch (error dict returned)COMMENT
LOWtests/security/test_api_input_hardening.py529 # Check if extra params are silently ignored or cause issuesCOMMENT
LOWtests/security/test_api_input_hardening.py545 # Check if error reveals internal paths, versions, etc.COMMENT
LOWtests/security/test_api_input_hardening.py655 # Check if server is runningCOMMENT
LOWtests/security/security_probe_suite.py232 # Check if server crashedCOMMENT
LOWtests/security/security_probe_suite.py366 # Check if injection executed (unlikely but worth checking)COMMENT
LOWtests/security/test_robustness_techniques.py91 # Check if server crashedCOMMENT
LOWtests/security/test_robustness_techniques.py295 # Check if server is confusedCOMMENT
LOWtests/security/test_robustness_techniques.py388 # Check if server still accepts new connectionsCOMMENT
LOWtests/security/test_robustness_techniques.py426 # Check if server is still responsiveCOMMENT
LOWtests/security/test_robustness_techniques.py637 # Check if server returned error responseCOMMENT
LOWexamples/Modbus PLC Simulator/plc_simulator.py682 # Check if shutdown completeCOMMENT
LOWlib/mbedtls/framework/scripts/audit-validity-dates.py161 # Check if Type (1 byte) is SEQUENCE.COMMENT
LOWlib/mbedtls/framework/scripts/project_detection.sh30 # Check if file exists.COMMENT
LOWlib/mbedtls/framework/scripts/project_detection.sh46# Check if the current folder is the Mbed TLS root one.COMMENT
LOWlib/mbedtls/framework/scripts/project_detection.sh55# Check if the current folder is the TF-PSA-Crypto root one.COMMENT
LOWlib/mbedtls/framework/scripts/project_detection.sh64# Check if $1 is an Mbed TLS root folder.COMMENT
LOWlib/mbedtls/framework/scripts/project_detection.sh76# Check if $1 is a TF-PSA-Crypto root folder.COMMENT
LOWlib/mbedtls/framework/scripts/demo_common.sh19# Check if the provided path ($1) can be a valid root for Mbed TLS or TF-PSA-Crypto.COMMENT
LOWlib/mbedtls/framework/scripts/demo_common.sh76## Display the message, then run COMMAND with the specified arguments.COMMENT
LOW…rk/scripts/mbedtls_framework/unittest_config_checks.py25 # Set this to the path to the source file containing the config checks.COMMENT
LOW…s/framework/scripts/mbedtls_framework/config_common.py147 # Check if modifying the config fileCOMMENT
LOW…s/framework/scripts/mbedtls_framework/config_common.py167 # Check if modifying the config fileCOMMENT
LOW…s/framework/scripts/mbedtls_framework/config_common.py178 # Check if modifying the config fileCOMMENT
LOW…ramework/scripts/mbedtls_framework/outcome_analysis.py374# Set this to False if a consuming branch can't achieve full test coverageCOMMENT
LOWlib/mbedtls/scripts/code_size_compare.py794 # Check if the corresponding record existsCOMMENT
LOWlib/KissFFT/test/kissfft-testsuite.sh236 # Return resultCOMMENT
Cross-File Repetition10 hits · 50 pts
SeverityFileLineSnippetContext
HIGHtests/integration/test_session_verification.py0skip the test when session recording isn't usable on this instance.STRING
HIGHtests/integration/test_session_regression.py0skip the test when session recording isn't usable on this instance.STRING
HIGHtests/integration/test_session_export.py0skip the test when session recording isn't usable on this instance.STRING
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
HIGHtests/scripts/test_ai_assistant_static.py0a component's source: the named file plus the concern tus extracted from it. spec 0070 moved cohesive concerns out of thSTRING
HIGHtests/scripts/test_diagnostics_static.py0a component's source: the named file plus the concern tus extracted from it. spec 0070 moved cohesive concerns out of thSTRING
HIGHtests/scripts/test_cpp_regressions.py0a component's source: the named file plus the concern tus extracted from it. spec 0070 moved cohesive concerns out of thSTRING
HIGHtests/scripts/test_problem_center_static.py0a component's source: the named file plus the concern tus extracted from it. spec 0070 moved cohesive concerns out of thSTRING
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.py185 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
Modern AI Meta-Vocabulary14 hits · 44 pts
SeverityFileLineSnippetContext
MEDIUMapp/rcc/ai/skills/tool_discovery.md68## 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
MEDIUMdoc/claude/specs/0030-improvement-roadmap/spec.md222### R10 — Declarative async orchestration for I/O flowsCOMMENT
MEDIUMdoc/claude/specs/0039-session-context/m2-plan.md492### M2-T1 — Ownership scaffolding in `SessionContext`COMMENT
MEDIUMdoc/claude/specs/0039-session-context/ctor-proof-m2.md62## M2-T1 — Ownership scaffolding (recorded)COMMENT
MEDIUM…c/claude/specs/0047-golden-session-regression/tasks.md53### T3 — Verifier regression scaffolding + parameterized replayCOMMENT
MEDIUM…c/claude/specs/0047-golden-session-regression/tasks.md130### T8 — Tag sweep orchestrationCOMMENT
MEDIUMdoc/claude/specs/0034-async-task-trees/tasks.md8# Tasks 0034 — Declarative async orchestration for I/O flowsCOMMENT
MEDIUMdoc/claude/specs/0034-async-task-trees/plan.md8# Plan 0034 — Declarative async orchestration for I/O flowsCOMMENT
MEDIUMdoc/claude/specs/0034-async-task-trees/spec.md9# Spec 0034 — Declarative async orchestration for I/O flowsCOMMENT
Synthetic Comment Markers5 hits · 38 pts
SeverityFileLineSnippetContext
HIGHscripts/code-verify.py1078# AI-narration patterns — phrases and shapes that ship in AI-generated codeCOMMENT
HIGHlib/mbedtls/library/error.c186 /* Begin Auto-Generated Code. */COMMENT
HIGHlib/mbedtls/library/error.c528 /* End Auto-Generated Code. */COMMENT
HIGHlib/mbedtls/library/error.c549 /* Begin Auto-Generated Code. */COMMENT
HIGHlib/mbedtls/library/error.c783 /* End Auto-Generated Code. */COMMENT
AI Slop Vocabulary13 hits · 35 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
MEDIUM.github/workflows/ci.yml2701 # Dumps written by the big_db_test harness itself; always() because the interesting case isCOMMENT
LOWlib/mbedtls/framework/scripts/generate_pkcs7_tests.py99 # off the bat just add bytes to start and end of the bufferCOMMENT
LOWlib/mbedtls/framework/scripts/project_detection.sh21# - 0: simply return an errorCOMMENT
MEDIUM…s/framework/scripts/mbedtls_framework/psa_test_case.py196 # the output robust with respect to refactoring of the scripts.COMMENT
MEDIUM…framework/scripts/mbedtls_framework/macro_collector.py258 # something more robust.COMMENT
MEDIUM…s/framework/scripts/mbedtls_framework/bignum_common.py143 # provides earlier/more robust input validation.COMMENT
MEDIUM…s/framework/scripts/mbedtls_framework/bignum_common.py308 # provides earlier/more robust input validation.COMMENT
LOWlib/hidapi/testgui/copy_to_bundle.sh84# necessary. If ../libtool not available, just use cp to do the copy, butCOMMENT
Fake / Example Data32 hits · 28 pts
SeverityFileLineSnippetContext
LOWapp/rcc/properties/schema.json158 "placeholder",CODE
LOWapp/rcc/properties/schema.json547 "placeholder": {},CODE
LOWapp/rcc/properties/dataset.json426 "kind": "placeholder",CODE
LOWapp/rcc/properties/dataset.json672 "placeholder": "Untitled Dataset",CODE
LOWapp/rcc/properties/dataset.json776 "placeholder": "Volts, Amps, etc.",CODE
LOWapp/rcc/properties/dataset.json801 "placeholder": "Stable name",CODE
LOWapp/rcc/properties/dataset.json829 "placeholder": "Automatic",CODE
LOWapp/rcc/properties/dataset.json862 "placeholder": 0,CODE
LOWapp/rcc/properties/dataset.json896 "placeholder": 0,CODE
LOWapp/rcc/properties/dataset.json1000 "placeholder": 0,CODE
LOWapp/rcc/properties/dataset.json1024 "placeholder": 0,CODE
LOWapp/rcc/properties/dataset.json1048 "placeholder": 0,CODE
LOWapp/rcc/properties/dataset.json1073 "placeholder": 0,CODE
LOWapp/rcc/properties/dataset.json1099 "placeholder": 0,CODE
LOWapp/rcc/properties/dataset.json1134 "placeholder": 300,CODE
LOWapp/rcc/properties/dataset.json1235 "placeholder": 100,CODE
LOWapp/rcc/properties/dataset.json1260 "placeholder": 0,CODE
LOWapp/rcc/properties/dataset.json1292 "placeholder": 0,CODE
LOWapp/rcc/properties/dataset.json1324 "placeholder": 0,CODE
LOWapp/rcc/properties/dataset.json1384 "placeholder": "Auto",CODE
LOWapp/rcc/properties/dataset.json1441 "placeholder": "Auto",CODE
LOWapp/rcc/properties/dataset.json1475 "placeholder": 0,CODE
LOWapp/rcc/properties/dataset.json1510 "placeholder": 0,CODE
LOWapp/rcc/properties/dataset.json1537 "placeholder": 0,CODE
LOWapp/rcc/properties/dataset.json1562 "placeholder": 0,CODE
LOWapp/rcc/properties/dataset.json1588 "placeholder": 0,CODE
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
LOWscripts/generate-property-registry.py937 elif "placeholder" in prop:CODE
LOWscripts/generate-property-registry.py938 placeholder = prop["placeholder"]CODE
LOWscripts/registry-verify.py716 "placeholderHook": "placeholder",CODE
LOWdoc/claude/specs/0036-property-registry/plan.md84 "placeholder": "0",CODE
Modern Structural Boilerplate25 hits · 26 pts
SeverityFileLineSnippetContext
LOWtests/integration/test_parse_budget.py162 def set_interval(self, interval: float, burst: int = 1) -> None:CODE
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__.py23__all__ = [CODE
LOWtests/utils/http_ws_server.py106 def set_payload(self, payload: bytes, status: int = 200) -> None:CODE
LOWtests/utils/api_client.py242 def set_bus_type(self, bus_type: str) -> None:CODE
LOWtests/utils/api_client.py348 def set_dashboard_fps(self, fps: int) -> None:CODE
LOWtests/utils/api_client.py359 def set_dashboard_time_range(self, seconds: float) -> None:CODE
LOWtests/utils/api_client.py388 def set_operation_mode(self, mode: str) -> None:CODE
LOWtests/utils/api_client.py765 def set_dataset_options(self, group_id: int, dataset_id: int, options: int) -> None:CODE
LOWscripts/icon-retier.py229def update_qrc(moved: list[Candidate]) -> None:CODE
LOW…s/framework/scripts/mbedtls_framework/config_macros.py128 def update_shadow_file(self, always_update: bool) -> None:CODE
LOW…/framework/scripts/mbedtls_framework/bignum_mod_raw.py132 def set_representation(self, r: bignum_common.ModulusRepresentation) -> None:CODE
LOW…tls/framework/scripts/mbedtls_framework/psa_storage.py41 def update_cache(self) -> None:CODE
LOW…edtls/framework/scripts/mbedtls_framework/test_case.py65 def set_description(self, description: str) -> None:CODE
LOW…edtls/framework/scripts/mbedtls_framework/test_case.py71 def set_dependencies(self, dependencies: List[str]) -> None:CODE
LOW…edtls/framework/scripts/mbedtls_framework/test_case.py74 def set_function(self, function: str) -> None:CODE
LOW…edtls/framework/scripts/mbedtls_framework/test_case.py77 def set_arguments(self, arguments: List[str]) -> None:CODE
LOW…s/framework/scripts/mbedtls_framework/psa_test_case.py90 def set_key_bits(self, key_bits: Optional[int]) -> None:CODE
LOW…s/framework/scripts/mbedtls_framework/psa_test_case.py100 def set_key_pair_usage(self, key_pair_usage: Optional[List[str]]) -> None:CODE
LOW…s/framework/scripts/mbedtls_framework/psa_test_case.py170 def set_arguments(self, arguments: List[str]) -> None:CODE
LOW…s/framework/scripts/mbedtls_framework/psa_test_case.py180 def set_dependencies(self, dependencies: List[str]) -> None:CODE
LOW…ework/scripts/mbedtls_framework/c_wrapper_generator.py403 def set_stream(self, stream: str) -> None:STRING
LOWlib/mbedtls/scripts/code_size_compare.py508 def _set_size_record(self, git_rev: str, mod: str, size_text: str) -> None:CODE
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
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
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHlib/mbedtls/framework/scripts/quiet/quiet.sh22# be silenced, e.g. " --version | test ". In this example, "make lib test" willCOMMENT
AI Structural Patterns6 hits · 6 pts
SeverityFileLineSnippetContext
LOWtests/integration/test_output_widgets.py55CODE
LOWexamples/LTE modem/lte_serial.py104CODE
LOWexamples/LTE modem/lte_udp.py104CODE
LOWexamples/LTE modem/lte_mqtt.py105CODE
LOWexamples/MCP Client/client.py70CODE
LOWlib/mbedtls/framework/scripts/generate_test_code.py767CODE
Slop Phrases2 hits · 2 pts
SeverityFileLineSnippetContext
LOWlib/mbedtls/framework/scripts/demo_common.sh126 # has no effect, so make sure to stop explicitly on error.COMMENT
LOWlib/luajit/doc/install.html287<li>Don't forget to specify the same <tt>TARGET_SYS</tt> for the install step, too.</li>CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWlib/QSimpleUpdater/sanitize-commit.sh18# Usage:COMMENT