pivotal/LicenseFinder

View on GitHub
lib/license_finder/license/definitions.rb

Summary

Maintainability
A
3 hrs
Test Coverage

File definitions.rb has 252 lines of code (exceeds 250 allowed). Consider refactoring.
Open

module LicenseFinder
  class License
    module Definitions
      extend self

Severity: Minor
Found in lib/license_finder/license/definitions.rb - About 2 hrs to fix

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

          def newbsd
            template = Template.named('NewBSD')
            alternate_content = template.content.gsub(
              'Neither the name of <organization> nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.',
              'The names of its contributors may not be used to endorse or promote products derived from this software without specific prior written permission.'
    Severity: Minor
    Found in lib/license_finder/license/definitions.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status