FarmBot/Farmbot-Web-App

View on GitHub
frontend/three_d_garden/distance_indicator.tsx

Summary

Maintainability
A
1 hr
Test Coverage

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

export const DistanceIndicator = (props: DistanceIndicatorProps) => {
  const { start, end } = props;
  const dx = end.x - start.x;
  const dy = end.y - start.y;
  const dz = end.z - start.z;
Severity: Minor
Found in frontend/three_d_garden/distance_indicator.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status