Lines Matching full:coverage
14 """Module for determining coverage of fuzz targets."""
27 OSS_FUZZ_LATEST_COVERAGE_INFO_PATH = 'oss-fuzz-coverage/latest_report_info/'
32 """Exceptions for project coverage."""
36 """Gets coverage data for a project."""
45 target: The name of the fuzz target whose coverage is requested.
52 logging.info('No coverage available for %s', target)
57 logging.info('No files found in coverage report.')
79 """Get the coverage report for a specific fuzz target.
82 target: The name of the fuzz target whose coverage is requested.
85 The target's coverage json dict or None on failure.
91 """Gets coverage data for a project from OSS-Fuzz."""
100 raise CoverageError('Could not get latest coverage.')
103 """Get the coverage report for a specific fuzz target.
106 target: The name of the fuzz target whose coverage is requested.
109 The target's coverage json dict or None on failure.
119 """Gets and returns a dictionary containing the latest coverage report info
126 logging.error('Could not get the coverage report json from url: %s.',
133 """Gets latest coverage report info for a specific OSS-Fuzz project from
140 The projects coverage report info in json dict or None on failure.
148 logging.error('fuzzer_stats_dir not in latest coverage info.')
157 """Class that gets a project's coverage from the filesystem."""
164 """Get the coverage report for a specific fuzz target.
167 target: The name of the fuzz target whose coverage is requested.
170 The target's coverage json dict or None on failure.
172 logging.info('Getting coverage for %s from filesystem.', target)
194 """Returns the coverage per file within |target_cov|."""