edgewall/trac

View on GitHub
trac/htdocs/js/log_graph.js

Summary

Maintainability
A
1 hr
Test Coverage

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

  $.paintLogGraph = function(graph, canvas) {
    var ctx = canvas.getContext('2d');
    ctx.scale(-canvas.width / graph.columns,
              canvas.height / graph.vertices.length);
    ctx.translate(-graph.columns + 0.5, 0.5)
Severity: Minor
Found in trac/htdocs/js/log_graph.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status