pub struct LcomMetricsBuilder { /* private fields */ }Expand description
LCOM formula choices over eligible structs in one immutable selection.
Implementations§
Source§impl LcomMetricsBuilder
impl LcomMetricsBuilder
Sourcepub fn export_as_html(
self,
output_path: impl AsRef<Path>,
) -> Result<PathBuf, ArchUnitError>
pub fn export_as_html( self, output_path: impl AsRef<Path>, ) -> Result<PathBuf, ArchUnitError>
Exports every LCOM metric with default presentation options.
Sourcepub fn export_as_html_with(
self,
output_path: impl AsRef<Path>,
options: &MetricsExportOptions,
) -> Result<PathBuf, ArchUnitError>
pub fn export_as_html_with( self, output_path: impl AsRef<Path>, options: &MetricsExportOptions, ) -> Result<PathBuf, ArchUnitError>
Exports every LCOM metric with explicit presentation options.
Sourcepub fn lcom96a(self) -> LcomMetricSelection
pub fn lcom96a(self) -> LcomMetricSelection
Selects normalized method/field distance under the LCOM96a name.
Sourcepub fn lcom96b(self) -> LcomMetricSelection
pub fn lcom96b(self) -> LcomMetricSelection
Selects the method/field density complement under the LCOM96b name.
Sourcepub fn lcom1(self) -> LcomMetricSelection
pub fn lcom1(self) -> LcomMetricSelection
Selects non-sharing minus sharing method pairs.
Sourcepub fn lcom2(self) -> LcomMetricSelection
pub fn lcom2(self) -> LcomMetricSelection
Selects the method/field density complement.
Sourcepub fn lcom3(self) -> LcomMetricSelection
pub fn lcom3(self) -> LcomMetricSelection
Selects normalized method/field distance.
Sourcepub fn lcom4(self) -> LcomMetricSelection
pub fn lcom4(self) -> LcomMetricSelection
Selects shared-field method graph connected components.
Sourcepub fn lcom5(self) -> LcomMetricSelection
pub fn lcom5(self) -> LcomMetricSelection
Selects normalized Henderson-Sellers method/field distance.
Sourcepub fn lcom_star(self) -> LcomMetricSelection
pub fn lcom_star(self) -> LcomMetricSelection
Selects normalized LCOM-star method/field distance.
Trait Implementations§
Source§impl Clone for LcomMetricsBuilder
impl Clone for LcomMetricsBuilder
Source§fn clone(&self) -> LcomMetricsBuilder
fn clone(&self) -> LcomMetricsBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LcomMetricsBuilder
impl RefUnwindSafe for LcomMetricsBuilder
impl Send for LcomMetricsBuilder
impl Sync for LcomMetricsBuilder
impl Unpin for LcomMetricsBuilder
impl UnwindSafe for LcomMetricsBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more