afimb/chouette2

View on GitHub
app/models/help_page.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method load has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def load
    self.content = File.read(filename)
    self.data ||= {}

    if self.content =~ /^(---\s*\n.*?\n?)^(---\s*$\n?)/m
Severity: Minor
Found in app/models/help_page.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status