toggle menu
detekt
1.23.2
jvm
switch theme
search in API
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.
Members
Constructors
Project
Metric
Link copied to clipboard
constructor
(
type
:
String
,
value
:
Int
,
priority
:
Int
=
-1
,
isDouble
:
Boolean
=
false
,
conversionFactor
:
Int
=
DEFAULT_FLOAT_CONVERSION_FACTOR
)
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
Functions
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String