Snugug/borealis

View on GitHub

Showing 3 of 7 total issues

Function nodeWrites has 51 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  Borealis.prototype.nodeWrites = function (nodes) {
    var i,
    length,
    callback,
    proto = Object.getPrototypeOf(borealis),
Severity: Major
Found in build/borealis.js - About 2 hrs to fix

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

    module.exports = function (gulp, distPaths, outPath) {
      // Run once
      gulp.task('dist:core', function () {
        distPaths = distPaths || toDist;
        outPath = outPath || placeDist;
    Severity: Major
    Found in tasks/dist.js - About 2 hrs to fix

      Function query has 33 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        Borealis.prototype.query = function (nodes, callback) {
          var proto = Object.getPrototypeOf(borealis);
          var length;
      
          if (callback && typeof(callback) === 'function') {
      Severity: Minor
      Found in build/borealis.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language