Severity

enum Severity : Enum<Severity>

Note: This will be replaced by SeverityLevel in future versions of Detekt.

Rules can classified into different severity grades. Maintainer can choose a grade which is most harmful to their projects.

Entries

Link copied to clipboard

Represents clean coding violations which may lead to maintainability issues.

Link copied to clipboard

Inspections in this category detect violations of code syntax styles.

Link copied to clipboard

Corresponds to issues that do not prevent the code from working, but may nevertheless represent coding inefficiencies.

Link copied to clipboard

Corresponds to coding mistakes which could lead to unwanted behavior.

Link copied to clipboard

Represents code quality issues which only slightly impact the code quality.

Link copied to clipboard

Issues in this category make the source code confusing and difficult to maintain.

Link copied to clipboard

Places in the source code that can be exploited and possibly result in significant damage.

Link copied to clipboard

Places in the source code which degrade the performance of the application.

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int