EmptyReport

Empty report implementation for testing.

class varats.data.reports.empty_report.EmptyReport(path)[source]

Bases: varats.report.report.BaseReport

An empty report for testing.

Nothing gets printed into the report and the result file has no file type.

SHORTHAND = 'EMPTY'
static get_file_name(project_name, binary_name, project_version, project_uuid, extension_type, file_ext='.txt')[source]

Generates a filename for a commit report without any file ending.

Parameters
  • project_name (str) – name of the project for which the report was generated

  • binary_name (str) – name of the binary for which the report was generated

  • project_version (str) – version of the analyzed project, i.e., commit hash

  • project_uuid (str) – benchbuild uuid for the experiment run

  • extension_type (FileStatusExtension) – to specify the status of the generated report

  • file_ext (str) – file extension of the report file

Return type

str

Returns

name for the report file that can later be uniquly identified

REPORT_TYPES: Dict[str, varats.report.report.MetaReport] = {'BlameReport': <class 'varats.data.reports.blame_report.BlameReport'>, 'BlameVerifierReportNoOpt': <class 'varats.data.reports.blame_verifier_report.BlameVerifierReportNoOpt'>, 'BlameVerifierReportNoOptTBAA': <class 'varats.data.reports.blame_verifier_report.BlameVerifierReportNoOptTBAA'>, 'BlameVerifierReportOpt': <class 'varats.data.reports.blame_verifier_report.BlameVerifierReportOpt'>, 'CommitReport': <class 'varats.data.reports.commit_report.CommitReport'>, 'EmptyReport': <class 'varats.data.reports.empty_report.EmptyReport'>, 'SZZReport': <class 'varats.data.reports.szz_report.SZZReport'>, 'SZZUnleashedReport': <class 'varats.data.reports.szz_report.SZZUnleashedReport'>}