nooline/nooline

View on GitHub
common/js/nooline/models/category/create-snippet.js

Summary

Maintainability
A
1 hr
Test Coverage

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

  N.Models.Category.prototype.createSnippet = function () {

    var snippets = this.get('snippets');
    var index = 1 + N.contentCategories.reduce(function (memo, category) {
      return memo + category.get('snippets').length;
Severity: Minor
Found in common/js/nooline/models/category/create-snippet.js - About 1 hr to fix

There are no issues that match your filters.

Category
Status