virtualEnvironment/lib/python2.7/site-packages/coverage/html.py
def report(self, morfs):
        """Generate an HTML report for `morfs`.

        `morfs` is a list of modules or filenames.

        """
        assert self.config.html_dir, "must give a directory for html reporting"

        # Read the status data.
        self.status.read(self.config.html_dir)

        # Check that this run used the same settings as the last run.
        m = Hasher()
        m.update(self.config)
        these_settings = m.digest()
        if self.status.settings_hash() != these_settings:
            self.status.reset()
            self.status.set_settings_hash(these_settings)

        # The user may have extra CSS they want copied.
        if self.config.extra_css:
            self.extra_css = os.path.basename(self.config.extra_css)

        # Process all the files.
        self.report_files(self.html_file, morfs, self.config.html_dir)

        if not self.files:
            raise CoverageException("No data to report.")

        # Write the index file.
        self.index_file()

        self.make_local_static_report_files()

        return self.totals.pc_covered
def report(self, morfs):
        assert self.config.html_dir, "must give a directory for html reporting"

        # Read the status data.
        self.status.read(self.config.html_dir)

        # Check that this run used the same settings as the last run.
        m = Hasher()
        m.update(self.config)
        these_settings = m.digest()
        if self.status.settings_hash() != these_settings:
            self.status.reset()
            self.status.set_settings_hash(these_settings)

        # The user may have extra CSS they want copied.
        if self.config.extra_css:
            self.extra_css = os.path.basename(self.config.extra_css)

        # Process all the files.
        self.report_files(self.html_file, morfs, self.config.html_dir)

        if not self.files:
            raise CoverageException("No data to report.")

        # Write the index file.
        self.index_file()

        self.make_local_static_report_files()

        return self.totals.pc_covered
def report ( self , morfs ) : assert self . config . html_dir , "must give a directory for html reporting" # Read the status data. self . status . read ( self . config . html_dir ) # Check that this run used the same settings as the last run. m = Hasher ( ) m . update ( self . config ) these_settings = m . digest ( ) if self . status . settings_hash ( ) != these_settings : self . status . reset ( ) self . status . set_settings_hash ( these_settings ) # The user may have extra CSS they want copied. if self . config . extra_css : self . extra_css = os . path . basename ( self . config . extra_css ) # Process all the files. self . report_files ( self . html_file , morfs , self . config . html_dir ) if not self . files : raise CoverageException ( "No data to report." ) # Write the index file. self . index_file ( ) self . make_local_static_report_files ( ) return self . totals . pc_covered
Generate an HTML report for `morfs`.

        `morfs` is a list of modules or filenames.
Generate an HTML report for morfs .