indentlabs/notebook

View on GitHub
app/services/green_service.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method physical_pages_equivalent_for has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def self.physical_pages_equivalent_for(worldbuilding_page_type)
    # TODO: This would be better estimated with [average] word counts from pages (or a real total),
    # but we don't have that data computed (and definitely don't want to do so on each page load).
    # Until we have a better solution, these page counts come from printing out notebook pages
    # from http://www.notebook-paper.com/
Severity: Minor
Found in app/services/green_service.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status