GitHub
NPM
Examples
Preparing search index...
The search index is not available
ArchUnitTS - v2.1.51
ArchUnitTS
MetricViolation
Class MetricViolation
Represents a class that violates a metric threshold
Implements
Violation
Index
Constructors
constructor
Properties
class
Name
file
Path
metric
Name
metric
Value
threshold
comparison
Methods
to
String
Constructors
constructor
new
Metric
Violation
(
className
,
filePath
,
metricName
,
metricValue
,
threshold
,
comparison
)
:
MetricViolation
Parameters
className
:
string
filePath
:
string
metricName
:
string
metricValue
:
number
threshold
:
number
comparison
:
MetricComparison
Returns
MetricViolation
Properties
Readonly
class
Name
class
Name
:
string
Readonly
file
Path
file
Path
:
string
Readonly
metric
Name
metric
Name
:
string
Readonly
metric
Value
metric
Value
:
number
Readonly
threshold
threshold
:
number
Readonly
comparison
comparison
:
MetricComparison
Methods
to
String
to
String
(
)
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
constructor
class
Name
file
Path
metric
Name
metric
Value
threshold
comparison
to
String
ArchUnitTS - v2.1.51
Loading...
Represents a class that violates a metric threshold