AI Slop Code Risk Monitor

dogecoin/dogecoin

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

very currency

1.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for dogecoin/dogecoin, a C++ project with 15,203 GitHub stars. SynthScan examined 503,966 lines of code across 1068 source files, recording 832 pattern matches distributed across 14 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
2026-10-28
Last Push
15.2K
Stars
C++
Language
504.0K
Lines of Code
1.1K
Files
832
Pattern Hits
2026-10-31
Scan Date
0.01
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.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.5/100 · LOW

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

Agent Over-Engineering Ratio 1.5/100 · LOW

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

PR Review Velocity Impact 9.3/100 · LOW

Which changes need focused human review? 832 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 10MEDIUM 53LOW 769

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 832 distinct pattern matches across 14 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 Block489 hits · 489 pts
SeverityFileLineSnippetContext
LOWqa/rpc-tests/decodescript.py81 # 4) P2SH scriptPubKeyCOMMENT
LOWqa/rpc-tests/mempool_spendcoinbase.py1#!/usr/bin/env python3COMMENT
LOWqa/rpc-tests/pruning.py1#!/usr/bin/env python3COMMENT
LOWqa/rpc-tests/pruning.py241 # Although this is more than 1440 blocks, because this chain was written more recentlyCOMMENT
LOWqa/rpc-tests/pruning.py401 print("Check that we haven't started pruning yet because we're below PruneAfterHeight")COMMENT
LOWqa/rpc-tests/pruning.py421 #COMMENT
LOWqa/rpc-tests/pruning.py441 # \ \COMMENT
LOWqa/rpc-tests/pruning.py461 # *...**(3065)COMMENT
LOWqa/rpc-tests/p2p-acceptblock.py261 # Should still not be processed (even though it has a child that has moreCOMMENT
LOWqa/rpc-tests/rawtransactions.py1#!/usr/bin/env python3COMMENT
LOWqa/rpc-tests/p2p-fullblocktest.py741 # Merkle tree malleability (CVE-2012-2459): repeating sequences of transactions in a block without COMMENT
LOWqa/rpc-tests/p2p-fullblocktest.py881 yield rejected(RejectResult(16, b'bad-txns-nonfinal'))COMMENT
LOWqa/rpc-tests/p2p-fullblocktest.py961 tx1 = create_and_sign_tx(out[20].tx, out[20].n, out[20].tx.vout[0].nValue)COMMENT
LOWqa/rpc-tests/p2p-fullblocktest.py1041 #COMMENT
LOWqa/rpc-tests/p2p-fullblocktest.py1121 # Test transaction resurrectionCOMMENT
LOWqa/rpc-tests/smartfees.py1#!/usr/bin/env python3COMMENT
LOWqa/rpc-tests/test_framework/scrypt_auxpow.py1#!/usr/bin/env pythonCOMMENT
LOWqa/rpc-tests/test_framework/mininode.py1#!/usr/bin/env python3COMMENT
LOWqa/rpc-tests/test_framework/comptool.py141# answer), or "None" if we don't expect a certain answer and are justCOMMENT
LOWcontrib/qos/tc.sh41#ret=0COMMENT
LOWcontrib/devtools/clang-format-diff.py1#!/usr/bin/env pythonCOMMENT
LOWcontrib/devtools/clang-format-diff.py21#COMMENT
LOWcontrib/devtools/clang-format-diff.py41# Urbana-Champaign, nor the names of its contributors may be used toCOMMENT
LOWcontrib/devtools/symbol-check.py21# Debian 6.0.9 (Squeeze) has:COMMENT
LOWcontrib/devtools/github-merge.py1#!/usr/bin/env python3COMMENT
LOWsrc/chain.h1// Copyright (c) 2009-2010 Satoshi NakamotoCOMMENT
LOWsrc/protocol.h1// Copyright (c) 2009-2010 Satoshi NakamotoCOMMENT
LOWsrc/protocol.h261 NODE_NETWORK = (1 << 0),COMMENT
LOWsrc/tinyformat.h1// tinyformat.hCOMMENT
LOWsrc/tinyformat.h21// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,COMMENT
LOWsrc/tinyformat.h41//COMMENT
LOWsrc/tinyformat.h61// tfm::format(std::cerr, "%s, %s %d, %.2d:%.2d\n",COMMENT
LOWsrc/tinyformat.h81// internally to generate the API, but which may also be used in user code.COMMENT
LOWsrc/tinyformat.h101// tfm::vformat(std::cout, "%s, %s %d, %.2d:%.2d\n", formatList);COMMENT
LOWsrc/tinyformat.h121COMMENT
LOWsrc/tinyformat.h141#ifndef TINYFORMAT_ERRORCOMMENT
LOWsrc/tinyformat.h181 static const T1& makeT1();COMMENT
LOWsrc/tinyformat.h281}COMMENT
LOWsrc/tinyformat.h301/// truncating conversions, ntrunc is set to the desired maximum number ofCOMMENT
LOWsrc/tinyformat.h361COMMENT
LOWsrc/tinyformat.h401makeCommaSepLists('#define TINYFORMAT_PASSARGS_TAIL_%(j)d , %(list)s',COMMENT
LOWsrc/tinyformat.h421#define TINYFORMAT_ARGTYPES_14 class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9,COMMENT
LOWsrc/tinyformat.h441COMMENT
LOWsrc/tinyformat.h461#define TINYFORMAT_PASSARGS_TAIL_3 , v2, v3COMMENT
LOWsrc/timedata.cpp1// Copyright (c) 2014-2016 The Bitcoin Core developersCOMMENT
LOWsrc/timedata.cpp61 //COMMENT
LOWsrc/bitcoind.cpp1// Copyright (c) 2009-2010 Satoshi NakamotoCOMMENT
LOWsrc/rest.cpp1// Copyright (c) 2009-2010 Satoshi NakamotoCOMMENT
LOWsrc/utiltime.cpp1// Copyright (c) 2009-2010 Satoshi NakamotoCOMMENT
LOWsrc/validation.cpp1// Copyright (c) 2009-2010 Satoshi NakamotoCOMMENT
LOWsrc/validation.cpp21#include "policy/fees.h"COMMENT
LOWsrc/validation.cpp41#include "versionbits.h"COMMENT
LOWsrc/validation.cpp281COMMENT
LOWsrc/validation.cpp341 continue;COMMENT
LOWsrc/validation.cpp441 }COMMENT
LOWsrc/validation.cpp881 // We usually don't want to accept replacements with lowerCOMMENT
LOWsrc/validation.cpp1781COMMENT
LOWsrc/validation.cpp1841 // Requiring a software change or burying the invalid block, regardless of the setting, makesCOMMENT
LOWsrc/validation.cpp1861 // This logic is not necessary for memory pool transactions, as AcceptToMemoryPoolCOMMENT
LOWsrc/validation.cpp3301 // Try to process all requested blocks that we don't have, but onlyCOMMENT
429 more matches not shown…
Unused Imports147 hits · 146 pts
SeverityFileLineSnippetContext
LOWqa/pull-tester/rpc-tests.py34CODE
LOWqa/pull-tester/rpc-tests.py95CODE
LOWqa/rpc-tests/mempool_packages.py10CODE
LOWqa/rpc-tests/p2p-leaktests.py6CODE
LOWqa/rpc-tests/p2p-leaktests.py8CODE
LOWqa/rpc-tests/mempool_limit.py10CODE
LOWqa/rpc-tests/forknotify.py11CODE
LOWqa/rpc-tests/replace-by-fee.py12CODE
LOWqa/rpc-tests/replace-by-fee.py13CODE
LOWqa/rpc-tests/replace-by-fee.py14CODE
LOWqa/rpc-tests/mempool_resurrect_test.py13CODE
LOWqa/rpc-tests/invalidblockrequest.py8CODE
LOWqa/rpc-tests/invalidblockrequest.py10CODE
LOWqa/rpc-tests/receivedby.py10CODE
LOWqa/rpc-tests/bip68-112-113-p2p.py7CODE
LOWqa/rpc-tests/bip68-112-113-p2p.py11CODE
LOWqa/rpc-tests/fundrawtransaction.py8CODE
LOWqa/rpc-tests/p2p-mempool.py6CODE
LOWqa/rpc-tests/p2p-mempool.py8CODE
LOWqa/rpc-tests/getauxblock.py9CODE
LOWqa/rpc-tests/maxblocksinflight.py6CODE
LOWqa/rpc-tests/maxblocksinflight.py8CODE
LOWqa/rpc-tests/p2p-timeouts.py26CODE
LOWqa/rpc-tests/p2p-timeouts.py28CODE
LOWqa/rpc-tests/decodescript.py7CODE
LOWqa/rpc-tests/decodescript.py8CODE
LOWqa/rpc-tests/mempool_spendcoinbase.py18CODE
LOWqa/rpc-tests/bumpfee.py11CODE
LOWqa/rpc-tests/bumpfee.py12CODE
LOWqa/rpc-tests/bumpfee.py15CODE
LOWqa/rpc-tests/bipdersig-p2p.py7CODE
LOWqa/rpc-tests/maxuploadtarget.py6CODE
LOWqa/rpc-tests/maxuploadtarget.py8CODE
LOWqa/rpc-tests/prioritise_transaction.py12CODE
LOWqa/rpc-tests/rpcbind_test.py9CODE
LOWqa/rpc-tests/rpcbind_test.py10CODE
LOWqa/rpc-tests/p2p-policy.py10CODE
LOWqa/rpc-tests/p2p-policy.py12CODE
LOWqa/rpc-tests/getmocktime.py7CODE
LOWqa/rpc-tests/getmocktime.py9CODE
LOWqa/rpc-tests/invalidateblock.py11CODE
LOWqa/rpc-tests/invalidtxrequest.py8CODE
LOWqa/rpc-tests/setmaxconnections.py15CODE
LOWqa/rpc-tests/setmaxconnections.py17CODE
LOWqa/rpc-tests/rest.py14CODE
LOWqa/rpc-tests/rest.py15CODE
LOWqa/rpc-tests/rescan.py8CODE
LOWqa/rpc-tests/liststucktransactions.py11CODE
LOWqa/rpc-tests/bip68-sequence.py11CODE
LOWqa/rpc-tests/bip68-sequence.py12CODE
LOWqa/rpc-tests/bip68-sequence.py13CODE
LOWqa/rpc-tests/bip68-sequence.py14CODE
LOWqa/rpc-tests/zmq_test.py11CODE
LOWqa/rpc-tests/p2p-versionbits-warning.py6CODE
LOWqa/rpc-tests/p2p-versionbits-warning.py8CODE
LOWqa/rpc-tests/importmulti.py7CODE
LOWqa/rpc-tests/addnode.py10CODE
LOWqa/rpc-tests/paytxfee.py11CODE
LOWqa/rpc-tests/bipdersig.py12CODE
LOWqa/rpc-tests/bip9-softforks.py8CODE
87 more matches not shown…
Self-Referential Comments43 hits · 129 pts
SeverityFileLineSnippetContext
MEDIUMqa/pull-tester/rpc-tests.py56#Create a set to store arguments and create the passon stringCOMMENT
MEDIUMqa/rpc-tests/replace-by-fee.py450 # Create a non-opting in transactionCOMMENT
MEDIUMqa/rpc-tests/replace-by-fee.py473 # Create a different non-opting in transactionCOMMENT
MEDIUMqa/rpc-tests/receivedby.py145 #Create a new account named "mynewaccount" that has a 0 balanceCOMMENT
MEDIUMqa/rpc-tests/bumpfee.py101 # Create a transaction with segwit output, then create an RBF transactionCOMMENT
MEDIUMqa/rpc-tests/prioritise_transaction.py107 # Create a free, low priority transaction. Should be rejected.COMMENT
MEDIUMqa/rpc-tests/bip68-sequence.py218 # Create a mempool tx.COMMENT
MEDIUMqa/rpc-tests/bip68-sequence.py235 # Create a spend of the 0th output of orig_tx with a sequence lockCOMMENT
MEDIUMqa/rpc-tests/abandonconflict.py61 #Create a child tx spending AB1 and CCOMMENT
MEDIUMqa/rpc-tests/abandonconflict.py131 # Create a double spend of AB1 by spending again from only A's 10 outputCOMMENT
MEDIUMqa/rpc-tests/p2p-compactblocks.py454 # Create a chain of transactions from given utxo, and add to a new block.COMMENT
MEDIUMqa/rpc-tests/p2p-segwit.py247 # Create a transaction that spends the coinbaseCOMMENT
MEDIUMqa/rpc-tests/p2p-segwit.py303 # Create a p2sh output -- this is so we can pass the standardnessCOMMENT
MEDIUMqa/rpc-tests/p2p-segwit.py533 # Create a P2WSH transaction.COMMENT
MEDIUMqa/rpc-tests/p2p-segwit.py813 # Create a transaction that splits our utxo into many outputsCOMMENT
MEDIUMqa/rpc-tests/p2p-segwit.py1397 # Create a slight bias for producing more utxosCOMMENT
MEDIUMqa/rpc-tests/assumevalid.py101 # Create the first block with a coinbase output to our keyCOMMENT
MEDIUMqa/rpc-tests/assumevalid.py121 # Create a transaction spending the coinbase output with an invalid (null) signatureCOMMENT
MEDIUMqa/rpc-tests/mempool_reorg.py56 # Create a block-height-locked transaction which will be invalid after reorgCOMMENT
MEDIUMqa/rpc-tests/p2p-fullblocktest.py183 # Create a new blockCOMMENT
MEDIUMqa/rpc-tests/p2p-fullblocktest.py263 # Create a fork that ends in a block with too much fee (the one that causes the reorg)COMMENT
MEDIUMqa/rpc-tests/p2p-fullblocktest.py355 # Create a block on either side of MAX_BLOCK_BASE_SIZE and make sure its accepted/rejectedCOMMENT
MEDIUMqa/rpc-tests/p2p-fullblocktest.py513 # Create a transaction that spends one satoshi to the p2sh_script, the rest to OP_TRUECOMMENT
MEDIUMqa/rpc-tests/segwit.py259 # Create a 3-tx chain: tx1 (non-segwit input, paying to a segwit output) ->COMMENT
MEDIUMqa/rpc-tests/wallet.py91 # Create a couple of transactions to send them to node2, submit them throughCOMMENT
MEDIUMqa/rpc-tests/wallet.py153 # Create a couple of transactions, then start up a fourthCOMMENT
MEDIUMqa/rpc-tests/test_framework/util.py272 # Create a 120-block-long chain; each of the 4 first nodesCOMMENT
MEDIUMqa/rpc-tests/test_framework/util.py442 # Create an extra change output to break up big inputsCOMMENT
MEDIUMqa/rpc-tests/test_framework/util.py459 # Create a send-to-self with confirmed inputs:COMMENT
MEDIUMqa/rpc-tests/test_framework/util.py681# Create a spend of each passed-in utxo, splicing in "txouts" to each rawCOMMENT
MEDIUMqa/rpc-tests/test_framework/key.py5# This file is modified from python-bitcoinlib.COMMENT
MEDIUMqa/rpc-tests/test_framework/blocktools.py11# Create a block (with regtest difficulty)COMMENT
MEDIUMqa/rpc-tests/test_framework/blocktools.py66# Create a coinbase transaction, assuming no miner fees.COMMENT
MEDIUMqa/rpc-tests/test_framework/blocktools.py85# Create a transaction.COMMENT
MEDIUMqa/rpc-tests/test_framework/mininode.py1611# This class provides an interface for a p2p connection to a specified nodeCOMMENT
MEDIUMqa/rpc-tests/test_framework/bignum.py5# This file is copied from python-bitcoinlib.COMMENT
MEDIUMqa/rpc-tests/test_framework/script.py10# This file is modified from python-bitcoinlib.COMMENT
MEDIUMqa/rpc-tests/test_framework/comptool.py178 # Create a p2p connection to each nodeCOMMENT
MEDIUMcontrib/devtools/gen-manpages.sh17# Create a footer file with copyright content.COMMENT
MEDIUMcontrib/devtools/clang-format-diff.py7# This file is distributed under the University of Illinois Open SourceCOMMENT
MEDIUMcontrib/gitian-descriptors/gitian-win.yml117 # Create the release tarball using (arbitrarily) the first hostCOMMENT
MEDIUMcontrib/gitian-descriptors/gitian-linux.yml142 # Create the release tarball using (arbitrarily) the first hostCOMMENT
MEDIUMcontrib/gitian-descriptors/gitian-osx.yml110 # Create the release tarball using (arbitrarily) the first hostCOMMENT
Hyper-Verbose Identifiers84 hits · 81 pts
SeverityFileLineSnippetContext
LOWqa/pull-tester/rpc-tests.py367 def _get_uncovered_rpc_commands(self):CODE
LOWqa/rpc-tests/replace-by-fee.py292 def test_replacement_feeperkb(self):CODE
LOWqa/rpc-tests/replace-by-fee.py316 def test_spends_of_conflicting_outputs(self):CODE
LOWqa/rpc-tests/replace-by-fee.py364 def test_new_unconfirmed_inputs(self):CODE
LOWqa/rpc-tests/replace-by-fee.py387 def test_too_many_replacements(self):CODE
LOWqa/rpc-tests/replace-by-fee.py523 def test_prioritised_transactions(self):CODE
LOWqa/rpc-tests/decodescript.py56 def decodescript_script_pub_key(self):CODE
LOWqa/rpc-tests/decodescript.py113 def decoderawtransaction_asm_sighashtype(self):CODE
LOWqa/rpc-tests/bumpfee.py79def test_simple_bumpfee_succeeds(rbf_node, peer_node, dest_address):CODE
LOWqa/rpc-tests/bumpfee.py100def test_segwit_bumpfee_succeeds(rbf_node, dest_address):CODE
LOWqa/rpc-tests/bumpfee.py131def test_nonrbf_bumpfee_fails(peer_node, dest_address):CODE
LOWqa/rpc-tests/bumpfee.py137def test_notmine_bumpfee_fails(rbf_node, peer_node, dest_address):CODE
LOWqa/rpc-tests/bumpfee.py158def test_bumpfee_with_descendant_fails(rbf_node, rbf_node_address, dest_address):CODE
LOWqa/rpc-tests/bumpfee.py221def test_rebumping_not_replaceable(rbf_node, dest_address):CODE
LOWqa/rpc-tests/bumpfee.py229def test_unconfirmed_not_spendable(rbf_node, rbf_node_address):CODE
LOWqa/rpc-tests/bumpfee.py281def test_dogecoin_wallet_minchange(rbf_node, dest_address):CODE
LOWqa/rpc-tests/getmocktime.py20def wait_until_mocktime_change(node, time, timeout):CODE
LOWqa/rpc-tests/setmaxconnections.py80 def test_rpc_argument_validation(self):CODE
LOWqa/rpc-tests/setmaxconnections.py113 def wait_for_n_disconnections(self, nodes, count, timeout):CODE
LOWqa/rpc-tests/setmaxconnections.py120 def test_node_connection_changes(self, extras):CODE
LOWqa/rpc-tests/import-rescan.py232 def test_rescan_from_height_importpubkey(self):CODE
LOWqa/rpc-tests/import-rescan.py263 def test_rescan_from_height_importaddress(self):CODE
LOWqa/rpc-tests/bip68-sequence.py120 def test_sequence_lock_confirmed_inputs(self):CODE
LOWqa/rpc-tests/bip68-sequence.py214 def test_sequence_lock_unconfirmed_inputs(self):CODE
LOWqa/rpc-tests/p2p-versionbits-warning.py97 def test_versionbits_in_alert_file(self):CODE
LOWqa/rpc-tests/pruning.py154 def create_chain_with_staleblocks(self):CODE
LOWqa/rpc-tests/p2p-compactblocks.py78 def received_block_announcement(self):CODE
LOWqa/rpc-tests/p2p-compactblocks.py108 def wait_for_block_announcement(self, block_hash, timeout=30):CODE
LOWqa/rpc-tests/p2p-compactblocks.py191 def check_announcement_of_new_block(node, peer, predicate):CODE
LOWqa/rpc-tests/p2p-compactblocks.py270 def test_invalid_cmpctblock_message(self):CODE
LOWqa/rpc-tests/p2p-compactblocks.py285 def test_compactblock_construction(self, node, test_node, version, use_witness_address):CODE
LOWqa/rpc-tests/p2p-compactblocks.py354 def check_compactblock_construction_from_block(self, version, header_and_shortids, block_hash, block):CODE
LOWqa/rpc-tests/p2p-compactblocks.py405 def test_compactblock_requests(self, node, test_node, version, segwit):CODE
LOWqa/rpc-tests/p2p-compactblocks.py455 def build_block_with_transactions(self, node, utxo, num_transactions):CODE
LOWqa/rpc-tests/p2p-compactblocks.py473 def test_getblocktxn_requests(self, node, test_node, version):CODE
LOWqa/rpc-tests/p2p-compactblocks.py476 def test_getblocktxn_response(compact_block, peer, expected_result):CODE
LOWqa/rpc-tests/p2p-compactblocks.py556 def test_incorrect_blocktxn_response(self, node, test_node, version):CODE
LOWqa/rpc-tests/p2p-compactblocks.py661 def test_compactblocks_not_at_tip(self, node, test_node):CODE
LOWqa/rpc-tests/p2p-compactblocks.py722 def test_end_to_end_block_relay(self, node, listeners):CODE
LOWqa/rpc-tests/p2p-compactblocks.py743 def test_invalid_tx_in_compactblock(self, node, test_node, use_segwit):CODE
LOWqa/rpc-tests/p2p-compactblocks.py779 def test_compactblock_reconstruction_multiple_peers(self, node, stalling_peer, delivery_peer):CODE
LOWqa/rpc-tests/preciousblock.py18def unidirectional_node_sync_via_rpc(node_src, node_dest):CODE
LOWqa/rpc-tests/listtransactions.py129 def get_unconfirmed_utxo_entry(node, txid_to_match):CODE
LOWqa/rpc-tests/p2p-segwit.py111 def announce_tx_and_wait_for_getdata(self, tx, timeout=60):CODE
LOWqa/rpc-tests/p2p-segwit.py118 def announce_block_and_wait_for_getdata(self, block, use_header, timeout=60):CODE
LOWqa/rpc-tests/p2p-segwit.py150 def test_transaction_acceptance(self, tx, with_witness, accepted, reason=None):CODE
LOWqa/rpc-tests/p2p-segwit.py221 def update_witness_block_with_transactions(self, block, tx_list, nonce=0):CODE
LOWqa/rpc-tests/p2p-segwit.py235 def test_non_witness_transaction(self):CODE
LOWqa/rpc-tests/p2p-segwit.py266 def test_unnecessary_witness_before_segwit_activation(self):CODE
LOWqa/rpc-tests/p2p-segwit.py355 def advance_to_segwit_started(self):CODE
LOWqa/rpc-tests/p2p-segwit.py715 def test_max_witness_push_length(self):CODE
LOWqa/rpc-tests/p2p-segwit.py754 def test_max_witness_program_length(self):CODE
LOWqa/rpc-tests/p2p-segwit.py804 def test_witness_input_length(self):CODE
LOWqa/rpc-tests/p2p-segwit.py888 def test_witness_tx_relay_before_segwit_activation(self):CODE
LOWqa/rpc-tests/p2p-segwit.py940 def test_tx_relay_after_segwit_activation(self):CODE
LOWqa/rpc-tests/p2p-segwit.py1278 def test_premature_coinbase_witness_spend(self):CODE
LOWqa/rpc-tests/p2p-segwit.py1568 def test_upgrade_after_activation(self, node, node_id):CODE
LOWqa/rpc-tests/p2p-segwit.py1698 def test_getblocktemplate_before_lockin(self):CODE
LOWqa/rpc-tests/p2p-segwit.py1854 def test_non_standard_witness(self):CODE
LOWqa/rpc-tests/sendheaders.py199 def wait_for_block_announcement(self, block_hash, timeout=60):CODE
24 more matches not shown…
Empty Error Handlers9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHqa/rpc-tests/rpcbind_test.py99except JSONRPCException:CODE
HIGHqa/rpc-tests/bipdersig.py79except JSONRPCException:CODE
HIGHqa/rpc-tests/bip65-cltv.py79except JSONRPCException:CODE
HIGHqa/rpc-tests/walletnotify.py130except:CODE
HIGHqa/rpc-tests/p2p-segwit.py915except AssertionError as e:CODE
HIGHqa/rpc-tests/test_framework/mininode.py1696except:CODE
HIGHqa/rpc-tests/test_framework/mininode.py1710except:CODE
HIGHqa/rpc-tests/test_framework/authproxy.py88except AttributeError:CODE
HIGHqa/rpc-tests/test_framework/authproxy.py92except AttributeError:CODE
Deep Nesting29 hits · 28 pts
SeverityFileLineSnippetContext
LOWqa/pull-tester/rpc-tests.py217CODE
LOWqa/rpc-tests/bip68-112-113-p2p.py86CODE
LOWqa/rpc-tests/bip68-112-113-p2p.py151CODE
LOWqa/rpc-tests/bip68-112-113-p2p.py179CODE
LOWqa/rpc-tests/maxblocksinflight.py42CODE
LOWqa/rpc-tests/wallet-dump.py11CODE
LOWqa/rpc-tests/import-rescan.py38CODE
LOWqa/rpc-tests/bip68-sequence.py120CODE
LOWqa/rpc-tests/p2p-compactblocks.py613CODE
LOWqa/rpc-tests/getblock.py47CODE
LOWqa/rpc-tests/sendheaders.py262CODE
LOWqa/rpc-tests/test_framework/util.py231CODE
LOWqa/rpc-tests/test_framework/netutil.py114CODE
LOWqa/rpc-tests/test_framework/socks5.py60CODE
LOWqa/rpc-tests/test_framework/mininode.py1739CODE
LOWqa/rpc-tests/test_framework/ripemd160.py51CODE
LOWqa/rpc-tests/test_framework/script.py855CODE
LOWqa/rpc-tests/test_framework/script.py51CODE
LOWqa/rpc-tests/test_framework/script.py659CODE
LOWqa/rpc-tests/test_framework/script.py705CODE
LOWqa/rpc-tests/test_framework/script.py811CODE
LOWqa/rpc-tests/test_framework/comptool.py256CODE
LOWqa/rpc-tests/test_framework/comptool.py282CODE
LOWqa/rpc-tests/test_framework/comptool.py304CODE
LOWcontrib/testgen/gen_base58_test_vectors.py92CODE
LOWcontrib/seeds/generate-seeds.py45CODE
LOWcontrib/devtools/check-translations.py104CODE
LOWcontrib/devtools/github-merge.py89CODE
LOWshare/qt/extract_strings_qt.py18CODE
Excessive Try-Catch Wrapping14 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMqa/rpc-tests/p2p-segwit.py913 print("Error: duplicate tx getdata!")CODE
LOWqa/rpc-tests/test_framework/util.py541 except Exception as e:CODE
LOWqa/rpc-tests/test_framework/util.py570 except Exception as e:CODE
LOWqa/rpc-tests/test_framework/util.py578 except Exception as e:CODE
MEDIUMqa/rpc-tests/test_framework/util.py375def stop_node(node, i):CODE
MEDIUMqa/rpc-tests/test_framework/util.py575def assert_is_hex_string(string):CODE
LOWqa/rpc-tests/test_framework/socks5.py121 except Exception as e:CODE
LOWqa/rpc-tests/test_framework/mininode.py1778 except Exception as e:CODE
MEDIUMqa/rpc-tests/test_framework/mininode.py1700def handle_read(self):CODE
LOWqa/rpc-tests/test_framework/test_framework.py157 except Exception as e:CODE
LOWcontrib/devtools/github-merge.py61 except Exception as e:CODE
MEDIUMcontrib/devtools/github-merge.py227 print("Error signing, exiting.",file=stderr)STRING
LOWsrc/test/bctest.py71 except Exception as e:CODE
LOWsrc/test/bctest.py76 except Exception as e:CODE
AI Slop Vocabulary6 hits · 14 pts
SeverityFileLineSnippetContext
LOWqa/rpc-tests/prioritise_transaction.py138 # This is a less than 1000-byte transaction, so just set the feeCOMMENT
LOWqa/rpc-tests/p2p-compactblocks.py143 # Doesn't matter which node we use, just use node0.COMMENT
LOWqa/rpc-tests/test_framework/mininode.py513 # Don't cache the result, just return itCOMMENT
MEDIUMqa/rpc-tests/test_framework/comptool.py146# just added to the block_store. This is to facilitate block deliveryCOMMENT
MEDIUMsrc/protocol.h280 // unauthenticated advertisements, so your code must be robust againstCOMMENT
MEDIUMsrc/test/base58_tests.cpp244// Goal: check that base58 parsing code is robust against a variety of corrupted dataCOMMENT
Cross-Language Confusion1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHqa/rpc-tests/assumevalid.py121 # Create a transaction spending the coinbase output with an invalid (null) signatureCOMMENT
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWqa/rpc-tests/feelimit.py56 # Check if the TX made it to node 2COMMENT
LOWqa/rpc-tests/sendheaders.py271 # Set nServices to 0 for test_node, so no block download will occur outside ofCOMMENT
LOWqa/rpc-tests/txn_clone.py36 # Assign coins to foo and bar accounts:COMMENT
LOWqa/rpc-tests/txn_doublespend.py36 # Assign coins to foo and bar accounts:COMMENT
Decorative Section Separators2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMcontrib/devtools/clang-format-diff.py10# ============================================================COMMENT
MEDIUMcontrib/devtools/clang-format-diff.py53# ============================================================COMMENT
Structural Annotation Overuse2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcontrib/linearize/README.md5## Step 1: Download hash listCOMMENT
LOWcontrib/linearize/README.md25## Step 2: Copy local block dataCOMMENT
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/secp256k1/include/secp256k1_preallocated.h29 * The purpose of this function is to determine how much memory must be providedCOMMENT
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWqa/rpc-tests/test_framework/scrypt_auxpow.py78CODE