NatLibFi/loglevel-message-prefix

View on GitHub

Showing 3 of 3 total issues

Function factory has 74 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function factory(Object, log)
{

  'use strict';

Severity: Major
Found in lib/main.js - About 2 hrs to fix

    Function methodFactory has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        loglevel_obj.methodFactory = function (method_name, log_level, logger_name)
        {
    
          var fn_method_raw = fn_original_factory(method_name, log_level, logger_name);
    
    
    Severity: Minor
    Found in lib/main.js - About 1 hr to fix

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

      module.exports = function(config) {
        config.set({
          singleRun: true,
          frameworks: ['mocha', 'requirejs'],
          browsers: ['PhantomJS'],
      Severity: Minor
      Found in karma.conf.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language