AI Slop Code Risk Monitor

premake/premake-core

SlopCodeMonitor badge for premake/premake-core Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).
1.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for premake/premake-core. SynthScan examined 729,096 lines of code across 2209 source files, recording 1313 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 1.9 (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.9
Adjusted Signal
1.9
Raw Pattern Score
100%
Time Factor
—
Last Push
—
Stars
—
Language
729.1K
Lines of Code
2.2K
Files
1.3K
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 8.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 0.7/100 · LOW

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

PR Review Velocity Impact 9.6/100 · LOW

Which changes need focused human review? 1313 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 4MEDIUM 69LOW 1240

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 1313 distinct pattern matches across 16 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 Block1185 hits · 1142 pts
SeverityFileLineSnippetContext
LOWbinmodules/luasocket/src/usocket.h21/* struct timeval */COMMENT
LOWbinmodules/luasocket/src/usocket.h41#ifdef IPV6_JOIN_GROUPCOMMENT
LOWbinmodules/luasocket/src/timeout.c1/*=========================================================================*\COMMENT
LOWbinmodules/luasocket/src/wsocket.h21#endifCOMMENT
LOWbinmodules/luasocket/src/udp.c1/*=========================================================================*\COMMENT
LOWbinmodules/luasocket/src/unixdgram.c1/*=========================================================================*\COMMENT
LOWbinmodules/luasocket/src/pierror.h1#ifndef PIERROR_HCOMMENT
LOWbinmodules/luasocket/src/pierror.h21#define PIE_MEMORY "memory allocation failure"COMMENT
LOWbinmodules/luasocket/src/compat.h1#ifndef COMPAT_HCOMMENT
LOWbinmodules/luasocket/src/inet.c1/*=========================================================================*\COMMENT
LOWcontrib/mbedtls/CMakeLists.txt1#COMMENT
LOWcontrib/mbedtls/include/mbedtls/compat-2.x.h21 * Macros for renamed functionsCOMMENT
LOWcontrib/mbedtls/include/mbedtls/compat-2.x.h41#define mbedtls_sha512_starts_ret mbedtls_sha512_startsCOMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h41#if !defined(MBEDTLS_PLATFORM_C)COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h101#if defined(MBEDTLS_CTR_DRBG_C) && !(defined(MBEDTLS_AES_C) || \COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h121#if defined(MBEDTLS_BLOCK_CIPHER_NO_DECRYPT) && defined(MBEDTLS_PSA_CRYPTO_CONFIG)COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h141#error "MBEDTLS_BLOCK_CIPHER_NO_DECRYPT and MBEDTLS_CIPHER_MODE_XTS cannot be defined simultaneously"COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h221#error "MBEDTLS_ECP_C defined (or a subset enabled), but not all prerequisites"COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h241COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h261#if defined(MBEDTLS_GCM_C) && \COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h281#endifCOMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h301#endifCOMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h321 !defined(MBEDTLS_PK_CAN_ECDSA_SIGN) || \COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h361 ( !defined(MBEDTLS_RSA_C) || !defined(MBEDTLS_X509_CRT_PARSE_C) || \COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h421#if defined(MBEDTLS_LMS_PRIVATE) && \COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h441#endifCOMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h461 !defined(MBEDTLS_OID_C) || \COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h481#error "MBEDTLS_PLATFORM_SETBUF_ALT defined, but not all prerequisites"COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h501 ( !defined(MBEDTLS_PLATFORM_C) ||\COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h521COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h541COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h561COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h581#error "MBEDTLS_PLATFORM_PRINTF_ALT defined, but not all prerequisites"COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h601COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h621COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h641 ( !defined(MBEDTLS_PLATFORM_TIME_ALT) ||\COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h661#if defined(MBEDTLS_ENTROPY_NV_SEED) &&\COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h701 defined(PSA_HAVE_SOFT_BLOCK_CIPHER) && !defined(MBEDTLS_CIPHER_C)COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h721#endif /* MBEDTLS_PSA_CRYPTO_SE_C */COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h741#error "MBEDTLS_PSA_INJECT_ENTROPY is not compatible with MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG"COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h761#error "MBEDTLS_RSA_C defined, but none of the PKCS1 versions enabled"COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h781#endifCOMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h821#endifCOMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h881#endifCOMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h901#error "MBEDTLS_SSL_TLS_C defined, but not all prerequisites"COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h921#error "MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE defined, but not all prerequisites"COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h941 defined(MBEDTLS_SSL_CID_OUT_LEN_MAX) && \COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h961#error "MBEDTLS_SSL_ENCRYPT_THEN_MAC defined, but not all prerequisites"COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h981 defined(MBEDTLS_SSL_HAVE_CHACHAPOLY) )COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h1001#if defined(MBEDTLS_THREADING_ALT)COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h1021 (!defined(MBEDTLS_OID_C) || !defined(MBEDTLS_ASN1_PARSE_C) || \COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h1041COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h1061#endif /* MBEDTLS_HAVE_INT32 && MBEDTLS_HAVE_INT64 */COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h1081 !( defined(MBEDTLS_SSL_HAVE_CCM) || defined(MBEDTLS_SSL_HAVE_GCM) || \COMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h1101#if defined(MBEDTLS_SSL_SRV_SUPPORT_SSLV2_CLIENT_HELLO) //no-check-namesCOMMENT
LOWcontrib/mbedtls/include/mbedtls/check_config.h1121#if defined(MBEDTLS_SSL_CID_PADDING_GRANULARITY) //no-check-namesCOMMENT
LOWcontrib/mbedtls/include/mbedtls/oid.h41#define MBEDTLS_OID_X509_EXT_POLICY_MAPPINGS (1 << 4)COMMENT
LOWcontrib/mbedtls/include/mbedtls/oid.h81#define MBEDTLS_OID_ORG_DOD "\x06" /* {dod(6)} */COMMENT
LOWcontrib/mbedtls/include/mbedtls/oid.h121#define MBEDTLS_OID_PKIX MBEDTLS_OID_INTERNET "\x05\x05\x07"COMMENT
LOWcontrib/mbedtls/include/mbedtls/oid.h141#define MBEDTLS_OID_AT_UNIQUE_IDENTIFIER MBEDTLS_OID_AT "\x2D" /**< id-at-uniqueIdentifier AttributeType:= {id-atCOMMENT
1125 more matches not shown…
Self-Referential Comments23 hits · 69 pts
SeverityFileLineSnippetContext
MEDIUMcontrib/mbedtls/include/psa/crypto_extra.h1617 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMcontrib/mbedtls/include/psa/crypto.h962 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMcontrib/mbedtls/include/psa/crypto.h1325 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMcontrib/mbedtls/include/psa/crypto.h1385 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMcontrib/mbedtls/include/psa/crypto.h1734 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMcontrib/mbedtls/include/psa/crypto.h1797 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMcontrib/mbedtls/include/psa/crypto.h2252 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMcontrib/mbedtls/include/psa/crypto.h2322 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUM…ntrib/mbedtls/tests/scripts/components-basic-checks.sh6# This file contains test components that are executed by all.shCOMMENT
MEDIUM…tls/tests/scripts/components-configuration-platform.sh6# This file contains test components that are executed by all.shCOMMENT
MEDIUM…ntrib/mbedtls/tests/scripts/components-build-system.sh6# This file contains test components that are executed by all.shCOMMENT
MEDIUMcontrib/mbedtls/tests/scripts/components-sanitizers.sh6# This file contains test components that are executed by all.shCOMMENT
MEDIUM…mbedtls/tests/scripts/components-configuration-x509.sh6# This file contains test components that are executed by all.shCOMMENT
MEDIUMcontrib/mbedtls/tests/scripts/components-platform.sh6# This file contains test components that are executed by all.shCOMMENT
MEDIUMcontrib/mbedtls/tests/scripts/components-compliance.sh6# This file contains test components that are executed by all.shCOMMENT
MEDIUMcontrib/mbedtls/tests/scripts/list-identifiers.sh3# Create a file named identifiers containing identifiers from internal headerCOMMENT
MEDIUM…trib/mbedtls/tests/scripts/components-configuration.sh6# This file contains test components that are executed by all.shCOMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh6# This file contains test components that are executed by all.shCOMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh180# This function is a common helper used by both:COMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh1987 # Create a temporary output file unless there is already one setCOMMENT
MEDIUMcontrib/mbedtls/tests/scripts/components-compiler.sh6# This file contains test components that are executed by all.shCOMMENT
MEDIUMcontrib/mbedtls/tests/scripts/all.sh8# This file is executable; it is the entry point for users and the CI.COMMENT
MEDIUM…/mbedtls/tests/scripts/components-configuration-tls.sh6# This file contains test components that are executed by all.shCOMMENT
Decorative Section Separators20 hits · 52 pts
SeverityFileLineSnippetContext
MEDIUMcontrib/mbedtls/tests/compat-in-docker.sh14# ---------------COMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh1056 # -------------COMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh1097 # -------------COMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh1135 # -------------COMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh1189 # -------------COMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh1249 # -------------COMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh1362 # -------------COMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh1443 # -------------COMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh1548 # -------------COMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh1726 # -------------COMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh1959 # -------------COMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh1977 # -------------COMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh2073 # -------------COMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh2397 # -------------COMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh2484 # -------------COMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh2542 # -------------COMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh2581 # -------------COMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh2655 # -------------COMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh2749 # -------------COMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh2780 # -------------COMMENT
Excessive Try-Catch Wrapping20 hits · 39 pts
SeverityFileLineSnippetContext
MEDIUMmobdebug.lua1298 print("Error in remote application: " .. msg)CODE
MEDIUMmobdebug.lua1322 print("Error: breakpoint not inserted")CODE
MEDIUMmobdebug.lua1340 print("Error: watch expression not set: " .. err)CODE
MEDIUMmobdebug.lua1342 print("Error: watch expression not set")CODE
MEDIUMmobdebug.lua1360 print("Error: breakpoint not removed")CODE
MEDIUMmobdebug.lua1371 print("Error: all breakpoints not removed")CODE
MEDIUMmobdebug.lua1380 print("Error: watch expression not removed")CODE
MEDIUMmobdebug.lua1391 print("Error: watch expression at index " .. index .. " [" .. exp .. "] not removed")CODE
MEDIUMmobdebug.lua1455 print("Error in processing results: " .. err)CODE
MEDIUMmobdebug.lua1479 print("Error in expression: " .. res)CODE
MEDIUMmobdebug.lua1510 print("Error in stack information: " .. err)CODE
MEDIUMmobdebug.lua1515 print("Error in stack information: " .. stack)CODE
MEDIUMmobdebug.lua1526 print("Error in expression: " .. res)CODE
MEDIUMmobdebug.lua1639 print("Error in remote application: ")CODE
LOWcontrib/mbedtls/tests/scripts/depends.py552 except Exception: # pylint: disable=broad-exceptCODE
MEDIUMcontrib/mbedtls/tests/scripts/depends.py498def main():CODE
MEDIUMcontrib/mbedtls/scripts/generate_driver_wrappers.py93 print("Error: Failed to validate data file: {} using schema: {}."CODE
MEDIUMcontrib/mbedtls/scripts/generate_driver_wrappers.py96 print("Error: Failed to validate data file: {} using schema: {}."CODE
MEDIUMsrc/_premake_main.lua238 print("Error: " .. err)CODE
MEDIUMsrc/_premake_main.lua251 print("Error: no such action '" .. _ACTION .. "'")CODE
Synthetic Comment Markers4 hits · 30 pts
SeverityFileLineSnippetContext
HIGHcontrib/mbedtls/library/error.c186 /* Begin Auto-Generated Code. */COMMENT
HIGHcontrib/mbedtls/library/error.c528 /* End Auto-Generated Code. */COMMENT
HIGHcontrib/mbedtls/library/error.c549 /* Begin Auto-Generated Code. */COMMENT
HIGHcontrib/mbedtls/library/error.c783 /* End Auto-Generated Code. */COMMENT
Redundant / Tautological Comments13 hits · 22 pts
SeverityFileLineSnippetContext
LOWcontrib/mbedtls/tests/ssl-opt.sh252# Check if the required configuration ($1) is enabledCOMMENT
LOWcontrib/mbedtls/tests/ssl-opt.sh1216 # Check if the ServerHello time was printedCOMMENT
LOWcontrib/mbedtls/tests/ssl-opt.sh1261 # Check if memory usage was readCOMMENT
LOWcontrib/mbedtls/tests/ssl-opt.sh1282 # Check if memory usage is below max valueCOMMENT
LOW⚡contrib/mbedtls/tests/ssl-opt.sh1839 # Check if test uses filesCOMMENT
LOW⚡contrib/mbedtls/tests/ssl-opt.sh1845 # Check if the test uses DTLS.COMMENT
LOW⚡contrib/mbedtls/tests/ssl-opt.sh1851 # Check if we are trying to use an external tool which does not support ECDHCOMMENT
LOWcontrib/mbedtls/tests/scripts/check-generated-files.sh8# Check if generated files are up-to-date.COMMENT
LOWcontrib/mbedtls/tests/scripts/check-generated-files.sh101 # Check if there are any new filesCOMMENT
LOWcontrib/mbedtls/tests/scripts/audit-validity-dates.py162 # Check if Type (1 byte) is SEQUENCE.COMMENT
LOW…trib/mbedtls/tests/scripts/components-configuration.sh209 # Set MBEDTLS_TEST_DEPRECATED to enable tests for deprecated features.COMMENT
LOWcontrib/mbedtls/docs/architecture/psa-migration/syms.sh33# Check if the provided name refers to a module or library and return theCOMMENT
LOWcontrib/mbedtls/scripts/code_size_compare.py794 # Check if the corresponding record existsCOMMENT
AI Slop Vocabulary6 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUMcontrib/mbedtls/tests/ssl-opt.sh1724# for the sake of tests' filtering (especially in conjunction with theCOMMENT
MEDIUMcontrib/mbedtls/tests/opt-testcases/sample.sh88# To facilitate working with this test case, have it run with $OPENSSL_NEXTCOMMENT
LOW…ntrib/mbedtls/tests/scripts/components-build-system.sh45 # We want to bypass it and just use the normal make program,COMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh1558# in conjunction with component_test_psa_crypto_config_accel_ecc_no_ecp_at_all().COMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh1664# It is meant to be used in conjunction withCOMMENT
MEDIUM…edtls/tests/scripts/components-configuration-crypto.sh1744# It is meant to be used in conjunction withCOMMENT
Unused Imports12 hits · 12 pts
SeverityFileLineSnippetContext
LOWcontrib/mbedtls/tests/scripts/analyze_outcomes.py12CODE
LOWcontrib/mbedtls/tests/scripts/depends.py57CODE
LOWcontrib/mbedtls/tests/scripts/audit-validity-dates.py31CODE
LOW…rib/mbedtls/tests/scripts/list_internal_identifiers.py22CODE
LOWcontrib/mbedtls/docs/conf.py8CODE
LOWcontrib/mbedtls/scripts/config.py17CODE
LOWcontrib/mbedtls/scripts/abi_check.py12CODE
LOWcontrib/mbedtls/scripts/min_requirements.py9CODE
LOWcontrib/mbedtls/scripts/generate_driver_wrappers.py21CODE
LOWcontrib/mbedtls/scripts/generate_psa_constants.py20CODE
LOWcontrib/mbedtls/scripts/code_size_compare.py24CODE
LOWcontrib/mbedtls/scripts/generate_tls_handshake_tests.py9CODE
Hyper-Verbose Identifiers14 hits · 12 pts
SeverityFileLineSnippetContext
LOWcontrib/mbedtls/tests/scripts/audit-validity-dates.py35def check_cryptography_version():CODE
LOWcontrib/mbedtls/scripts/generate_driver_wrappers.py53def generate_driver_wrapper_file(template_dir: str,CODE
LOWcontrib/mbedtls/scripts/generate_psa_constants.py251 def _make_key_type_from_curve_code(builder, tester):STRING
LOWcontrib/mbedtls/scripts/generate_psa_constants.py257 def _make_key_type_from_group_code(builder, tester):STRING
LOWcontrib/mbedtls/scripts/generate_psa_constants.py272 def _make_hash_algorithm_cases(self):STRING
LOWcontrib/mbedtls/scripts/generate_psa_constants.py285 def _make_algorithm_from_hash_code(builder, tester):STRING
LOWcontrib/mbedtls/scripts/code_size_compare.py396 def _handle_called_process_error(self, e: subprocess.CalledProcessError,CODE
LOWcontrib/curl/lib/vtls/sectransp.c2211 The function SecTrustGetCertificateAtIndex() is officially presentCODE
LOWmodules/vstudio/vs2010_nuget.lua68 local function examinePackageFromDirectory(directory)CODE
LOWmodules/vstudio/tests/cs2005/test_netcore.lua32local function targetFrameworkVersionPrepare()CODE
LOWmodules/vstudio/tests/cs2005/test_netcore.lua37local function projectConfigurationsPrepare()CODE
LOWmodules/compilecommands/compilecommands.lua36local function getstructuredimplicitincludedirs(toolset, cfg, tool)CODE
LOWsrc/tools/msc.lua19 local function isVersionGreaterOrEqualTo(lhs, rhs)CODE
LOWsrc/base/semver.lua51local function parsePrereleaseAndBuildWithSign(str)CODE
Structural Annotation Overuse5 hits · 10 pts
SeverityFileLineSnippetContext
LOW⚡contrib/mbedtls/tests/scripts/basic-build-test.sh64# Step 0 - print build environment infoCOMMENT
LOW⚡contrib/mbedtls/tests/scripts/basic-build-test.sh71# Step 1 - Make and instrumented build for code coverageCOMMENT
LOW⚡contrib/mbedtls/tests/scripts/basic-build-test.sh80# Step 2 - Execute the testsCOMMENT
LOWcontrib/mbedtls/tests/scripts/basic-build-test.sh116# Step 3 - Process the coverage reportCOMMENT
LOWcontrib/mbedtls/tests/scripts/basic-build-test.sh129# Step 4 - Summarise the test reportCOMMENT
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOWmobdebug.lua217 sref[#sref+1] = 'placeholder'CODE
LOWmobdebug.lua220 sref[#sref+1] = 'placeholder'CODE
LOWtests/test_string.lua89 s = 'lorem ipsum dolor sit amet'CODE
LOWtests/test_string.lua89 s = 'lorem ipsum dolor sit amet'CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMcontrib/mbedtls/tests/ssl-opt.sh7357# Tests for event-driven I/O: exercise a variety of handshake flowsCOMMENT
Deep Nesting3 hits · 3 pts
SeverityFileLineSnippetContext
LOWcontrib/mbedtls/tests/scripts/depends.py458CODE
LOWcontrib/mbedtls/tests/scripts/depends.py498CODE
LOWcontrib/mbedtls/scripts/code_size_compare.py523CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMcontrib/curl/lib/vtls/gtls.c1475 given hostname. This is a basic implementation of the matching describedCODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWcontrib/mbedtls/docs/architecture/psa-migration/syms.sh12# Usage:COMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWcontrib/mbedtls/scripts/code_size_compare.py508 def _set_size_record(self, git_rev: str, mod: str, size_text: str) -> None:CODE