opf/openproject

View on GitHub
app/models/timestamp.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Class Timestamp has 22 methods (exceeds 20 allowed). Consider refactoring.
Open

class Timestamp
  ALLOWED_DATE_KEYWORDS = ["oneDayAgo", "lastWorkingDay", "oneWeekAgo", "oneMonthAgo"].freeze

  delegate :hash, to: :to_s

Severity: Minor
Found in app/models/timestamp.rb - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status