The namespace object represents a namespace or a package of the project.
Name:
To get the full namespace name.
SimpleName:
To get the namespace name.
NbLinesOfComment:
To get the number of lines of comment of the namespace
NbLinesOfCode:
To get the number of lines of code of the namespace
PercentageCoverage:
To get the coverage percent for this namespace
NbLinesOfCodeCovered:
To get the number of covered lines of code.
NbLinesOfCodeNotCovered:
To get the number of not covered lines of code.
Issues:
To get the namespace issues.
IsThirdParty:
Flag to check if the namespace is external.
Namespaces:
To get all the child namespaces.
Types:
To get all the types of the namespace.
Methods:
To get all the namespace methods.
TypesUsed:
To get all the used types.
TypesUsingMe:
To get all the types using the namespace.
NamespacesUsed:
To get all the used namespaces.
NamespacesUsingMe:
To get all the namespaces using this project.
MaintainabilityIndex:
To get the maintainability index metric.
Debt:
To get the technical debt of the namespace
DebtRank:
To get the debt rank of this namespace, it could be A,B,C,D or E.
DebtRatio:
To get the debt percent for this namespace
OlderVersion:
To get the baseline namespace object if the namespace is in the current snapshot.
NewerVersion:
To get the current snapshot namespace object if the namespace is in the baseline.
IsInBaseline:
Flag to check if this namespace is in baseline.
WasAdded:
Flag to check if this namespace was added.
WasRemoved:
Flag to check if this namespace was removed.
WasChanged:
Flag to check if this namespace was changed.
NewCodeWasAdded:
Flag to check that a new code element was added to the namespace.
AfferentCoupling:
To get the afferent coupling metric.
EfferentCoupling:
To get the efferent coupling metric.
NbNamespaces:
To get the number of child namespaces.
NbTypes:
To get the number of types.
NbMethods:
To get the number of methods.