NatLibFi/http-client-x-mock

View on GitHub

Showing 3 of 3 total issues

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

function factory(Object)
{

  'use strict';

Severity: Minor
Found in lib/factory.js - About 2 hrs to fix

    Function exports has 43 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

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

              create: function()
              {
      
                var options = JSON.parse(JSON.stringify(DEFAULT_OPTIONS));
      
      
      Severity: Minor
      Found in lib/factory.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language