Open vesk4000 opened 1 year ago
Closes #219.
Refactored a few methods in the CodeChecksResult class:
CodeChecksResult
getNumberOfPassedChecks()
getWeightedNumberOfPassedChecks()
getNumberOfPassedChecks(boolean includeWeight)
getUnweightedNumberOfPassedChecks()
getTotalNumberOfChecks()
getTotalWeightedNumberOfChecks()
getTotalNumberOfChecks(boolean includeWeight)
getTotalUnweightedNumberOfChecks()
Fixed the method calls, of course, and the behaviour is exactly the same. I wasn't sure if I should refactor getTotalNumberOfChecks, in addition to getNumberOfPassedChecks, but I did anyway, since it seemed sensible.
getTotalNumberOfChecks
getNumberOfPassedChecks
Closes #219.
Refactored a few methods in the
CodeChecksResult
class:getNumberOfPassedChecks()
is nowgetWeightedNumberOfPassedChecks()
;getNumberOfPassedChecks(boolean includeWeight)
;getUnweightedNumberOfPassedChecks()
;getTotalNumberOfChecks()
is nowgetTotalWeightedNumberOfChecks()
;getTotalNumberOfChecks(boolean includeWeight)
;getTotalUnweightedNumberOfChecks()
.Fixed the method calls, of course, and the behaviour is exactly the same. I wasn't sure if I should refactor
getTotalNumberOfChecks
, in addition togetNumberOfPassedChecks
, but I did anyway, since it seemed sensible.