airbug/bugcore

View on GitHub
libraries/bugcore/js/src/data/Url.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function parse has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    Url.parse = function(urlString, options) {
        if (!options) {
            options = {};
        }
        var finalOptions = {
Severity: Minor
Found in libraries/bugcore/js/src/data/Url.js - About 1 hr to fix

    Function toString has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            toString: function() {
                var output = "";
                output += this.getProtocol() + "://";
                output += this.getHost();
                if (this.getPort() && this.getPort() !== 80) {
    Severity: Minor
    Found in libraries/bugcore/js/src/data/Url.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status