Module: PmdTester

Included in:
Cmd, LiquidProjectRenderer, LiquidRenderer, Options, PmdBranchDetail, PmdError, PmdReportBuilder, PmdTesterUtils, ProjectBuilder, ProjectHasher, ReportDiff, RuleSetBuilder, SimpleProgressLogger, SummaryReportBuilder
Defined in:
lib/pmdtester.rb,
lib/pmdtester/cmd.rb,
lib/pmdtester/runner.rb,
lib/pmdtester/semver.rb,
lib/pmdtester/project.rb,
lib/pmdtester/pmd_error.rb,
lib/pmdtester/report_diff.rb,
lib/pmdtester/pmd_violation.rb,
lib/pmdtester/parsers/options.rb,
lib/pmdtester/pmd_configerror.rb,
lib/pmdtester/pmd_tester_utils.rb,
lib/pmdtester/resource_locator.rb,
lib/pmdtester/pmd_branch_detail.rb,
lib/pmdtester/pmd_report_detail.rb,
lib/pmdtester/collection_by_file.rb,
lib/pmdtester/builders/project_hasher.rb,
lib/pmdtester/parsers/projects_parser.rb,
lib/pmdtester/builders/liquid_renderer.rb,
lib/pmdtester/builders/project_builder.rb,
lib/pmdtester/builders/rule_set_builder.rb,
lib/pmdtester/builders/pmd_report_builder.rb,
lib/pmdtester/parsers/pmd_report_document.rb,
lib/pmdtester/builders/simple_progress_logger.rb,
lib/pmdtester/builders/summary_report_builder.rb

Overview

PmdTester is a regression testing tool ensure that new problems and unexpected behaviors will not be introduced to PMD project after fixing an issue and new rules can work as expected.

Defined Under Namespace

Modules: LiquidRenderer, PmdTesterUtils, ProjectHasher Classes: Cmd, CmdException, CollectionByFile, InvalidModeError, LiquidProjectRenderer, MissRequiredOptionError, Options, PmdBranchDetail, PmdConfigError, PmdError, PmdReportBuilder, PmdReportDetail, PmdReportDocument, PmdViolation, Project, ProjectBuilder, ProjectsParser, ProjectsParserException, Report, ReportDiff, ResourceLocator, RuleInfo, RuleSetBuilder, Runner, RunningDiffCounters, Semver, SimpleProgressLogger, SummaryReportBuilder

Constant Summary collapse

VERSION =
'1.5.5'
BASE =
'base'
PATCH =
'patch'
PR_NUM_ENV_VAR =

see PmdBranchDetail

'PMD_CI_PULL_REQUEST_NUMBER'

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.loggerObject

Global, memoized, lazy initialized instance of a logger



46
47
48
# File 'lib/pmdtester.rb', line 46

def self.logger
  @logger ||= Logger.new(STDOUT)
end

Instance Method Details

#loggerObject



41
42
43
# File 'lib/pmdtester.rb', line 41

def logger
  PmdTester.logger
end