tools/code_coverage/coverage_utils.py
def AddLinkToAnotherReport(self, html_report_path, name, summary):
    """Adds a link to another html report in this report.

    The link to be added is assumed to be an entry in this directory.
    """
    # Use relative paths instead of absolute paths to make the generated reports
    # portable.
    html_report_relative_path = GetRelativePathToDirectoryOfFile(
        html_report_path, self._output_path)

    table_entry = self._CreateTableEntryFromCoverageSummary(
        summary, html_report_relative_path, name,
        os.path.basename(html_report_path) ==
        DIRECTORY_COVERAGE_HTML_REPORT_NAME)
    self._table_entries.append(table_entry)
Adds a link to another html report in this report.

    The link to be added is assumed to be an entry in this directory.
    
Adds a link to another html report in this report.
The link to be added is assumed to be an entry in this directory.
Adds a link to another html report in this report . The link to be added is assumed to be an entry in this directory .
def AddLinkToAnotherReport(self, html_report_path, name, summary):
    html_report_relative_path = GetRelativePathToDirectoryOfFile(
        html_report_path, self._output_path)
    table_entry = self._CreateTableEntryFromCoverageSummary(
        summary, html_report_relative_path, name,
        os.path.basename(html_report_path) ==
        DIRECTORY_COVERAGE_HTML_REPORT_NAME)
    self._table_entries.append(table_entry)
def AddLinkToAnotherReport ( self , html_report_path , name , summary ) : html_report_relative_path = GetRelativePathToDirectoryOfFile ( html_report_path , self . _output_path ) table_entry = self . _CreateTableEntryFromCoverageSummary ( summary , html_report_relative_path , name , os . path . basename ( html_report_path ) == DIRECTORY_COVERAGE_HTML_REPORT_NAME ) self . _table_entries . append ( table_entry )
Adds a link to another html report in this report.
Adds a link to another html report in this report .
"""Adds a link to another html report in this report.

    The link to be added is assumed to be an entry in this directory.
    """ # Use relative paths instead of absolute paths to make the generated reports # portable.
self
html_report_path
name
summary