BathHacked/energy-sparks

View on GitHub
app/models/school.rb

Summary

Maintainability
D
2 days
Test Coverage
A
92%

Class School has 79 methods (exceeds 20 allowed). Consider refactoring.
Open

class School < ApplicationRecord
  extend FriendlyId
  include EnergyTariffHolder
  include ParentMeterAttributeHolder

Severity: Major
Found in app/models/school.rb - About 1 day to fix

    File school.rb has 456 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    require 'securerandom'
    
    class School < ApplicationRecord
      extend FriendlyId
      include EnergyTariffHolder
    Severity: Minor
    Found in app/models/school.rb - About 6 hrs to fix

      There are no issues that match your filters.

      Category
      Status