atsid/amd-plugins

View on GitHub
js/jsonschema.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function getSchema has 72 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function getSchema(name, parentRequire, callback) {

        //recursively find all of the $ref items in an object and compile them into a map so there won't be any duplicates
        function findRefs(schema) {

Severity: Major
Found in js/jsonschema.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status