Preparing report...

Report for github.com/fogleman/ln

A    Great!    Found 40 issues across 40 files

Tweet

gofmt97%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gocyclo97%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.

    • ln/ln/tree.go
    • Line 40: warning: cyclomatic complexity 17 of function (*Node).Intersect() is high (> 15) (gocyclo)

golint27%

Golint is a linter for Go source code.

    • ln/ln/tree.go
    • Line 8: warning: exported type Tree should have comment or be unexported (golint)
    • Line 13: warning: exported function NewTree should have comment or be unexported (golint)
    • Line 20: warning: exported method Tree.Intersect should have comment or be unexported (golint)
    • Line 28: warning: exported type Node should have comment or be unexported (golint)
    • Line 36: warning: exported function NewNode should have comment or be unexported (golint)
    • Line 40: warning: exported method Node.Intersect should have comment or be unexported (golint)
    • Line 76: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 82: warning: exported method Node.IntersectShapes should have comment or be unexported (golint)
    • Line 93: warning: exported method Node.PartitionScore should have comment or be unexported (golint)
    • Line 107: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 112: warning: exported method Node.Partition should have comment or be unexported (golint)
    • Line 128: warning: exported method Node.Split should have comment or be unexported (golint)
    • ln/examples/earth.go
    • Line 11: warning: exported function GetPaths should have comment or be unexported (golint)
    • Line 38: warning: exported function LoadPaths should have comment or be unexported (golint)
    • Line 53: warning: exported type Earth should have comment or be unexported (golint)
    • Line 58: warning: exported method Earth.Paths should have comment or be unexported (golint)
    • Line 63: warning: exported function Render should have comment or be unexported (golint)
    • Line 75: warning: exported function Circle should have comment or be unexported (golint)
    • ln/examples/slicer.go
    • Line 9: warning: exported const Slices should have comment or be unexported (golint)
    • Line 10: warning: exported const Size should have comment or be unexported (golint)
    • ln/examples/slices.go
    • Line 9: warning: exported type Shape should have comment or be unexported (golint)
    • Line 13: warning: exported method Shape.Paths should have comment or be unexported (golint)
    • ln/ln/function.go
    • Line 5: warning: exported type Direction should have comment or be unexported (golint)
    • Line 8: warning: exported const Above should have comment (or a comment on this block) or be unexported (golint)
    • Line 12: warning: exported type Function should have comment or be unexported (golint)
    • Line 18: warning: exported function NewFunction should have comment or be unexported (golint)
    • Line 22: warning: exported method Function.Compile should have comment or be unexported (golint)
    • Line 25: warning: exported method Function.BoundingBox should have comment or be unexported (golint)
    • Line 29: warning: exported method Function.Contains should have comment or be unexported (golint)
    • Line 32: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 37: warning: exported method Function.Intersect should have comment or be unexported (golint)
    • Line 49: warning: exported method Function.Paths3 should have comment or be unexported (golint)
    • Line 66: warning: exported method Function.Paths should have comment or be unexported (golint)
    • Line 87: warning: exported method Function.Paths1 should have comment or be unexported (golint)
    • ln/ln/ray.go
    • Line 3: warning: exported type Ray should have comment or be unexported (golint)
    • Line 7: warning: exported method Ray.Position should have comment or be unexported (golint)
    • ln/examples/beads.go
    • Line 39: warning: exported function Normalize should have comment or be unexported (golint)
    • Line 54: warning: exported function LowPass should have comment or be unexported (golint)
    • Line 64: warning: exported function LowPassNoise should have comment or be unexported (golint)
    • ln/ln/filter.go
    • Line 3: warning: exported type Filter should have comment or be unexported (golint)
    • Line 7: warning: exported type ClipFilter should have comment or be unexported (golint)
    • Line 13: warning: exported var ClipBox should have comment or be unexported (golint)
    • Line 15: warning: exported method ClipFilter.Filter should have comment or be unexported (golint)
    • ln/ln/mesh.go
    • Line 5: warning: exported type Mesh should have comment or be unexported (golint)
    • Line 11: warning: exported function NewMesh should have comment or be unexported (golint)
    • Line 16: warning: exported method Mesh.Compile should have comment or be unexported (golint)
    • Line 26: warning: exported method Mesh.BoundingBox should have comment or be unexported (golint)
    • Line 30: warning: exported method Mesh.Contains should have comment or be unexported (golint)
    • Line 34: warning: exported method Mesh.Intersect should have comment or be unexported (golint)
    • Line 38: warning: exported method Mesh.Paths should have comment or be unexported (golint)
    • Line 46: warning: exported method Mesh.UpdateBoundingBox should have comment or be unexported (golint)
    • Line 50: warning: exported method Mesh.UnitCube should have comment or be unexported (golint)
    • Line 55: warning: exported method Mesh.MoveTo should have comment or be unexported (golint)
    • Line 60: warning: exported method Mesh.FitInside should have comment or be unexported (golint)
    • Line 70: warning: exported method Mesh.Transform should have comment or be unexported (golint)
    • Line 81: warning: exported method Mesh.SaveBinarySTL should have comment or be unexported (golint)
    • Line 85: warning: exported method Mesh.Voxelize should have comment or be unexported (golint)
    • Line 102: warning: should omit 2nd value from range; this loop is equivalent to `for v := range ...` (golint)
    • ln/ln/obj.go
    • Line 19: warning: exported function LoadOBJ should have comment or be unexported (golint)
    • ln/ln/sphere.go
    • Line 8: warning: exported type Sphere should have comment or be unexported (golint)
    • Line 14: warning: exported function NewSphere should have comment or be unexported (golint)
    • Line 21: warning: exported method Sphere.Compile should have comment or be unexported (golint)
    • Line 24: warning: exported method Sphere.BoundingBox should have comment or be unexported (golint)
    • Line 28: warning: exported method Sphere.Contains should have comment or be unexported (golint)
    • Line 32: warning: exported method Sphere.Intersect should have comment or be unexported (golint)
    • Line 52: warning: exported method Sphere.Paths4 should have comment or be unexported (golint)
    • Line 97: warning: exported method Sphere.Paths3 should have comment or be unexported (golint)
    • Line 107: warning: exported method Sphere.Paths2 should have comment or be unexported (golint)
    • Line 126: warning: exported method Sphere.Paths should have comment or be unexported (golint)
    • Line 149: warning: exported function LatLngToXYZ should have comment or be unexported (golint)
    • Line 157: warning: exported type OutlineSphere should have comment or be unexported (golint)
    • Line 163: warning: exported function NewOutlineSphere should have comment or be unexported (golint)
    • Line 168: warning: exported method OutlineSphere.Paths should have comment or be unexported (golint)
    • ln/ln/hit.go
    • Line 3: warning: exported type Hit should have comment or be unexported (golint)
    • Line 8: warning: exported var NoHit should have comment or be unexported (golint)
    • Line 10: warning: exported method Hit.Ok should have comment or be unexported (golint)
    • Line 14: warning: exported method Hit.Min should have comment or be unexported (golint)
    • Line 14: warning: receiver name a should be consistent with previous receiver name hit for Hit (golint)
    • Line 21: warning: exported method Hit.Max should have comment or be unexported (golint)
    • Line 21: warning: receiver name a should be consistent with previous receiver name hit for Hit (golint)
    • ln/ln/path.go
    • Line 11: warning: exported type Path should have comment or be unexported (golint)
    • Line 13: warning: exported method Path.BoundingBox should have comment or be unexported (golint)
    • Line 21: warning: exported method Path.Transform should have comment or be unexported (golint)
    • Line 29: warning: exported method Path.Chop should have comment or be unexported (golint)
    • Line 49: warning: exported method Path.Filter should have comment or be unexported (golint)
    • Line 70: warning: exported method Path.Simplify should have comment or be unexported (golint)
    • Line 89: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 94: warning: exported method Path.Print should have comment or be unexported (golint)
    • Line 109: warning: exported method Path.ToSVG should have comment or be unexported (golint)
    • Line 118: warning: exported type Paths should have comment or be unexported (golint)
    • Line 120: warning: exported method Paths.BoundingBox should have comment or be unexported (golint)
    • Line 128: warning: exported method Paths.Transform should have comment or be unexported (golint)
    • Line 136: warning: exported method Paths.Chop should have comment or be unexported (golint)
    • Line 144: warning: exported method Paths.Filter should have comment or be unexported (golint)
    • Line 152: warning: exported method Paths.Simplify should have comment or be unexported (golint)
    • Line 160: warning: exported method Paths.Print should have comment or be unexported (golint)
    • Line 174: warning: exported method Paths.WriteToPNG should have comment or be unexported (golint)
    • Line 193: warning: exported method Paths.ToSVG should have comment or be unexported (golint)
    • Line 204: warning: exported method Paths.WriteToSVG should have comment or be unexported (golint)
    • Line 208: warning: exported method Paths.WriteToTXT should have comment or be unexported (golint)
    • ln/ln/scene.go
    • Line 3: warning: exported type Scene should have comment or be unexported (golint)
    • Line 8: warning: exported method Scene.Compile should have comment or be unexported (golint)
    • Line 17: warning: exported method Scene.Add should have comment or be unexported (golint)
    • Line 21: warning: exported method Scene.Intersect should have comment or be unexported (golint)
    • Line 25: warning: exported method Scene.Visible should have comment or be unexported (golint)
    • Line 32: warning: exported method Scene.Paths should have comment or be unexported (golint)
    • Line 40: warning: exported method Scene.Render should have comment or be unexported (golint)
    • Line 47: warning: exported method Scene.RenderWithMatrix should have comment or be unexported (golint)
    • ln/ln/triangle.go
    • Line 3: warning: exported type Triangle should have comment or be unexported (golint)
    • Line 8: warning: exported function NewTriangle should have comment or be unexported (golint)
    • Line 17: warning: exported method Triangle.UpdateBoundingBox should have comment or be unexported (golint)
    • Line 23: warning: exported method Triangle.Compile should have comment or be unexported (golint)
    • Line 26: warning: exported method Triangle.BoundingBox should have comment or be unexported (golint)
    • Line 30: warning: exported method Triangle.Contains should have comment or be unexported (golint)
    • Line 34: warning: exported method Triangle.Intersect should have comment or be unexported (golint)
    • Line 70: warning: exported method Triangle.Paths should have comment or be unexported (golint)
    • ln/ln/util.go
    • Line 8: warning: exported function Radians should have comment or be unexported (golint)
    • Line 12: warning: exported function Degrees should have comment or be unexported (golint)
    • Line 16: warning: exported function Median should have comment or be unexported (golint)
    • Line 30: warning: exported function ParseFloats should have comment or be unexported (golint)
    • ln/ln/box.go
    • Line 5: warning: exported type Box should have comment or be unexported (golint)
    • Line 9: warning: exported function BoxForShapes should have comment or be unexported (golint)
    • Line 20: warning: exported function BoxForTriangles should have comment or be unexported (golint)
    • Line 31: warning: exported function BoxForVectors should have comment or be unexported (golint)
    • Line 44: warning: exported method Box.Anchor should have comment or be unexported (golint)
    • Line 48: warning: exported method Box.Center should have comment or be unexported (golint)
    • Line 52: warning: exported method Box.Size should have comment or be unexported (golint)
    • Line 56: warning: exported method Box.Contains should have comment or be unexported (golint)
    • Line 62: warning: exported method Box.Extend should have comment or be unexported (golint)
    • Line 66: warning: exported method Box.Intersect should have comment or be unexported (golint)
    • Line 66: warning: receiver name b should be consistent with previous receiver name a for Box (golint)
    • Line 87: warning: exported method Box.Partition should have comment or be unexported (golint)
    • Line 87: warning: receiver name b should be consistent with previous receiver name a for Box (golint)
    • ln/ln/cone.go
    • Line 5: warning: exported type Cone should have comment or be unexported (golint)
    • Line 10: warning: exported function NewCone should have comment or be unexported (golint)
    • Line 14: warning: exported method Cone.Compile should have comment or be unexported (golint)
    • Line 17: warning: exported method Cone.BoundingBox should have comment or be unexported (golint)
    • Line 22: warning: exported method Cone.Contains should have comment or be unexported (golint)
    • Line 26: warning: exported method Cone.Intersect should have comment or be unexported (golint)
    • Line 26: warning: receiver name shape should be consistent with previous receiver name c for Cone (golint)
    • Line 64: warning: exported method Cone.Paths should have comment or be unexported (golint)
    • Line 74: warning: exported type OutlineCone should have comment or be unexported (golint)
    • Line 80: warning: exported function NewOutlineCone should have comment or be unexported (golint)
    • Line 85: warning: exported method OutlineCone.Paths should have comment or be unexported (golint)
    • Line 112: warning: exported function NewTransformedOutlineCone should have comment or be unexported (golint)
    • ln/ln/csg.go
    • Line 3: warning: exported type Op should have comment or be unexported (golint)
    • Line 6: warning: exported const Intersection should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: exported type BooleanShape should have comment or be unexported (golint)
    • Line 16: warning: exported function NewBooleanShape should have comment or be unexported (golint)
    • Line 27: warning: exported function NewIntersection should have comment or be unexported (golint)
    • Line 31: warning: exported function NewDifference should have comment or be unexported (golint)
    • Line 35: warning: exported method BooleanShape.Compile should have comment or be unexported (golint)
    • Line 38: warning: exported method BooleanShape.BoundingBox should have comment or be unexported (golint)
    • Line 45: warning: exported method BooleanShape.Contains should have comment or be unexported (golint)
    • Line 56: warning: exported method BooleanShape.Intersect should have comment or be unexported (golint)
    • Line 67: warning: exported method BooleanShape.Paths should have comment or be unexported (golint)
    • Line 73: warning: exported method BooleanShape.Filter should have comment or be unexported (golint)
    • ln/ln/plane.go
    • Line 3: warning: exported type Plane should have comment or be unexported (golint)
    • Line 8: warning: exported method Plane.IntersectSegment should have comment or be unexported (golint)
    • Line 24: warning: exported method Plane.IntersectTriangle should have comment or be unexported (golint)
    • Line 40: warning: exported method Plane.IntersectMesh should have comment or be unexported (golint)
    • ln/ln/common.go
    • Line 3: warning: exported const INF should have comment or be unexported (golint)
    • Line 4: warning: exported const EPS should have comment or be unexported (golint)
    • ln/examples/cones.go
    • Line 12: warning: exported type Tree should have comment or be unexported (golint)
    • Line 17: warning: exported method Tree.Paths should have comment or be unexported (golint)
    • ln/ln/cube.go
    • Line 5: warning: exported type Cube should have comment or be unexported (golint)
    • Line 11: warning: exported function NewCube should have comment or be unexported (golint)
    • Line 16: warning: exported method Cube.Compile should have comment or be unexported (golint)
    • Line 19: warning: exported method Cube.BoundingBox should have comment or be unexported (golint)
    • Line 23: warning: exported method Cube.Contains should have comment or be unexported (golint)
    • Line 36: warning: exported method Cube.Intersect should have comment or be unexported (golint)
    • Line 51: warning: exported method Cube.Paths should have comment or be unexported (golint)
    • ln/ln/matrix.go
    • Line 5: warning: exported type Matrix should have comment or be unexported (golint)
    • Line 12: warning: exported function Identity should have comment or be unexported (golint)
    • Line 20: warning: exported function Translate should have comment or be unexported (golint)
    • Line 28: warning: exported function Scale should have comment or be unexported (golint)
    • Line 36: warning: exported function Rotate should have comment or be unexported (golint)
    • Line 48: warning: exported function Frustum should have comment or be unexported (golint)
    • Line 60: warning: exported function Orthographic should have comment or be unexported (golint)
    • Line 68: warning: exported function Perspective should have comment or be unexported (golint)
    • Line 74: warning: exported function LookAt should have comment or be unexported (golint)
    • Line 88: warning: exported method Matrix.Translate should have comment or be unexported (golint)
    • Line 92: warning: exported method Matrix.Scale should have comment or be unexported (golint)
    • Line 96: warning: exported method Matrix.Rotate should have comment or be unexported (golint)
    • Line 100: warning: exported method Matrix.Frustum should have comment or be unexported (golint)
    • Line 104: warning: exported method Matrix.Orthographic should have comment or be unexported (golint)
    • Line 108: warning: exported method Matrix.Perspective should have comment or be unexported (golint)
    • Line 112: warning: exported method Matrix.Mul should have comment or be unexported (golint)
    • Line 112: warning: receiver name a should be consistent with previous receiver name m for Matrix (golint)
    • Line 133: warning: exported method Matrix.MulPosition should have comment or be unexported (golint)
    • Line 133: warning: receiver name a should be consistent with previous receiver name m for Matrix (golint)
    • Line 140: warning: exported method Matrix.MulPositionW should have comment or be unexported (golint)
    • Line 140: warning: receiver name a should be consistent with previous receiver name m for Matrix (golint)
    • Line 148: warning: exported method Matrix.MulDirection should have comment or be unexported (golint)
    • Line 148: warning: receiver name a should be consistent with previous receiver name m for Matrix (golint)
    • Line 155: warning: exported method Matrix.MulRay should have comment or be unexported (golint)
    • Line 155: warning: receiver name a should be consistent with previous receiver name m for Matrix (golint)
    • Line 159: warning: exported method Matrix.MulBox should have comment or be unexported (golint)
    • Line 159: warning: receiver name a should be consistent with previous receiver name m for Matrix (golint)
    • Line 179: warning: exported method Matrix.Transpose should have comment or be unexported (golint)
    • Line 179: warning: receiver name a should be consistent with previous receiver name m for Matrix (golint)
    • Line 187: warning: exported method Matrix.Determinant should have comment or be unexported (golint)
    • Line 187: warning: receiver name a should be consistent with previous receiver name m for Matrix (golint)
    • Line 202: warning: exported method Matrix.Inverse should have comment or be unexported (golint)
    • Line 202: warning: receiver name a should be consistent with previous receiver name m for Matrix (golint)
    • ln/ln/shape.go
    • Line 3: warning: exported type Shape should have comment or be unexported (golint)
    • Line 11: warning: exported type EmptyShape should have comment or be unexported (golint)
    • Line 14: warning: exported method EmptyShape.Compile should have comment or be unexported (golint)
    • Line 17: warning: exported method EmptyShape.BoundingBox should have comment or be unexported (golint)
    • Line 21: warning: exported method EmptyShape.Contains should have comment or be unexported (golint)
    • Line 25: warning: exported method EmptyShape.Intersect should have comment or be unexported (golint)
    • Line 29: warning: exported method EmptyShape.Paths should have comment or be unexported (golint)
    • Line 33: warning: exported type TransformedShape should have comment or be unexported (golint)
    • Line 39: warning: exported function NewTransformedShape should have comment or be unexported (golint)
    • Line 43: warning: exported method TransformedShape.BoundingBox should have comment or be unexported (golint)
    • Line 47: warning: exported method TransformedShape.Contains should have comment or be unexported (golint)
    • Line 51: warning: exported method TransformedShape.Intersect should have comment or be unexported (golint)
    • Line 55: warning: exported method TransformedShape.Paths should have comment or be unexported (golint)
    • ln/ln/axis.go
    • Line 3: warning: exported type Axis should have comment or be unexported (golint)
    • Line 6: warning: exported const AxisNone should have comment (or a comment on this block) or be unexported (golint)
    • ln/ln/cylinder.go
    • Line 5: warning: exported type Cylinder should have comment or be unexported (golint)
    • Line 10: warning: exported function NewCylinder should have comment or be unexported (golint)
    • Line 14: warning: exported method Cylinder.Compile should have comment or be unexported (golint)
    • Line 17: warning: exported method Cylinder.BoundingBox should have comment or be unexported (golint)
    • Line 22: warning: exported method Cylinder.Contains should have comment or be unexported (golint)
    • Line 30: warning: exported method Cylinder.Intersect should have comment or be unexported (golint)
    • Line 30: warning: receiver name shape should be consistent with previous receiver name c for Cylinder (golint)
    • Line 59: warning: exported method Cylinder.Paths should have comment or be unexported (golint)
    • Line 69: warning: exported type OutlineCylinder should have comment or be unexported (golint)
    • Line 75: warning: exported function NewOutlineCylinder should have comment or be unexported (golint)
    • Line 80: warning: exported method OutlineCylinder.Paths should have comment or be unexported (golint)
    • Line 122: warning: exported function NewTransformedOutlineCylinder should have comment or be unexported (golint)
    • ln/ln/stl.go
    • Line 11: warning: exported type STLHeader should have comment or be unexported (golint)
    • Line 16: warning: exported type STLTriangle should have comment or be unexported (golint)
    • Line 21: warning: exported function LoadBinarySTL should have comment or be unexported (golint)
    • Line 49: warning: exported function SaveBinarySTL should have comment or be unexported (golint)
    • Line 78: warning: exported function LoadSTL should have comment or be unexported (golint)
    • ln/ln/vector.go
    • Line 8: warning: exported type Vector should have comment or be unexported (golint)
    • Line 12: warning: exported function RandomUnitVector should have comment or be unexported (golint)
    • Line 24: warning: exported method Vector.Length should have comment or be unexported (golint)
    • Line 28: warning: exported method Vector.Distance should have comment or be unexported (golint)
    • Line 32: warning: exported method Vector.LengthSquared should have comment or be unexported (golint)
    • Line 36: warning: exported method Vector.DistanceSquared should have comment or be unexported (golint)
    • Line 40: warning: exported method Vector.Dot should have comment or be unexported (golint)
    • Line 44: warning: exported method Vector.Cross should have comment or be unexported (golint)
    • Line 51: warning: exported method Vector.Normalize should have comment or be unexported (golint)
    • Line 56: warning: exported method Vector.Add should have comment or be unexported (golint)
    • Line 60: warning: exported method Vector.Sub should have comment or be unexported (golint)
    • Line 64: warning: exported method Vector.Mul should have comment or be unexported (golint)
    • Line 68: warning: exported method Vector.Div should have comment or be unexported (golint)
    • Line 72: warning: exported method Vector.AddScalar should have comment or be unexported (golint)
    • Line 76: warning: exported method Vector.SubScalar should have comment or be unexported (golint)
    • Line 80: warning: exported method Vector.MulScalar should have comment or be unexported (golint)
    • Line 84: warning: exported method Vector.DivScalar should have comment or be unexported (golint)
    • Line 88: warning: exported method Vector.Min should have comment or be unexported (golint)
    • Line 92: warning: exported method Vector.Max should have comment or be unexported (golint)
    • Line 96: warning: exported method Vector.MinAxis should have comment or be unexported (golint)
    • Line 107: warning: exported method Vector.MinComponent should have comment or be unexported (golint)
    • Line 111: warning: exported method Vector.SegmentDistance should have comment or be unexported (golint)
    • Line 111: warning: receiver name p should be consistent with previous receiver name a for Vector (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign57%

IneffAssign detects ineffectual assignments in Go code.

    • ln/examples/beads.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/fogleman/ln/ln (invalid package name: "") (ineffassign)
    • Line 10: warning: other declaration of main (ineffassign)
    • Line 10: warning: other declaration of main (ineffassign)
    • Line 10: warning: other declaration of main (ineffassign)
    • Line 10: warning: other declaration of main (ineffassign)
    • Line 10: warning: other declaration of main (ineffassign)
    • Line 10: warning: other declaration of main (ineffassign)
    • Line 10: warning: other declaration of main (ineffassign)
    • Line 10: warning: other declaration of main (ineffassign)
    • Line 10: warning: other declaration of main (ineffassign)
    • Line 10: warning: other declaration of main (ineffassign)
    • Line 10: warning: other declaration of main (ineffassign)
    • Line 10: warning: other declaration of main (ineffassign)
    • Line 10: warning: other declaration of main (ineffassign)
    • Line 10: warning: other declaration of main (ineffassign)
    • Line 10: warning: other declaration of main (ineffassign)
    • ln/examples/earth.go
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: could not import github.com/jonas-p/go-shp (invalid package name: "") (ineffassign)
    • Line 86: warning: main redeclared in this block (ineffassign)
    • Line 11: warning: undeclared name: shp (ineffassign)
    • Line 22: warning: undeclared name: shp (ineffassign)
    • Line 30: warning: pt declared but not used (ineffassign)
    • Line 40: warning: undeclared name: shp (ineffassign)
    • Line 47: warning: paths declared but not used (ineffassign)
    • Line 79: warning: x declared but not used (ineffassign)
    • Line 80: warning: y declared but not used (ineffassign)
    • Line 8: warning: "github.com/jonas-p/go-shp" imported but not used (ineffassign)
    • ln/examples/cones.go
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: could not import github.com/fogleman/pt/pt (invalid package name: "") (ineffassign)
    • Line 60: warning: main redeclared in this block (ineffassign)
    • Line 25: warning: e declared but not used (ineffassign)
    • ln/ln/path.go
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: could not import github.com/fogleman/gg (invalid package name: "") (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!