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

..--

testdata/23-Mar-2024-4332

Android.mkD23-Mar-20241.4 KiB4121

README.mdD23-Mar-2024668 1913

__init__.pyD23-Mar-20240 10

arc_summary.pyD23-Mar-20243.5 KiB9164

arc_summary_test.pyD23-Mar-20244.3 KiB12079

block_summary.pyD23-Mar-20242.2 KiB6641

coverage_report.pyD23-Mar-20243.7 KiB10172

coverage_report_test.pyD23-Mar-20242.2 KiB6437

coverage_utils.pyD23-Mar-202432.2 KiB772631

file_summary.pyD23-Mar-20241.4 KiB4320

function_summary.pyD23-Mar-20243.5 KiB10370

function_summary_test.pyD23-Mar-20243.3 KiB9360

gcda_parser.pyD23-Mar-20246.1 KiB193136

gcda_parser_test.pyD23-Mar-20245.6 KiB145107

gcno_parser.pyD23-Mar-20248 KiB243176

gcno_parser_test.pyD23-Mar-20248.9 KiB220169

parser.pyD23-Mar-20243.6 KiB11777

parser_test.pyD23-Mar-20247.6 KiB217160

sancov_parser.pyD23-Mar-20243.1 KiB10670

sancov_parser_test.pyD23-Mar-20243.6 KiB10371

sancov_utils.pyD23-Mar-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