You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker 7ee447c011
v811_spc009_project
4 months ago
..
testdata v811_spc009_project 4 months ago
Android.mk v811_spc009_project 4 months ago
README.md v811_spc009_project 4 months ago
__init__.py v811_spc009_project 4 months ago
arc_summary.py v811_spc009_project 4 months ago
arc_summary_test.py v811_spc009_project 4 months ago
block_summary.py v811_spc009_project 4 months ago
coverage_report.py v811_spc009_project 4 months ago
coverage_report_test.py v811_spc009_project 4 months ago
coverage_utils.py v811_spc009_project 4 months ago
file_summary.py v811_spc009_project 4 months ago
function_summary.py v811_spc009_project 4 months ago
function_summary_test.py v811_spc009_project 4 months ago
gcda_parser.py v811_spc009_project 4 months ago
gcda_parser_test.py v811_spc009_project 4 months ago
gcno_parser.py v811_spc009_project 4 months ago
gcno_parser_test.py v811_spc009_project 4 months ago
parser.py v811_spc009_project 4 months ago
parser_test.py v811_spc009_project 4 months ago
sancov_parser.py v811_spc009_project 4 months ago
sancov_parser_test.py v811_spc009_project 4 months ago
sancov_utils.py v811_spc009_project 4 months ago

README.md

To run from another Python module

Import the CoverageReport module by including the line:

from vts.utils.python.coverage import CoverageReport

Run the code by calling the parse function as follows: html_report = CoverageReport.GenerateCoverageReport(src_file_name, src_file_content, gcov_file_content, gcda_file_content)

Args: src_file_name: string, the source file name. src_file_content: string, the C/C++ source file content. gcov_file_content: string, the raw gcov binary file content. gcda_file_content: string, the raw gcda binary file content.

Returns: the coverage HTML produced for 'src_file_name'.