mvidner/ruby-dbus

View on GitHub
lib/dbus/xml.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method parse has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def parse
      # Using a Hash instead of a list helps merge split-up interfaces,
      # a quirk observed in ModemManager (I#41).
      interfaces = Hash.new do |hash, missing_key|
        hash[missing_key] = Interface.new(missing_key)
Severity: Minor
Found in lib/dbus/xml.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status