lint_analyzer library
Classes
- Issue
- Represents an issue detected by the analysis rule.
- LintAnalyzer
- The analyzer responsible for collecting lint reports.
- LintConfig
- Represents raw lint config which can be merged with other raw configs.
- LintFileReport
- Represents the metrics report collected for a file.
- MetricValueLevel
- Enum class for value level.
- Replacement
- Represents a single change.
- Severity
- Enum class for severity.
-
SummaryLintReportRecord<
T extends Object> - Represents a summary for a lint report.
- SummaryLintReportRecordStatus
- Enum class represent of summary report.
Functions
-
averageCYCLO(
Iterable< LintFileReport> records) → double -
averageSLOC(
Iterable< LintFileReport> records) → int -
hasIssueWithSeverity(
Iterable< LintFileReport> records, Severity severity) → bool -
maxMetricViolationLevel(
Iterable< LintFileReport> records) → MetricValueLevel -
metricViolations(
Iterable< LintFileReport> records, String metricId) → int -
scannedFolders(
Iterable< LintFileReport> records) → Iterable<String> -
totalClasses(
Iterable< LintFileReport> records) → int -
totalFiles(
Iterable< LintFileReport> records) → int -
totalSLOC(
Iterable< LintFileReport> records) → int -
totalTechDebt(
Iterable< LintFileReport> records) → String