• Home
Name Date Size #Lines LOC

..--

testdata/03-May-2024-4332

Android.mkD03-May-20241.5 KiB4323

README.mdD03-May-2024668 1913

__init__.pyD03-May-20240 10

arc_summary.pyD03-May-20243.5 KiB9164

arc_summary_test.pyD03-May-20244.3 KiB12079

block_summary.pyD03-May-20242.2 KiB6641

coverage_report.pyD03-May-20243.7 KiB10172

coverage_report_test.pyD03-May-20242.2 KiB6437

coverage_utils.pyD03-May-202432.2 KiB772631

file_summary.pyD03-May-20241.4 KiB4320

function_summary.pyD03-May-20243.5 KiB10370

function_summary_test.pyD03-May-20243.3 KiB9360

gcda_parser.pyD03-May-20246.1 KiB193136

gcda_parser_test.pyD03-May-20245.6 KiB145107

gcno_parser.pyD03-May-20248 KiB243176

gcno_parser_test.pyD03-May-20248.9 KiB220169

parser.pyD03-May-20243.6 KiB11777

parser_test.pyD03-May-20247.6 KiB217160

sancov_parser.pyD03-May-20243.1 KiB10670

sancov_parser_test.pyD03-May-20243.6 KiB10371

sancov_utils.pyD03-May-202414.5 KiB347289

README.md

1# To run from another Python module
2
3Import the CoverageReport module by including the line:
4
5   from vts.utils.python.coverage import CoverageReport
6
7Run 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
11Args:
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
17Returns:
18    the coverage HTML produced for 'src_file_name'.
19