• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

testdata/22-Nov-2023-4332

Android.mkD22-Nov-20231.4 KiB4121

README.mdD22-Nov-2023668 1913

__init__.pyD22-Nov-20230 10

arc_summary.pyD22-Nov-20233.5 KiB9164

arc_summary_test.pyD22-Nov-20234.3 KiB12079

block_summary.pyD22-Nov-20232.2 KiB6641

coverage_report.pyD22-Nov-20233.7 KiB10172

coverage_report_test.pyD22-Nov-20232.2 KiB6437

coverage_utils.pyD22-Nov-202332.2 KiB772631

file_summary.pyD22-Nov-20231.4 KiB4320

function_summary.pyD22-Nov-20233.5 KiB10370

function_summary_test.pyD22-Nov-20233.3 KiB9360

gcda_parser.pyD22-Nov-20236.1 KiB193136

gcda_parser_test.pyD22-Nov-20235.6 KiB145107

gcno_parser.pyD22-Nov-20238 KiB243176

gcno_parser_test.pyD22-Nov-20238.9 KiB220169

parser.pyD22-Nov-20233.6 KiB11777

parser_test.pyD22-Nov-20237.6 KiB217160

sancov_parser.pyD22-Nov-20233.1 KiB10670

sancov_parser_test.pyD22-Nov-20233.6 KiB10371

sancov_utils.pyD22-Nov-202314.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