tools/code_coverage/coverage_utils.py
def GenerateComponentViewHtmlIndexFile(self, per_component_coverage_summary):
    """Generates the html index file for component view."""
    component_view_index_file_path = self.component_view_path
    logging.debug('Generating component view html index file as: "%s".',
                  component_view_index_file_path)
    html_generator = CoverageReportHtmlGenerator(
        self.output_dir, component_view_index_file_path, 'Component')
    for component in per_component_coverage_summary:
      html_generator.AddLinkToAnotherReport(
          self.GetCoverageHtmlReportPathForComponent(component), component,
          per_component_coverage_summary[component])

    # Do not create a totals row for the component view as the value is
    # incorrect due to failure to account for UNKNOWN component and some paths
    # belonging to multiple components.
    html_generator.WriteHtmlCoverageReport(self.no_component_view,
                                           self.no_file_view)
    logging.debug('Finished generating component view html index file.')
Generates the html index file for component view.
Generates the html index file for component view.
Generates the html index file for component view .
def GenerateComponentViewHtmlIndexFile(self, per_component_coverage_summary):
    component_view_index_file_path = self.component_view_path
    logging.debug('Generating component view html index file as: "%s".',
                  component_view_index_file_path)
    html_generator = CoverageReportHtmlGenerator(
        self.output_dir, component_view_index_file_path, 'Component')
    for component in per_component_coverage_summary:
      html_generator.AddLinkToAnotherReport(
          self.GetCoverageHtmlReportPathForComponent(component), component,
          per_component_coverage_summary[component])
    html_generator.WriteHtmlCoverageReport(self.no_component_view,
                                           self.no_file_view)
    logging.debug('Finished generating component view html index file.')
def GenerateComponentViewHtmlIndexFile ( self , per_component_coverage_summary ) : component_view_index_file_path = self . component_view_path logging . debug ( 'Generating component view html index file as: "%s".' , component_view_index_file_path ) html_generator = CoverageReportHtmlGenerator ( self . output_dir , component_view_index_file_path , 'Component' ) for component in per_component_coverage_summary : html_generator . AddLinkToAnotherReport ( self . GetCoverageHtmlReportPathForComponent ( component ) , component , per_component_coverage_summary [ component ] ) html_generator . WriteHtmlCoverageReport ( self . no_component_view , self . no_file_view ) logging . debug ( 'Finished generating component view html index file.' )
Generates the html index file for component view.
Generates the html index file for component view .
"""Generates the html index file for component view.""" # Do not create a totals row for the component view as the value is # incorrect due to failure to account for UNKNOWN component and some paths # belonging to multiple components.
self
per_component_coverage_summary