AI Slop Code Risk Monitor

argotorg/solidity

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

Solidity, the Smart Contract Programming Language

3.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for argotorg/solidity, a C++ project with 25,767 GitHub stars. SynthScan examined 311,786 lines of code across 1908 source files, recording 721 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 3.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.

3.9
Adjusted Signal
3.9
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
25.8K
Stars
C++
Language
311.8K
Lines of Code
1.9K
Files
721
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 11.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 9.1/100 · LOW

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

PR Review Velocity Impact 16.6/100 · LOW

Which changes need focused human review? 721 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 3MEDIUM 197LOW 521

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 721 distinct pattern matches across 13 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.

Decorative Section Separators139 hits · 480 pts
SeverityFileLineSnippetContext
MEDIUM⚡test/cmdlineTests.sh3#------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/cmdlineTests.sh10# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/cmdlineTests.sh27#------------------------------------------------------------------------------COMMENT
MEDIUMtest/external_tests.py3# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/external_tests.py20# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/localeTest.sh3#------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/localeTest.sh11# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/localeTest.sh28#------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/bleeps.sh3# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/bleeps.sh20#------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/gnosis.sh3# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/gnosis.sh20#------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/prb-math.py3# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/prb-math.py20# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/euler.sh3# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/euler.sh20#------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/uniswap.sh3# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/uniswap.sh20#------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/brink.sh3# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/brink.sh20#------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/ens.sh3# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/ens.sh20#------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/gp2.sh3# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/gp2.sh20#------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/zeppelin.sh3# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/zeppelin.sh20#------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/chainlink.sh3# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/chainlink.sh20#------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/yield-liquidator.sh3# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/yield-liquidator.sh20#------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/elementfi.sh3# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/elementfi.sh20#------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/trident.sh3# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/trident.sh20#------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/colony.sh3# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/colony.sh20#------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/pool-together.sh3# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/pool-together.sh20#------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/solc-js/solc-js.sh3# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/externalTests/solc-js/solc-js.sh20#------------------------------------------------------------------------------COMMENT
MEDIUMtest/benchmarks/external.sh3#------------------------------------------------------------------------------COMMENT
MEDIUMtest/benchmarks/external.sh15# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/benchmarks/external.sh32#------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/benchmarks/external-setup.sh3#------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/benchmarks/external-setup.sh10# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/benchmarks/external-setup.sh27#------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/benchmarks/local.sh3#------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/benchmarks/local.sh5# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/benchmarks/local.sh22#------------------------------------------------------------------------------COMMENT
MEDIUM⚡docs/docs.sh3#------------------------------------------------------------------------------COMMENT
MEDIUM⚡docs/docs.sh10# ------------------------------------------------------------------------------COMMENT
MEDIUMdocs/docs.sh27#------------------------------------------------------------------------------COMMENT
MEDIUMscripts/common.sh2# ------------------------------------------------------------------------------COMMENT
MEDIUMscripts/common.sh20# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/get_version.sh3#------------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/get_version.sh10# ------------------------------------------------------------------------------COMMENT
MEDIUMscripts/get_version.sh27#------------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/test_emscripten.sh3#------------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/test_emscripten.sh10# ------------------------------------------------------------------------------COMMENT
MEDIUMscripts/test_emscripten.sh27#------------------------------------------------------------------------------COMMENT
79 more matches not shown…
Over-Commented Block389 hits · 389 pts
SeverityFileLineSnippetContext
LOWsolc/CommandLineInterface.h21 * Solidity command line interface.COMMENT
LOWsolc/CommandLineInterface.h61 /// expected to exit with a non-zero exit code despite there being no error.COMMENT
LOWsolc/CommandLineInterface.h121 /// Tries to read @ m_sourceCodes as a JSONs holding ASTsCOMMENT
LOWsolc/CommandLineInterface.cpp21 * @date 2014COMMENT
LOWsolc/CommandLineInterface.cpp41COMMENT
LOWsolc/CommandLineInterface.cpp61#include <range/v3/view/map.hpp>COMMENT
LOWsolc/CommandLineParser.h21#pragma onceCOMMENT
LOWsolc/CommandLineParser.h301COMMENT
LOWlibevmasm/AssemblyItem.h21 */COMMENT
LOWlibevmasm/Assembly.cpp21 */COMMENT
LOWlibevmasm/KnownState.h21 * @date 2015COMMENT
LOWlibevmasm/KnownState.h41#pragma warning(pop)COMMENT
LOWlibevmasm/KnownState.h161 /// and stores the new value at the given slot.COMMENT
LOWlibevmasm/Assembly.h21#include <libevmasm/Instruction.h>COMMENT
LOWlibevmasm/Assembly.h161 /// Constructs an @a Assembly from the serialized JSON representation.COMMENT
LOWlibevmasm/LinkerObject.h61 {COMMENT
LOWlibevmasm/Inliner.cpp21 */COMMENT
LOWlibevmasm/SemanticInformation.h61 /// Unknown if not provided.COMMENT
LOWlibevmasm/CommonSubexpressionEliminator.h21 * @date 2015COMMENT
LOWlibevmasm/GasMeter.h241 /// @returns the gas cost of the supplied data, depending whether it is in creation code, or not.COMMENT
LOWlibsolutil/Numeric.h21COMMENT
LOWlibsolutil/CommonData.h21 *COMMENT
LOWlibsolutil/CommonData.h441/// Convert a single byte to a string of hex characters (of length two),COMMENT
LOWlibsolutil/CommonData.h581/// sequence of @tparam N elements that starts with the second element of the previousCOMMENT
LOWlibsolutil/StringUtils.h41// if _lenThreshold > 0 and the product of the strings length is greater than _lenThreshold, the function will return faCOMMENT
LOWlibsolutil/StringUtils.h101 elseCOMMENT
LOWlibsolutil/Exceptions.h21#include <liblangutil/SourceLocation.h>COMMENT
LOWlibsolutil/Exceptions.h81/// exception was thrown from.COMMENT
LOWlibsolutil/Result.h21COMMENT
LOWlibsolutil/Visitor.h61// (Run-Time Check Failure #2 - Stack around the variable '....' was corrupted).COMMENT
LOWlibsolutil/Common.h21 *COMMENT
LOWlibsolutil/picosha2.h21OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS INCOMMENT
LOWlibsolutil/Profiler.h21#include <chrono>COMMENT
LOWliblangutil/Exceptions.h21 * Solidity exception hierarchy.COMMENT
LOWliblangutil/Token.h1// Copyright 2006-2012, the V8 project authors. All rights reserved.COMMENT
LOWliblangutil/Token.h21// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOTCOMMENT
LOWliblangutil/Token.h41// along with solidity. If not, see <http://www.gnu.org/licenses/>.COMMENT
LOWliblangutil/Token.cpp1// Copyright 2006-2012, the V8 project authors. All rights reserved.COMMENT
LOWliblangutil/Token.cpp21// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOTCOMMENT
LOWtools/yulPhaser/Mutations.h61COMMENT
LOWtools/yulPhaser/Mutations.h81/// unless there is no other choice (i.e. one of the chromosomes is empty).COMMENT
LOWtools/yulPhaser/Program.cpp21#include <liblangutil/CharStream.h>COMMENT
LOWtools/yulPhaser/Phaser.cpp21#include <tools/yulPhaser/AlgorithmRunner.h>COMMENT
LOWtools/yulPhaser/Phaser.h21 */COMMENT
LOWtools/yulPhaser/Common.h21COMMENT
LOWtest/Common.cpp21#include <test/EVMHost.h>COMMENT
LOWtest/cmdlineTests.sh1#!/usr/bin/env bashCOMMENT
LOWtest/CommonSyntaxTest.cpp21#include <test/TestCase.h>COMMENT
LOWtest/InteractiveTests.h21#include <test/TestCase.h>COMMENT
LOWtest/InteractiveTests.h41#include <test/libyul/ControlFlowGraphTest.h>COMMENT
LOWtest/EVMHost.cpp21 */COMMENT
LOWtest/soltest.cpp21 * Stub for generating main boost.test module.COMMENT
LOWtest/external_tests.py1#!/usr/bin/env python3COMMENT
LOWtest/localeTest.sh1#!/usr/bin/env bashCOMMENT
LOWtest/ExecutionFramework.h21 * Framework for executing contracts and testing them using RPC.COMMENT
LOWtest/solc/CommandLineInterfaceAllowPaths.cpp21#include <solc/CommandLineInterface.h>COMMENT
LOWtest/solc/CommandLineInterface.cpp21#include <solc/CommandLineInterface.h>COMMENT
LOWtest/solc/CommandLineParser.cpp21#include <solc/CommandLineParser.h>COMMENT
LOWtest/libevmasm/PlainAssemblyParser.h21#include <libsolutil/JSON.h>COMMENT
LOWtest/libevmasm/PlainAssemblyParser.h41/// - A new subassembly starts with '.sub' and contains all subsequent lines at a higher nesting level.COMMENT
329 more matches not shown…
Self-Referential Comments54 hits · 194 pts
SeverityFileLineSnippetContext
MEDIUM⚡test/cmdlineTests.sh11# This file is part of solidity.COMMENT
MEDIUMtest/external_tests.py4# This file is part of solidity.COMMENT
MEDIUM⚡test/localeTest.sh12# This file is part of solidity.COMMENT
MEDIUMtest/externalTests/bleeps.sh4# This file is part of solidity.COMMENT
MEDIUMtest/externalTests/gnosis.sh4# This file is part of solidity.COMMENT
MEDIUMtest/externalTests/prb-math.py4# This file is part of solidity.COMMENT
MEDIUMtest/externalTests/euler.sh4# This file is part of solidity.COMMENT
MEDIUMtest/externalTests/uniswap.sh4# This file is part of solidity.COMMENT
MEDIUMtest/externalTests/brink.sh4# This file is part of solidity.COMMENT
MEDIUMtest/externalTests/ens.sh4# This file is part of solidity.COMMENT
MEDIUMtest/externalTests/gp2.sh4# This file is part of solidity.COMMENT
MEDIUMtest/externalTests/zeppelin.sh4# This file is part of solidity.COMMENT
MEDIUMtest/externalTests/chainlink.sh4# This file is part of solidity.COMMENT
MEDIUMtest/externalTests/yield-liquidator.sh4# This file is part of solidity.COMMENT
MEDIUMtest/externalTests/elementfi.sh4# This file is part of solidity.COMMENT
MEDIUMtest/externalTests/trident.sh4# This file is part of solidity.COMMENT
MEDIUMtest/externalTests/colony.sh4# This file is part of solidity.COMMENT
MEDIUMtest/externalTests/pool-together.sh4# This file is part of solidity.COMMENT
MEDIUMtest/externalTests/solc-js/solc-js.sh4# This file is part of solidity.COMMENT
MEDIUMtest/benchmarks/external.sh16# This file is part of solidity.COMMENT
MEDIUM⚡test/benchmarks/external-setup.sh11# This file is part of solidity.COMMENT
MEDIUM⚡test/benchmarks/local.sh6# This file is part of solidity.COMMENT
MEDIUMdocs/conf.py7# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUM⚡docs/docs.sh11# This file is part of solidity.COMMENT
MEDIUMscripts/common.sh4# This file is part of solidity.COMMENT
MEDIUM⚡scripts/get_version.sh11# This file is part of solidity.COMMENT
MEDIUM⚡scripts/test_emscripten.sh11# This file is part of solidity.COMMENT
MEDIUM⚡scripts/build_emscripten.sh11# This file is part of solidity.COMMENT
MEDIUM⚡scripts/get_nightly_version.sh12# This file is part of solidity.COMMENT
MEDIUMscripts/docs_version_pragma_check.sh4# This file is part of solidity.COMMENT
MEDIUM⚡scripts/tests.sh11# This file is part of solidity.COMMENT
MEDIUMscripts/ASTImportTest.sh4# This file is part of solidity.COMMENT
MEDIUM⚡scripts/list_contributors.sh15# This file is part of solidity.COMMENT
MEDIUM⚡scripts/yul_coverage.sh36# This file is part of solidity.COMMENT
MEDIUMscripts/common_cmdline.sh4# This file is part of solidity.COMMENT
MEDIUMscripts/docker_deploy_manual.sh28# Create a classic PAT with write:packages scope by visiting the following URL:COMMENT
MEDIUM⚡scripts/wasm-rebuild/docker-scripts/genbytecode.sh10# This file is part of solidity.COMMENT
MEDIUMscripts/ci/build_emscripten.sh17# This file is part of solidity.COMMENT
MEDIUMscripts/ci/buildpack-deps_test_emscripten.sh17# This file is part of solidity.COMMENT
MEDIUMscripts/bytecodecompare/prepare_report.py350 # Create a copy that we can use directly with the CLI interfaceCOMMENT
MEDIUM⚡scripts/externalTests/update_external_repos.sh21# This file is part of solidity.COMMENT
MEDIUMscripts/externalTests/common.sh4# This file is part of solidity.COMMENT
MEDIUM⚡scripts/externalTests/summarize_benchmarks.sh16# This file is part of solidity.COMMENT
MEDIUMscripts/externalTests/test_helpers.py4# This file is part of solidity.COMMENT
MEDIUM⚡scripts/externalTests/merge_benchmarks.sh15# This file is part of solidity.COMMENT
MEDIUMscripts/externalTests/runners/foundry.py4# This file is part of solidity.COMMENT
MEDIUMscripts/externalTests/runners/base.py4# This file is part of solidity.COMMENT
MEDIUM…pts/solc-bin/bytecode_reports_for_modified_binaries.sh32# This file is part of solidity.COMMENT
MEDIUMscripts/solc-bin/compare_bytecode_reports.sh18# This file is part of solidity.COMMENT
MEDIUM⚡.circleci/soltest.sh18# This file is part of solidity.COMMENT
MEDIUM⚡.circleci/compare_bytecode_reports.sh8# This file is part of solidity.COMMENT
MEDIUM⚡.circleci/osx_install_dependencies.sh10# This file is part of solidity.COMMENT
MEDIUM⚡.circleci/parallel_bytecode_report.sh12# This file is part of solidity.COMMENT
MEDIUM⚡.circleci/soltest_all.sh10# This file is part of solidity.COMMENT
Hyper-Verbose Identifiers106 hits · 110 pts
SeverityFileLineSnippetContext
LOWtest/external_tests.py43def display_available_external_tests(_):CODE
LOW…ethdebugSchemaTests/test_ethdebug_schema_conformity.py62def ethdebug_schema_repository():CODE
LOW…ethdebugSchemaTests/test_ethdebug_schema_conformity.py89 def test_creation_program_schema(self):CODE
LOW…ethdebugSchemaTests/test_ethdebug_schema_conformity.py92 def test_deployed_program_schema(self):CODE
LOW⚡…ethdebugSchemaTests/test_ethdebug_schema_conformity.py120 def test_creation_program_sanity(self):CODE
LOW⚡…ethdebugSchemaTests/test_ethdebug_schema_conformity.py123 def test_deployed_program_sanity(self):CODE
LOW⚡…ethdebugSchemaTests/test_ethdebug_schema_conformity.py126 def test_resources_match_standard_json_sources(self):CODE
LOW⚡…ethdebugSchemaTests/test_ethdebug_schema_conformity.py136 def test_resources_include_standard_json_source_contents(self):CODE
LOW…ethdebugSchemaTests/test_ethdebug_schema_conformity.py147 def test_resources_include_empty_type_and_pointer_tables(self):CODE
LOW…ethdebugSchemaTests/test_ethdebug_schema_conformity.py151 def test_resources_and_compilation_share_compilation(self):CODE
LOWtest/ethdebugSchemaTests/schema_helpers.py17def ethdebug_schema_repository(ethdebug_schema_dir):CODE
LOWtest/evmc/evmc.h1122typedef evmc_capabilities_flagset (*evmc_get_capabilities_fn)(struct evmc_vm* vm);CODE
LOW…ts/~bytecode_equivalence_with_unused_contracts/test.py21def test_bytecode_equivalence():CODE
LOW…ivalence_independent_of_import_discovery_order/test.py21def test_bytecode_equivalence():CODE
LOWtest/scripts/test_update_bugs.py39 def test_generates_equivalent_json(self):CODE
LOW⚡test/scripts/test_update_bugs.py62 def test_bug_list_conforms_to_schema(self):CODE
LOW⚡test/scripts/test_update_bugs.py68 def test_rejects_non_array_list(self):CODE
LOW⚡test/scripts/test_update_bugs.py73 def test_rejects_non_object_entry(self):CODE
LOW⚡test/scripts/test_update_bugs.py78 def test_reports_entry_index_when_uid_missing(self):CODE
LOW⚡test/scripts/test_update_bugs.py83 def test_reports_entry_index_when_uid_empty(self):CODE
LOW⚡test/scripts/test_update_bugs.py88 def test_rejects_version_parsed_as_number(self):CODE
LOW⚡test/scripts/test_update_bugs.py93 def test_rejects_unquoted_date(self):CODE
LOW⚡test/scripts/test_update_bugs.py98 def test_rejects_invalid_date(self):CODE
LOW⚡test/scripts/test_update_bugs.py116 def test_rejects_unknown_severity(self):CODE
LOW⚡test/scripts/test_update_bugs.py121 def test_rejects_unknown_condition(self):CODE
LOW⚡test/scripts/test_update_bugs.py129 def test_rejects_non_boolean_condition(self):CODE
LOW⚡test/scripts/test_update_bugs.py134 def test_rejects_unknown_check(self):CODE
LOW⚡test/scripts/test_update_bugs.py142 def test_rejects_duplicate_name(self):CODE
LOWtest/scripts/test_externalTests_benchmark_downloader.py226 def test_download_benchmarks_branch(download_file_mock):CODE
LOWtest/scripts/test_externalTests_benchmark_downloader.py248 def test_download_benchmarks_pr(download_file_mock):CODE
LOWtest/scripts/test_externalTests_benchmark_downloader.py270 def test_download_benchmarks_base_of_pr(download_file_mock):CODE
LOWtest/scripts/test_externalTests_benchmark_downloader.py291 def test_download_benchmarks_unauthorized_request(self, _):CODE
LOWtest/scripts/test_externalTests_benchmark_diff.py131 def _assert_single_value_diff_matches(self, differ, cases, nest_result=True, nestings=None):CODE
LOWtest/scripts/test_externalTests_benchmark_diff.py153 def test_number_diff_absolute_json(self):CODE
LOWtest/scripts/test_externalTests_benchmark_diff.py213 def test_number_diff_humanized_json_and_console(self):CODE
LOWtest/scripts/test_externalTests_benchmark_diff.py243 def test_number_diff_humanized_markdown(self):CODE
LOWtest/scripts/test_externalTests_benchmark_diff.py385 def test_diff_table_formatter(self):CODE
LOWtest/scripts/test_externalTests_benchmark_diff.py393 def test_diff_table_formatter_json_absolute(self):CODE
LOWtest/scripts/test_externalTests_benchmark_diff.py447 def test_diff_table_formatter_console_relative(self):CODE
LOWtest/scripts/test_externalTests_benchmark_diff.py476 def test_diff_table_formatter_markdown_humanized(self):STRING
LOW⚡test/scripts/test_gas_diff_stats.py12 def test_collect_statistics_should_fail_on_empty_diff(self):CODE
LOW⚡test/scripts/test_gas_diff_stats.py16 def test_collect_statistics_should_accept_whitespace_only_diff(self):CODE
LOW⚡test/scripts/test_gas_diff_stats.py22 def test_collect_statistics_should_report_sum_of_gas_costs(self):CODE
LOWtest/scripts/test_gas_diff_stats.py58 def test_collect_statistics_should_ignore_ir_costs(self):STRING
LOWtest/scripts/test_gas_diff_stats.py77 def test_collect_statistics_should_ignore_unchanged_costs(self):STRING
LOWtest/scripts/test_gas_diff_stats.py95 def test_collect_statistics_should_include_code_deposit_in_total_cost(self):STRING
LOW⚡test/scripts/test_bytecodecompare_prepare_report.py91 def test_format_report_should_print_error_if_contract_report_list_is_missing(self):CODE
LOW⚡test/scripts/test_bytecodecompare_prepare_report.py98 def test_format_report_should_not_print_anything_if_contract_report_list_is_empty(self):CODE
LOW⚡test/scripts/test_bytecodecompare_prepare_report.py107 def test_aggregate_bytecode_and_metadata_present(self):CODE
LOW⚡test/scripts/test_bytecodecompare_prepare_report.py112 def test_aggregate_bytecode_missing(self):CODE
LOW⚡test/scripts/test_bytecodecompare_prepare_report.py117 def test_aggregate_metadata_missing(self):CODE
LOW⚡test/scripts/test_bytecodecompare_prepare_report.py122 def test_aggregate_no_contract_reports(self):CODE
LOW⚡test/scripts/test_bytecodecompare_prepare_report.py127 def test_aggregate_missing_contract_report_list(self):CODE
LOW⚡test/scripts/test_bytecodecompare_prepare_report.py132 def test_aggregate_multiple_contract_reports(self):CODE
LOW⚡test/scripts/test_bytecodecompare_prepare_report.py157 def test_load_source_should_strip_smt_pragmas_if_requested(self):CODE
LOW⚡test/scripts/test_bytecodecompare_prepare_report.py166 def test_load_source_should_not_strip_smt_pragmas_if_not_requested(self):CODE
LOW⚡test/scripts/test_bytecodecompare_prepare_report.py170 def test_load_source_preserves_lf_newlines(self):CODE
LOW⚡test/scripts/test_bytecodecompare_prepare_report.py180 def test_load_source_preserves_crlf_newlines(self):CODE
LOW⚡test/scripts/test_bytecodecompare_prepare_report.py190 def test_load_source_preserves_cr_newlines(self):CODE
LOW⚡test/scripts/test_bytecodecompare_prepare_report.py200 def test_load_source_preserves_mixed_newlines(self):CODE
46 more matches not shown…
Example Usage Blocks7 hits · 14 pts
SeverityFileLineSnippetContext
LOW⚡test/localeTest.sh8# Usage:COMMENT
LOW⚡scripts/list_contributors.sh11# Usage:COMMENT
LOWscripts/yul_coverage.sh6# Usage:COMMENT
LOW⚡scripts/externalTests/update_external_repos.sh13# Usage:COMMENT
LOW⚡scripts/externalTests/summarize_benchmarks.sh8# Usage:COMMENT
LOW⚡scripts/externalTests/merge_benchmarks.sh7# Usage:COMMENT
LOW…pts/solc-bin/bytecode_reports_for_modified_binaries.sh16# Usage:COMMENT
Deep Nesting11 hits · 11 pts
SeverityFileLineSnippetContext
LOWscripts/pylint_all.py19CODE
LOWscripts/extract_test_cases.py12CODE
LOWscripts/isolate_tests.py74CODE
LOWscripts/isolate_tests.py114CODE
LOWscripts/error_codes.py112CODE
LOWscripts/error_codes.py287CODE
LOWscripts/bytecodecompare/prepare_report.py368CODE
LOWscripts/externalTests/benchmark_diff.py136CODE
LOWscripts/externalTests/parse_eth_gas_report.py188CODE
LOWscripts/externalTests/download_benchmarks.py117CODE
LOWscripts/common/rest_api_helpers.py16CODE
Cross-Language Confusion3 hits · 10 pts
SeverityFileLineSnippetContext
HIGHtest/formal/combine_byte_shr_1.py7given B % 8 == 0 && A < n_bits/8 && B <= n_bits && A >= B / 8STRING
HIGHtest/formal/rule.py30 self.solver.push()CODE
HIGHtest/formal/combine_byte_shl.py7given B % 8 == 0 && A <= 32 && B <= 256STRING
AI Slop Vocabulary3 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMdocs/_static/js/initialize.js158 // TODO: We should consider a more robust way to handle this in the future.COMMENT
LOW⚡scripts/yul_coverage.sh20# e.g. ./yul_coverage.sh --successful --list-files will just return a list ofCOMMENT
LOW⚡scripts/yul_coverage.sh29# To change the used compiler, just set the SOLC environment variable.COMMENT
Excessive Try-Catch Wrapping3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMtest/external_tests.py144 print(f"Error: {exception}", file=sys.stderr)CODE
MEDIUMtest/external_tests.py147 print(f"Error: {exception}", file=sys.stderr)CODE
MEDIUMscripts/error_codes.py22 print(f"Error reading: {file_name}")CODE
Structural Annotation Overuse3 hits · 4 pts
SeverityFileLineSnippetContext
LOWscripts/externalTests/common.sh619 # NOTE: The output of this function is a series of concatenated JSON dicts rather than a list.COMMENT
LOWscripts/externalTests/common.sh638 # NOTE: The output of this function is a series of concatenated JSON dicts rather than a list.COMMENT
LOWlibyul/AsmAnalysis.cpp690 // NOTE: This function uses the default EVM version instead of the currently selected one.COMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…pts/solc-bin/bytecode_reports_for_modified_binaries.sh107# Set locale to C to prevent it from affecting glob sort order.COMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWlibsolidity/interface/CompilerStack.cpp1891 /// TODO: implement + overload to avoid the need of +=COMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWdocs/ext/remix_code_links.py9logger = logging.getLogger(__name__)CODE