KnapsackPro/knapsack_pro-ruby

View on GitHub
lib/knapsack_pro/test_case_detectors/rspec_test_example_detector.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method generate_json_report has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def generate_json_report
        require 'rspec/core'

        cli_format =
          if Gem::Version.new(::RSpec::Core::Version::STRING) < Gem::Version.new('3.6.0')
Severity: Minor
Found in lib/knapsack_pro/test_case_detectors/rspec_test_example_detector.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status