1
0
Fork 0
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.
hmz007 6d24f2138b
Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56)
3 years ago
..
testdata Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Android.mk Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
README.md Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
__init__.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
arc_summary.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
arc_summary_test.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
block_summary.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
coverage_report.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
coverage_report_test.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
coverage_utils.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
file_summary.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
function_summary.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
function_summary_test.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
gcda_parser.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
gcda_parser_test.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
gcno_parser.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
gcno_parser_test.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
parser.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
parser_test.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
sancov_parser.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
sancov_parser_test.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
sancov_utils.py Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years 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'.