afimb/chouette2

View on GitHub
app/maps/application_map.rb

Summary

Maintainability
A
3 hrs
Test Coverage

Class ApplicationMap has 21 methods (exceeds 20 allowed). Consider refactoring.
Open

class ApplicationMap

  include MapLayers
  include MapLayers::ViewHelpers

Severity: Minor
Found in app/maps/application_map.rb - About 2 hrs to fix

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

      def hover_control_display_name(layer)
        OpenLayers::Control::SelectFeature.new( layer, {
                                                  :autoActivate => true,
                                                  :hover => true,
                                                  :renderIntent => "temporary",
    Severity: Minor
    Found in app/maps/application_map.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status