None

data object None : AnalysisTrace

A trace sink that ignores every event.

Properties

Link copied to clipboard

Whether the engine should measure rule and shared analysis execution.

Functions

Link copied to clipboard
open fun analysisPhaseTiming(database: DatabaseContext, file: SourceFile, phase: AnalysisPhase, durationNanos: Long)

Signals the measured duration of a shared analysis phase.

Link copied to clipboard
open override fun databaseFiles(database: DatabaseContext, files: List<SourceFile>)

Signals the resolved SQLDelight files for a database before rules run.

Link copied to clipboard
open fun deprecatedRule(database: DatabaseContext, ruleId: QualifiedRuleId, deprecation: RuleDeprecation, enabled: Boolean)

Signals that user configuration explicitly mentions a deprecated rule.

Link copied to clipboard
open fun deprecatedRuleOption(database: DatabaseContext, ruleId: QualifiedRuleId, optionName: String, deprecation: RuleOptionDeprecation)

Signals that user configuration explicitly mentions a deprecated rule option.

Link copied to clipboard
open override fun fileRules(database: DatabaseContext, file: SourceFile, ruleIds: List<QualifiedRuleId>)

Signals the rules that executed for one file after suppression handling.

Link copied to clipboard
open fun ruleTiming(database: DatabaseContext, file: SourceFile, ruleId: QualifiedRuleId, durationNanos: Long)

Signals the measured duration of one executed rule.

Link copied to clipboard
open fun unknownRuleOption(database: DatabaseContext, ruleId: QualifiedRuleId, optionName: String, knownOptionNames: Set<String>)

Signals that user configuration contains an option not declared by the rule.