atsid/amd-plugins

View on GitHub

Showing 3 of 3 total issues

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

    Function exports has 43 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    module.exports = function (grunt) {
    
        grunt.initConfig({
            jshint: {
                src: ['js/**/*.js', 'test/**/*.js', '!node_modules/**/*.*', '!test/lib/**/*.js'],
    Severity: Minor
    Found in Gruntfile.js - About 1 hr to fix

      Avoid deeply nested control flow statements.
      Open

                                      if (getter === child.windowerName) {
                                          child.postMessageProxy(msg);
                                      }
      Severity: Major
      Found in js/windower.js - About 45 mins to fix
        Severity
        Category
        Status
        Source
        Language