Class: Hashira::Coupling::Report
- Inherits:
-
Object
- Object
- Hashira::Coupling::Report
- Defined in:
- lib/hashira/coupling/report.rb
Constant Summary collapse
- RULES =
[ Hashira::Coupling::CycleFindings, Hashira::Coupling::SdpViolationFindings, Hashira::Coupling::MixedAudienceFindings, Hashira::Coupling::WideEdgeFindings, Hashira::Coupling::RollCallFindings ].freeze
Instance Attribute Summary collapse
-
#graph ⇒ Object
readonly
Returns the value of attribute graph.
Instance Method Summary collapse
- #findings ⇒ Object
-
#initialize(project, trees, packaging:) ⇒ Report
constructor
A new instance of Report.
Constructor Details
Instance Attribute Details
#graph ⇒ Object (readonly)
Returns the value of attribute graph.
21 22 23 |
# File 'lib/hashira/coupling/report.rb', line 21 def graph @graph end |
Instance Method Details
#findings ⇒ Object
23 |
# File 'lib/hashira/coupling/report.rb', line 23 def findings = RULES.flat_map { it.new(@project, @graph).list } |