fossasia/loklak_webclient

View on GitHub
app/js/directives/chartjs-directive.js

Summary

Maintainability
A
1 hr
Test Coverage

Function link has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      link: function (scope, element, attrs) {
        var canvas  = element.find('canvas')[0];
        var context = canvas.getContext('2d');
        var chart;

Severity: Minor
Found in app/js/directives/chartjs-directive.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status