pub struct LcomScore {
pub class_id: String,
pub lcom4: Option<usize>,
}Expand description
LCOM4 score for a single class.
Fields§
§class_id: StringClassNode::id() of the class this score belongs to.
lcom4: Option<usize>Number of connected components in the method graph.
None when the class has no methodConnectivity (syntax-only extraction)
or when its method set is empty (LCOM4 is undefined).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LcomScore
impl<'de> Deserialize<'de> for LcomScore
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LcomScore
impl RefUnwindSafe for LcomScore
impl Send for LcomScore
impl Sync for LcomScore
impl Unpin for LcomScore
impl UnsafeUnpin for LcomScore
impl UnwindSafe for LcomScore
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