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
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): Severity

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.