lib/roma/stats.rb

Summary

Maintainability
A
3 hrs
Test Coverage

Method get_stat has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def get_stat
      ret = {}
      ret['stats.config_path'] = @config_path
      ret['stats.address'] = @address
      ret['stats.port'] = @port
Severity: Minor
Found in lib/roma/stats.rb - About 1 hr to fix

    Method initialize has 40 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        def initialize
          @config_path = nil
          @run_recover = false
          @run_sync_routing = false
          @run_iterate_storage = false
    Severity: Minor
    Found in lib/roma/stats.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status