AI Slop Code RIsk Monitor

freenet/freenet-core

Declare your digital independence

9.9 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for freenet/freenet-core, a Rust project with 3,106 GitHub stars. SynthScan examined 733,428 lines of code across 805 source files, recording 7299 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 9.9 (Moderate 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.

9.9
Adjusted Signal
9.9
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
3.1K
Stars
Rust
Language
733.4K
Lines of Code
805
Files
7.3K
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 32.1/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 9.9/100 · LOW

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

PR Review Velocity Impact 44.1/100 · MEDIUM

Which changes need focused human review? 7299 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 603LOW 6692

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 7299 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 Block6258 hits · 4690 pts
SeverityFileLineSnippetContext
LOWCargo.toml121# WASMCOMMENT
LOWCargo.toml181wry = { version = "0.57", default-features = false, features = ["os-webview"] }COMMENT
LOWCargo.toml201# - `OutboundDelegateMsg::UnsubscribeContractRequest` — a delegate asking toCOMMENT
LOWCargo.toml221# first making `origin_contract` attestable.COMMENT
LOWCargo.toml241# (fdev, riverctl, River UI, the test harness) explicitly pins native.COMMENT
LOWCargo.toml261# (`secrets_dir/node_kek`, 0o600) or systemd credentialsCOMMENT
LOWCargo.toml281# codegen-units = 1COMMENT
LOWdeny.toml1# cargo-deny configuration for freenet-core.COMMENT
LOW.config/nextest.toml1[profile.ci]COMMENT
LOW.config/nextest.toml41# Ping integration tests have internal timeouts of 360-600s with sequentialCOMMENT
LOW.config/nextest.toml61COMMENT
LOW.config/nextest.toml81# exactly the flake-laundering the repo's flaky-tests rule forbids. It also bootsCOMMENT
LOW.config/nextest.toml101# wait out the rollback machinery's own 60s commit window, which is a hard-codedCOMMENT
LOWcrates/replay-harness/tests/scenarios_pin.rs1//! Pin every scenario against every controller. Adding a newCOMMENT
LOWcrates/replay-harness/tests/scenarios_pin.rs21use replay_harness::{Controller, RateDecision, Replayer};COMMENT
LOWcrates/replay-harness/tests/scenarios_pin.rs41 // reference path (which says "do NOT fire") is exactly the signalCOMMENT
LOWcrates/replay-harness/src/rolling.rs1//! Per-peer rolling RTT statistics with a baseline window and a recent window.COMMENT
LOWcrates/replay-harness/src/rolling.rs21COMMENT
LOWcrates/replay-harness/src/lib.rs1//! Offline replay harness for shadow-RTT controllers.COMMENT
LOWcrates/replay-harness/src/scenarios.rs1//! Synthetic scenarios — programmatic RTT-sample streams that pin specificCOMMENT
LOWcrates/replay-harness/src/replayer.rs201///COMMENT
LOWcrates/replay-harness/src/main.rs21COMMENT
LOWcrates/replay-harness/src/scenarios/churning_peers.rs1//! `churning_peers` — peers join and leave every 30 s; RTTs stay healthy.COMMENT
LOW…rness/src/scenarios/reference_diverges_from_overlay.rs1//! `reference_diverges_from_overlay` — overlay inflates, reference stays flat.COMMENT
LOW…tes/replay-harness/src/scenarios/single_packet_loss.rs1//! `single_packet_loss` — one peer's RTT spikes transiently, then returns.COMMENT
LOW…play-harness/src/scenarios/reference_tracks_overlay.rs1//! `reference_tracks_overlay` — overlay and reference inflate together.COMMENT
LOW…tes/replay-harness/src/scenarios/slow_routing_drift.rs1//! `slow_routing_drift` — the baseline genuinely drifts upward over 30 min.COMMENT
LOW…ates/replay-harness/src/scenarios/idle_steady_state.rs1//! `idle_steady_state` — 5 peers, each anchored by a fast t=0 sample,COMMENT
LOW…s/replay-harness/src/scenarios/correlated_inflation.rs1//! `correlated_inflation` — every peer's RTT rises together.COMMENT
LOWcrates/replay-harness/src/scenarios/cold_start.rs1//! `cold_start` — brand-new peers on a slow path, no baseline history.COMMENT
LOWcrates/replay-harness/src/controllers/rfc_draft.rs1//! `RfcDraft` — the algorithm sketched in [#4074][issue].COMMENT
LOWcrates/replay-harness/src/controllers/ledbat.rs1//! `LedbatPlusPlus` — a stripped-down LEDBAT++ to reproduce the death spiral.COMMENT
LOWcrates/replay-harness/src/controllers/ledbat.rs21//! runs slow-start, and has a richer gain schedule. We keep only what is neededCOMMENT
LOWcrates/core/Cargo.toml141tracing-subscriber = { workspace = true, features = ["json"], optional = true }COMMENT
LOWcrates/core/Cargo.toml201muda = { workspace = true }COMMENT
LOWcrates/core/Cargo.toml321# These lints move runtime failure classes to compile-time errors.COMMENT
LOWcrates/core/Cargo.toml341# same statement. If the discarded value is `#[must_use]` AND `Copy` (e.g. aCOMMENT
LOWcrates/core/build.rs141 .output()COMMENT
LOWcrates/core/build.rs181 // reproducible-builds convention and nixpkgs' stdenv exports it, so honourCOMMENT
LOWcrates/core/proptest-regressions/router.txt1# Seeds for failure cases proptest has generated in the past. It isCOMMENT
LOWcrates/core/proptest-regressions/transport/ledbat.txt1# Seeds for failure cases proptest has generated in the past. It isCOMMENT
LOWcrates/core/tests/origin_attestation_scope.rs1//! Live end-to-end verification of the connection-scope gate on attestedCOMMENT
LOWcrates/core/tests/origin_attestation_scope.rs21//! Exercised with a real TCP forwarder listening off-loopback and dialingCOMMENT
LOWcrates/core/tests/origin_attestation_scope.rs81COMMENT
LOWcrates/core/tests/host_clock_warning_ci_coverage.rs1//! Recurrence guard: the host-clock deprecation warning stays under test in CI.COMMENT
LOWcrates/core/tests/post_update_probation_commit.rs1//! End-to-end guard for the post-update probation lifecycle (#5232, #4073).COMMENT
LOWcrates/core/tests/post_update_probation_commit.rs21//! (`#[freenet_test]`, `SimNetwork`) can reach it either.COMMENT
LOWcrates/core/tests/post_update_probation_commit.rs41//! three stops landing inside the window, before anything could commit. (WhatCOMMENT
LOWcrates/core/tests/post_update_probation_commit.rs61COMMENT
LOWcrates/core/tests/post_update_probation_commit.rs81const COMMIT_HEALTHY_UPTIME_SECS: u64 = 60;COMMENT
LOWcrates/core/tests/post_update_probation_commit.rs101/// Deliberately not the leading "post-update probation passed" phrase: theCOMMENT
LOWcrates/core/tests/post_update_probation_commit.rs181COMMENT
LOWcrates/core/tests/post_update_probation_commit.rs381COMMENT
LOWcrates/core/tests/post_update_probation_commit.rs401/// Deliberately narrow: any other early exit (a rejected flag, an unparseableCOMMENT
LOWcrates/core/tests/post_update_probation_commit.rs541 );COMMENT
LOWcrates/core/tests/post_update_probation_commit.rs601COMMENT
LOWcrates/core/tests/hosted_mode_import.rs1//! Live end-to-end integration test for the secrets IMPORT endpointCOMMENT
LOWcrates/core/tests/graceful_shutdown_exit_code.rs1//! A graceful shutdown must make the `freenet` PROCESS exit 0 (#5227).COMMENT
LOWcrates/core/tests/graceful_shutdown_exit_code.rs21//!COMMENT
LOWcrates/core/tests/graceful_shutdown_exit_code.rs41#![cfg(unix)]COMMENT
6198 more matches not shown…
Decorative Section Separators494 hits · 1527 pts
SeverityFileLineSnippetContext
MEDIUMcrates/core/Cargo.toml318# ==============================================================================COMMENT
MEDIUMcrates/core/Cargo.toml323# ==============================================================================COMMENT
MEDIUMcrates/core/tests/simulation_integration.rs9401 // ── absent ──────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/tests/simulation_integration.rs9464 // ── evidence ────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/tests/simulation_integration.rs11718 // ── Phase 1: Convergence (30 virtual minutes, no faults) ──────────────────COMMENT
MEDIUMcrates/core/tests/simulation_integration.rs11764 // ── Phase 2: Fault injection (5 virtual minutes, 20% message loss) ────────COMMENT
MEDIUMcrates/core/tests/simulation_integration.rs11810 // ── Phase 3: Recovery (25 virtual minutes, faults cleared) ────────────────COMMENT
MEDIUMcrates/core/src/message.rs1210// ── Compile-time invariant checks ──────────────────────────────────────COMMENT
MEDIUMcrates/core/src/router.rs10044 // ── Per-peer dashboard data (peer page) ─────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs8644 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs8651 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs8965 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs8978 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs9101 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs9105 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs9159 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs9163 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs9291 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs9299 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs9381 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs9387 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs10628 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs10633 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs11044 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs11052 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs11127 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/node.rs11146 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/contract/fair_queue.rs1377 // ── Priority tiering (#4534) ──────────────────────────────────────────COMMENT
MEDIUMcrates/core/src/contract/fair_queue.rs1377 // ── Priority tiering (#4534) ──────────────────────────────────────────COMMENT
MEDIUM⚡crates/core/src/contract/delegate_park.rs76//! ├─ handle_contract_event ─────────► dispatch_delegate_request ─┐COMMENT
MEDIUM⚡crates/core/src/contract/delegate_park.rs77//! ├─ handle_delegate_notification ────────────────────────────────┤COMMENT
MEDIUM⚡crates/core/src/contract/delegate_park.rs78//! └─ handle_delegate_resume ──┬───────────────────────────────────┤COMMENT
MEDIUM⚡crates/core/src/contract/delegate_park.rs79//! ├─► dispatch_delegate_request ──────┤COMMENT
MEDIUM⚡crates/core/src/contract/delegate_park.rs80//! └─► run_queued_notification ────────┘COMMENT
MEDIUM⚡crates/core/src/contract/delegate_park.rs82//! handle_delegate_with_contract_requests ◄─────┘COMMENT
MEDIUMcrates/core/src/contract/executor.rs3164 // ── is_wasm_timeout predicate (#4861) ─────────────────────────────COMMENT
MEDIUMcrates/core/src/contract/executor.rs3164 // ── is_wasm_timeout predicate (#4861) ─────────────────────────────COMMENT
MEDIUMcrates/core/src/contract/executor.rs3618 // ── ContractQueueFull predicate (issue #4251) ─────────────────────COMMENT
MEDIUMcrates/core/src/contract/executor.rs3618 // ── ContractQueueFull predicate (issue #4251) ─────────────────────COMMENT
MEDIUM⚡crates/core/src/transport/ledbat/state.rs40/// ┌─────────────┐COMMENT
MEDIUM⚡crates/core/src/transport/ledbat/state.rs41/// │ SlowStart │─────────────────────────────────────────────────┐COMMENT
MEDIUM⚡crates/core/src/transport/ledbat/state.rs42/// └──────┬──────┘ │COMMENT
MEDIUM⚡crates/core/src/transport/ledbat/state.rs45/// ┌────────────────────────┐ (first time only) │COMMENT
MEDIUM⚡crates/core/src/transport/ledbat/state.rs46/// │ WaitingForSlowdown │◄─────────────────────┐ │COMMENT
MEDIUM⚡crates/core/src/transport/ledbat/state.rs47/// └──────────┬─────────────┘ │ │COMMENT
MEDIUM⚡crates/core/src/transport/ledbat/state.rs50/// ┌──────────────┐◄───────────────────────────────│───────────────│───┐COMMENT
MEDIUM⚡crates/core/src/transport/ledbat/state.rs52/// └──────┬───────┘ transitions on next ACK) │ │ │COMMENT
MEDIUM⚡crates/core/src/transport/ledbat/state.rs55/// ┌──────────┐ │ │ │COMMENT
MEDIUM⚡crates/core/src/transport/ledbat/state.rs57/// └────┬─────┘ │ │ │COMMENT
MEDIUM⚡crates/core/src/transport/ledbat/state.rs60/// ┌────────────┐ │ │ │COMMENT
MEDIUM⚡crates/core/src/transport/ledbat/state.rs62/// └─────┬──────┘ │ │ │COMMENT
MEDIUM⚡crates/core/src/transport/ledbat/state.rs65/// ┌──────────────────────┐ │ │ │COMMENT
MEDIUM⚡crates/core/src/transport/ledbat/state.rs66/// │ CongestionAvoidance │────────────────────────┴───────────────┘ │COMMENT
MEDIUM⚡crates/core/src/transport/ledbat/state.rs67/// └──────────┬───────────┘◄───────────────────────────────────────────┘COMMENT
MEDIUM⚡crates/core/src/transport/ledbat/state.rs69/// └────────────────────────────────────────────────────────┘COMMENT
MEDIUM⚡crates/core/src/transport/bbr/state.rs16/// ┌────────────────┐COMMENT
MEDIUM⚡crates/core/src/transport/bbr/state.rs19/// └───────┬────────┘COMMENT
MEDIUM⚡crates/core/src/transport/bbr/state.rs22/// ┌────────────────┐COMMENT
MEDIUM⚡crates/core/src/transport/bbr/state.rs25/// └───────┬────────┘COMMENT
MEDIUM⚡crates/core/src/transport/bbr/state.rs28/// ┌────────────────┐COMMENT
434 more matches not shown…
AI Slop Vocabulary104 hits · 322 pts
SeverityFileLineSnippetContext
MEDIUMCargo.toml241# (fdev, riverctl, River UI, the test harness) explicitly pins native.COMMENT
MEDIUM.config/nextest.toml83# needs more headroom than the 240s default; without this the harness SIGKILLs itCOMMENT
MEDIUM…tes/replay-harness/src/scenarios/single_packet_loss.rs20//! (a robust controller ignores a single-connection transient); LEDBAT'sCOMMENT
MEDIUM…es/replay-harness/src/scenarios/single_peer_outlier.rs5//! median across peers to be robust against this case. A sane controllerCOMMENT
MEDIUMcrates/core/Cargo.toml280# Manual throughput benchmarks (test harness, no criterion, ~3 sec)COMMENT
MEDIUMcrates/core/tests/simulation_integration.rs562 /// for robust coverage. Fails if any operation type has zero occurrences.COMMENT
MEDIUMcrates/core/tests/simulation_integration.rs3781/// ## Fan-out width vs. the harness bootstrap ceiling (why N=8/16, not 40-80)COMMENT
MEDIUMcrates/core/tests/simulation_integration.rs3836/// `notification_channel_pending` per the letter of #4233, the harness wouldCOMMENT
MEDIUMcrates/core/tests/simulation_integration.rs8263 // Asserting > 6 (bootstrap floor + at least one probe per node) is robustCOMMENT
MEDIUMcrates/core/tests/simulation_integration.rs14174// using the merged #4657 sim-harness: `enable_hosting_time_control` (aCOMMENT
MEDIUMcrates/core/tests/simulation_integration.rs14654// copies made greedy single-path routing robust because a copy was almostCOMMENT
MEDIUMcrates/core/tests/simulation_integration.rs17300#[ignore = "heavy larger-ring validation (6 × 48-peer sim runs); harness-limited, run manually: \COMMENT
MEDIUMcrates/core/tests/simulation_integration.rs17675 // the mesh — robust participation so all N are real co-host targets.COMMENT
MEDIUMcrates/core/tests/simulation_integration.rs9011 7, // max_connections — 7 ensures robust GET routing across topology variationsCODE
MEDIUMcrates/core/src/message.rs612 /// it is deliberately left unpinned: the R4b instrument is robust either wayCOMMENT
MEDIUMcrates/core/src/test_utils.rs1543 /// OFF by default (#4968), so the harness must opt in explicitly for theseCOMMENT
MEDIUMcrates/core/src/governance.rs14//! producing log-space cost/benefit ratios, compute a robust thresholdCOMMENT
MEDIUMcrates/core/src/governance.rs63/// statistical guidance), 5% top-trim (robust-statistics convention).COMMENT
MEDIUMcrates/core/src/deadlock_detection.rs189 /// caller's own cycle by thread id, so it is robust to any other deadlockCOMMENT
MEDIUM⚡crates/core/src/node.rs605 // the `#[freenet_test]` harness, and that all of them get a temp dataCOMMENT
MEDIUM⚡crates/core/src/node.rs614 // - an explicit `tempfile` data dir — the `#[freenet_test]` harnessCOMMENT
MEDIUM⚡crates/core/src/node.rs620 // also the `#[freenet_test]` harness.COMMENT
MEDIUMcrates/core/src/contract.rs6688 /// scan over our own source is more robust than runtime-subscriberCOMMENT
MEDIUMcrates/core/src/contract.rs9206 // PutResponse, not a specific Ok/Err, so the test is robust to theCOMMENT
MEDIUMcrates/core/src/operations.rs1340 // This is robust against renaming/moving the next function.COMMENT
LOWcrates/core/src/tracing/tracer.rs877/// ## Why not just call [`set_logger`] hereCOMMENT
MEDIUMcrates/core/src/contract/storages/redb.rs1172 // This is more robust than string matching on error messagesCOMMENT
MEDIUMcrates/core/src/contract/executor/runtime.rs1518 /// `.claude/rules/bug-prevention-patterns.md` (cheaper and more robustCOMMENT
MEDIUMcrates/core/src/transport/shadow_iface_tx.rs250/// the window mean per-second rate under its original name; `*_p50` (robustCOMMENT
MEDIUMcrates/core/src/transport/shadow_demand.rs193/// stay robust against other tests touching these monotonic statics.COMMENT
MEDIUMcrates/core/src/transport/shadow_demand.rs382/// distribution — `p50` is a more robust central-tendency signal than `mean`COMMENT
MEDIUMcrates/core/src/transport/shadow_demand.rs489/// the class ever pushed in a second), `*_p50` (robust central tendency for aCOMMENT
MEDIUMcrates/core/src/transport/shadow_demand.rs611 // Delta-based so this is robust to other tests touching the sameCOMMENT
MEDIUMcrates/core/src/transport/peer_connection.rs3272 /// upper bound well below the payload size — both robust underCOMMENT
MEDIUMcrates/core/src/transport/shadow_stats.rs20//! is a more robust central-tendency signal than `mean` for the bursty,COMMENT
MEDIUMcrates/core/src/transport/reference_ping.rs749 // robust test is to monkey-patch... we don't have that.COMMENT
MEDIUMcrates/core/src/transport/rolling_rtt_stats.rs12//! "current" RTT estimate, robust to a few outlier samples.COMMENT
MEDIUMcrates/core/src/transport/rolling_rtt_stats.rs167 // "median RTT over last 10 s" wording and is robust to aCOMMENT
MEDIUMcrates/core/src/transport/ledbat/controller.rs3447 /// - Very high RTT: GAIN should be 1.0 (aggressive to utilize bandwidth)COMMENT
MEDIUMcrates/core/src/transport/bbr/controller.rs671 // During Startup, ensure cwnd is large enough to utilize the minimum pacing rate.COMMENT
MEDIUMcrates/core/src/bin/commands/service/linux.rs448# fallback; this makes the intent explicit and robust.COMMENT
MEDIUMcrates/core/src/bin/commands/service/linux.rs1008 /// comment containing a bracketed name is ignored), so this is robust toCOMMENT
MEDIUMcrates/core/src/server/client_api.rs1799 /// the `#[freenet_test]` harness setting `webapp_cache_dir` (pinned inCOMMENT
MEDIUMcrates/core/src/server/home_page/estimator.rs502 // reading the peer page gives (robust to the heavy tails of latency andCOMMENT
MEDIUMcrates/core/src/operations/route_attempt.rs799 #[allow(clippy::large_enum_variant)] // test harness; one value per attemptCOMMENT
MEDIUMcrates/core/src/operations/update/op_ctx_task.rs5126 // (fmt-robust: match the field identifier, which survivesCOMMENT
MEDIUMcrates/core/src/operations/subscribe/tests.rs195 // brace-counted approach is the most robust against helperCOMMENT
MEDIUMcrates/core/src/client_events/user_op_rate_limit.rs181 // "Essentially full" AND holding at least one whole token. Within oneCOMMENT
MEDIUMcrates/core/src/ring/interest.rs1282 // Bytes differ. Trust the contract's semantic verdict when present (robustCOMMENT
MEDIUMcrates/core/src/ring/contract_ban_list.rs1204 // keeps this gate-ordering check robust against legitimateCOMMENT
MEDIUMcrates/core/src/wasm_runtime/engine/wasmtime_engine.rs207/// # Why this is robust against the runtime flavor (issue #4441 fix-up)COMMENT
MEDIUMcrates/core/src/wasm_runtime/engine/wasmtime_engine.rs207/// # Why this is robust against the runtime flavor (issue #4441 fix-up)COMMENT
MEDIUMcrates/core/src/node/op_state_manager.rs4852 // — disconnect cleanup must remain robust when the event loopCOMMENT
MEDIUMcrates/core/src/node/op_state_manager.rs5125 // remain robust during shutdown races.COMMENT
MEDIUMcrates/core/src/node/network_bridge/p2p_protoc.rs5942 /// robust and unambiguous.COMMENT
MEDIUMcrates/core/src/router/hierarchical.rs161//! - the #5655 synthetic bake-off condition holds VACUOUSLY. That harnessCOMMENT
MEDIUMcrates/core/src/router/hierarchical.rs394/// Note where the leverage actually is, because an earlier version of thisCOMMENT
MEDIUMcrates/core/src/router/golden_replay.rs32//! #5702, the harness reproduces the `d9fa29522` files exactly, and onCOMMENT
MEDIUMcrates/core/src/router/hierarchical/tests.rs2530 // exact float distance is not a robust way to find an event.COMMENT
MEDIUMcrates/core/src/router/hierarchical/tests.rs3170 // an exact float distance is not a robust way to find an event.COMMENT
44 more matches not shown…
Structural Annotation Overuse177 hits · 293 pts
SeverityFileLineSnippetContext
LOW⚡crates/core/tests/simulation_integration.rs2185 // Step 1: Gateway puts contract with initial state and subscribesCOMMENT
LOW⚡crates/core/tests/simulation_integration.rs2194 // Step 2: Node 1 subscribes - will receive full state from gatewayCOMMENT
LOW⚡crates/core/tests/simulation_integration.rs2199 // Step 3: Node 2 subscribes - will receive full state from gatewayCOMMENT
LOW⚡crates/core/tests/simulation_integration.rs2204 // Step 4: Node 3 subscribes - will receive full state from gatewayCOMMENT
LOW⚡crates/core/tests/simulation_integration.rs2209 // Step 5: Gateway updates - broadcasts to all subscribersCOMMENT
LOW⚡crates/core/tests/simulation_integration.rs2219 // Step 6: Node 1 updates - broadcasts to subscribersCOMMENT
LOW⚡crates/core/tests/simulation_integration.rs2227 // Step 7: Node 2 updates - broadcasts to subscribersCOMMENT
LOW⚡crates/core/tests/simulation_integration.rs3150 // Step 1: Gateway puts contract with v1COMMENT
LOW⚡crates/core/tests/simulation_integration.rs3159 // Step 2: Node 1 subscribes - receives v1COMMENT
LOW⚡crates/core/tests/simulation_integration.rs3164 // Step 3: Node 1 updates to v5 - creates version divergenceCOMMENT
LOW⚡crates/core/tests/simulation_integration.rs3172 // Step 4: Node 2 subscribesCOMMENT
LOW⚡crates/core/tests/simulation_integration.rs3177 // Step 5: Gateway updates to v10 - broadcasts to subscribersCOMMENT
LOW⚡crates/core/tests/operations.rs2405 // Step 1: pre-register a token → contract-id in the node's attested_contracts map.COMMENT
LOW⚡crates/core/tests/operations.rs2412 // Step 2: compile / load the delegate WASMCOMMENT
LOW⚡crates/core/tests/operations.rs2417 // Step 3: connect via WebSocket carrying the Bearer token.COMMENT
LOWcrates/core/tests/operations.rs2429 // Step 4: register the delegateCOMMENT
LOWcrates/core/tests/operations.rs2452 // Step 5: send an ApplicationMessage that causes the delegate to echo backCOMMENT
LOWcrates/core/tests/operations.rs2468 // Step 6: verify the delegate received the correct attested bytesCOMMENT
LOWcrates/core/tests/operations.rs2964 // Step 1: Peer-a puts the contract with initial stateCOMMENT
LOWcrates/core/tests/operations.rs2995 // Step 2: Gateway gets the contract (this caches it on gateway)COMMENT
LOWcrates/core/tests/operations.rs3026 // Step 3: Peer-a updates the contract with new stateCOMMENT
LOWcrates/core/tests/operations.rs3078 // Step 4: Verify gateway received the update by polling GETCOMMENT
LOWcrates/core/tests/operations.rs3217 // Step 1: PUT with subscribe=false (like River room creation)COMMENT
LOWcrates/core/tests/operations.rs3245 // Step 2: IMMEDIATELY Subscribe (don't wait for propagation to gateway)COMMENT
LOWcrates/core/tests/operations.rs3473 // Step 1: Peer-a puts the contract with initial stateCOMMENT
LOWcrates/core/tests/operations.rs3504 // Step 2: Gateway gets the contract (this caches it on gateway)COMMENT
LOWcrates/core/tests/operations.rs3535 // Step 3: Gateway subscribes to the contractCOMMENT
LOWcrates/core/tests/operations.rs3568 // Step 4: Peer-a PUTs an updated version of the contractCOMMENT
LOWcrates/core/tests/operations.rs3620 // Step 5: Gateway should receive an UPDATE notification because it's subscribedCOMMENT
LOWcrates/core/tests/operations.rs3806 // Step 1: Register the delegateCOMMENT
LOWcrates/core/tests/operations.rs3830 // Step 2: PUT contract via delegateCOMMENT
LOWcrates/core/tests/operations.rs3897 // Step 3: Verify contract state via direct GETCOMMENT
LOWcrates/core/tests/operations.rs3925 // Step 4: UPDATE contract via delegate (add a task)COMMENT
LOWcrates/core/tests/operations.rs3998 // Step 5: Verify updated state via direct GETCOMMENT
LOWcrates/core/tests/operations.rs4066 // Step 1: PUT contract directly so state exists in the storeCOMMENT
LOWcrates/core/tests/operations.rs4090 // Step 2: Register delegateCOMMENT
LOWcrates/core/tests/operations.rs4114 // Step 3: GET contract via delegateCOMMENT
LOW⚡crates/core/benches/transport/level0.rs249 // Step 1: SerializeCOMMENT
LOW⚡crates/core/benches/transport/level0.rs253 // Step 2: Encrypt in placeCOMMENT
LOW⚡crates/core/src/governance.rs228 // Step 3: median of trimmed sample.COMMENT
LOW⚡crates/core/src/governance.rs231 // Step 4: MAD — median of |x − median|. Compute deviations, sort,COMMENT
LOW⚡crates/core/src/governance.rs252 // Step 5: threshold = median + k × (σ-scaled MAD), clamped atCOMMENT
LOW⚡crates/core/src/governance.rs262 // Step 6: flag everyone whose ratio strictly exceeds the threshold.COMMENT
LOWcrates/core/src/governance.rs172 // Step 1: extract ratios, dropping any non-finite valuesCOMMENT
LOWcrates/core/src/governance.rs201 // Step 2: trim the top tail BEFORE computing the statistic so theCOMMENT
LOWcrates/core/src/topology.rs403 // Step 1: Collect dataCOMMENT
LOWcrates/core/src/topology.rs428 // Step 2: Process dataCOMMENT
LOWcrates/core/src/contract/governance.rs2038 // Step 1: build a distribution with one Borderline contract.COMMENT
LOWcrates/core/src/contract/governance.rs2061 // Step 2: force the MAD detector to collapseCOMMENT
LOW⚡…contract/executor/pool_tests/wasm_conformance_tests.rs318 // Step 1: Summarize on bothCOMMENT
LOW⚡…contract/executor/pool_tests/wasm_conformance_tests.rs325 // Step 2: Get delta from summary on bothCOMMENT
LOW⚡…contract/executor/pool_tests/wasm_conformance_tests.rs332 // Step 3: Apply delta as update on bothCOMMENT
LOW⚡crates/core/src/transport/connection_handler.rs4378 // Step 2: Simulate peer disconnect by dropping the connectionCOMMENT
LOW⚡crates/core/src/transport/connection_handler.rs4387 // Step 3: Create a new peer at a DIFFERENT port (simulating restart with new ephemeral port)COMMENT
LOW⚡crates/core/src/transport/connection_handler.rs4686 // Step 2: Simulate gateway restart by dropping Gateway ACOMMENT
LOW⚡crates/core/src/transport/connection_handler.rs4694 // Step 3: Create Gateway B with NEW identity (Y) at the SAME addressCOMMENT
LOW⚡crates/core/src/transport/connection_handler.rs4813 // Step 2: Simulate peer restart by dropping everything related to peer ACOMMENT
LOW⚡crates/core/src/transport/connection_handler.rs4822 // Step 3: Create peer B with NEW identity (Y) at the SAME addressCOMMENT
LOWcrates/core/src/transport/connection_handler.rs4410 // Step 4: Peer B connects to gateway - this should work on first attemptCOMMENT
LOWcrates/core/src/transport/connection_handler.rs4495 // Step 1: Peer A connects to gatewayCOMMENT
117 more matches not shown…
Verbosity Indicators171 hits · 285 pts
SeverityFileLineSnippetContext
LOW⚡crates/core/tests/simulation_integration.rs2185 // Step 1: Gateway puts contract with initial state and subscribesCOMMENT
LOW⚡crates/core/tests/simulation_integration.rs2194 // Step 2: Node 1 subscribes - will receive full state from gatewayCOMMENT
LOW⚡crates/core/tests/simulation_integration.rs2199 // Step 3: Node 2 subscribes - will receive full state from gatewayCOMMENT
LOW⚡crates/core/tests/simulation_integration.rs2204 // Step 4: Node 3 subscribes - will receive full state from gatewayCOMMENT
LOW⚡crates/core/tests/simulation_integration.rs2209 // Step 5: Gateway updates - broadcasts to all subscribersCOMMENT
LOW⚡crates/core/tests/simulation_integration.rs2219 // Step 6: Node 1 updates - broadcasts to subscribersCOMMENT
LOW⚡crates/core/tests/simulation_integration.rs2227 // Step 7: Node 2 updates - broadcasts to subscribersCOMMENT
LOW⚡crates/core/tests/simulation_integration.rs3150 // Step 1: Gateway puts contract with v1COMMENT
LOW⚡crates/core/tests/simulation_integration.rs3159 // Step 2: Node 1 subscribes - receives v1COMMENT
LOW⚡crates/core/tests/simulation_integration.rs3164 // Step 3: Node 1 updates to v5 - creates version divergenceCOMMENT
LOW⚡crates/core/tests/simulation_integration.rs3172 // Step 4: Node 2 subscribesCOMMENT
LOW⚡crates/core/tests/simulation_integration.rs3177 // Step 5: Gateway updates to v10 - broadcasts to subscribersCOMMENT
LOW⚡crates/core/tests/operations.rs2405 // Step 1: pre-register a token → contract-id in the node's attested_contracts map.COMMENT
LOW⚡crates/core/tests/operations.rs2412 // Step 2: compile / load the delegate WASMCOMMENT
LOW⚡crates/core/tests/operations.rs2417 // Step 3: connect via WebSocket carrying the Bearer token.COMMENT
LOWcrates/core/tests/operations.rs2429 // Step 4: register the delegateCOMMENT
LOWcrates/core/tests/operations.rs2452 // Step 5: send an ApplicationMessage that causes the delegate to echo backCOMMENT
LOWcrates/core/tests/operations.rs2468 // Step 6: verify the delegate received the correct attested bytesCOMMENT
LOWcrates/core/tests/operations.rs2964 // Step 1: Peer-a puts the contract with initial stateCOMMENT
LOWcrates/core/tests/operations.rs2995 // Step 2: Gateway gets the contract (this caches it on gateway)COMMENT
LOWcrates/core/tests/operations.rs3026 // Step 3: Peer-a updates the contract with new stateCOMMENT
LOWcrates/core/tests/operations.rs3078 // Step 4: Verify gateway received the update by polling GETCOMMENT
LOWcrates/core/tests/operations.rs3217 // Step 1: PUT with subscribe=false (like River room creation)COMMENT
LOWcrates/core/tests/operations.rs3245 // Step 2: IMMEDIATELY Subscribe (don't wait for propagation to gateway)COMMENT
LOWcrates/core/tests/operations.rs3473 // Step 1: Peer-a puts the contract with initial stateCOMMENT
LOWcrates/core/tests/operations.rs3504 // Step 2: Gateway gets the contract (this caches it on gateway)COMMENT
LOWcrates/core/tests/operations.rs3535 // Step 3: Gateway subscribes to the contractCOMMENT
LOWcrates/core/tests/operations.rs3568 // Step 4: Peer-a PUTs an updated version of the contractCOMMENT
LOWcrates/core/tests/operations.rs3620 // Step 5: Gateway should receive an UPDATE notification because it's subscribedCOMMENT
LOWcrates/core/tests/operations.rs3806 // Step 1: Register the delegateCOMMENT
LOWcrates/core/tests/operations.rs3830 // Step 2: PUT contract via delegateCOMMENT
LOWcrates/core/tests/operations.rs3897 // Step 3: Verify contract state via direct GETCOMMENT
LOWcrates/core/tests/operations.rs3925 // Step 4: UPDATE contract via delegate (add a task)COMMENT
LOWcrates/core/tests/operations.rs3998 // Step 5: Verify updated state via direct GETCOMMENT
LOWcrates/core/tests/operations.rs4066 // Step 1: PUT contract directly so state exists in the storeCOMMENT
LOWcrates/core/tests/operations.rs4090 // Step 2: Register delegateCOMMENT
LOWcrates/core/tests/operations.rs4114 // Step 3: GET contract via delegateCOMMENT
LOW⚡crates/core/benches/transport/level0.rs249 // Step 1: SerializeCOMMENT
LOW⚡crates/core/benches/transport/level0.rs253 // Step 2: Encrypt in placeCOMMENT
LOW⚡crates/core/src/governance.rs228 // Step 3: median of trimmed sample.COMMENT
LOW⚡crates/core/src/governance.rs231 // Step 4: MAD — median of |x − median|. Compute deviations, sort,COMMENT
LOW⚡crates/core/src/governance.rs252 // Step 5: threshold = median + k × (σ-scaled MAD), clamped atCOMMENT
LOW⚡crates/core/src/governance.rs262 // Step 6: flag everyone whose ratio strictly exceeds the threshold.COMMENT
LOWcrates/core/src/governance.rs172 // Step 1: extract ratios, dropping any non-finite valuesCOMMENT
LOWcrates/core/src/governance.rs201 // Step 2: trim the top tail BEFORE computing the statistic so theCOMMENT
LOWcrates/core/src/topology.rs403 // Step 1: Collect dataCOMMENT
LOWcrates/core/src/topology.rs428 // Step 2: Process dataCOMMENT
LOWcrates/core/src/contract/governance.rs2038 // Step 1: build a distribution with one Borderline contract.COMMENT
LOWcrates/core/src/contract/governance.rs2061 // Step 2: force the MAD detector to collapseCOMMENT
LOW⚡…contract/executor/pool_tests/wasm_conformance_tests.rs318 // Step 1: Summarize on bothCOMMENT
LOW⚡…contract/executor/pool_tests/wasm_conformance_tests.rs325 // Step 2: Get delta from summary on bothCOMMENT
LOW⚡…contract/executor/pool_tests/wasm_conformance_tests.rs332 // Step 3: Apply delta as update on bothCOMMENT
LOW⚡crates/core/src/transport/connection_handler.rs4378 // Step 2: Simulate peer disconnect by dropping the connectionCOMMENT
LOW⚡crates/core/src/transport/connection_handler.rs4387 // Step 3: Create a new peer at a DIFFERENT port (simulating restart with new ephemeral port)COMMENT
LOW⚡crates/core/src/transport/connection_handler.rs4686 // Step 2: Simulate gateway restart by dropping Gateway ACOMMENT
LOW⚡crates/core/src/transport/connection_handler.rs4694 // Step 3: Create Gateway B with NEW identity (Y) at the SAME addressCOMMENT
LOW⚡crates/core/src/transport/connection_handler.rs4813 // Step 2: Simulate peer restart by dropping everything related to peer ACOMMENT
LOW⚡crates/core/src/transport/connection_handler.rs4822 // Step 3: Create peer B with NEW identity (Y) at the SAME addressCOMMENT
LOWcrates/core/src/transport/connection_handler.rs4410 // Step 4: Peer B connects to gateway - this should work on first attemptCOMMENT
LOWcrates/core/src/transport/connection_handler.rs4495 // Step 1: Peer A connects to gatewayCOMMENT
111 more matches not shown…
Redundant / Tautological Comments40 hits · 57 pts
SeverityFileLineSnippetContext
LOW…es/core/src/contract/executor/runtime/executor_impl.rs2537 /// # Return valueCOMMENT
LOWcrates/core/src/bin/commands/service/macos.rs389 # Check if this looks like a port-already-in-use failure.COMMENT
LOWdocker/freenet-gateway/freenet-gateway-startup.sh5# Check if required environment variables are setCOMMENT
LOWdocker/freenet-gateway/generate-keypair.sh9# Check if the keypair already existsCOMMENT
LOWscripts/run_benchmarks.sh70 # Check if running in VMCOMMENT
LOWscripts/run_benchmarks.sh89 # Check if at maxCOMMENT
LOWscripts/pre-commit-clippy.sh50 # Check if this package is in the workspace or standaloneCOMMENT
LOWscripts/install.sh141# Check if a command existsCOMMENT
LOWscripts/install.sh224# Check if directory is in PATHCOMMENT
LOWscripts/install.sh807 # Check if freenet is already installed and runningCOMMENT
LOWscripts/install.sh809 # Check if freenet is runningCOMMENT
LOWscripts/validate-worktree.sh10# Check if we're in the main worktree directoryCOMMENT
LOWscripts/init-gateway.sh5# Check if required parameters are providedCOMMENT
LOWscripts/update-remote-gws.sh261 # Check if timeout command existsCOMMENT
LOWscripts/release.sh350# Check if a step is completedCOMMENT
LOWscripts/release.sh596 # Check if we're on main branchCOMMENT
LOWscripts/release.sh611 # Check if we're up to date with originCOMMENT
LOWscripts/release.sh621 # Check if main branch CI is green (required before skipping tests on release PR)COMMENT
LOWscripts/release.sh716 # Check if version is already updated in Cargo.tomlCOMMENT
LOWscripts/release.sh822 # Check if a release PR for this version already exists or was mergedCOMMENT
LOWscripts/release.sh864 # Check if there are any changes to commitCOMMENT
LOWscripts/release.sh869 # Check if we're already on mainCOMMENT
LOWscripts/release.sh1190 # Check if freenet is already publishedCOMMENT
LOWscripts/release.sh1207 # Check if fdev is already publishedCOMMENT
LOWscripts/release.sh1244 # Check if release already existsCOMMENT
LOWscripts/release.sh1258 # Check if tag already existsCOMMENT
LOWscripts/release.sh1266 # Check if tag exists on remoteCOMMENT
LOWscripts/release.sh1529 # Check if all required binaries are already availableCOMMENT
LOWscripts/release.sh1696 # Check if matrix-commander is availableCOMMENT
LOWscripts/release.sh1740 # Check if river repo is available (we use cargo run, not installed binary)COMMENT
LOWscripts/release.sh1747 # Check if Freenet node is running (required for riverctl)COMMENT
LOWscripts/release.sh1760 # Check if we have the room in local storage with signing keyCOMMENT
LOWscripts/deploy-to-gateways.sh197 # Check if artifact is older than 12 hoursCOMMENT
LOWscripts/deploy-to-gateways.sh282 # Check if binary existsCOMMENT
LOWscripts/deploy-to-gateways.sh420 # Check if all succeededCOMMENT
LOWscripts/deploy-local-gateway.sh111# Check if running with sufficient privilegesCOMMENT
LOWscripts/deploy-local-gateway.sh263 # Check if unit file exists by querying systemctl directlyCOMMENT
LOWscripts/deploy-local-gateway.sh311 # Check if unit file exists by querying systemctl directly.COMMENT
LOW.github/scripts/check_banned_patterns.py664 # Read file content from HEAD (not working tree) so the analysis reflectsCOMMENT
LOW.github/scripts/pt_sync.py34 # Check if there is already a comment containing a Pivotal Tracker story URLCOMMENT
Cross-Language Confusion4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHscripts/park_mutation_campaign.py482 " unresolved_contract_ops.push((id, kind, context));\n"CODE
HIGHscripts/park_mutation_campaign.py496 " None => unresolved_contract_ops.push((id, kind, context)),\n"CODE
HIGH.github/scripts/check_merge_group_concurrency.py86 f"github.event.merge_group.head_sha || github.run_id }}}}"CODE
HIGH.github/scripts/check_merge_group_concurrency.py126 group: claude-pr-review-${{ github.event.pull_request.number || github.event.merge_group.head_sha || github.run_id }}CODE
Fake / Example Data19 hits · 12 pts
SeverityFileLineSnippetContext
LOW…t/executor/pool_tests/non_idempotent_detector_tests.rs39fn fake_key() -> ContractKey {CODE
LOW…t/executor/pool_tests/non_idempotent_detector_tests.rs50 let key = fake_key();CODE
LOW…t/executor/pool_tests/non_idempotent_detector_tests.rs76 let key = fake_key();CODE
LOW…t/executor/pool_tests/non_idempotent_detector_tests.rs256 let key = fake_key();CODE
LOWcrates/core/src/operations/put/op_ctx_task.rs4848 fn dummy_key() -> ContractKey {CODE
LOWcrates/core/src/operations/put/op_ctx_task.rs5673 let key = dummy_key();CODE
LOWcrates/core/src/operations/put/op_ctx_task.rs5685 let key = dummy_key();CODE
LOWcrates/core/src/operations/put/op_ctx_task.rs5710 let key = dummy_key();CODE
LOWcrates/core/src/operations/put/op_ctx_task.rs5816 let key = dummy_key();CODE
LOWcrates/core/src/operations/get/op_ctx_task.rs5056 fn dummy_key() -> ContractKey {CODE
LOWcrates/core/src/operations/get/op_ctx_task.rs5233 let key = dummy_key();CODE
LOWcrates/core/src/operations/get/op_ctx_task.rs5264 let key = dummy_key();CODE
LOWcrates/core/src/operations/get/op_ctx_task.rs5296 let key = dummy_key();CODE
LOWcrates/core/src/operations/get/op_ctx_task.rs5309 let key = dummy_key();CODE
LOWcrates/core/src/operations/get/op_ctx_task.rs5327 let key = dummy_key();CODE
LOWcrates/core/src/operations/get/op_ctx_task.rs5354 let key = dummy_key();CODE
LOWcrates/core/src/operations/get/op_ctx_task.rs5375 let key = dummy_key();CODE
LOWcrates/core/src/operations/get/op_ctx_task.rs6840 let key = dummy_key();CODE
LOWscripts/release_rollback_test.sh122 echo "placeholder" > "$REPO/crates/fdev/README.md"CODE
Example Usage Blocks7 hits · 10 pts
SeverityFileLineSnippetContext
LOWdocker/test-runner/run.sh6# Usage:COMMENT
LOWscripts/run_benchmarks.sh4# Usage:COMMENT
LOWscripts/static-checks.sh6# Usage:COMMENT
LOWscripts/docker-test.sh4# Usage:COMMENT
LOWscripts/gateway-auto-update.sh14# Usage:COMMENT
LOWscripts/release-agent/install.sh8# Usage:COMMENT
LOWscripts/release-agent/verify-version-decision.sh78# Usage:COMMENT
Modern AI Meta-Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMcrates/core/src/governance.rs34//! ## Sanity guardrailsCOMMENT
MEDIUMcrates/core/src/governance.rs34//! ## Sanity guardrailsCOMMENT
MEDIUMdocs/design/contract-hardening.md109### Sanity guardrails (also principled)COMMENT
Hyper-Verbose Identifiers7 hits · 8 pts
SeverityFileLineSnippetContext
LOWcrates/core/src/server/path_handlers.rs8023 // this test. (The `function installNotifyClickListener() {` definitionCOMMENT
LOWcrates/core/src/server/path_handlers.rs8016 SHELL_BRIDGE_JS.contains("function installNotifyClickListener("),CODE
LOWcrates/core/src/server/errors.rs430 page.contains("function connectingRecoveryDecision("),CODE
LOW…s/core/src/server/path_handlers/assets/shell_bridge.js726 function installNotifyClickListener() {CODE
LOW…s/core/src/server/path_handlers/assets/shell_bridge.js747 function ensureNotifyServiceWorker() {CODE
LOWcrates/core/src/server/errors/assets/connecting.html85 function connectingRecoveryDecision(search, atTop, now) {CODE
LOW.github/scripts/check_blocking_sends.py147def strip_comments_and_strings(line: str) -> str:CODE
Deep Nesting6 hits · 6 pts
SeverityFileLineSnippetContext
LOWscripts/parse_bench_output.py97CODE
LOW.github/scripts/check_banned_patterns.py163CODE
LOW.github/scripts/check_banned_patterns.py269CODE
LOW.github/scripts/check_blocking_sends.py147CODE
LOW.github/scripts/check_blocking_sends.py197CODE
LOW.github/scripts/check_blocking_sends.py286CODE
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMscripts/update-remote-gws.sh172 # Create a truly random directory name using timestamp and random numberCOMMENT
MEDIUM.github/scripts/pt_sync.py54 # Create a new story in the Pivotal Tracker projectCOMMENT
Unused Imports4 hits · 4 pts
SeverityFileLineSnippetContext
LOW.github/scripts/check_required_check_path_filters.py62CODE
LOW.github/scripts/check_banned_patterns.py79CODE
LOW.github/scripts/check_blocking_sends.py62CODE
LOW.github/scripts/check_merge_group_concurrency.py33CODE
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcrates/core/tests/node_diagnostics_uptime.rs4//! `// TODO: implement actual uptime tracking`, so every `freenet serviceCOMMENT
LOWcrates/core/src/node/network_bridge/p2p_protoc.rs5862 /// #5223: the field was `uptime_seconds: 0, // TODO: implement actualCOMMENT
Excessive Try-Catch Wrapping1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMscripts/parse_bench_output.py330 print(f"Error: File '{input_file}' not found", file=sys.stderr)CODE