BathHacked/energy-sparks

View on GitHub
app/models/meter.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
98%

Class Meter has 37 methods (exceeds 20 allowed). Consider refactoring.
Wontfix

class Meter < ApplicationRecord
  belongs_to :school, inverse_of: :meters
  belongs_to :low_carbon_hub_installation, optional: true
  belongs_to :solar_edge_installation, optional: true
  belongs_to :meter_review, optional: true
Severity: Minor
Found in app/models/meter.rb - About 4 hrs to fix

    There are no issues that match your filters.

    Category
    Status