detekt-api
1.22.0-RC2
detekt-api
/
io.gitlab.arturbosch.detekt.api
/
ProjectMetric
Project
Metric
open
class
ProjectMetric
(
val
type
:
String
,
val
value
:
Int
,
val
priority
:
Int
=
-1
,
val
isDouble
:
Boolean
=
false
,
val
conversionFactor
:
Int
=
DEFAULT_FLOAT_CONVERSION_FACTOR
)
Anything that can be expressed as a numeric value for projects.
Constructors
Functions
Properties
Constructors
Project
Metric
Link copied to clipboard
fun
ProjectMetric
(
type
:
String
,
value
:
Int
,
priority
:
Int
=
-1
,
isDouble
:
Boolean
=
false
,
conversionFactor
:
Int
=
DEFAULT_FLOAT_CONVERSION_FACTOR
)
Functions
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
Properties
conversion
Factor
Link copied to clipboard
val
conversionFactor
:
Int
is
Double
Link copied to clipboard
val
isDouble
:
Boolean
=
false
priority
Link copied to clipboard
val
priority
:
Int
type
Link copied to clipboard
val
type
:
String
value
Link copied to clipboard
val
value
:
Int