NatLibFi/http-client-x

View on GitHub

Showing 3 of 3 total issues

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

function factory(Object)
{

  return function(requestCallback)
  {
Severity: Major
Found in lib/factory.js - About 3 hrs to fix

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

      module.exports = function(method, str_url, headers, body)
      {
        return new Promise(function(resolveCallback, rejectCallback) {
    
          function handleResponse(response)
    Severity: Minor
    Found in lib/nodejs/adapter.js - About 1 hr to fix

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