smalruby/dxruby_sdl

View on GitHub
lib/dxruby_sdl/image.rb

Summary

Maintainability
B
4 hrs
Test Coverage

Method draw has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def draw(x, y, image, x1 = 0, y1 = 0, width = image.width, height = image.height)
Severity: Major
Found in lib/dxruby_sdl/image.rb - About 50 mins to fix

    Method box_fill has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def box_fill(x1, y1, x2, y2, color)
    Severity: Minor
    Found in lib/dxruby_sdl/image.rb - About 35 mins to fix

      Method box has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def box(x1, y1, x2, y2, color)
      Severity: Minor
      Found in lib/dxruby_sdl/image.rb - About 35 mins to fix

        Method load has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            def self.load(filename, x = nil, y = nil, width = nil, height = nil)
        Severity: Minor
        Found in lib/dxruby_sdl/image.rb - About 35 mins to fix

          Method line has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              def line(x1, y1, x2, y2, color)
          Severity: Minor
          Found in lib/dxruby_sdl/image.rb - About 35 mins to fix

            Method draw_font has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                def draw_font(x, y, string, font, color = [255, 255, 255])
            Severity: Minor
            Found in lib/dxruby_sdl/image.rb - About 35 mins to fix

              There are no issues that match your filters.

              Category
              Status