uccser/cs-field-guide

View on GitHub
csfieldguide/static/interactives/huffman-tree/js/huffman-tree.js

Summary

Maintainability
A
1 hr
Test Coverage

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

function generateTree() {
  var text = $("#text-input").val();
  var letter_counts = letterCounts(text);
  var letter_count_array = createNodeArray(letter_counts);
  var dot_notation = '';
Severity: Minor
Found in csfieldguide/static/interactives/huffman-tree/js/huffman-tree.js - About 1 hr to fix

There are no issues that match your filters.

Category
Status