Struct rust_code_analysis::mi::Stats
source · pub struct Stats { /* private fields */ }
Expand description
The Mi
metric.
Implementations§
source§impl Stats
impl Stats
sourcepub fn mi_original(&self) -> f64
pub fn mi_original(&self) -> f64
Returns the Mi
metric calculated using the original formula.
Its value can be negative.
sourcepub fn mi_sei(&self) -> f64
pub fn mi_sei(&self) -> f64
Returns the Mi
metric calculated using the derivative formula
employed by the Software Engineering Insitute (SEI).
Its value can be negative.
sourcepub fn mi_visual_studio(&self) -> f64
pub fn mi_visual_studio(&self) -> f64
Returns the Mi
metric calculated using the derivative formula
employed by Microsoft Visual Studio.