Scanyp Project Model

The project object represents a project in the parsed application, an application could contains one or many projects.

Available functions

Name:     
To get the project name.     
NbLinesOfComment:
 
To get the number of lines of comment of the project.
NbLinesOfCode:
 
To get the number of lines of code of the project. 
PercentageCoverage:
 
To get the coverage percent for this project. 
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 project issues. 
IsThirdParty:
 
Flag to check if the project is external.
Namespaces:
 
To get all the project namespaces. 
Types:
 
To get all the types of the project.
Methods:
 
To get all the project methods.        
TypesUsed:
  
To get all the used types.  
TypesUsingMe:
  
To get all the types using the project.  
ProjectsUsed:
 
To get all the used projects. 
ProjectsUsingMe:
 
To get all the projects using this project.  
Abstractness:
 
To get the abstractness metric of this project.     
Instability:
 
To get the instability metric of this project.          
DistFromMainSeq:
 
To get the distance from the main sequence metric.                                
MaintainabilityIndex:
To get the maintainability index metric. 
Debt:
 
To get the technical debt of the project. 
DebtRank:
 
To get the debt rank of this project, it could be A,B,C,D or E.
DebtRatio:
 
To get the debt percent for this project 
OlderVersion:
 
To get the baseline project object if the project is in the current snapshot.       
NewerVersion:
 
To get the current snapshot project object if the project is in the baseline.      
IsInBaseline:
 
Flag to check if this project is in baseline.   
WasAdded:
 
Flag to check if this project was added.     
WasRemoved:
 
Flag to check if this project was removed.     
WasChanged:
 
Flag to check if this project was changed.       
NewCodeWasAdded:
 
Flag to check that a new code element was added to the project.
AfferentCoupling:
 
To get the afferent coupling metric.
EfferentCoupling:
 
To get the efferent coupling metric.
NbNamespaces:
 
To get the number of namespaces.
NbTypes:
 
To get the number of types.
NbMethods:
 
To get the number of methods.