AI Slop Code Risk Monitor

qt/qtbase

SlopCodeMonitor badge for qt/qtbase Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Qt Base (Core, Gui, Widgets, Network, ...)

1.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for qt/qtbase, a C++ project with 3,111 GitHub stars. SynthScan examined 4,294,622 lines of code across 14281 source files, recording 7560 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 1.8 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

1.8
Adjusted Signal
1.8
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
3.1K
Stars
C++
Language
4.3M
Lines of Code
14.3K
Files
7.6K
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 7.6/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 7062 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

Are imports declared and package/API names verified? 159 finding(s).

Agent Over-Engineering Ratio 1.2/100 · LOW

Are wrappers, guards, and repeated structures necessary? 545 finding(s).

PR Review Velocity Impact 9.3/100 · LOW

Which changes need focused human review? 7560 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 29MEDIUM 339LOW 7192

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 7560 distinct pattern matches across 22 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block6704 hits · 6348 pts
SeverityFileLineSnippetContext
LOWqmake/qmakelibraryinfo.cpp1// Copyright (C) 2021 The Qt Company Ltd.COMMENT
LOWqmake/qmake_pch.h1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/qmake_pch.h21#include <qfile.h>COMMENT
LOWqmake/option.h1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/option.cpp1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/cachekeys.h1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/main.cpp1// Copyright (C) 2020 The Qt Company Ltd.COMMENT
LOWqmake/library/qmakeevaluator.cpp1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/library/qmakeevaluator.cpp21#include <qstack.h>COMMENT
LOWqmake/library/qmakeevaluator.cpp2041 bool cumulative = m_cumulative;COMMENT
LOWqmake/library/qmakeevaluator.h1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/library/qmakeevaluator_p.h1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/library/qmakeevaluator_p.h21# define dbgStrList(s) qPrintable(formatValueList(s))COMMENT
LOWqmake/library/qmakeglobals.cpp1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/library/qmakeglobals.cpp21#ifdef PROEVALUATOR_THREAD_SAFECOMMENT
LOWqmake/library/ioutils.cpp1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/library/proitems.h1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/library/proitems.h341 TokRemove, // variable -=COMMENT
LOWqmake/library/proitems.h381 TokAnd, // ':' operatorCOMMENT
LOWqmake/library/qmake_global.h1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/library/qmake_global.h21#if defined(__GNUC__) && !(defined(__MINGW32__) && __GNUC__ == 4 && __GNUC_MINOR__ >= 5)COMMENT
LOWqmake/library/registry_p.h1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/library/qmakebuiltins.cpp1// Copyright (C) 2021 The Qt Company Ltd.COMMENT
LOWqmake/library/qmakebuiltins.cpp21#include <qset.h>COMMENT
LOWqmake/library/qmakebuiltins.cpp41#include <sys/stat.h>COMMENT
LOWqmake/library/qmakeparser.cpp1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/library/qmakeparser.cpp301 // TokHashLiteral(1) + hash(2) + len(1) + "A"(1) + TokAssign(1) + size_hint(1) +COMMENT
LOWqmake/library/qmakeparser.h1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/library/qmakevfs.h1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/library/qmakevfs.h61#ifndef PROEVALUATOR_FULLCOMMENT
LOWqmake/library/qmakeglobals.h1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/doc/snippets/qmake/precompile-stable.h1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/doc/snippets/code/doc_src_qmake-manual.cpp1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/generators/makefile.cpp1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/generators/makefile.cpp21#if defined(Q_OS_UNIX)COMMENT
LOWqmake/generators/makefiledeps.cpp1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/generators/makefile.h1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/generators/metamakefile.cpp1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/generators/mac/pbuilder_pbx.cpp1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/generators/unix/unixmake2.cpp1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/generators/win32/winmakefile.cpp1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/generators/win32/msbuild_objectmodel.h1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/generators/win32/msbuild_objectmodel.cpp1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/generators/win32/msvc_vcproj.cpp1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWqmake/generators/win32/msvc_objectmodel.h1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWutil/testrunner/qt-testrunner.py1#!/usr/bin/env python3COMMENT
LOWutil/testrunner/qt-testrunner.py21# + Save the exit code.COMMENT
LOWutil/testrunner/qt-testrunner.py41# TESTRUNNER="qt-testrunner.py --" to stop it from parsing further args.COMMENT
LOWutil/testrunner/qt-testrunner.py461def removesuffix(text: str, suffix: str) -> str:COMMENT
LOWutil/lexgen/nfa.h1// Copyright (C) 2016 The Qt Company Ltd.COMMENT
LOWutil/edid/qedidvendortable.py21 * qtbase/util/edid/qedidvendortable.py script and regenerate this file.COMMENT
LOWutil/unicode/writingSystems.sh1#!/bin/shCOMMENT
LOWutil/unicode/main.cpp1// Copyright (C) 2020 The Qt Company Ltd.COMMENT
LOWutil/unicode/main.cpp21#include <QtCore/q26numeric.h>COMMENT
LOWutil/unicode/main.cpp3541 qDebug("num ligatures = %d highest=%x, maxLength=%d", numLigatures, highestLigature, longestLigature);COMMENT
LOWutil/unicode/data/DerivedAge.txt1# DerivedAge-17.0.0.txtCOMMENT
LOWutil/unicode/data/DerivedAge.txt21# - Versions are only tracked from 1.1 onwards, since version 1.0COMMENT
LOWutil/unicode/data/DerivedAge.txt41# an expression such as "\p{age=3.0}" matches all of the code pointsCOMMENT
LOWutil/unicode/data/WordBreakProperty.txt1# WordBreakProperty-17.0.0.txtCOMMENT
LOWutil/unicode/data/LineBreak.txt1# LineBreak-17.0.0.txtCOMMENT
6644 more matches not shown…
Decorative Section Separators289 hits · 733 pts
SeverityFileLineSnippetContext
MEDIUMutil/testrunner/qt-modified-testfunctions.py23# -------------------------COMMENT
MEDIUMutil/testrunner/qt-modified-testfunctions.py25# -------------------------COMMENT
MEDIUMutil/testrunner/qt-modified-testfunctions.py292# -------------------------COMMENT
MEDIUMutil/testrunner/qt-modified-testfunctions.py294# -------------------------COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt36# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt51# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt362# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt404# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt415# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt547# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt594# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt663# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt749# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt844# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt888# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt986# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt1087# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt1202# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt1300# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt1310# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt1321# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt1472# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt1540# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt1602# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt1651# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt1719# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt1788# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt1798# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt1866# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt1953# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt1995# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt2007# ================================================COMMENT
MEDIUMutil/unicode/data/DerivedAge.txt2063# ================================================COMMENT
MEDIUM⚡util/unicode/data/WordBreakProperty.txt10# ================================================COMMENT
MEDIUM⚡util/unicode/data/WordBreakProperty.txt19# ================================================COMMENT
MEDIUM⚡util/unicode/data/WordBreakProperty.txt25# ================================================COMMENT
MEDIUM⚡util/unicode/data/WordBreakProperty.txt31# ================================================COMMENT
MEDIUM⚡util/unicode/data/WordBreakProperty.txt46# ================================================COMMENT
MEDIUM⚡util/unicode/data/WordBreakProperty.txt52# ================================================COMMENT
MEDIUM⚡util/unicode/data/WordBreakProperty.txt58# ================================================COMMENT
MEDIUM⚡util/unicode/data/WordBreakProperty.txt67# ================================================COMMENT
MEDIUMutil/unicode/data/WordBreakProperty.txt639# ================================================COMMENT
MEDIUMutil/unicode/data/WordBreakProperty.txt645# ================================================COMMENT
MEDIUMutil/unicode/data/WordBreakProperty.txt663# ================================================COMMENT
MEDIUMutil/unicode/data/WordBreakProperty.txt687# ================================================COMMENT
MEDIUMutil/unicode/data/WordBreakProperty.txt1384# ================================================COMMENT
MEDIUMutil/unicode/data/WordBreakProperty.txt1398# ================================================COMMENT
MEDIUMutil/unicode/data/WordBreakProperty.txt1415# ================================================COMMENT
MEDIUMutil/unicode/data/WordBreakProperty.txt1427# ================================================COMMENT
MEDIUMutil/unicode/data/WordBreakProperty.txt1512# ================================================COMMENT
MEDIUMutil/unicode/data/WordBreakProperty.txt1524# ================================================COMMENT
MEDIUMutil/unicode/data/WordBreakProperty.txt1530# ================================================COMMENT
MEDIUMutil/unicode/data/emoji-data.txt20# ================================================COMMENT
MEDIUMutil/unicode/data/emoji-data.txt445# ================================================COMMENT
MEDIUMutil/unicode/data/emoji-data.txt748# ================================================COMMENT
MEDIUMutil/unicode/data/emoji-data.txt756# ================================================COMMENT
MEDIUMutil/unicode/data/emoji-data.txt813# ================================================COMMENT
MEDIUMutil/unicode/data/emoji-data.txt830# ================================================COMMENT
MEDIUMutil/unicode/data/SpecialCasing.txt27# ================================================================================COMMENT
MEDIUMutil/unicode/data/SpecialCasing.txt29# ================================================================================COMMENT
229 more matches not shown…
Hyper-Verbose Identifiers204 hits · 165 pts
SeverityFileLineSnippetContext
LOWutil/testrunner/qt-testrunner.py365def generate_qtest_output_args(pathname_stem : str) -> List[str]:STRING
LOWutil/testrunner/qt-testrunner.py480def read_modified_functions_file(filename: str, test_basename: str) -> Set[str]:CODE
LOWutil/testrunner/qt-testrunner.py508def rerun_modified_test_functions(args: argparse.Namespace,CODE
LOWutil/testrunner/qt-modified-testfunctions.py58def extract_new_line_ranges_from_diff(patch_text: str) -> List[Tuple[int, int]]:CODE
LOWutil/testrunner/qt-modified-testfunctions.py87def strip_comments_and_literals(text: str) -> str:CODE
LOWutil/testrunner/qt-modified-testfunctions.py238def functions_for_commit_file(commit: str, path: str, old_path: Optional[str] = None) -> List[str]:CODE
LOW…onedx/qt_cyclonedx_generator/qt_cyclonedx_generator.py50def check_package_dependencies() -> None:CODE
LOW…onedx/qt_cyclonedx_generator/qt_cyclonedx_generator.py578def handle_project_build_tools(STRING
LOW…onedx/qt_cyclonedx_generator/qt_cyclonedx_generator.py713def handle_component_dependencies(STRING
LOW…onedx/qt_cyclonedx_generator/qt_cyclonedx_generator.py733def handle_project_relationships(STRING
LOW…onedx/qt_cyclonedx_generator/qt_cyclonedx_generator.py773def get_purl_and_cpe_component_args(STRING
LOW…onedx/qt_cyclonedx_generator/qt_cyclonedx_generator.py820def handle_component_licenses(STRING
LOW…onedx/qt_cyclonedx_generator/qt_cyclonedx_generator.py856def convert_license_expression_license_objects(STRING
LOW…onedx/qt_cyclonedx_generator/qt_cyclonedx_generator.py882def handle_custom_license_ref_expression(STRING
LOW…onedx/qt_cyclonedx_generator/qt_cyclonedx_generator.py914def handle_standard_license_ref_expression(STRING
LOW⚡…onedx/qt_cyclonedx_generator/qt_cyclonedx_generator.py926def get_component_type_for_str(component_type_str: str) -> ComponentType:STRING
LOW⚡…onedx/qt_cyclonedx_generator/qt_cyclonedx_generator.py931def create_organization_entity(STRING
LOW⚡…onedx/qt_cyclonedx_generator/qt_cyclonedx_generator.py948def create_organization_contact(STRING
LOWutil/wasm/qtwasmserver/qtwasmserver.py21def generate_mkcert_certificate(addresses):CODE
LOWutil/wasm/qtwasmserver/qtwasmserver.py65def send_cross_origin_isolation_headers(handler):CODE
LOWutil/wasm/qtwasmserver/qtwasmserver.py88class HttpRequestHandler(SimpleHTTPRequestHandler):CODE
LOWutil/wasm/qtwasmserver/qtwasmserver.py148def select_http_handler_class(compression_mode, address):CODE
LOWutil/wasm/wasmtestrunner/qt-wasmtestrunner.py141 def shutdown_threaded_webserver(self):CODE
LOWutil/wasm/wasmtestrunner/qt-wasmtestrunner.py241 class OriginIsolationHTTPRequestHandler(http.server.SimpleHTTPRequestHandler):CODE
LOW⚡util/ohos/qohosenumsgen.py115def read_ets_file_without_comments(ets_file: str) -> str:STRING
LOW⚡util/ohos/qohosenumsgen.py119 def remove_match_unless_string_literal(match: re.Match) -> str:STRING
LOW⚡util/ohos/qohosenumsgen.py127def read_ets_file_with_since_markers(ets_file: str) -> str:STRING
LOWutil/ohos/qohosenumsgen.py62 def build_from_full_type_name(STRING
LOWutil/ohos/qohosenumsgen.py87def find_ets_type_directories(sdk_directory: str) -> list[str]:STRING
LOWutil/ohos/qohosenumsgen.py95def index_ets_files_by_module(sdk_directory: str) -> dict[str, str]:STRING
LOWutil/ohos/qohosenumsgen.py148def parse_ets_reexported_module_by_alias(ets_file: str) -> dict[str, str]:STRING
LOWutil/ohos/qohosenumsgen.py160def extract_balanced_brace_content(text: str, opening_brace_index: int) -> str:STRING
LOWutil/ohos/qohosenumsgen.py205def find_longest_ets_module_prefix(STRING
LOWutil/ohos/qohosenumsgen.py215def resolve_ets_enumerator_names(STRING
LOWutil/ohos/qohosenumsgen.py249def read_full_type_names_from_enums_header(enums_header_path: str) -> list[str]:STRING
LOWutil/ohos/qohosenumsgen.py253def read_min_supported_api_version(qohosjsmain_path: str, variable_name: str) -> int:STRING
LOWutil/ohos/qohosenumsgen.py269def validate_qt_module_and_header(qt_module: str, header_path: str) -> None:STRING
LOWutil/ohos/qohosenumsgen.py288def render_cpp_enum_definitions(ohos_enums: list[OhosEnum]) -> str:STRING
LOWutil/ohos/qohosenumsgen.py334def render_cpp_metatype_declaration(ohos_enum: OhosEnum) -> str:STRING
LOWutil/ohos/qohosenumsgen.py378def generate_enums_header_text(STRING
LOWutil/ohos/qohosenumsgen.py387def command_update_enums_header(arguments: argparse.Namespace) -> None:STRING
LOWutil/ohos/qohosenumsgen.py415def command_add_enums_to_header(arguments: argparse.Namespace) -> None:STRING
LOWlibexec/qt-android-runner.py169def get_gradle_project_property(build_path, property_path):STRING
LOW⚡tests/auto/util/testrunner/tst_qt_testrunner.py474 def test_always_pass_in_mff_no_xml(self):CODE
LOW⚡tests/auto/util/testrunner/tst_qt_testrunner.py482 def test_always_fail_in_mff_no_xml(self):CODE
LOW⚡tests/auto/util/testrunner/tst_qt_testrunner.py491 def test_qfatal_crash_in_mff_(self):CODE
LOWtests/auto/util/testrunner/tst_qt_testrunner.py154 def test_fail_then_pass_many_tests(self):CODE
LOWtests/auto/util/testrunner/tst_qt_testrunner.py181 def test_pass_then_crash_once(self):CODE
LOWtests/auto/util/testrunner/tst_qt_testrunner.py193 def test_pass_then_fail_then_crash_once(self):CODE
LOWtests/auto/util/testrunner/tst_qt_testrunner.py208 def test_many_tests_with_reruns_and_state_file(self):CODE
LOWtests/auto/util/testrunner/tst_qt_testrunner.py245 def test_empty_xml_file_is_written(self):CODE
LOWtests/auto/util/testrunner/tst_qt_testrunner.py314 def test_output_files_are_generated(self):CODE
LOWtests/auto/util/testrunner/tst_qt_testrunner.py394 def test_always_pass_irrelevant_mff(self):CODE
LOWtests/auto/util/testrunner/tst_qt_testrunner.py401 def test_always_pass_in_mff_wrong_classname(self):CODE
LOWtests/auto/util/testrunner/tst_qt_testrunner.py416 def test_always_fail_irrelevant_mff(self):CODE
LOWtests/auto/util/testrunner/tst_qt_testrunner.py430 def test_always_crash_irrelevant_mff(self):CODE
LOWtests/auto/util/testrunner/tst_qt_testrunner.py447 def test_pass_then_fail_in_mff(self):CODE
LOWtests/auto/util/testrunner/tst_qt_testrunner.py460 def test_pass_then_fail_in_mff_with_datatag(self):CODE
LOW⚡tests/auto/util/testrunner/tst_qt_testrunner.py570 def test_no_xml_log_written_pass_crash(self):STRING
LOW⚡tests/auto/util/testrunner/tst_qt_testrunner.py578 def test_no_xml_log_written_fail_then_pass_crash(self):STRING
144 more matches not shown…
Fake / Example Data120 hits · 128 pts
SeverityFileLineSnippetContext
LOWtests/auto/testlib/selftests/expected_longstring.xml14 <Description><![CDATA[Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. CODE
LOWtests/auto/testlib/selftests/expected_longstring.xml14 <Description><![CDATA[Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. CODE
LOWtests/auto/testlib/selftests/expected_longstring.txt4FAIL! : tst_LongString::failWithLongString() Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo lCODE
LOWtests/auto/testlib/selftests/expected_longstring.txt4FAIL! : tst_LongString::failWithLongString() Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo lCODE
LOW…s/auto/testlib/selftests/longstring/tst_longstring.cpp9"Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis naCODE
LOW…s/auto/testlib/selftests/longstring/tst_longstring.cpp9"Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis naCODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp128 p.drawText(11, 12, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp128 p.drawText(11, 12, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp135 QStaticText text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp135 QStaticText text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp161 p.drawText(QRectF(11, 12, 10, 500), "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp161 p.drawText(QRectF(11, 12, 10, 500), "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp168 QStaticText text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp168 QStaticText text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp207 p.drawText(QRectF(11, 12, 30, 500), "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp207 p.drawText(QRectF(11, 12, 30, 500), "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp215 QStaticText text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp215 QStaticText text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp257 p.drawText(11, 12, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp257 p.drawText(11, 12, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp265 QStaticText text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp265 QStaticText text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp293 p.drawText(11, 12, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp293 p.drawText(11, 12, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp300 QStaticText text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp300 QStaticText text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp321 p.drawText(QRectF(0, 0, 1000, 1000), 0, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp321 p.drawText(QRectF(0, 0, 1000, 1000), 0, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp324 p.drawText(QRectF(11, 120, 1000, 1000), 0, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp324 p.drawText(QRectF(11, 120, 1000, 1000), 0, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp333 text.setText("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp333 text.setText("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp357 p.drawText(QRectF(11, 12, 10, 500), "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp357 p.drawText(QRectF(11, 12, 10, 500), "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp364 QStaticText text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp364 QStaticText text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp382 p.drawText(11, 12, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp382 p.drawText(11, 12, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp391 QStaticText text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp391 QStaticText text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp415 p.drawText(QRectF(0, 0, 1000, 100), 0, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp415 p.drawText(QRectF(0, 0, 1000, 100), 0, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp421 QStaticText text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp421 QStaticText text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp449 p.drawText(11, 12, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp449 p.drawText(11, 12, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp458 QStaticText text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp458 QStaticText text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp482 p.drawText(11, 12, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp482 p.drawText(11, 12, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp491 QStaticText text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp491 QStaticText text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp509 p.drawText(QRectF(0, 0, 1000, 1000), 0, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp509 p.drawText(QRectF(0, 0, 1000, 1000), 0, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp512 p.drawText(QRectF(0, 0, 1000, 1000), 0, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp512 p.drawText(QRectF(0, 0, 1000, 1000), 0, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp522 QStaticText text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW⚡tests/auto/gui/text/qstatictext/tst_qstatictext.cpp522 QStaticText text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOWtests/auto/gui/text/qstatictext/tst_qstatictext.cpp227 QStaticText text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOWtests/auto/gui/text/qstatictext/tst_qstatictext.cpp227 QStaticText text("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
60 more matches not shown…
Empty Error Handlers16 hits · 80 pts
SeverityFileLineSnippetContext
HIGHutil/locale_database/qlocalexml.py117except KeyError:CODE
HIGHutil/locale_database/ldml.py582except Error:CODE
HIGHutil/locale_database/ldml.py369except Error:CODE
HIGHutil/locale_database/ldml.py587except Error:CODE
HIGHutil/locale_database/ldml.py657except Error:CODE
HIGHutil/locale_database/ldml.py739except ValueError:CODE
HIGHutil/locale_database/ldml.py230except (AttributeError, KeyError):CODE
HIGHutil/locale_database/ldml.py250except (KeyError, AttributeError):CODE
HIGHutil/locale_database/cldr.py228except ValueError:CODE
HIGHutil/locale_database/cldr.py439except KeyError:CODE
HIGHutil/locale_database/cldr.py373except KeyError:CODE
HIGHutil/locale_database/cldr.py1013except (KeyError, ValueError, TypeError):CODE
HIGHutil/locale_database/cldr.py878except KeyError:CODE
HIGH…s/auto/util/androidtestrunner/tst_androidtestrunner.py907except OSError:CODE
HIGH…s/auto/util/androidtestrunner/tst_androidtestrunner.py1038except OSError:CODE
HIGH…s/auto/util/androidtestrunner/tst_androidtestrunner.py1567except OSError:CODE
AI Slop Vocabulary21 hits · 58 pts
SeverityFileLineSnippetContext
MEDIUMqmake/generators/win32/msvc_objectmodel.cpp2059 case 0x6959c94: // /robustCODE
MEDIUMutil/testrunner/qt-modified-testfunctions.py74# comment/literal-stripped text. This is robust to lambdas, multi-line signatures, nested helperCOMMENT
LOWutil/wasm/qtwasmserver/qtwasmserver.py130 # browsers support brotli, so we can just use that.COMMENT
MEDIUMtests/auto/corelib/time/qdatetime/tst_qdatetime.cpp893 // Check overflow; only robust if local time is the same at epoch as relevant bound.COMMENT
MEDIUMtests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp1487 // Let's make some mistakes to see how robust it is:COMMENT
MEDIUMsrc/plugins/platforms/android/qandroidinputcontext.cpp1752 // much more robust than trying to keep the two different world views in syncCOMMENT
MEDIUMsrc/plugins/tls/openssl/qdtls_openssl.cpp448 // Essentially setsockopt with SO_RCVTIMEO, not needed, our socketsCOMMENT
MEDIUMsrc/plugins/generic/tuiotouch/qoscmessage.cpp41 // robust in the case of a missing OSC Type Tag String."COMMENT
MEDIUMsrc/plugins/generic/tuiotouch/qoscmessage.cpp44 // supposed to be robust when the behavior is unspecified.)COMMENT
MEDIUMsrc/printsupport/dialogs/qprintpreviewdialog.cpp740 // to reject(), but this feels less robust somehowCOMMENT
MEDIUMsrc/network/access/qhttpheaders.cpp187 m_inlineBuffer.assign(rs); // robust under self-assignmentCODE
MEDIUMsrc/network/kernel/qauthenticator.cpp214 // can utilize different types of proxies.COMMENT
MEDIUMsrc/gui/rhi/qrhigles2.cpp1235 // Match D3D and others when it comes to seamless cubemap filtering.COMMENT
LOWsrc/gui/painting/qoutlinemapper.cpp164 // ### We can kill this copying and just use the buffer straight...COMMENT
MEDIUMsrc/gui/painting/qpathclipper.cpp1144 // doesn't seem to be robust enoughCOMMENT
MEDIUMsrc/corelib/serialization/qjsonparser.cpp618 // Essentially missing value, but after a colon, not after a commaCOMMENT
MEDIUMsrc/corelib/time/qtimezoneprivate.cpp425 // Definitely not a relevant tansition: too far in the future.COMMENT
MEDIUMsrc/3rdparty/md4c/md4c.c2798#define MD_MARK_OPENER 0x04 /* Definitely opener. */COMMENT
MEDIUMsrc/3rdparty/md4c/md4c.c2799#define MD_MARK_CLOSER 0x08 /* Definitely closer. */COMMENT
MEDIUMsrc/widgets/itemviews/qtreeview.cpp973 // Do a relayout nows, so that we can utilize viewItemsCOMMENT
MEDIUMsrc/widgets/kernel/qapplication.cpp2437 // A mouse move is not actually sent, but we utilize the sendMouseEvent() call to send theCOMMENT
Slop Phrases29 hits · 48 pts
SeverityFileLineSnippetContext
LOWtests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp2874 // don't forget to loginCOMMENT
LOWtests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp2982 // don't forget to loginCOMMENT
MEDIUMtests/auto/corelib/tools/qhash/tst_qhash.cpp613 // As mentioned earlier these are both calculated to be in the last bucket:COMMENT
LOW…uto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp874 // ### Qt7: don't forget to remove theoldplugin from the buildCOMMENT
LOW…uto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp874 // ### Qt7: don't forget to remove theoldplugin from the buildCOMMENT
MEDIUMtests/manual/rhi/buffercopy/buffercopy.cpp15// often the better choice, so the split here is for demonstration purposes.COMMENT
MEDIUMtests/manual/rhi/shared/imgui/imgui/imgui_widgets.cpp6250// Tip: pass a non-visible label (e.g. "##hello") then you can use the space to draw other text or image.COMMENT
LOWtests/manual/rhi/shared/imgui/imgui/imgui.cpp610 - 2017/08/25 (1.52) - io.MousePos needs to be set to ImVec2(-FLT_MAX,-FLT_MAX) when mouse is unavailable/missing. PreviCODE
LOWcoin/instructions/prepare_building_env.yaml637 # Don't forget to adjust tests/auto/cmake/RunCMake/Sbom/RunCMakeTest.cmakeCOMMENT
MEDIUMexamples/vulkan/hellovulkancubes/renderer.cpp830 // For demonstration purposes offload the command buffer generation onto aCOMMENT
LOWsrc/network/access/qhttpnetworkconnection.cpp816 // ### make sure to be OK with this in later releasesCOMMENT
LOWsrc/network/socket/qlocalserver.cpp278 \note Don't forget to call this member from reimplementedCODE
LOWsrc/network/socket/qtcpserver.cpp605 \note Don't forget to call this member from reimplementedCODE
LOW…/snippets/code/src_gui_painting_qpainterstateguard.cpp33 painter.restore(); // don't forget to restore previous painter stateCODE
MEDIUMsrc/corelib/io/qlockfile.cpp167 environment limitations as discussed above), so even if QLockFile didCODE
MEDIUMsrc/corelib/animation/qabstractanimation.cpp48 duration for the animation (as discussed above). The animationCODE
MEDIUMsrc/3rdparty/freetype/include/freetype/fterrors.h78 * Here is a simple example.COMMENT
MEDIUMsrc/3rdparty/freetype/include/freetype/freetype.h1385 * for demonstration purposes.COMMENT
LOW…/3rdparty/freetype/include/freetype/internal/ftrfork.h35 /* Don't forget to increment the number if you add a new guessing rule. */COMMENT
LOWsrc/3rdparty/D3D12MemoryAllocator/D3D12MemAlloc.h3406If you allocated a new object to be used as the custom pointer, don't forget to delete that object before freeing the alCODE
LOWsrc/3rdparty/VulkanMemoryAllocator/vk_mem_alloc.h17286// At the end, don't forget to:COMMENT
LOWsrc/3rdparty/VulkanMemoryAllocator/vk_mem_alloc.h19339// At the end, don't forget to destroy it!COMMENT
LOWsrc/3rdparty/VulkanMemoryAllocator/vk_mem_alloc.h19374// At the end, don't forget to destroy it!COMMENT
LOWsrc/3rdparty/VulkanMemoryAllocator/vk_mem_alloc.h680 To prepare for this possibility, don't forget to add appropriate flags likeCODE
LOWsrc/3rdparty/VulkanMemoryAllocator/vk_mem_alloc.h2734don't forget to free them.CODE
LOWsrc/3rdparty/VulkanMemoryAllocator/vk_mem_alloc.h2781don't forget to free it as well.CODE
LOWsrc/3rdparty/VulkanMemoryAllocator/vk_mem_alloc.h17323Don't forget to destroy your buffer and allocation objects when no longer needed:CODE
LOWsrc/3rdparty/VulkanMemoryAllocator/vk_mem_alloc.h18485If you allocated a new object to be used as the custom pointer, don't forget to delete that object before freeing the alCODE
LOWsrc/widgets/graphicsview/qgraphicsitem.h71 // NB! Don't forget to increase the d_ptr->flags bit field by 1 when adding a new flag.COMMENT
Self-Referential Comments15 hits · 44 pts
SeverityFileLineSnippetContext
MEDIUMutil/testrunner/qt-testrunner.py86# Define a custom type for returning a fail incidentCOMMENT
MEDIUMutil/locale_database/localetools.py173 # Create a temp file to write the new data intoCOMMENT
MEDIUMcoin/instructions/coin_fetch_doc_tools.yaml8 # Define the doc tools archive name when it is built by qtbase.COMMENT
MEDIUMcoin/instructions/coin_fetch_doc_tools.yaml17 # Define the doc tools archive name when it is built by a repo other than qtbase.COMMENT
MEDIUMcoin/instructions/coin_fetch_custom_cmake.yaml22 # Define the custom cmake archive name when it is built by qtbase.COMMENT
MEDIUMsrc/3rdparty/freetype/src/tools/afblue.pl11# This file is part of the FreeType project, and may only be used,COMMENT
MEDIUM…party/freetype/src/tools/make_distribution_archives.py113 # Create a temporary directory, and ensure it is removed on exit.COMMENT
MEDIUMsrc/3rdparty/freetype/src/tools/glnames.py9# This file is part of the FreeType project, and may only be used, modified,COMMENT
MEDIUMsrc/3rdparty/VulkanMemoryAllocator/vk_mem_alloc.h1690-# Create an instance of the #VmaVulkanFunctions structure.CODE
MEDIUMsrc/widgets/graphicsview/qgraphicsitem.cpp4604 ### This function is almost identical toCOMMENT
MEDIUMsrc/widgets/graphicsview/qgraphicsitem.cpp5406 ### This function is almost identical toCOMMENT
MEDIUMsrc/widgets/graphicsview/qgraphicsitem.cpp5424 ### This function is almost identical toCOMMENT
MEDIUMsrc/widgets/graphicsview/qgraphicsscene.cpp374 ### This function is almost identical to QGraphicsItemPrivate::addChild().COMMENT
MEDIUMsrc/widgets/graphicsview/qgraphicsscene.cpp387 ### This function is almost identical to QGraphicsItemPrivate::removeChild().COMMENT
MEDIUMsrc/widgets/graphicsview/qgraphicsscene.cpp1483 ### This function is almost identical toCOMMENT
Verbosity Indicators24 hits · 38 pts
SeverityFileLineSnippetContext
LOWqmake/generators/win32/msbuild_objectmodel.cpp1797 // We need to check if the file has any custom build step.COMMENT
LOWtests/auto/dbus/qdbustype/tst_qdbustype.cpp64 // We have got the macro from dbus_minimal_p.h, so we need to check ifCOMMENT
LOW⚡tests/auto/widgets/widgets/qlabel/tst_qlabel.cpp753 // Step 1: Set mouse to an initial positionCOMMENT
LOW⚡tests/auto/widgets/widgets/qlabel/tst_qlabel.cpp757 // Step 2: Move mouse over the linkCOMMENT
LOW⚡tests/auto/widgets/widgets/qlabel/tst_qlabel.cpp765 // Step 3: Move mouse out (trigger leave event)COMMENT
LOW⚡tests/auto/widgets/widgets/qlabel/tst_qlabel.cpp770 // Step 4: Move mouse back over the centerCOMMENT
LOWtests/manual/rhi/shared/imgui/imgui/imgui.cpp2669 // Step 0: Let you process the first element (regardless of it being visible or not, so we can measure the element hCOMMENT
LOWtests/manual/rhi/shared/imgui/imgui/imgui.cpp2688 // Step 1: Let the clipper infer height from first rangeCOMMENT
LOWtests/manual/rhi/shared/imgui/imgui/imgui.cpp13274 // Step 0: stack queryCOMMENT
LOWsrc/network/access/qhttpnetworkconnectionchannel.cpp949 // For the Happy Eyeballs we need to check if this is the first channel to connect.COMMENT
LOWsrc/testlib/3rdparty/catch2/catch_p.h12661 // No children have started. We need to check if they _can_COMMENT
LOWsrc/gui/rhi/qrhimetal.mm2579 // Step 1: vertex shader (as compute)COMMENT
LOWsrc/gui/rhi/qrhimetal.mm2633 // Step 2: tessellation control shader (as compute)COMMENT
LOWsrc/gui/rhi/qrhimetal.mm2708 // Step 3: tessellation evaluation (as vertex) + fragment shaderCOMMENT
LOWsrc/corelib/tools/qcryptographichash.cpp359 This variable stores that suffix (and it's fed into the calculationsCODE
LOWsrc/corelib/serialization/qxmlstream.cpp4405 The purpose of this function is to support chained processing of XML data.CODE
LOWsrc/corelib/text/qunicodetools.cpp575 // of a new sequence, so we need to check if it makes sense.COMMENT
LOWsrc/corelib/kernel/qobject.cpp1268 This variable stores the meta-object for the class.CODE
LOWsrc/widgets/itemviews/qlistview.cpp2937 // if the size has not grown, we need to check if it has shrunkCOMMENT
LOWsrc/widgets/graphicsview/qgraphicsanchorlayout_p.cpp741 The purpose of this function is to simplify the graph.CODE
LOWsrc/widgets/widgets/qtoolbararealayout.cpp1083 //we need to check if it has a previous element and a next oneCOMMENT
LOW⚡src/widgets/kernel/qwidget.cpp7445 // Step 1: Resize if necessary, corrected for frame heightCOMMENT
LOW⚡src/widgets/kernel/qwidget.cpp7451 // Step 2: Move if necessary:COMMENT
LOWsrc/widgets/kernel/qboxlayout.cpp105 * The purpose of this function is to make sure that widgets are not laid out outside its layout.COMMENT
Unused Imports36 hits · 33 pts
SeverityFileLineSnippetContext
LOWutil/testrunner/qt-testrunner.py77CODE
LOWutil/testrunner/qt-testrunner.py83CODE
LOWutil/json_schema/check_qt_module_json_schemas.py9CODE
LOWutil/locale_database/qlocalexml2cpp.py23CODE
LOWutil/locale_database/ldml.py21CODE
LOWutil/ohos/qohosenumsgen.py5CODE
LOWtests/auto/tools/uic/baseline/config.ui.py16CODE
LOWtests/auto/tools/uic/baseline/config.ui.py16CODE
LOWtests/auto/tools/uic/baseline/config.ui.py16CODE
LOWtests/auto/tools/uic/baseline/config.ui.py16CODE
LOWtests/auto/tools/uic/baseline/config.ui.py16CODE
LOWtests/auto/tools/uic/baseline/config.ui.py16CODE
LOWtests/auto/tools/uic/baseline/config.ui.py16CODE
LOWtests/auto/tools/uic/baseline/config.ui.py16CODE
LOWtests/auto/tools/uic/baseline/config.ui.py16CODE
LOWtests/auto/tools/uic/baseline/config.ui.py19CODE
LOWtests/auto/tools/uic/baseline/config.ui.py19CODE
LOWtests/auto/tools/uic/baseline/config.ui.py19CODE
LOWtests/auto/tools/uic/baseline/config.ui.py19CODE
LOWtests/auto/tools/uic/baseline/config.ui.py19CODE
LOWtests/auto/tools/uic/baseline/config.ui.py19CODE
LOWtests/auto/tools/uic/baseline/config.ui.py19CODE
LOWtests/auto/tools/uic/baseline/config.ui.py19CODE
LOWtests/auto/tools/uic/baseline/config.ui.py19CODE
LOWtests/auto/tools/uic/baseline/config.ui.py19CODE
LOWtests/auto/tools/uic/baseline/config.ui.py19CODE
LOWtests/auto/tools/uic/baseline/config.ui.py19CODE
LOWtests/auto/tools/uic/baseline/config.ui.py19CODE
LOWtests/auto/tools/uic/baseline/config.ui.py23CODE
LOWtests/auto/tools/uic/baseline/config.ui.py23CODE
LOWtests/auto/tools/uic/baseline/config.ui.py23CODE
LOWtests/auto/util/testrunner/tst_qt_testrunner.py10CODE
LOWtests/auto/wasm/selenium/qwasmwindow.py11CODE
LOW…rrentfiltermapgenerated/generator/generate_testcase.py4CODE
LOWmkspecs/features/uikit/devices.py5CODE
LOW…party/freetype/src/tools/make_distribution_archives.py4CODE
Deep Nesting33 hits · 32 pts
SeverityFileLineSnippetContext
LOWutil/testrunner/qt-testrunner.py132CODE
LOWutil/testrunner/qt-testrunner.py265CODE
LOWutil/testrunner/qt-testrunner.py480CODE
LOWutil/testrunner/qt-testrunner.py508CODE
LOWutil/testrunner/qt-testrunner.py556CODE
LOWutil/testrunner/qt-modified-testfunctions.py87CODE
LOWutil/testrunner/qt-modified-testfunctions.py161CODE
LOWutil/testrunner/qt-modified-testfunctions.py296CODE
LOWutil/locale_database/qlocalexml.py81CODE
LOWutil/locale_database/qlocalexml.py599CODE
LOWutil/locale_database/qlocalexml2cpp.py981CODE
LOWutil/locale_database/dateconverter.py151CODE
LOWutil/locale_database/localetools.py29CODE
LOWutil/locale_database/ldml.py67CODE
LOWutil/locale_database/ldml.py217CODE
LOWutil/locale_database/ldml.py413CODE
LOWutil/locale_database/ldml.py509CODE
LOWutil/locale_database/ldml.py635CODE
LOWutil/locale_database/ldml.py662CODE
LOWutil/locale_database/cldr.py80CODE
LOWutil/locale_database/cldr.py862CODE
LOWutil/locale_database/cldr.py917CODE
LOWutil/ohos/qohosenumsgen.py160CODE
LOW…s/auto/util/androidtestrunner/tst_androidtestrunner.py1676CODE
LOWtests/auto/wasm/selenium/qwasmwindow.py950CODE
LOWtests/auto/wasm/selenium/qwasmwindow.py1255CODE
LOW…ncurrentfiltermapgenerated/generator/generate_excel.py9CODE
LOW…rrentfiltermapgenerated/generator/generate_testcase.py201CODE
LOW…sts/auto/testlib/selftests/generate_expected_output.py190CODE
LOWexamples/corelib/serialization/cbordump/cbortag.py55CODE
LOW…c/corelib/mimetypes/3rdparty/process_tika_mimetypes.py69CODE
LOWsrc/3rdparty/libjpeg/generate_copyright.py48CODE
LOW…party/freetype/src/tools/make_distribution_archives.py33CODE
Excessive Try-Catch Wrapping31 hits · 32 pts
SeverityFileLineSnippetContext
LOWutil/testrunner/qt-testrunner.py280 except Exception as e:STRING
LOWutil/testrunner/qt-testrunner.py625 except Exception as e:CODE
LOWutil/testrunner/qt-testrunner.py643 except Exception as e:CODE
LOWutil/testrunner/qt-modified-testfunctions.py328 except Exception as e:CODE
MEDIUMutil/testrunner/qt-modified-testfunctions.py329 print("Error selecting commits:", e, file=sys.stderr)CODE
LOWutil/testrunner/qt-modified-testfunctions.py345 except Exception:CODE
LOWutil/locale_database/qlocalexml2cpp.py1049 except Exception as e:CODE
LOWutil/locale_database/qlocalexml2cpp.py1062 except Exception as e:CODE
LOWutil/locale_database/qlocalexml2cpp.py1075 except Exception as e:CODE
LOWutil/locale_database/qlocalexml2cpp.py1090 except Exception as e:CODE
LOWutil/locale_database/qlocalexml2cpp.py1110 except Exception as e:CODE
LOWutil/locale_database/qlocalexml2cpp.py1123 except Exception as e:CODE
LOWutil/locale_database/qlocalexml2cpp.py1135 except Exception as e:CODE
LOWutil/locale_database/localetools.py119 except Exception:CODE
LOWutil/wasm/qtwasmserver/qtwasmserver.py43 except Exception as e:CODE
LOWutil/wasm/qtwasmserver/qtwasmserver.py186 except Exception as e:CODE
MEDIUMutil/wasm/wasmtestrunner/qt-wasmtestrunner.py184 print('Error: browser path must be set to run with browser')CODE
MEDIUMutil/wasm/wasmtestrunner/qt-wasmtestrunner.py188 print('Error: tmp_dir must be set to run with browser')CODE
MEDIUMutil/wasm/wasmtestrunner/qt-wasmtestrunner.py212 print('Error: did not match console line:')CODE
LOWutil/wasm/wasmtestrunner/qt-wasmtestrunner.py322 except Exception as e:CODE
LOWutil/ohos/qohosenumsgen.py366 except Exception as exception:STRING
MEDIUMlibexec/qt-android-runner.py22 print(f"Error: {msg}", file=sys.stderr)CODE
LOWlibexec/qt-android-runner.py92except Exception as e:STRING
LOWlibexec/qt-android-runner.py106 except Exception as e:STRING
LOWlibexec/qt-android-runner.py139 except Exception as e:STRING
LOWlibexec/qt-android-runner.py191 except Exception as e:STRING
LOWlibexec/qt-android-runner.py243except Exception as e:STRING
LOWlibexec/qt-android-runner.py248except Exception as e:STRING
LOWlibexec/qt-android-runner.py288except Exception as e:STRING
LOWlibexec/qt-android-runner.py312 except Exception as e:STRING
MEDIUMlibexec/qt-android-runner.py131def get_manifest_activity(manifest_file):CODE
Synthetic Comment Markers5 hits · 28 pts
SeverityFileLineSnippetContext
HIGHtests/auto/corelib/tools/qlist/tst_qlist.cpp4049 // inserting as much as requested by the reserve. This is specificallyCOMMENT
HIGH…o/corelib/thread/qfuturewatcher/tst_qfuturewatcher.cpp947 QCOMPARE(suspendingSpy.size(), 2); // suspending() is emitted as many times as requestedCODE
HIGH…o/corelib/thread/qfuturewatcher/tst_qfuturewatcher.cpp949 QCOMPARE(pausedSpy.size(), 2); // paused() is emitted as many times as requestedCODE
HIGHtests/manual/rhi/shared/imgui/imgui/imgui_draw.cpp2316 const ImWchar* SrcRanges; // Ranges as requested by user (user is allowed to request too much, e.g. 0xCODE
HIGHsrc/network/access/http2/huffman.cpp22 This code was generated from statistics obtained on a largeCODE
Structural Annotation Overuse12 hits · 22 pts
SeverityFileLineSnippetContext
LOW⚡tests/auto/widgets/widgets/qlabel/tst_qlabel.cpp753 // Step 1: Set mouse to an initial positionCOMMENT
LOW⚡tests/auto/widgets/widgets/qlabel/tst_qlabel.cpp757 // Step 2: Move mouse over the linkCOMMENT
LOW⚡tests/auto/widgets/widgets/qlabel/tst_qlabel.cpp765 // Step 3: Move mouse out (trigger leave event)COMMENT
LOW⚡tests/auto/widgets/widgets/qlabel/tst_qlabel.cpp770 // Step 4: Move mouse back over the centerCOMMENT
LOWtests/manual/rhi/shared/imgui/imgui/imgui.cpp2669 // Step 0: Let you process the first element (regardless of it being visible or not, so we can measure the element hCOMMENT
LOWtests/manual/rhi/shared/imgui/imgui/imgui.cpp2688 // Step 1: Let the clipper infer height from first rangeCOMMENT
LOWtests/manual/rhi/shared/imgui/imgui/imgui.cpp13274 // Step 0: stack queryCOMMENT
LOWsrc/gui/rhi/qrhimetal.mm2579 // Step 1: vertex shader (as compute)COMMENT
LOWsrc/gui/rhi/qrhimetal.mm2633 // Step 2: tessellation control shader (as compute)COMMENT
LOWsrc/gui/rhi/qrhimetal.mm2708 // Step 3: tessellation evaluation (as vertex) + fragment shaderCOMMENT
LOW⚡src/widgets/kernel/qwidget.cpp7445 // Step 1: Resize if necessary, corrected for frame heightCOMMENT
LOW⚡src/widgets/kernel/qwidget.cpp7451 // Step 2: Move if necessary:COMMENT
Cross-Language Confusion3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…rentfiltermapgenerated/generator/function_signature.py113 required_arguments.append("InputSequence && sequence")CODE
HIGH…rentfiltermapgenerated/generator/function_signature.py126 required_arguments.append("reductionitemtype && initialValue")CODE
HIGHsrc/3rdparty/freetype/src/tools/glnames.py5387 if ( name == 0 || name >= limit )CODE
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHLICENSES/FTL.txt0portions of this software are copyright © <year> the freetype project (https://freetype.org). all rights reserved.STRING
HIGHsrc/3rdparty/freetype/LICENSE.txt0portions of this software are copyright © <year> the freetype project (https://freetype.org). all rights reserved.STRING
HIGHsrc/3rdparty/freetype/docs/FTL.TXT0portions of this software are copyright © <year> the freetype project (https://freetype.org). all rights reserved.STRING
Redundant / Tautological Comments7 hits · 8 pts
SeverityFileLineSnippetContext
LOW⚡…onedx/qt_cyclonedx_generator/qt_cyclonedx_generator.py940 # Check if args has at least one entry.STRING
LOW⚡…onedx/qt_cyclonedx_generator/qt_cyclonedx_generator.py957 # Check if args has at least one entry.STRING
LOWutil/includemocs/includemocs.pl107 # Write the file againCOMMENT
LOWsrc/plugins/platforms/xcb/qxcbconnection.cpp1091 // hence allowing for more events to arrive. ### Check if we wantCOMMENT
LOWsrc/gui/kernel/qplatformtheme.cpp208 {QKeySequence::Cut, 0, Qt::SHIFT | Qt::Key_Delete, KB_Win | KB_X11}, //## CCODE
LOWsrc/corelib/debug_script.py52 # Check if the module has already been imported globally. This ensuresCOMMENT
LOWsrc/corelib/io/qlockfile_win.cpp58 // ### Open the file with DELETE permission and useCOMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHsrc/3rdparty/freetype/src/sdf/ftsdf.c2926 #error "corruption. If required I will add this later."COMMENT
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…onedx/qt_cyclonedx_generator/qt_cyclonedx_generator.py213Validate that a required field exists in the data dictionary. Args: data: The dictionary to check fSTRING
Modern AI Meta-Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMutil/unicode/data/LineBreak.txt1927B77D..B797 ; H3 # Lo [27] HANGUL SYLLABLE RAG..HANGUL SYLLABLE RAHCODE
MEDIUMutil/unicode/data/GraphemeBreakProperty.txt1210B77D..B797 ; LVT # Lo [27] HANGUL SYLLABLE RAG..HANGUL SYLLABLE RAHCODE
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOW…/printsupport/kernel/qprinterinfo/tst_qprinterinfo.cpp73 // TODO: implement once OHOS provides a self-contained method to get printer infoCOMMENT
LOW…/printsupport/kernel/qprinterinfo/tst_qprinterinfo.cpp101 // TODO: implement once OHOS provides a self-contained method to get printer infoCOMMENT
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/auto/wasm/selenium/qwasmwindow.py950CODE
LOW…rentfiltermapgenerated/generator/function_signature.py41CODE