mitjajez/SONCE

View on GitHub
imports/ui/lib/svg.js

Summary

Maintainability
A
1 hr
Test Coverage

Function getLastPointFromPathD has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const getLastPointFromPathD = (d) => {
  const p = {x:0, y:0};
  Snap.parsePathString(d).map((s) => {
    switch (s[0]) {
    case 'M':
Severity: Minor
Found in imports/ui/lib/svg.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status