linguisticexplorer/Linguistic-Explorer

View on GitHub
public/javascripts/application.js

Summary

Maintainability
A
1 hr
Test Coverage

Function parse has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  exports.parse = function(s) {
    var ancestors = [];
    var tree = {};
    var tokens = s.split(/\s*(;|\(|\)|,|:)\s*/);
    for (var i=0; i<tokens.length; i++) {
Severity: Minor
Found in public/javascripts/application.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status