Ousret/Picross-L3S6

View on GitHub
class/fenetre.class.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method creer has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def Fenetre.creer(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY)
Severity: Minor
Found in class/fenetre.class.rb - About 45 mins to fix

    Method initialize has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def initialize(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY) # :nodoc:
    Severity: Minor
    Found in class/fenetre.class.rb - About 45 mins to fix

      Missing space after #.
      Open

      #* c'est ce que nous voyons. Contient tous les objets de l'interface
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop checks whether comments have a leading space after the # denoting the start of the comment. The leading space is not required for some RDoc special syntax, like #++, #--, #:nodoc, =begin- and =end comments, "shebang" directives, or rackup options.

      Example:

      # bad
      #Some comment
      
      # good
      # Some comment

      Tab detected.
      Open

          #    - Fenetre
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

          #Tri en fonction de l'index Z
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

          #   - Array
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Use snake_case for method names.
      Open

          def ajouterComposant(*unComposantGUI)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop makes sure that all methods use the configured style, snake_case or camelCase, for their names.

      Example: EnforcedStyle: snake_case (default)

      # bad
      def fooBar; end
      
      # good
      def foo_bar; end

      Example: EnforcedStyle: camelCase

      # bad
      def foo_bar; end
      
      # good
      def fooBar; end

      Use snake_case for variable names.
      Open

          def initialize(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY) # :nodoc:
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop makes sure that all variables use the configured style, snake_case or camelCase, for their names.

      Example: EnforcedStyle: snake_case (default)

      # bad
      fooBar = 1
      
      # good
      foo_bar = 1

      Example: EnforcedStyle: camelCase

      # bad
      foo_bar = 1
      
      # good
      fooBar = 1

      Use snake_case for variable names.
      Open

          def retirerComposant(unComposantCible)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop makes sure that all variables use the configured style, snake_case or camelCase, for their names.

      Example: EnforcedStyle: snake_case (default)

      # bad
      fooBar = 1
      
      # good
      foo_bar = 1

      Example: EnforcedStyle: camelCase

      # bad
      foo_bar = 1
      
      # good
      fooBar = 1

      Use array literal [] instead of Array.new.
      Open

              @listeComposant = Array.new
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop checks for the use of a method, the result of which would be a literal, like an empty array, hash or string.

      Example:

      # bad
      a = Array.new
      h = Hash.new
      s = String.new
      
      # good
      a = []
      h = {}
      s = ''

      Use 2 (not 1) spaces for indentation.
      Open

              @listeComposant.delete(unComposantCible)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cops checks for indentation that doesn't use the specified number of spaces.

      See also the IndentationConsistency cop which is the companion to this one.

      Example:

      # bad
      class A
       def test
        puts 'hello'
       end
      end
      
      # good
      class A
        def test
          puts 'hello'
        end
      end

      Example: IgnoredPatterns: ['^\s*module']

      # bad
      module A
      class B
        def test
        puts 'hello'
        end
      end
      end
      
      # good
      module A
      class B
        def test
          puts 'hello'
        end
      end
      end

      Tab detected.
      Open

          #     - +uneTailleX+ -> Taille de la fenêtre sur l'axe X
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

          def ajouterComposant(*unComposantGUI)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Line is too long. [107/80]
      Open

          def initialize(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY) # :nodoc:
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Line is too long. [100/80]
      Open

          def Fenetre.creer(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Use snake_case for method names.
      Open

          def retirerComposant(unComposantCible)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop makes sure that all methods use the configured style, snake_case or camelCase, for their names.

      Example: EnforcedStyle: snake_case (default)

      # bad
      def fooBar; end
      
      # good
      def foo_bar; end

      Example: EnforcedStyle: camelCase

      # bad
      def foo_bar; end
      
      # good
      def fooBar; end

      Use snake_case for variable names.
      Open

          def Fenetre.creer(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop makes sure that all variables use the configured style, snake_case or camelCase, for their names.

      Example: EnforcedStyle: snake_case (default)

      # bad
      fooBar = 1
      
      # good
      foo_bar = 1

      Example: EnforcedStyle: camelCase

      # bad
      foo_bar = 1
      
      # good
      fooBar = 1

      Use only ascii symbols in comments.
      Open

          #     - +unePositionY+ -> Position de la fenêtre sur l'axe Y
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop checks for non-ascii (non-English) characters in comments. You could set an array of allowed non-ascii chars in AllowedChars attribute (empty by default).

      Example:

      # bad
      # Translates from English to 日本語。
      
      # good
      # Translates from English to Japanese

      Omit the parentheses in defs when the method doesn't accept any arguments.
      Open

          def supprimeTout()
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop checks for parentheses in the definition of a method, that does not take any arguments. Both instance and class/singleton methods are checked.

      Example:

      # bad
      def foo()
        # does a thing
      end
      
      # good
      def foo
        # does a thing
      end
      
      # also good
      def foo() does_a_thing end

      Example:

      # bad
      def Baz.foo()
        # does a thing
      end
      
      # good
      def Baz.foo
        # does a thing
      end

      Use array literal [] instead of Array.new.
      Open

              @listeComposant = Array.new
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop checks for the use of a method, the result of which would be a literal, like an empty array, hash or string.

      Example:

      # bad
      a = Array.new
      h = Hash.new
      s = String.new
      
      # good
      a = []
      h = {}
      s = ''

      Use 2 (not 1) spaces for indentation.
      Open

              new(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cops checks for indentation that doesn't use the specified number of spaces.

      See also the IndentationConsistency cop which is the companion to this one.

      Example:

      # bad
      class A
       def test
        puts 'hello'
       end
      end
      
      # good
      class A
        def test
          puts 'hello'
        end
      end

      Example: IgnoredPatterns: ['^\s*module']

      # bad
      module A
      class B
        def test
        puts 'hello'
        end
      end
      end
      
      # good
      module A
      class B
        def test
          puts 'hello'
        end
      end
      end

      Use 2 (not 1) spaces for indentation.
      Open

                  @listeComposant.push(composant)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cops checks for indentation that doesn't use the specified number of spaces.

      See also the IndentationConsistency cop which is the companion to this one.

      Example:

      # bad
      class A
       def test
        puts 'hello'
       end
      end
      
      # good
      class A
        def test
          puts 'hello'
        end
      end

      Example: IgnoredPatterns: ['^\s*module']

      # bad
      module A
      class B
        def test
        puts 'hello'
        end
      end
      end
      
      # good
      module A
      class B
        def test
          puts 'hello'
        end
      end
      end

      Tab detected.
      Open

          end
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

          #   * *Arguments*
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

          def Fenetre.creer(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

          # * *Returns*
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

          def supprimeTout()
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Use only ascii symbols in comments.
      Open

          #Retire un composant graphique à la fenêtre
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop checks for non-ascii (non-English) characters in comments. You could set an array of allowed non-ascii chars in AllowedChars attribute (empty by default).

      Example:

      # bad
      # Translates from English to 日本語。
      
      # good
      # Translates from English to Japanese

      Tab detected.
      Open

              @listeComposant = Array.new
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

          #Ajoute un composant graphique à la fenêtre
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Use snake_case for variable names.
      Open

          def Fenetre.creer(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop makes sure that all variables use the configured style, snake_case or camelCase, for their names.

      Example: EnforcedStyle: snake_case (default)

      # bad
      fooBar = 1
      
      # good
      foo_bar = 1

      Example: EnforcedStyle: camelCase

      # bad
      foo_bar = 1
      
      # good
      fooBar = 1

      Use only ascii symbols in comments.
      Open

          #Création d'une instance Fenêtre
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop checks for non-ascii (non-English) characters in comments. You could set an array of allowed non-ascii chars in AllowedChars attribute (empty by default).

      Example:

      # bad
      # Translates from English to 日本語。
      
      # good
      # Translates from English to Japanese

      Tab detected.
      Open

          #     - +unePositionX+ -> Position de la fenêtre sur l'axe X
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

          #     - +unePositionY+ -> Position de la fenêtre sur l'axe Y
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

          end
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Use snake_case for variable names.
      Open

          def initialize(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY) # :nodoc:
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop makes sure that all variables use the configured style, snake_case or camelCase, for their names.

      Example: EnforcedStyle: snake_case (default)

      # bad
      fooBar = 1
      
      # good
      foo_bar = 1

      Example: EnforcedStyle: camelCase

      # bad
      foo_bar = 1
      
      # good
      fooBar = 1

      Use snake_case for variable names.
      Open

          def initialize(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY) # :nodoc:
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop makes sure that all variables use the configured style, snake_case or camelCase, for their names.

      Example: EnforcedStyle: snake_case (default)

      # bad
      fooBar = 1
      
      # good
      foo_bar = 1

      Example: EnforcedStyle: camelCase

      # bad
      foo_bar = 1
      
      # good
      fooBar = 1

      Use 2 (not 1) spaces for indentation.
      Open

              @listeComposant = Array.new
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cops checks for indentation that doesn't use the specified number of spaces.

      See also the IndentationConsistency cop which is the companion to this one.

      Example:

      # bad
      class A
       def test
        puts 'hello'
       end
      end
      
      # good
      class A
        def test
          puts 'hello'
        end
      end

      Example: IgnoredPatterns: ['^\s*module']

      # bad
      module A
      class B
        def test
        puts 'hello'
        end
      end
      end
      
      # good
      module A
      class B
        def test
          puts 'hello'
        end
      end
      end

      Tab detected.
      Open

          private_class_method :new
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

          #Retire un composant graphique à la fenêtre
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Use snake_case for variable names.
      Open

          def Fenetre.creer(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop makes sure that all variables use the configured style, snake_case or camelCase, for their names.

      Example: EnforcedStyle: snake_case (default)

      # bad
      fooBar = 1
      
      # good
      foo_bar = 1

      Example: EnforcedStyle: camelCase

      # bad
      foo_bar = 1
      
      # good
      fooBar = 1

      Use snake_case for variable names.
      Open

          def Fenetre.creer(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop makes sure that all variables use the configured style, snake_case or camelCase, for their names.

      Example: EnforcedStyle: snake_case (default)

      # bad
      fooBar = 1
      
      # good
      foo_bar = 1

      Example: EnforcedStyle: camelCase

      # bad
      foo_bar = 1
      
      # good
      fooBar = 1

      Use only ascii symbols in comments.
      Open

          #     - +uneTailleX+ -> Taille de la fenêtre sur l'axe X
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop checks for non-ascii (non-English) characters in comments. You could set an array of allowed non-ascii chars in AllowedChars attribute (empty by default).

      Example:

      # bad
      # Translates from English to 日本語。
      
      # good
      # Translates from English to Japanese

      Use only ascii symbols in comments.
      Open

          #     - +uneTailleY+ -> Taille de la fenêtre sur l'axe Z
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop checks for non-ascii (non-English) characters in comments. You could set an array of allowed non-ascii chars in AllowedChars attribute (empty by default).

      Example:

      # bad
      # Translates from English to 日本語。
      
      # good
      # Translates from English to Japanese

      Extra empty line detected at class body beginning.
      Open

      
          attr_accessor :listeComposant
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cops checks if empty lines around the bodies of classes match the configuration.

      Example: EnforcedStyle: empty_lines

      # good
      
      class Foo
      
        def bar
          # ...
        end
      
      end

      Example: EnforcedStyle: emptylinesexcept_namespace

      # good
      
      class Foo
        class Bar
      
          # ...
      
        end
      end

      Example: EnforcedStyle: emptylinesspecial

      # good
      class Foo
      
        def bar; end
      
      end

      Example: EnforcedStyle: noemptylines (default)

      # good
      
      class Foo
        def bar
          # ...
        end
      end

      Tab detected.
      Open

          #  * *Returns*
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

          # * *Returns*
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

          def retirerComposant(unComposantCible)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Use snake_case for variable names.
      Open

          def Fenetre.creer(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop makes sure that all variables use the configured style, snake_case or camelCase, for their names.

      Example: EnforcedStyle: snake_case (default)

      # bad
      fooBar = 1
      
      # good
      foo_bar = 1

      Example: EnforcedStyle: camelCase

      # bad
      foo_bar = 1
      
      # good
      fooBar = 1

      Use self.creer instead of Fenetre.creer.
      Open

          def Fenetre.creer(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop checks for uses of the class/module name instead of self, when defining class/module methods.

      Example:

      # bad
      class SomeClass
        def SomeClass.class_method
          # ...
        end
      end
      
      # good
      class SomeClass
        def self.class_method
          # ...
        end
      end

      Use 2 (not 1) spaces for indentation.
      Open

              super(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cops checks for indentation that doesn't use the specified number of spaces.

      See also the IndentationConsistency cop which is the companion to this one.

      Example:

      # bad
      class A
       def test
        puts 'hello'
       end
      end
      
      # good
      class A
        def test
          puts 'hello'
        end
      end

      Example: IgnoredPatterns: ['^\s*module']

      # bad
      module A
      class B
        def test
        puts 'hello'
        end
      end
      end
      
      # good
      module A
      class B
        def test
          puts 'hello'
        end
      end
      end

      Tab detected.
      Open

          end
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

          end
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

          #Création d'une instance Fenêtre
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

              @listeComposant.sort!
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

          #   - Array
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

          end
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Use snake_case for variable names.
      Open

          def Fenetre.creer(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop makes sure that all variables use the configured style, snake_case or camelCase, for their names.

      Example: EnforcedStyle: snake_case (default)

      # bad
      fooBar = 1
      
      # good
      foo_bar = 1

      Example: EnforcedStyle: camelCase

      # bad
      foo_bar = 1
      
      # good
      fooBar = 1

      Use only ascii symbols in comments.
      Open

          #     - +unePositionZ+ -> Position de la fenêtre sur l'axe Z
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop checks for non-ascii (non-English) characters in comments. You could set an array of allowed non-ascii chars in AllowedChars attribute (empty by default).

      Example:

      # bad
      # Translates from English to 日本語。
      
      # good
      # Translates from English to Japanese

      Carriage return character detected.
      Open

      #
      # Author::    Sakyamar https://github.com/sakymar
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Missing space after #.
      Open

      #*Classe créant les instances répresentant un plan de la fenetre physique
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop checks whether comments have a leading space after the # denoting the start of the comment. The leading space is not required for some RDoc special syntax, like #++, #--, #:nodoc, =begin- and =end comments, "shebang" directives, or rackup options.

      Example:

      # bad
      #Some comment
      
      # good
      # Some comment

      Tab detected.
      Open

          #     - +unePositionZ+ -> Position de la fenêtre sur l'axe Z
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Use only ascii symbols in comments.
      Open

          #     - +uneDesignation+ -> Désignation/identificateur du texte
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop checks for non-ascii (non-English) characters in comments. You could set an array of allowed non-ascii chars in AllowedChars attribute (empty by default).

      Example:

      # bad
      # Translates from English to 日本語。
      
      # good
      # Translates from English to Japanese

      Use only ascii symbols in comments.
      Open

          #Ajoute un composant graphique à la fenêtre
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop checks for non-ascii (non-English) characters in comments. You could set an array of allowed non-ascii chars in AllowedChars attribute (empty by default).

      Example:

      # bad
      # Translates from English to 日本語。
      
      # good
      # Translates from English to Japanese

      Use 2 (not 1) spaces for indentation.
      Open

          attr_accessor :listeComposant
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cops checks for indentation that doesn't use the specified number of spaces.

      See also the IndentationConsistency cop which is the companion to this one.

      Example:

      # bad
      class A
       def test
        puts 'hello'
       end
      end
      
      # good
      class A
        def test
          puts 'hello'
        end
      end

      Example: IgnoredPatterns: ['^\s*module']

      # bad
      module A
      class B
        def test
        puts 'hello'
        end
      end
      end
      
      # good
      module A
      class B
        def test
          puts 'hello'
        end
      end
      end

      Use 2 (not 1) spaces for indentation.
      Open

              unComposantGUI.each do |composant|
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cops checks for indentation that doesn't use the specified number of spaces.

      See also the IndentationConsistency cop which is the companion to this one.

      Example:

      # bad
      class A
       def test
        puts 'hello'
       end
      end
      
      # good
      class A
        def test
          puts 'hello'
        end
      end

      Example: IgnoredPatterns: ['^\s*module']

      # bad
      module A
      class B
        def test
        puts 'hello'
        end
      end
      end
      
      # good
      module A
      class B
        def test
          puts 'hello'
        end
      end
      end

      Missing space after #.
      Open

          #Ajoute un composant graphique à la fenêtre
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop checks whether comments have a leading space after the # denoting the start of the comment. The leading space is not required for some RDoc special syntax, like #++, #--, #:nodoc, =begin- and =end comments, "shebang" directives, or rackup options.

      Example:

      # bad
      #Some comment
      
      # good
      # Some comment

      Missing space after #.
      Open

          #Tri en fonction de l'index Z
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop checks whether comments have a leading space after the # denoting the start of the comment. The leading space is not required for some RDoc special syntax, like #++, #--, #:nodoc, =begin- and =end comments, "shebang" directives, or rackup options.

      Example:

      # bad
      #Some comment
      
      # good
      # Some comment

      Tab detected.
      Open

              unComposantGUI.each do |composant|
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

          #     - +uneDesignation+ -> Désignation/identificateur du texte
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

          def initialize(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY) # :nodoc:
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

                  @listeComposant.push(composant)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Line is too long. [89/80]
      Open

              super(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Missing top-level class documentation comment.
      Open

      class Fenetre < ObjetGUI
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop checks for missing top-level documentation of classes and modules. Classes with no body are exempt from the check and so are namespace modules - modules that have nothing in their bodies except classes, other modules, or constant definitions.

      The documentation requirement is annulled if the class or module has a "#:nodoc:" comment next to it. Likewise, "#:nodoc: all" does the same for all its children.

      Example:

      # bad
      class Person
        # ...
      end
      
      # good
      # Description/Explanation of Person class
      class Person
        # ...
      end

      Use snake_case for variable names.
      Open

          def initialize(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY) # :nodoc:
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop makes sure that all variables use the configured style, snake_case or camelCase, for their names.

      Example: EnforcedStyle: snake_case (default)

      # bad
      fooBar = 1
      
      # good
      foo_bar = 1

      Example: EnforcedStyle: camelCase

      # bad
      foo_bar = 1
      
      # good
      fooBar = 1

      Use snake_case for variable names.
      Open

              @listeComposant = Array.new
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop makes sure that all variables use the configured style, snake_case or camelCase, for their names.

      Example: EnforcedStyle: snake_case (default)

      # bad
      fooBar = 1
      
      # good
      foo_bar = 1

      Example: EnforcedStyle: camelCase

      # bad
      foo_bar = 1
      
      # good
      fooBar = 1

      Use snake_case for variable names.
      Open

          def ajouterComposant(*unComposantGUI)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop makes sure that all variables use the configured style, snake_case or camelCase, for their names.

      Example: EnforcedStyle: snake_case (default)

      # bad
      fooBar = 1
      
      # good
      foo_bar = 1

      Example: EnforcedStyle: camelCase

      # bad
      foo_bar = 1
      
      # good
      fooBar = 1

      Use snake_case for variable names.
      Open

              @listeComposant = Array.new
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop makes sure that all variables use the configured style, snake_case or camelCase, for their names.

      Example: EnforcedStyle: snake_case (default)

      # bad
      fooBar = 1
      
      # good
      foo_bar = 1

      Example: EnforcedStyle: camelCase

      # bad
      foo_bar = 1
      
      # good
      fooBar = 1

      Missing space after #.
      Open

          #Création d'une instance Fenêtre
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop checks whether comments have a leading space after the # denoting the start of the comment. The leading space is not required for some RDoc special syntax, like #++, #--, #:nodoc, =begin- and =end comments, "shebang" directives, or rackup options.

      Example:

      # bad
      #Some comment
      
      # good
      # Some comment

      Tab detected.
      Open

          attr_accessor :listeComposant
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

              end
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

              @listeComposant.delete(unComposantCible)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

              super(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Line is too long. [87/80]
      Open

              new(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Use snake_case for method names.
      Open

          def supprimeTout()
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop makes sure that all methods use the configured style, snake_case or camelCase, for their names.

      Example: EnforcedStyle: snake_case (default)

      # bad
      def fooBar; end
      
      # good
      def foo_bar; end

      Example: EnforcedStyle: camelCase

      # bad
      def foo_bar; end
      
      # good
      def fooBar; end

      Use snake_case for variable names.
      Open

          def initialize(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY) # :nodoc:
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop makes sure that all variables use the configured style, snake_case or camelCase, for their names.

      Example: EnforcedStyle: snake_case (default)

      # bad
      fooBar = 1
      
      # good
      foo_bar = 1

      Example: EnforcedStyle: camelCase

      # bad
      foo_bar = 1
      
      # good
      fooBar = 1

      Use only ascii symbols in comments.
      Open

      #*Classe créant les instances répresentant un plan de la fenetre physique
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop checks for non-ascii (non-English) characters in comments. You could set an array of allowed non-ascii chars in AllowedChars attribute (empty by default).

      Example:

      # bad
      # Translates from English to 日本語。
      
      # good
      # Translates from English to Japanese

      Extra empty line detected at class body end.
      Open

      
      end
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cops checks if empty lines around the bodies of classes match the configuration.

      Example: EnforcedStyle: empty_lines

      # good
      
      class Foo
      
        def bar
          # ...
        end
      
      end

      Example: EnforcedStyle: emptylinesexcept_namespace

      # good
      
      class Foo
        class Bar
      
          # ...
      
        end
      end

      Example: EnforcedStyle: emptylinesspecial

      # good
      class Foo
      
        def bar; end
      
      end

      Example: EnforcedStyle: noemptylines (default)

      # good
      
      class Foo
        def bar
          # ...
        end
      end

      Missing space after #.
      Open

          #Retire un composant graphique à la fenêtre
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop checks whether comments have a leading space after the # denoting the start of the comment. The leading space is not required for some RDoc special syntax, like #++, #--, #:nodoc, =begin- and =end comments, "shebang" directives, or rackup options.

      Example:

      # bad
      #Some comment
      
      # good
      # Some comment

      Tab detected.
      Open

          #     - +uneTailleY+ -> Taille de la fenêtre sur l'axe Z
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

              new(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY)
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Tab detected.
      Open

              @listeComposant = Array.new
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      Use snake_case for variable names.
      Open

          def initialize(uneDesignation, unePositionX, unePositionY, unePositionZ, uneTailleX, uneTailleY) # :nodoc:
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop makes sure that all variables use the configured style, snake_case or camelCase, for their names.

      Example: EnforcedStyle: snake_case (default)

      # bad
      fooBar = 1
      
      # good
      foo_bar = 1

      Example: EnforcedStyle: camelCase

      # bad
      foo_bar = 1
      
      # good
      fooBar = 1

      Use only ascii symbols in comments.
      Open

          #     - +unePositionX+ -> Position de la fenêtre sur l'axe X
      Severity: Minor
      Found in class/fenetre.class.rb by rubocop

      This cop checks for non-ascii (non-English) characters in comments. You could set an array of allowed non-ascii chars in AllowedChars attribute (empty by default).

      Example:

      # bad
      # Translates from English to 日本語。
      
      # good
      # Translates from English to Japanese

      There are no issues that match your filters.

      Category
      Status