nemesiscodex/openfonacide

View on GitHub
static/js/dncp/util/shape/HalfSmoothPolygon.js

Summary

Maintainability
A
1 hr
Test Coverage

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

        buildPath : function (ctx, style) {
            var pointList = style.pointList;
            if (pointList.length < 2) {
                // 少于2个点就不画了~
                return;
Severity: Minor
Found in static/js/dncp/util/shape/HalfSmoothPolygon.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status