Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ fun <T> Iterable<T>.printMultiline(printer: (T) -> Any?) = "\n" + joinToString("
class GlobalStats {
val projectStats = mutableListOf<StatsForProject>()
var duration: Long? = null

override fun toString(): String = "\n<Global statistics> :" +
projectStats.joinToString(separator = "\n")
}

class StatsForProject(val project: String) {
Expand Down Expand Up @@ -72,7 +75,7 @@ class StatsForProject(val project: String) {
else this
}

override fun toString(): String = "\n<Global statistics> :" +
override fun toString(): String = "\n<StatsForProject($project)> :" +
"\n\t#classes for generation = $classesForGeneration" +
"\n\t#tc generated = $testCasesGenerated" +
"\n\t#classes without problems = $classesWithoutProblems" +
Expand Down Expand Up @@ -139,7 +142,7 @@ class StatsForClass(val project: String, val className: String) {
fun getConcolicCoverageInfo(): CoverageStatistic =
concolicCoverage.getCoverageInfo(testedClassNames)

override fun toString(): String = "\n<StatsForClass> :" +
override fun toString(): String = "\n<StatsForClass($className)> :" +
"\n\tcanceled by timeout = $canceledByTimeout" +
"\n\t#methods = $methodsCount, " +
"\n\t#methods started symbolic exploration = ${statsForMethods.size}" +
Expand Down