Scanyp Method Model

The method object represents the type method.

Available functions

Name:
 The method name which includes the parameters
SimpleName:
 
The method name without the parameters list 
FullName:
To get the method's full name.
NbLinesOfComment:
 To get the number of lines of comment of the application
NbLinesOfCode:       
To get the number of lines of code of the application 
PercentageCoverage:      
To get the coverage percent for this application 
NbLinesOfCodeCovered:       
To get the number of covered lines of code. 
NbLinesOfCodeNotCovered:        
To get the number of not covered lines of code.        
IsThirdParty:      
Flag to check if the type is in a third party project.  
IsPublic:       
Flag to check if this type is public. 
IsPrivate:      
Flag to check if this type is public. 
IsProtected:      
Flag to check if this type is protected.   
IsConstructor:       
Flag to check if the method is a constructor
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.
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.                
Application:    
To get the application project 
Debt:        
To get the technical debt of the namespace 
DebtRank:       
To get the debt rank of this namespace, it could A,B,C,D or E.
DebtRatio:        
To get the debt percent for this namespace
IsInBaseline:       
Flag to check if the namespace is in the baseline application.
Issues:       
To get the namespace issues. 
SourceFile:     
To get the method source file                      
IsStatic:    
Flag to check if a method is static
IsAbstract:    
Flag to check if a method is abstract        
IsPropertyGetter:    
Flag to check if a method is a property getter        
IsPropertySetter:    
Flag to check if a property setter               
NbOfOperands:       
To get the number of operands of the method.        
NbOfOperators:       
To get the number of operators of the method.        
NbOfUniqueOperands:       
To get the number of unique operands of the method.        
NbOfUniqueOperators:       
To get the number of unique operators of the method.        
Volume:               
To get the Halstead method volume metric.        
Bugs:
To get the Halstead method bugs metric.        
Vocabulary:
To get the Halstead method vocabulary metric.        
Effort:
To get the Halstead method effort metric.       
 
Length:
To get the Halstead method length metric.       
 
Difficulty:
To get the Halstead method difficulty metric.        
MaintainabilityIndex:
To get the maintainability index metric.        
CyclomaticComplexity:
To get the cyclomatic complexity metric.        
NbParameters:
To get the number of parameters of the method.        
NbVariables:
To get the number of variables of the method.        
ReturnType:        
To get the method return type.  
MethodsUsed:
To get the methods used by this method.        
MethodsUsingMe:  
  
To get the methods using me. 
AssignedFields:
 
To get assigned fields by this method        
ReadFields:
 
To get the fields read by this method.        
ParentProject:
To get the method project        
ParentNamespace:
To get the method namespace        
ParentType:
To get the method type    
AfferentCoupling:
To get the method afferent coupling metric
EfferentCoupling:
To get the efferent coupling metric