lint_analyzer library
Classes
- EntityType
- Enum class for type of a type of entity.
- Issue
- Represents an issue detected by the analysis rule.
- LintAnalysisConfig
- Represents converted lint config which contains parsed entities.
- 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.
- MetricDocumentation
- Represents any metric documentation.
-
MetricValue<
T extends num> - Represents a value computed by the metric.
- MetricValueLevel
- Enum class for value level.
- ParsedArguments
- Represents the arguments parsed from raw cli arguments.
- Replacement
- Represents a single change.
- Report
- Represents a metrics report collected for an entity.
- Severity
- Enum class for severity.
-
SummaryLintReportRecord<
T extends Object> - Represents a summary for a lint report.
- SummaryLintReportRecordStatus
- Enum class represent of summary report.
- UnnecessaryNullableReportParams
- Represents additional unnecessary nullable reporter params.
- UnusedCodeReportParams
- Represents additional unused code reporter params.
- UnusedFilesReportParams
- Represents additional unused files reporter params.
- UnusedL10NReportParams
- Represents additional unused l10n reporter params.
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