evrone/evrone_opensource

View on GitHub

Showing 3 of 3 total issues

Function exports has 68 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function(api) {
var validEnv = ['development', 'test', 'production']
var currentEnv = api.env()
var isDevelopmentEnv = api.env('development')
var isProductionEnv = api.env('production')
Severity: Major
Found in babel.config.js - About 2 hrs to fix

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

    def call(directory)
    file = "#{directory}/README.md"
    content = File.read(file)
    matched = content.match(PATTERN)
     
     
    app/services/pipeline_service/improvement/readme_gem_improvement_1.rb on lines 27..35

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

    def call(directory)
    file = "#{directory}/README.md"
    content = File.read(file)
    matched = content.match(PATTERN)
     
     
    app/services/pipeline_service/improvement/readme_gem_improvement_2.rb on lines 27..35
    Severity
    Category
    Status
    Source
    Language