lib/roma/stats.rb
Method get_stat
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def get_stat
ret = {}
ret['stats.config_path'] = @config_path
ret['stats.address'] = @address
ret['stats.port'] = @port
Method initialize
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize
@config_path = nil
@run_recover = false
@run_sync_routing = false
@run_iterate_storage = false