andyg72/smart_twits

View on GitHub

Showing 1 of 1 total issue

Function create_cloud has 52 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function create_cloud(data) {
        var fill = d3.scale.category20();

        d3.layout.cloud().size([700, 150])
          .words(data.map(function(d) {
Severity: Major
Found in public/js/wordcloud.js - About 2 hrs to fix
    Severity
    Category
    Status
    Source
    Language