alsemyonov/rom-files

View on GitHub
lib/pathname/extensions/pathmap.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method pathmap has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def pathmap(spec = nil, &block)
        return self if spec.nil?
        result = +''
        # noinspection SpellCheckingInspection
        spec.scan(/%\{[^}]*\}-?\d*[sdpfnxX%]|%-?\d+d|%.|[^%]+/) do |frag|
Severity: Minor
Found in lib/pathname/extensions/pathmap.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status