le0pard/mongodb_logger

View on GitHub
lib/mongodb_logger/server/model/analytic.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method calculate_default_map_reduce has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def calculate_default_map_reduce(params = {})
        addinional_params = case self.unit.to_i
          when 1
            "day: this.request_time.getDate()"
          when 2
Severity: Minor
Found in lib/mongodb_logger/server/model/analytic.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status