lib/aixm/component/timesheet.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method add_to has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def add_to(builder)
        builder.Timsh do |timsh|
          timsh.codeTimeRef(adjust_to_dst? ? 'UTCW' : 'UTC')
          timsh.dateValidWef(dates.begin.to_s('%d-%m'))
          timsh.dateYearValidWef(dates.begin.year) if AIXM.ofmx? && !dates.begin.yearless?
Severity: Minor
Found in lib/aixm/component/timesheet.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status