Class: Moult::Gate::Evaluation::Observations
- Inherits:
-
Struct
- Object
- Struct
- Moult::Gate::Evaluation::Observations
- Defined in:
- lib/moult/gate/evaluation.rb
Overview
The full input. Each analysis's list is nil when that analysis was skipped
(errored, or not applicable — e.g. a non-packwerk repo for boundaries);
diagnostics maps a skipped analysis to its reason.
Instance Attribute Summary collapse
-
#boundaries ⇒ Object
Returns the value of attribute boundaries.
-
#complexity ⇒ Object
Returns the value of attribute complexity.
-
#dead_code ⇒ Object
Returns the value of attribute dead_code.
-
#diagnostics ⇒ Object
Returns the value of attribute diagnostics.
-
#duplication ⇒ Object
Returns the value of attribute duplication.
Instance Method Summary collapse
-
#initialize(dead_code: nil, boundaries: nil, complexity: nil, duplication: nil, diagnostics: {}) ⇒ Observations
constructor
A new instance of Observations.
Constructor Details
#initialize(dead_code: nil, boundaries: nil, complexity: nil, duplication: nil, diagnostics: {}) ⇒ Observations
Returns a new instance of Observations.
28 29 30 |
# File 'lib/moult/gate/evaluation.rb', line 28 def initialize(dead_code: nil, boundaries: nil, complexity: nil, duplication: nil, diagnostics: {}) super end |
Instance Attribute Details
#boundaries ⇒ Object
Returns the value of attribute boundaries
27 28 29 |
# File 'lib/moult/gate/evaluation.rb', line 27 def boundaries @boundaries end |
#complexity ⇒ Object
Returns the value of attribute complexity
27 28 29 |
# File 'lib/moult/gate/evaluation.rb', line 27 def complexity @complexity end |
#dead_code ⇒ Object
Returns the value of attribute dead_code
27 28 29 |
# File 'lib/moult/gate/evaluation.rb', line 27 def dead_code @dead_code end |
#diagnostics ⇒ Object
Returns the value of attribute diagnostics
27 28 29 |
# File 'lib/moult/gate/evaluation.rb', line 27 def diagnostics @diagnostics end |
#duplication ⇒ Object
Returns the value of attribute duplication
27 28 29 |
# File 'lib/moult/gate/evaluation.rb', line 27 def duplication @duplication end |