mumuki/mumuki-xgobstones-runner

View on GitHub

Showing 3 of 3 total issues

Method gobstones_css has 104 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def gobstones_css(font_size, size)
      unit = 'px'

      full_size = "#{size}#{unit}"
      half_size = "#{size / 2}#{unit}"
Severity: Major
Found in lib/stones_spec/with_gobstones_css.rb - About 4 hrs to fix

    Method metadata has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      def metadata
        {language: {
            name: 'gobstones',
            icon: {type: 'devicon', name: 'gobstones'},
            version: '1.4.1',
    Severity: Minor
    Found in lib/metadata_hook.rb - About 1 hr to fix

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

          def run_example!(example_definition, check_head_position, show_initial_board, source, subject)
      Severity: Minor
      Found in lib/stones_spec/runner.rb - About 35 mins to fix
        Severity
        Category
        Status
        Source
        Language