xyz.pavelkorolev.danger.detekt.model.DetektReport.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plugin Show documentation
Show all versions of plugin Show documentation
Danger-kotlin plugin to parse and report Detekt violations
The newest version!
package xyz.pavelkorolev.danger.detekt.model
data class DetektReport(
val violations: List = emptyList(),
) {
/**
* Returns total violations count
*/
val count: Int get() = violations.size
/**
* Returns true if there are no violations found
*/
val isEmpty: Boolean get() = violations.isEmpty()
}