NatLibFi/http-client-x-mock

View on GitHub
lib/factory.js

Summary

Maintainability
A
3 hrs
Test Coverage

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 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

      There are no issues that match your filters.

      Category
      Status