Skip to main content

Module coverage

Module coverage 

Source

Re-exportsยง

use super::test::ProjectPathsAwareFilter; ๐Ÿ”’
use super::test::TestArgs; ๐Ÿ”’
use super::test::TestExecutionOptions; ๐Ÿ”’
use super::watch::WatchArgs; ๐Ÿ”’
use crate::coverage::BytecodeReporter; ๐Ÿ”’
use crate::coverage::ContractId; ๐Ÿ”’
use crate::coverage::CoverageAttributionReporter; ๐Ÿ”’
use crate::coverage::CoverageReport; ๐Ÿ”’
use crate::coverage::CoverageReporter; ๐Ÿ”’
use crate::coverage::CoverageSummaryReporter; ๐Ÿ”’
use crate::coverage::DebugReporter; ๐Ÿ”’
use crate::coverage::GapsReporter; ๐Ÿ”’
use crate::coverage::ItemAnchors; ๐Ÿ”’
use crate::coverage::LcovReporter; ๐Ÿ”’
use crate::coverage::ResolvedHitMap; ๐Ÿ”’
use crate::coverage::ResolvedHitMaps; ๐Ÿ”’
use crate::coverage::analysis::SourceAnalysis; ๐Ÿ”’
use crate::coverage::analysis::SourceFiles; ๐Ÿ”’
use crate::coverage::anchors::find_anchors; ๐Ÿ”’
use crate::coverage::anchors::find_execution_anchors; ๐Ÿ”’
use alloy_json_abi::StateMutability; ๐Ÿ”’
use alloy_primitives::Address; ๐Ÿ”’
use alloy_primitives::B256; ๐Ÿ”’
use alloy_primitives::Bytes; ๐Ÿ”’
use alloy_primitives::U256; ๐Ÿ”’
use alloy_primitives::keccak256; ๐Ÿ”’
use alloy_primitives::map::HashMap; ๐Ÿ”’
use alloy_primitives::map::HashSet; ๐Ÿ”’
use clap::Parser; ๐Ÿ”’
use clap::ValueHint; ๐Ÿ”’
use eyre::Result; ๐Ÿ”’
use foundry_cli::utils::FoundryPathExt; ๐Ÿ”’
use foundry_cli::utils::LoadConfig; ๐Ÿ”’
use foundry_cli::utils::STATIC_FUZZ_SEED; ๐Ÿ”’
use foundry_common::ContractsByArtifactBuilder; ๐Ÿ”’
use foundry_common::TestFilter; ๐Ÿ”’
use foundry_common::compile::ProjectCompiler; ๐Ÿ”’
use foundry_common::errors::convert_solar_errors; ๐Ÿ”’
use foundry_common::version::SHORT_VERSION; ๐Ÿ”’
use foundry_compilers::Artifact; ๐Ÿ”’
use foundry_compilers::ArtifactId; ๐Ÿ”’
use foundry_compilers::Graph; ๐Ÿ”’
use foundry_compilers::Project; ๐Ÿ”’
use foundry_compilers::ProjectCompileOutput; ๐Ÿ”’
use foundry_compilers::ProjectPathsConfig; ๐Ÿ”’
use foundry_compilers::VYPER_EXTENSIONS; ๐Ÿ”’
use foundry_compilers::artifacts::CompactBytecode; ๐Ÿ”’
use foundry_compilers::artifacts::CompactDeployedBytecode; ๐Ÿ”’
use foundry_compilers::artifacts::Source; ๐Ÿ”’
use foundry_compilers::artifacts::sourcemap::SourceMap; ๐Ÿ”’
use foundry_compilers::cache::SOLIDITY_FILES_CACHE_FILENAME; ๐Ÿ”’
use foundry_compilers::compilers::Language; ๐Ÿ”’
use foundry_compilers::compilers::multi::MultiCompilerLanguage; ๐Ÿ”’
use foundry_compilers::compilers::multi::MultiCompilerParser; ๐Ÿ”’
use foundry_compilers::error::SolcError; ๐Ÿ”’
use foundry_compilers::utils::source_files_iter; ๐Ÿ”’
use foundry_config::Config; ๐Ÿ”’
use foundry_config::CoverageConfig; ๐Ÿ”’
use foundry_config::CoverageReportKind; ๐Ÿ”’
use foundry_config::InlineConfig; ๐Ÿ”’
use foundry_config::parse_lcov_version; ๐Ÿ”’
use foundry_evm::core::ic::IcPcMap; ๐Ÿ”’
use foundry_evm::opts::EvmOpts; ๐Ÿ”’
use globset::Glob; ๐Ÿ”’
use globset::GlobSetBuilder; ๐Ÿ”’
use semver::Version; ๐Ÿ”’
use std::collections::BTreeMap; ๐Ÿ”’
use std::collections::BTreeSet; ๐Ÿ”’
use std::fs; ๐Ÿ”’
use std::path::Path; ๐Ÿ”’
use std::path::PathBuf; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use rayon::prelude::*; ๐Ÿ”’

Structsยง

ArtifactData
BytecodeData
CoverageArgs
CLI arguments for forge coverage.

Functionsยง

dummy_link_bytecode ๐Ÿ”’
Helper function that will link references in unlinked bytecode to the 0 address.
dummy_link_deployed_bytecode ๐Ÿ”’
Helper function that will link references in unlinked bytecode to the 0 address.