Up to higher level directory | |||
Name | Date | Size | |
---|---|---|---|
__init__.py | 21-Aug-2018 | 0 | |
Android.mk | 21-Aug-2018 | 1.4K | |
arc_summary.py | 21-Aug-2018 | 3.5K | |
arc_summary_test.py | 21-Aug-2018 | 4.3K | |
block_summary.py | 21-Aug-2018 | 2.2K | |
coverage_report.py | 21-Aug-2018 | 3.7K | |
coverage_report_test.py | 21-Aug-2018 | 2.2K | |
coverage_utils.py | 21-Aug-2018 | 31.3K | |
file_summary.py | 21-Aug-2018 | 1.4K | |
function_summary.py | 21-Aug-2018 | 3.5K | |
function_summary_test.py | 21-Aug-2018 | 3.3K | |
gcda_parser.py | 21-Aug-2018 | 6.1K | |
gcda_parser_test.py | 21-Aug-2018 | 5.6K | |
gcno_parser.py | 21-Aug-2018 | 8K | |
gcno_parser_test.py | 21-Aug-2018 | 8.9K | |
parser.py | 21-Aug-2018 | 3.6K | |
parser_test.py | 21-Aug-2018 | 7.6K | |
README.md | 21-Aug-2018 | 668 | |
sancov_parser.py | 21-Aug-2018 | 3.1K | |
sancov_parser_test.py | 21-Aug-2018 | 3.5K | |
sancov_utils.py | 21-Aug-2018 | 14.4K | |
testdata/ | 21-Aug-2018 |
1 # To run from another Python module 2 3 Import the CoverageReport module by including the line: 4 5 from vts.utils.python.coverage import CoverageReport 6 7 Run the code by calling the parse function as follows: 8 html_report = CoverageReport.GenerateCoverageReport(src_file_name, src_file_content, gcov_file_content, 9 gcda_file_content) 10 11 Args: 12 src_file_name: string, the source file name. 13 src_file_content: string, the C/C++ source file content. 14 gcov_file_content: string, the raw gcov binary file content. 15 gcda_file_content: string, the raw gcda binary file content. 16 17 Returns: 18 the coverage HTML produced for 'src_file_name'. 19