public class ThresholdedCodeSmell
extends CodeSmell
Represents a code smell for which a specific metric can be determined which is responsible for the existence of this rule violation.
Compactable.DefaultImplsHasEntity.DefaultImplsHasMetrics.DefaultImpls| Constructor and Description |
|---|
ThresholdedCodeSmell(Issue issue,
Entity entity,
Metric metric,
java.lang.String message,
java.util.List<io.gitlab.arturbosch.detekt.api.Entity> references)
Represents a code smell for which a specific metric can be determined which is responsible
for the existence of this rule violation.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
compact() |
Metric |
getMetric() |
int |
getThreshold() |
int |
getValue() |
java.lang.String |
messageOrDescription() |
compact, compactWithSignature, getEntity, getId, getIssue, getMessage, getMetrics, getReferences, messageOrDescription, toStringgetId, getIssue, getMessage, getReferences, messageOrDescriptioncompact, compactWithSignaturegetCharPosition, getEntity, getFile, getInClass, getLocation, getLocationAsString, getName, getSignature, getStartPositiongetMetrics, metricByTypepublic ThresholdedCodeSmell(Issue issue, Entity entity, Metric metric, java.lang.String message, java.util.List<io.gitlab.arturbosch.detekt.api.Entity> references)
Represents a code smell for which a specific metric can be determined which is responsible for the existence of this rule violation.
public int getValue()
public int getThreshold()
public java.lang.String compact()
public java.lang.String messageOrDescription()
public Metric getMetric()