bnt44/wykop-es6

View on GitHub
lib/index.js

Summary

Maintainability
A
2 hrs
Test Coverage

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

    request(rtype, rmethod, {params, api, post}={}, callback=Function.prototype) {
        assert(rtype && rmethod, 'rtype and rmethod must be String and cannot be null');
        //console.log('request: ' + rtype + ' ' + rmethod);
        let {appkey, secretkey, userkey, output, format, timeout, useragent, ssl} = this;

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

    There are no issues that match your filters.

    Category
    Status