Skip to main content

big_code_analysis/metrics/
mod.rs

1//! Per-metric implementations.
2//!
3//! Each submodule defines one maintainability metric, its per-language
4//! traits, and its `Stats` accumulator. See the crate-level docs for an
5//! overview of the metric suite.
6
7/// Assignment / Branch / Condition counts.
8pub mod abc;
9/// Cognitive complexity.
10pub mod cognitive;
11/// Cyclomatic complexity.
12pub mod cyclomatic;
13/// Exit-point counting.
14pub mod exit;
15/// Halstead suite (operators, operands, volume, difficulty, effort).
16pub mod halstead;
17/// Lines-of-code variants (SLOC, PLOC, LLOC, CLOC, blank).
18pub mod loc;
19/// Maintainability Index.
20pub mod mi;
21/// Number of arguments per function.
22pub mod nargs;
23/// Number of methods (functions + closures).
24pub mod nom;
25/// Number of public attributes.
26pub mod npa;
27/// Number of public methods.
28pub mod npm;
29/// Token count.
30pub mod tokens;
31/// Weighted Methods per Class.
32pub mod wmc;