hugoruscitti/pilas

View on GitHub
data/asistente/js/rainbow.js

Summary

Maintainability
B
6 hrs
Test Coverage

File rainbow.js has 296 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/**
 * Copyright 2013 Craig Campbell
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
Severity: Minor
Found in data/asistente/js/rainbow.js - About 3 hrs to fix

    Function _processPattern has 68 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function _processPattern(regex, pattern, code, callback)
        {
            var match = regex.exec(code);
    
            if (!match) {
    Severity: Major
    Found in data/asistente/js/rainbow.js - About 2 hrs to fix

      Function processGroup has 28 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

                  processGroup = function(i, group_keys, callback) {
                      if (i >= group_keys.length) {
                          return callback(replacement);
                      }
      
      
      Severity: Minor
      Found in data/asistente/js/rainbow.js - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status