public interface StatisticsCalculator
| Modifier and Type | Method and Description |
|---|---|
void |
compute(@NotNull CoverageData coverageData)
Computes statistics.
|
void |
compute(@NotNull CoverageData before,
@NotNull CoverageData after)
Computes statistics with difference information between supplied coverage datas.
|
@NotNull CoverageStatistics |
getForClass(@NotNull ClassInfo classInfo)
Returns coverage statistics for single class
|
@NotNull CoverageStatistics |
getForClassWithInnerClasses(@NotNull ClassInfo classInfo)
Returns coverage statistics for class including inner classes (inner classes statistics added to the class statistics).
|
@NotNull CoverageStatistics |
getForModule(@Nullable java.lang.String module)
Returns coverage statistics for module (e.g.
|
@NotNull CoverageStatistics |
getForNamespace(@Nullable java.lang.String module,
java.lang.String namespace)
Returns coverage statistics for namespace (e.g.
|
@NotNull CoverageStatistics |
getOverallStats()
Returns total statistics for all classes.
|
void compute(@NotNull
@NotNull CoverageData coverageData)
coverageData - coverage datavoid compute(@NotNull
@NotNull CoverageData before,
@NotNull
@NotNull CoverageData after)
before - older coverageafter - newer coverage@NotNull @NotNull CoverageStatistics getForClass(@NotNull @NotNull ClassInfo classInfo)
classInfo - class@NotNull @NotNull CoverageStatistics getForClassWithInnerClasses(@NotNull @NotNull ClassInfo classInfo)
classInfo - class@NotNull @NotNull CoverageStatistics getForNamespace(@Nullable @Nullable java.lang.String module, java.lang.String namespace)
module - modulenamespace - namespace@NotNull @NotNull CoverageStatistics getForModule(@Nullable @Nullable java.lang.String module)
module - module name@NotNull @NotNull CoverageStatistics getOverallStats()