Home | History | Annotate | Download | only in testing

Lines Matching defs:Coverage

5 // Support for test coverage.
15 // CoverBlock records the coverage data for a single basic block.
28 // Cover records information about test coverage checking.
38 // Coverage reports the current code coverage as a fraction in the range [0, 1].
39 // If coverage is not enabled, Coverage returns 0.
41 // When running a large set of sequential test cases, checking Coverage after each one
45 func Coverage() float64 {
61 // RegisterCover records the coverage data accumulators for the tests.
76 // coverReport reports the coverage percentage and writes a coverage profile if requested.
111 fmt.Printf("coverage: %.1f%% of statements%s\n", 100*float64(active)/float64(total), cover.CoveredPackages)