joshsoftware/code-curiosity

View on GitHub
app/assets/javascripts/points_chart.js

Summary

Maintainability
A
1 hr
Test Coverage

Function showPointsChart has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function showPointsChart(round, all_points, user_points){
  var points = uniqueValues(all_points);
  var pointGroups = buildPointGroups(all_points);
  var profilePic = $('#profile-pic').attr('src') + '&s=25';
  var tickInterval = 1;
Severity: Minor
Found in app/assets/javascripts/points_chart.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status