public interface LanguageConstruct
Modifier and Type | Interface and Description |
---|---|
static class |
LanguageConstruct.Builtin
Language constructs that Clover supports for the languages it supports out-of-the-box.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
calcCoverageMsg(SourceInfo sourceRegion,
int trueBranchCount,
int falseBranchCount,
java.util.Locale locale)
Calculates the message to be shown for the construct given its location in source, its coverage count and the current locale
|
java.lang.String |
getId() |
java.lang.String getId()
java.lang.String calcCoverageMsg(SourceInfo sourceRegion, int trueBranchCount, int falseBranchCount, java.util.Locale locale)
sourceRegion
- the region in source where the construct occurredtrueBranchCount
- the coverage count for the true branch. If the construct is not a branch, the coverage is supplied herefalseBranchCount
- the coverage count for the false branch or 0 if the construct doesn't support false brancheslocale
- the locale for the message