betajs/betajs-server

View on GitHub
src/ajax/ajax.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function execute has 91 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        execute: function (options) {
            var uri = Uri.appendUriParams(options.uri, options.query || {});
            if (options.method === "GET")
                uri = Uri.appendUriParams(uri, options.data || {});
            var parsed = Uri.parse(uri);
Severity: Major
Found in src/ajax/ajax.js - About 3 hrs to fix

    TODO found
    Open

                                // TODO: Figure out response type.
    Severity: Minor
    Found in src/ajax/ajax.js by fixme

    There are no issues that match your filters.

    Category
    Status