alsemyonov/ymaps

View on GitHub
lib/ymaps/action_view/html_helper.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method static_map has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def static_map(resources, options = {})
        title = options.delete(:title) { resources.to_s }
        map_type = options.delete(:map) { 'map' }
        width = options.delete(:width) { 600 }
        height = options.delete(:height) { 450 }
Severity: Minor
Found in lib/ymaps/action_view/html_helper.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status