Package com.solibri.smc.api.checking
Interface Score
public interface Score
Score provides a metric to measure project coverage and checking coverage.
- Since:
- 9.12.6
- 
Method SummaryModifier and TypeMethodDescriptionintReturns the number of used rules at the time of score calculation.intReturns the number of components which failed the rule check at the time of the calculation.intReturns the number of components which passed the rule check at the time of the calculation.intReturns the coverage score of the project.intReturns the rule coverage score, which signify the extent of rule checks performed on the project.getTime()Returns the time when the score was calculated.intReturns the total number of components in the project at the time of the calculation.intReturns the number of rules which were not used at the time of score calculation.
- 
Method Details- 
getTimeInstant getTime()Returns the time when the score was calculated.- Returns:
- the time
- Since:
- 9.12.6
 
- 
getProjectCoverageScoreint getProjectCoverageScore()Returns the coverage score of the project.- Returns:
- the project coverage score
- Since:
- 9.12.6
 
- 
getTotalComponentsCountint getTotalComponentsCount()Returns the total number of components in the project at the time of the calculation.- Returns:
- the total number of components
- Since:
- 9.12.6
 
- 
getPassedComponentsCountint getPassedComponentsCount()Returns the number of components which passed the rule check at the time of the calculation.- Returns:
- the number of passed components
- Since:
- 9.12.6
 
- 
getFailedComponentsCountint getFailedComponentsCount()Returns the number of components which failed the rule check at the time of the calculation.- Returns:
- the number of failed components
- Since:
- 9.12.6
 
- 
getRuleCoverageScoreint getRuleCoverageScore()Returns the rule coverage score, which signify the extent of rule checks performed on the project.- Returns:
- the rule coverage score
- Since:
- 9.12.6
 
- 
getCheckedRuleCountint getCheckedRuleCount()Returns the number of used rules at the time of score calculation.It ignores all the new or custom rules, unless included in defined set of rules considered for score. Using the rule once is same as using it multiple times. - Returns:
- the number of checked rules
- Since:
- 9.12.6
 
- 
getUncheckedRuleCountint getUncheckedRuleCount()Returns the number of rules which were not used at the time of score calculation.It ignores all the new or custom rules, unless included in defined set of rules considered for score. Using the rule once is same as using it multiple times. - Returns:
- the number of unchecked rules
- Since:
- 9.12.6
 
 
-