CodeSmell

open class CodeSmell(val entity: Entity, val message: String, val references: List<Entity> = emptyList(), val suppressReasons: List<String> = emptyList()) : Finding

A code smell indicates any possible design problem inside a program's source code. The type of a code smell is described by an Issue.

If the design problem manifests by different source locations, references to these locations can be stored in additional Entity's.

Constructors

Link copied to clipboard
constructor(entity: Entity, message: String, references: List<Entity> = emptyList(), suppressReasons: List<String> = emptyList())

Properties

Link copied to clipboard
override val entity: Entity
Link copied to clipboard
override val message: String
Link copied to clipboard
override val references: List<Entity>
Link copied to clipboard
override val suppressReasons: List<String>

Functions

Link copied to clipboard
open override fun toString(): String