Skip to main contentModule coverage
Source 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; ๐ use foundry_compilers::artifacts::sourcemap::SourceMap; ๐ use foundry_compilers::buildinfo::SourceEdit; ๐ 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::ops::Range; ๐ use std::path::Path; ๐ use std::path::PathBuf; ๐ use std::sync::Arc; ๐ use rayon::prelude::*; ๐
- ArtifactData
- BytecodeData
- CoverageArgs
- CLI arguments for
forge coverage. - CoverageSettings ๐
- The coverage settings of a run: the CLI flags merged with the
[profile.<name>.coverage] config values by CoverageArgs::resolve.
- 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.
- original_range ๐
- Maps a byte range of an edited source back to the original source.
- to_original_source_map ๐
- Maps the ranges of a source map from the sources the compiler read back to the sources on
disk, which coverage items refer to.