Repository Analysis

FuelLabs/fuel-core

Rust full node implementation of the Fuel v2 protocol.

0.8 Likely human-written View on GitHub
0.8
Adjusted Score
0.8
Raw Score
100%
Time Factor
2026-05-29
Last Push
57,042
Stars
Rust
Language
215,085
Lines of Code
916
Files
142
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 1HIGH 0MEDIUM 7LOW 134

Pattern Findings

142 matches across 6 categories. Click a row to expand file-level details.

Over-Commented Block132 hits · 132 pts
SeverityFileLineSnippet
LOWMakefile.toml1# This file inherits defaults from
LOWci_checks.sh1#!/usr/bin/env bash
LOWcrates/database/src/lib.rs1//! The crate `fuel-core-storage` contains storage types, primitives, tables used by `fuel-core`.
LOWcrates/database/src/lib.rs21#[derive(Debug, derive_more::Display, derive_more::From)]
LOWcrates/types/src/lib.rs1//! The crate `fuel-core-types` contains plain rust common type used by `fuel-core` and related
LOWcrates/types/src/blockchain/header.rs421pub const LATEST_STATE_TRANSITION_VERSION: StateTransitionBytecodeVersion = 34;
LOWcrates/types/src/blockchain/header.rs481/// the hash of the [`ApplicationHeader`].
LOWcrates/types/src/blockchain/header.rs661 ///
LOWcrates/types/src/blockchain/block.rs61
LOWcrates/types/src/blockchain/block.rs81impl Block<Transaction> {
LOWcrates/types/src/blockchain/consensus.rs61#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
LOWcrates/types/src/blockchain/header/v1.rs21/// has been executed.
LOWcrates/types/src/blockchain/header/v2.rs41/// A fuel block header that has all the fields generated because it
LOWcrates/types/src/blockchain/header/v2.rs201
LOWcrates/types/src/services/preconfirmation.rs21
LOWcrates/types/src/services/p2p.rs61/// Status of a message received via Gossip
LOWcrates/types/src/services/executor.rs161pub enum ForcedTransactionFailure {
LOWcrates/types/src/services/executor.rs281/// The result of a dry run.
LOWcrates/types/src/services/executor.rs321 MintMismatch,
LOWcrates/types/src/entities/relayer/message.rs241/// Type containing merkle proof data.
LOWcrates/fuel-gas-price-algorithm/src/v1.rs101/// This projection will inevitably lead to error in the gas price calculation. Special care should be taken
LOWcrates/fuel-gas-price-algorithm/src/v1.rs121///
LOWcrates/fuel-gas-price-algorithm/src/v1.rs141 /// The height of the next L2 block
LOWcrates/fuel-gas-price-algorithm/src/v1.rs181/// The `L2ActivityTracker` tracks the chain activity to determine a safety mode for setting the DA price.
LOWcrates/fuel-gas-price-algorithm/src/v0.rs41
LOWcrates/provider/src/quorum.rs21 /// The quorum is reached when the majority of the providers have returned a
LOWcrates/storage/src/lib.rs1//! The crate `fuel-core-storage` contains storage types, primitives, tables used by `fuel-core`.
LOWcrates/storage/src/lib.rs61#[doc(hidden)]
LOWcrates/storage/src/lib.rs181}
LOWcrates/storage/src/column.rs41 /// See [`Transactions`](crate::tables::Transactions)
LOWcrates/storage/src/codec/manual.rs1//! The module contains the implementation of the `Manual` codec.
LOWcrates/storage/src/blueprint/sparse.rs61 /// Converts the key of the table into the primary key of the metadata table.
LOW…es/fuel-core/proptest-regressions/service/adapters.txt1# Seeds for failure cases proptest has generated in the past. It is
LOWcrates/fuel-core/src/lib.rs21pub use fuel_core_chain_config as chain_config;
LOWcrates/fuel-core/src/service.rs81 /// The transaction pool shared state.
LOWcrates/fuel-core/src/service.rs241
LOWcrates/fuel-core/src/service.rs621
LOWcrates/fuel-core/src/executor.rs401 },
LOWcrates/fuel-core/src/schema/balance.rs81 }
LOWcrates/fuel-core/src/schema/tx.rs341 });
LOWcrates/fuel-core/src/schema/tx.rs361 /// - The fee address index is out of bounds.
LOWcrates/fuel-core/src/schema/tx.rs681#[Subscription]
LOWcrates/fuel-core/src/schema/coins.rs261 })
LOWcrates/fuel-core/src/graphql_api/api_service.rs141 /// hyper request future to complete before the surrounding service
LOWcrates/fuel-core/src/graphql_api/storage.rs81 Statistic = 6,
LOW…fuel-core/src/service/adapters/consensus_module/poa.rs981 }
LOW…fuel-core/src/service/adapters/consensus_module/poa.rs1141 Ok(WriteBlockResult::FencingRejected)
LOW…fuel-core/src/service/adapters/consensus_module/poa.rs2661
LOW…fuel-core/src/service/adapters/consensus_module/poa.rs2681 // mpsc channel, returning as soon as `Written` quorum is reached.
LOW…fuel-core/src/service/adapters/consensus_module/poa.rs2761 );
LOWcrates/fuel-core/src/query/subscriptions/test.rs1// Allow `arc_with_non_send_sync` to enable use of `Arbitrary`
LOWcrates/fuel-core/src/query/subscriptions/test.rs161/// # Arguments
LOWcrates/syscall/src/lib.rs1//! The crate `fuel-core-syscall` contains the syscall handler and types for fuel-core.
LOWcrates/client/src/client.rs241// anyhow::Error is wrapped inside a custom Error type,
LOWcrates/client/src/client.rs881 /// The return transaction contains:
LOWcrates/client/src/reqwest_ext.rs61#[cfg(not(target_arch = "wasm32"))]
LOWcrates/client/src/reqwest_ext.rs81/// # director: Option<String>
LOWcrates/client/src/reqwest_ext.rs101/// .run_graphql(operation)
LOWcrates/client/src/client/schema/message.rs121#[cynic(schema_path = "./assets/schema.sdl")]
LOWcrates/client/src/client/schema/tx/transparent_tx.rs81/// The `Transaction` schema is a combination of all fields available in
72 more matches not shown…
Decorative Section Separators6 hits · 18 pts
SeverityFileLineSnippet
MEDIUMdocs/poa/interactive_scenarios.html209// ── Scenario Data ─────────────────────────────────────────────────
MEDIUMdocs/poa/interactive_scenarios.html734// ── State ─────────────────────────────────────────────────────────
MEDIUMdocs/poa/interactive_scenarios.html737// ── Init ──────────────────────────────────────────────────────────
MEDIUMdocs/poa/interactive_scenarios.html760// ── Rendering ─────────────────────────────────────────────────────
MEDIUMdocs/poa/interactive_scenarios.html871// ── SVG Overlay ───────────────────────────────────────────────────
MEDIUMdocs/poa/interactive_scenarios.html1013// ── Navigation ────────────────────────────────────────────────────
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippet
CRITICAL…-core/src/graphql_api/extensions/validation/visitor.rs600 .get(fragment.node.type_condition.node.on.node.as_str()),
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippet
MEDIUM.github/workflows/create_version.yml33 # Define the order of sections
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippet
LOWcrates/services/txpool_v2/src/storage/graph.rs637 // If the utxo_validation is active, we need to check if the utxo exists in the database and is valid
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippet
LOW.github/workflows/nightly-benchmark.yml82 # Check if PR already exists