angelakuo/citydogshare

View on GitHub
public/assets/json2-925947d3d711c4441a9db20f51215fbf5c119d2a3b51cadb2c9031907d8014b5.js

Summary

Maintainability
B
6 hrs
Test Coverage

Function str has 70 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function str(key, holder) {

// Produce a string from holder[key].

        var i,          // The loop counter.

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

            JSON.parse = function (text, reviver) {
    
    // The parse method takes a text and an optional reviver function, and returns
    // a JavaScript value if the text is a valid JSON text.
    
    

      Avoid deeply nested control flow statements.
      Open

                              if (v) {
                                  partial.push(quote(k) + (gap ? ': ' : ':') + v);
                              }

        Avoid deeply nested control flow statements.
        Open

                                    if (v !== undefined) {
                                        value[k] = v;
                                    } else {
                                        delete value[k];
                                    }

          Avoid deeply nested control flow statements.
          Open

                                  if (v) {
                                      partial.push(quote(k) + (gap ? ': ' : ':') + v);
                                  }

            There are no issues that match your filters.

            Category
            Status