Preparing report...

Report for github.com/gonum/gonum

A+    Excellent!    Found 369 issues across 1150 files

Tweet

gofmt99%

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!


gocyclo90%

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.

    • gonum/interp/cubic_test.go
    • Line 483: warning: cyclomatic complexity 24 of function TestFritschButland() is high (> 15) (gocyclo)
    • Line 16: warning: cyclomatic complexity 18 of function TestPiecewiseCubic() is high (> 15) (gocyclo)
    • gonum/mat/matrix.go
    • Line 686: warning: cyclomatic complexity 25 of function Min() is high (> 15) (gocyclo)
    • Line 610: warning: cyclomatic complexity 25 of function Max() is high (> 15) (gocyclo)
    • Line 453: warning: cyclomatic complexity 24 of function Equal() is high (> 15) (gocyclo)
    • Line 525: warning: cyclomatic complexity 24 of function EqualApprox() is high (> 15) (gocyclo)
    • Line 857: warning: cyclomatic complexity 20 of function Sum() is high (> 15) (gocyclo)
    • Line 776: warning: cyclomatic complexity 19 of function Norm() is high (> 15) (gocyclo)
    • gonum/mat/tridiag_test.go
    • Line 178: warning: cyclomatic complexity 32 of function TestTridiagAtSet() is high (> 15) (gocyclo)
    • Line 327: warning: cyclomatic complexity 21 of function TestTridiagSolveTo() is high (> 15) (gocyclo)
    • Line 417: warning: cyclomatic complexity 20 of function TestTridiagSolveVecTo() is high (> 15) (gocyclo)
    • gonum/mathext/internal/amos/origcode_test.go
    • Line 528: warning: cyclomatic complexity 58 of function zbknuOrig() is high (> 15) (gocyclo)
    • Line 38: warning: cyclomatic complexity 37 of function zairyOrig() is high (> 15) (gocyclo)
    • Line 1910: warning: cyclomatic complexity 26 of function zseriOrig() is high (> 15) (gocyclo)
    • Line 1490: warning: cyclomatic complexity 17 of function zasyiOrig() is high (> 15) (gocyclo)
    • gonum/mat/format.go
    • Line 97: warning: cyclomatic complexity 30 of function format() is high (> 15) (gocyclo)
    • Line 336: warning: cyclomatic complexity 27 of function formatPython() is high (> 15) (gocyclo)
    • Line 223: warning: cyclomatic complexity 24 of function formatMATLAB() is high (> 15) (gocyclo)
    • gonum/graph/testgraph/testgraph.go
    • Line 753: warning: cyclomatic complexity 72 of function LineExistence() is high (> 15) (gocyclo)
    • Line 962: warning: cyclomatic complexity 60 of function ReturnAdjacentNodes() is high (> 15) (gocyclo)
    • Line 643: warning: cyclomatic complexity 37 of function EdgeExistence() is high (> 15) (gocyclo)
    • Line 334: warning: cyclomatic complexity 19 of function ReturnAllLines() is high (> 15) (gocyclo)
    • Line 544: warning: cyclomatic complexity 19 of function ReturnAllWeightedLines() is high (> 15) (gocyclo)
    • Line 1515: warning: cyclomatic complexity 19 of function RemoveNodes() is high (> 15) (gocyclo)
    • Line 1996: warning: cyclomatic complexity 18 of function RemoveLines() is high (> 15) (gocyclo)
    • Line 1382: warning: cyclomatic complexity 18 of function AddNodes() is high (> 15) (gocyclo)
    • Line 1308: warning: cyclomatic complexity 17 of function undirectedEdgeSetEqual() is high (> 15) (gocyclo)
    • Line 415: warning: cyclomatic complexity 17 of function ReturnAllWeightedEdges() is high (> 15) (gocyclo)
    • Line 1856: warning: cyclomatic complexity 16 of function AddWeightedLines() is high (> 15) (gocyclo)
    • gonum/mat/triangular.go
    • Line 397: warning: cyclomatic complexity 21 of function (*TriDense).Copy() is high (> 15) (gocyclo)
    • Line 483: warning: cyclomatic complexity 18 of function (*TriDense).MulTri() is high (> 15) (gocyclo)
    • Line 660: warning: cyclomatic complexity 17 of function copySymIntoTriangle() is high (> 15) (gocyclo)
    • gonum/optimize/morethuente.go
    • Line 133: warning: cyclomatic complexity 27 of function (*MoreThuente).Iterate() is high (> 15) (gocyclo)
    • Line 222: warning: cyclomatic complexity 25 of function (*MoreThuente).nextStep() is high (> 15) (gocyclo)
    • gonum/graph/encoding/dot/encode.go
    • Line 444: warning: cyclomatic complexity 31 of function (*multiGraphPrinter).print() is high (> 15) (gocyclo)
    • Line 145: warning: cyclomatic complexity 30 of function (*simpleGraphPrinter).print() is high (> 15) (gocyclo)
    • gonum/mat/list_test.go
    • Line 353: warning: cyclomatic complexity 60 of function makeRandOf() is high (> 15) (gocyclo)
    • Line 561: warning: cyclomatic complexity 56 of function makeNaNOf() is high (> 15) (gocyclo)
    • Line 1512: warning: cyclomatic complexity 45 of function testTwoInput() is high (> 15) (gocyclo)
    • Line 256: warning: cyclomatic complexity 33 of function returnAs() is high (> 15) (gocyclo)
    • Line 1353: warning: cyclomatic complexity 30 of function testOneInput() is high (> 15) (gocyclo)
    • Line 757: warning: cyclomatic complexity 26 of function makeCopyOf() is high (> 15) (gocyclo)
    • Line 1266: warning: cyclomatic complexity 16 of function testTwoInputFunc() is high (> 15) (gocyclo)
    • gonum/mat/symmetric_test.go
    • Line 70: warning: cyclomatic complexity 18 of function TestSymAtSet() is high (> 15) (gocyclo)
    • Line 608: warning: cyclomatic complexity 18 of function TestViewGrowSquare() is high (> 15) (gocyclo)
    • gonum/optimize/neldermead.go
    • Line 203: warning: cyclomatic complexity 19 of function (*NelderMead).iterateLocal() is high (> 15) (gocyclo)
    • Line 110: warning: cyclomatic complexity 16 of function (*NelderMead).initLocal() is high (> 15) (gocyclo)
    • gonum/num/quat/quat.go
    • Line 193: warning: cyclomatic complexity 75 of function floatPart() is high (> 15) (gocyclo)
    • Line 112: warning: cyclomatic complexity 24 of function Parse() is high (> 15) (gocyclo)
    • gonum/mathext/internal/amos/amos.go
    • Line 535: warning: cyclomatic complexity 58 of function Zbknu() is high (> 15) (gocyclo)
    • Line 45: warning: cyclomatic complexity 37 of function Zairy() is high (> 15) (gocyclo)
    • Line 1952: warning: cyclomatic complexity 31 of function Zseri() is high (> 15) (gocyclo)
    • Line 1532: warning: cyclomatic complexity 17 of function Zasyi() is high (> 15) (gocyclo)
    • gonum/floats/floats.go
    • Line 512: warning: cyclomatic complexity 28 of function NearestIdxForSpan() is high (> 15) (gocyclo)
    • Line 685: warning: cyclomatic complexity 16 of function Span() is high (> 15) (gocyclo)
    • gonum/mat/triangular_test.go
    • Line 532: warning: cyclomatic complexity 23 of function TestTriSliceTri() is high (> 15) (gocyclo)
    • Line 69: warning: cyclomatic complexity 19 of function TestTriAtSet() is high (> 15) (gocyclo)
    • Line 205: warning: cyclomatic complexity 16 of function TestTriDenseCopy() is high (> 15) (gocyclo)
    • gonum/graph/path/dijkstra_test.go
    • Line 95: warning: cyclomatic complexity 27 of function TestDijkstraAllFrom() is high (> 15) (gocyclo)
    • Line 211: warning: cyclomatic complexity 26 of function TestDijkstraAllPaths() is high (> 15) (gocyclo)
    • Line 20: warning: cyclomatic complexity 19 of function TestDijkstraFrom() is high (> 15) (gocyclo)
    • gonum/mat/vector.go
    • Line 582: warning: cyclomatic complexity 31 of function (*VecDense).MulVec() is high (> 15) (gocyclo)
    • Line 324: warning: cyclomatic complexity 22 of function (*VecDense).AddScaledVec() is high (> 15) (gocyclo)
    • gonum/stat/stat.go
    • Line 597: warning: cyclomatic complexity 25 of function KolmogorovSmirnov() is high (> 15) (gocyclo)
    • Line 488: warning: cyclomatic complexity 21 of function Histogram() is high (> 15) (gocyclo)
    • gonum/graph/internal/set/set_test.go
    • Line 488: warning: cyclomatic complexity 17 of function TestUnionDiffNodes() is high (> 15) (gocyclo)
    • Line 529: warning: cyclomatic complexity 17 of function TestUnionOverlappingNodes() is high (> 15) (gocyclo)
    • Line 633: warning: cyclomatic complexity 16 of function TestIntersectOverlappingNodes() is high (> 15) (gocyclo)
    • gonum/mat/dense_test.go
    • Line 1826: warning: cyclomatic complexity 28 of function TestDenseInverse() is high (> 15) (gocyclo)
    • Line 289: warning: cyclomatic complexity 24 of function TestDenseRowColView() is high (> 15) (gocyclo)
    • Line 163: warning: cyclomatic complexity 18 of function TestDenseAtSet() is high (> 15) (gocyclo)

golint76%

Golint is a linter for Go source code.

    • gonum/mathext/internal/amos/amos.go
    • Line 45: warning: exported function Zairy should have comment or be unexported (golint)
    • Line 534: warning: comment on exported function Zbknu should be of the form "Zbknu ..." (golint)
    • Line 1232: warning: comment on exported function Zkscl should be of the form "Zkscl ..." (golint)
    • Line 1403: warning: comment on exported function Zacai should be of the form "Zacai ..." (golint)
    • Line 1528: warning: comment on exported function Zasyi should be of the form "Zasyi ..." (golint)
    • Line 1731: warning: comment on exported function Zmlri should be of the form "Zmlri ..." (golint)
    • gonum/optimize/bfgs.go
    • Line 51: warning: exported method BFGS.Status should have comment or be unexported (golint)
    • Line 55: warning: exported method BFGS.Uses should have comment or be unexported (golint)
    • Line 59: warning: exported method BFGS.Init should have comment or be unexported (golint)
    • Line 65: warning: exported method BFGS.Run should have comment or be unexported (golint)
    • Line 87: warning: exported method BFGS.InitDirection should have comment or be unexported (golint)
    • Line 116: warning: exported method BFGS.NextDirection should have comment or be unexported (golint)
    • gonum/spatial/barneshut/barneshut3.go
    • Line 123: warning: error var volumeTooBig should have name of the form errFoo (golint)
    • Line 217: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 223: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 231: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 237: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • gonum/internal/asm/c128/util_test.go
    • Line 22: warning: don't use underscores in Go names; func parameter guard_val should be guardVal (golint)
    • Line 22: warning: don't use underscores in Go names; func parameter guard_len should be guardLen (golint)
    • Line 32: warning: don't use underscores in Go names; func parameter guard_val should be guardVal (golint)
    • Line 32: warning: don't use underscores in Go names; func parameter guard_len should be guardLen (golint)
    • Line 41: warning: don't use underscores in Go names; func parameter guard_val should be guardVal (golint)
    • Line 41: warning: don't use underscores in Go names; func parameter guard_len should be guardLen (golint)
    • Line 42: warning: don't use underscores in Go names; var s_ln should be sLn (golint)
    • Line 61: warning: don't use underscores in Go names; func parameter guard_val should be guardVal (golint)
    • Line 61: warning: don't use underscores in Go names; func parameter guard_len should be guardLen (golint)
    • Line 62: warning: don't use underscores in Go names; var s_ln should be sLn (golint)
    • gonum/spatial/kdtree/points.go
    • Line 54: warning: exported method Points.Bounds should have comment or be unexported (golint)
    • Line 68: warning: exported method Points.Index should have comment or be unexported (golint)
    • Line 69: warning: exported method Points.Len should have comment or be unexported (golint)
    • Line 70: warning: exported method Points.Pivot should have comment or be unexported (golint)
    • Line 71: warning: exported method Points.Slice should have comment or be unexported (golint)
    • Line 85: warning: exported method Plane.Less should have comment or be unexported (golint)
    • Line 86: warning: exported method Plane.Pivot should have comment or be unexported (golint)
    • Line 87: warning: exported method Plane.Slice should have comment or be unexported (golint)
    • Line 88: warning: exported method Plane.Swap should have comment or be unexported (golint)
    • gonum/blas/testblas/dger.go
    • Line 12: warning: exported type Dgerer should have comment or be unexported (golint)
    • Line 16: warning: exported function DgerTest should have comment or be unexported (golint)
    • gonum/mathext/internal/cephes/ndtri.go
    • Line 23: warning: comment on exported var P0 should be of the form "P0 ..." (golint)
    • Line 32: warning: exported var Q0 should have comment or be unexported (golint)
    • Line 44: warning: comment on exported var P1 should be of the form "P1 ..." (golint)
    • Line 58: warning: exported var Q1 should have comment or be unexported (golint)
    • Line 70: warning: comment on exported var P2 should be of the form "P2 ..." (golint)
    • Line 84: warning: exported var Q2 should have comment or be unexported (golint)
    • gonum/spatial/kdtree/kdtree.go
    • Line 301: warning: exported method Heap.Max should have comment or be unexported (golint)
    • Line 305: warning: exported method Heap.Push should have comment or be unexported (golint)
    • Line 306: warning: exported method Heap.Pop should have comment or be unexported (golint)
    • gonum/graph/community/louvain_directed.go
    • Line 591: warning: don't use underscores in Go names; var a_aa should be aAa (golint)
    • Line 592: warning: don't use underscores in Go names; var k_a should be kA (golint)
    • Line 630: warning: don't use underscores in Go names; var k_aC should be kAC (golint)
    • Line 630: warning: don't use underscores in Go names; var sigma_totC should be sigmaTotC (golint)
    • gonum/graph/formats/gexf12/gexf.go
    • Line 185: warning: comment on exported type AttValues should be of the form "AttValues ..." (with optional leading article) (golint)
    • Line 190: warning: comment on exported type AttValue should be of the form "AttValue ..." (with optional leading article) (golint)
    • Line 200: warning: comment on exported type Edgeshape should be of the form "Edgeshape ..." (with optional leading article) (golint)
    • gonum/integrate/quad/legendre.go
    • Line 13: warning: exported method Legendre.FixedLocations should have comment or be unexported (golint)
    • Line 40: warning: exported method Legendre.FixedLocationSingle should have comment or be unexported (golint)
    • gonum/optimize/cg.go
    • Line 122: warning: exported method CG.Status should have comment or be unexported (golint)
    • Line 126: warning: exported method CG.Uses should have comment or be unexported (golint)
    • Line 130: warning: exported method CG.Init should have comment or be unexported (golint)
    • Line 136: warning: exported method CG.Run should have comment or be unexported (golint)
    • Line 179: warning: exported method CG.InitDirection should have comment or be unexported (golint)
    • Line 199: warning: exported method CG.NextDirection should have comment or be unexported (golint)
    • Line 271: warning: exported method FletcherReeves.Init should have comment or be unexported (golint)
    • Line 275: warning: exported method FletcherReeves.Beta should have comment or be unexported (golint)
    • Line 290: warning: exported method PolakRibierePolyak.Init should have comment or be unexported (golint)
    • Line 294: warning: exported method PolakRibierePolyak.Beta should have comment or be unexported (golint)
    • Line 310: warning: exported method HestenesStiefel.Init should have comment or be unexported (golint)
    • Line 314: warning: exported method HestenesStiefel.Beta should have comment or be unexported (golint)
    • Line 328: warning: exported method DaiYuan.Init should have comment or be unexported (golint)
    • Line 332: warning: exported method DaiYuan.Beta should have comment or be unexported (golint)
    • Line 346: warning: exported method HagerZhang.Init should have comment or be unexported (golint)
    • Line 350: warning: exported method HagerZhang.Beta should have comment or be unexported (golint)
    • gonum/graph/traverse/traverse_test.go
    • Line 401: warning: don't use underscores in Go names; var gnpUndirected_10_tenth should be gnpUndirected10Tenth (golint)
    • Line 402: warning: don't use underscores in Go names; var gnpUndirected_100_tenth should be gnpUndirected100Tenth (golint)
    • Line 403: warning: don't use underscores in Go names; var gnpUndirected_1000_tenth should be gnpUndirected1000Tenth (golint)
    • Line 404: warning: don't use underscores in Go names; var gnpUndirected_10_half should be gnpUndirected10Half (golint)
    • Line 405: warning: don't use underscores in Go names; var gnpUndirected_100_half should be gnpUndirected100Half (golint)
    • Line 406: warning: don't use underscores in Go names; var gnpUndirected_1000_half should be gnpUndirected1000Half (golint)
    • gonum/optimize/morethuente.go
    • Line 67: warning: exported method MoreThuente.Init should have comment or be unexported (golint)
    • Line 133: warning: exported method MoreThuente.Iterate should have comment or be unexported (golint)
    • gonum/blas/testblas/dgemv.go
    • Line 13: warning: exported type DgemvCase should have comment or be unexported (golint)
    • Line 27: warning: exported type DgemvSubcase should have comment or be unexported (golint)
    • Line 35: warning: exported var DgemvCases should have comment or be unexported (golint)
    • Line 627: warning: exported type Dgemver should have comment or be unexported (golint)
    • Line 631: warning: exported function DgemvTest should have comment or be unexported (golint)
    • gonum/optimize/functionconvergence.go
    • Line 27: warning: exported method NeverTerminate.Init should have comment or be unexported (golint)
    • Line 29: warning: exported method NeverTerminate.Converged should have comment or be unexported (golint)
    • Line 54: warning: exported method FunctionConverge.Init should have comment or be unexported (golint)
    • Line 60: warning: exported method FunctionConverge.Converged should have comment or be unexported (golint)
    • gonum/graph/graphs/gen/gen.go
    • Line 26: warning: comment on exported type NodeIDGraphBuilder should be of the form "NodeIDGraphBuilder ..." (with optional leading article) (golint)
    • Line 47: warning: exported method IDRange.Len should have comment or be unexported (golint)
    • Line 48: warning: exported method IDRange.ID should have comment or be unexported (golint)
    • Line 53: warning: exported method IDSet.Len should have comment or be unexported (golint)
    • Line 54: warning: exported method IDSet.ID should have comment or be unexported (golint)
    • gonum/lapack/lapack.go
    • Line 48: warning: exported const Forward should have comment (or a comment on this block) or be unexported (golint)
    • Line 56: warning: exported const SortIncreasing should have comment (or a comment on this block) or be unexported (golint)
    • Line 64: warning: exported const ColumnWise should have comment (or a comment on this block) or be unexported (golint)
    • Line 72: warning: exported const MaxAbs should have comment (or a comment on this block) or be unexported (golint)
    • Line 82: warning: exported const General should have comment (or a comment on this block) or be unexported (golint)
    • Line 91: warning: exported const Variable should have comment (or a comment on this block) or be unexported (golint)
    • Line 100: warning: exported const ApplyP should have comment (or a comment on this block) or be unexported (golint)
    • Line 108: warning: exported const GeneratePT should have comment (or a comment on this block) or be unexported (golint)
    • Line 116: warning: exported const SVDAll should have comment (or a comment on this block) or be unexported (golint)
    • Line 126: warning: exported const GSVDU should have comment (or a comment on this block) or be unexported (golint)
    • Line 137: warning: exported const EVOrig should have comment (or a comment on this block) or be unexported (golint)
    • Line 146: warning: exported const EVCompute should have comment (or a comment on this block) or be unexported (golint)
    • Line 154: warning: exported const LeftEVCompute should have comment (or a comment on this block) or be unexported (golint)
    • Line 162: warning: exported const RightEVCompute should have comment (or a comment on this block) or be unexported (golint)
    • Line 170: warning: exported const Permute should have comment (or a comment on this block) or be unexported (golint)
    • Line 180: warning: exported const EigenvaluesOnly should have comment (or a comment on this block) or be unexported (golint)
    • Line 188: warning: exported const SchurOrig should have comment (or a comment on this block) or be unexported (golint)
    • Line 197: warning: exported const UpdateSchur should have comment (or a comment on this block) or be unexported (golint)
    • Line 205: warning: exported const EVRight should have comment (or a comment on this block) or be unexported (golint)
    • Line 214: warning: exported const EVAll should have comment (or a comment on this block) or be unexported (golint)
    • gonum/optimize/functions/functions.go
    • Line 28: warning: exported method Beale.Func should have comment or be unexported (golint)
    • Line 39: warning: exported method Beale.Grad should have comment or be unexported (golint)
    • Line 59: warning: exported method Beale.Hess should have comment or be unexported (golint)
    • Line 82: warning: exported method Beale.Minima should have comment or be unexported (golint)
    • Line 102: warning: exported method BiggsEXP2.Func should have comment or be unexported (golint)
    • Line 116: warning: exported method BiggsEXP2.Grad should have comment or be unexported (golint)
    • Line 140: warning: exported method BiggsEXP2.Minima should have comment or be unexported (golint)
    • Line 160: warning: exported method BiggsEXP3.Func should have comment or be unexported (golint)
    • Line 174: warning: exported method BiggsEXP3.Grad should have comment or be unexported (golint)
    • Line 200: warning: exported method BiggsEXP3.Minima should have comment or be unexported (golint)
    • Line 220: warning: exported method BiggsEXP4.Func should have comment or be unexported (golint)
    • Line 234: warning: exported method BiggsEXP4.Grad should have comment or be unexported (golint)
    • Line 262: warning: exported method BiggsEXP4.Minima should have comment or be unexported (golint)
    • Line 282: warning: exported method BiggsEXP5.Func should have comment or be unexported (golint)
    • Line 296: warning: exported method BiggsEXP5.Grad should have comment or be unexported (golint)
    • Line 326: warning: exported method BiggsEXP5.Minima should have comment or be unexported (golint)
    • Line 349: warning: exported method BiggsEXP6.Func should have comment or be unexported (golint)
    • Line 363: warning: exported method BiggsEXP6.Grad should have comment or be unexported (golint)
    • Line 395: warning: exported method BiggsEXP6.Minima should have comment or be unexported (golint)
    • Line 429: warning: exported method Box3D.Func should have comment or be unexported (golint)
    • Line 443: warning: exported method Box3D.Grad should have comment or be unexported (golint)
    • Line 464: warning: exported method Box3D.Minima should have comment or be unexported (golint)
    • Line 495: warning: exported method BraninHoo.Func should have comment or be unexported (golint)
    • Line 505: warning: exported method BraninHoo.Minima should have comment or be unexported (golint)
    • Line 535: warning: exported method BrownBadlyScaled.Func should have comment or be unexported (golint)
    • Line 546: warning: exported method BrownBadlyScaled.Grad should have comment or be unexported (golint)
    • Line 561: warning: exported method BrownBadlyScaled.Hess should have comment or be unexported (golint)
    • Line 577: warning: exported method BrownBadlyScaled.Minima should have comment or be unexported (golint)
    • Line 600: warning: exported method BrownAndDennis.Func should have comment or be unexported (golint)
    • Line 615: warning: exported method BrownAndDennis.Grad should have comment or be unexported (golint)
    • Line 638: warning: exported method BrownAndDennis.Hess should have comment or be unexported (golint)
    • Line 678: warning: exported method BrownAndDennis.Minima should have comment or be unexported (golint)
    • Line 702: warning: exported method ExtendedPowellSingular.Func should have comment or be unexported (golint)
    • Line 719: warning: exported method ExtendedPowellSingular.Grad should have comment or be unexported (golint)
    • Line 741: warning: exported method ExtendedPowellSingular.Minima should have comment or be unexported (golint)
    • Line 774: warning: exported method ExtendedRosenbrock.Func should have comment or be unexported (golint)
    • Line 783: warning: exported method ExtendedRosenbrock.Grad should have comment or be unexported (golint)
    • Line 802: warning: exported method ExtendedRosenbrock.Minima should have comment or be unexported (golint)
    • Line 890: warning: exported method Gaussian.Func should have comment or be unexported (golint)
    • Line 906: warning: exported method Gaussian.Grad should have comment or be unexported (golint)
    • Line 929: warning: exported method Gaussian.Minima should have comment or be unexported (golint)
    • Line 952: warning: exported method GulfResearchAndDevelopment.Func should have comment or be unexported (golint)
    • Line 968: warning: exported method GulfResearchAndDevelopment.Grad should have comment or be unexported (golint)
    • Line 995: warning: exported method GulfResearchAndDevelopment.Minima should have comment or be unexported (golint)
    • Line 1028: warning: exported method HelicalValley.Func should have comment or be unexported (golint)
    • Line 1046: warning: exported method HelicalValley.Grad should have comment or be unexported (golint)
    • Line 1070: warning: exported method HelicalValley.Minima should have comment or be unexported (golint)
    • Line 1083: warning: exported method Linear.Func should have comment or be unexported (golint)
    • Line 1087: warning: exported method Linear.Grad should have comment or be unexported (golint)
    • Line 1111: warning: exported method PenaltyI.Func should have comment or be unexported (golint)
    • Line 1125: warning: exported method PenaltyI.Grad should have comment or be unexported (golint)
    • Line 1139: warning: exported method PenaltyI.Minima should have comment or be unexported (golint)
    • Line 1169: warning: exported method PenaltyII.Func should have comment or be unexported (golint)
    • Line 1190: warning: exported method PenaltyII.Grad should have comment or be unexported (golint)
    • Line 1216: warning: exported method PenaltyII.Minima should have comment or be unexported (golint)
    • Line 1249: warning: exported method PowellBadlyScaled.Func should have comment or be unexported (golint)
    • Line 1259: warning: exported method PowellBadlyScaled.Grad should have comment or be unexported (golint)
    • Line 1273: warning: exported method PowellBadlyScaled.Hess should have comment or be unexported (golint)
    • Line 1294: warning: exported method PowellBadlyScaled.Minima should have comment or be unexported (golint)
    • Line 1317: warning: exported method Trigonometric.Func should have comment or be unexported (golint)
    • Line 1329: warning: exported method Trigonometric.Grad should have comment or be unexported (golint)
    • Line 1351: warning: exported method Trigonometric.Minima should have comment or be unexported (golint)
    • Line 1384: warning: exported method VariablyDimensioned.Func should have comment or be unexported (golint)
    • Line 1401: warning: exported method VariablyDimensioned.Grad should have comment or be unexported (golint)
    • Line 1415: warning: exported method VariablyDimensioned.Minima should have comment or be unexported (golint)
    • Line 1459: warning: exported method Watson.Func should have comment or be unexported (golint)
    • Line 1485: warning: exported method Watson.Grad should have comment or be unexported (golint)
    • Line 1523: warning: exported method Watson.Hess should have comment or be unexported (golint)
    • Line 1570: warning: exported method Watson.Minima should have comment or be unexported (golint)
    • Line 1609: warning: exported method Wood.Func should have comment or be unexported (golint)
    • Line 1623: warning: exported method Wood.Grad should have comment or be unexported (golint)
    • Line 1643: warning: exported method Wood.Hess should have comment or be unexported (golint)
    • Line 1663: warning: exported method Wood.Minima should have comment or be unexported (golint)
    • Line 1681: warning: exported method ConcaveRight.Func should have comment or be unexported (golint)
    • Line 1688: warning: exported method ConcaveRight.Grad should have comment or be unexported (golint)
    • Line 1707: warning: exported method ConcaveLeft.Func should have comment or be unexported (golint)
    • Line 1714: warning: exported method ConcaveLeft.Grad should have comment or be unexported (golint)
    • Line 1739: warning: exported method Plassmann.Func should have comment or be unexported (golint)
    • Line 1758: warning: exported method Plassmann.Grad should have comment or be unexported (golint)
    • Line 1795: warning: exported method YanaiOzawaKaneko.Func should have comment or be unexported (golint)
    • Line 1807: warning: exported method YanaiOzawaKaneko.Grad should have comment or be unexported (golint)
    • gonum/optimize/guessandcheck.go
    • Line 24: warning: exported method GuessAndCheck.Uses should have comment or be unexported (golint)
    • Line 28: warning: exported method GuessAndCheck.Init should have comment or be unexported (golint)
    • Line 59: warning: exported method GuessAndCheck.Run should have comment or be unexported (golint)
    • gonum/blas/testblas/dspr.go
    • Line 13: warning: exported type Dsprer should have comment or be unexported (golint)
    • Line 17: warning: exported function DsprTest should have comment or be unexported (golint)
    • gonum/spatial/barneshut/barneshut2.go
    • Line 117: warning: error var planeTooBig should have name of the form errFoo (golint)
    • Line 204: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 210: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • gonum/blas/testblas/dgemm.go
    • Line 13: warning: exported type Dgemmer should have comment or be unexported (golint)
    • Line 17: warning: exported type DgemmCase should have comment or be unexported (golint)
    • Line 26: warning: exported var DgemmCases should have comment or be unexported (golint)
    • Line 229: warning: exported function TestDgemm should have comment or be unexported (golint)
    • gonum/mat/cholesky.go
    • Line 80: warning: receiver name ch should be consistent with previous receiver name c for Cholesky (golint)
    • Line 256: warning: receiver name a should be consistent with previous receiver name c for Cholesky (golint)
    • gonum/optimize/linesearch.go
    • Line 32: warning: exported method LinesearchMethod.Init should have comment or be unexported (golint)
    • Line 56: warning: exported method LinesearchMethod.Iterate should have comment or be unexported (golint)
    • gonum/mat/symmetric.go
    • Line 260: warning: exported method SymDense.AddSym should have comment or be unexported (golint)
    • Line 297: warning: exported method SymDense.CopySym should have comment or be unexported (golint)
    • gonum/blas/blas.go
    • Line 13: warning: exported const Identity should have comment (or a comment on this block) or be unexported (golint)
    • Line 37: warning: exported const NoTrans should have comment (or a comment on this block) or be unexported (golint)
    • Line 46: warning: exported const Upper should have comment (or a comment on this block) or be unexported (golint)
    • Line 55: warning: exported const NonUnit should have comment (or a comment on this block) or be unexported (golint)
    • Line 63: warning: exported const Left should have comment (or a comment on this block) or be unexported (golint)
    • gonum/doc.go
    • Line 5: warning: package comment should be of the form "Package gonum ..." (golint)
    • gonum/optimize/functions/vlse.go
    • Line 25: warning: exported method Ackley.Func should have comment or be unexported (golint)
    • Line 43: warning: exported method Bukin6.Func should have comment or be unexported (golint)
    • Line 62: warning: exported method CamelThree.Func should have comment or be unexported (golint)
    • Line 85: warning: exported method CamelSix.Func should have comment or be unexported (golint)
    • Line 105: warning: exported method CrossInTray.Func should have comment or be unexported (golint)
    • Line 127: warning: exported method DixonPrice.Func should have comment or be unexported (golint)
    • Line 147: warning: exported method DropWave.Func should have comment or be unexported (golint)
    • Line 166: warning: exported method Eggholder.Func should have comment or be unexported (golint)
    • Line 183: warning: exported method GramacyLee.Func should have comment or be unexported (golint)
    • Line 201: warning: exported method Griewank.Func should have comment or be unexported (golint)
    • Line 219: warning: exported method HolderTable.Func should have comment or be unexported (golint)
    • Line 238: warning: exported method Langermann2.Func should have comment or be unexported (golint)
    • Line 270: warning: exported method Levy.Func should have comment or be unexported (golint)
    • Line 292: warning: exported method Levy13.Func should have comment or be unexported (golint)
    • Line 314: warning: exported method Rastrigin.Func should have comment or be unexported (golint)
    • Line 330: warning: exported method Schaffer2.Func should have comment or be unexported (golint)
    • Line 348: warning: exported method Schaffer4.Func should have comment or be unexported (golint)
    • Line 367: warning: exported method Schwefel.Func should have comment or be unexported (golint)
    • Line 383: warning: exported method Shubert.Func should have comment or be unexported (golint)
    • gonum/graph/multigraph.go
    • Line 180: warning: comment on exported type UndirectedMultigraphBuilder should be of the form "UndirectedMultigraphBuilder ..." (with optional leading article) (golint)
    • gonum/blas/testblas/level1double.go
    • Line 16: warning: exported type DoubleOneVectorCase should have comment or be unexported (golint)
    • Line 28: warning: exported type DScalCase should have comment or be unexported (golint)
    • Line 34: warning: exported var DoubleOneVectorCases should have comment or be unexported (golint)
    • Line 508: warning: exported type DoubleTwoVectorCase should have comment or be unexported (golint)
    • Line 527: warning: exported type DaxpyCase should have comment or be unexported (golint)
    • Line 532: warning: exported type DrotCase should have comment or be unexported (golint)
    • Line 539: warning: exported type DrotmCase should have comment or be unexported (golint)
    • Line 546: warning: exported type DTwoVecAnswer should have comment or be unexported (golint)
    • Line 551: warning: exported var DoubleTwoVectorCases should have comment or be unexported (golint)
    • Line 1348: warning: exported type Ddotter should have comment or be unexported (golint)
    • Line 1352: warning: exported function DdotTest should have comment or be unexported (golint)
    • Line 1380: warning: exported type Dnrm2er should have comment or be unexported (golint)
    • Line 1384: warning: exported function Dnrm2Test should have comment or be unexported (golint)
    • Line 1399: warning: exported type Dasumer should have comment or be unexported (golint)
    • Line 1403: warning: exported function DasumTest should have comment or be unexported (golint)
    • Line 1418: warning: exported type Idamaxer should have comment or be unexported (golint)
    • Line 1422: warning: exported function IdamaxTest should have comment or be unexported (golint)
    • Line 1442: warning: exported type Dswapper should have comment or be unexported (golint)
    • Line 1446: warning: exported function DswapTest should have comment or be unexported (golint)
    • Line 1465: warning: exported type Dcopier should have comment or be unexported (golint)
    • Line 1469: warning: exported function DcopyTest should have comment or be unexported (golint)
    • Line 1488: warning: exported type Daxpyer should have comment or be unexported (golint)
    • Line 1492: warning: exported function DaxpyTest should have comment or be unexported (golint)
    • Line 1510: warning: exported type DrotgTestStruct should have comment or be unexported (golint)
    • Line 1516: warning: exported var DrotgTests should have comment or be unexported (golint)
    • Line 1622: warning: exported type Drotger should have comment or be unexported (golint)
    • Line 1626: warning: exported function DrotgTest should have comment or be unexported (golint)
    • Line 1735: warning: exported type DrotmgTestStruct should have comment or be unexported (golint)
    • Line 1742: warning: exported var DrotmgTests should have comment or be unexported (golint)
    • Line 2163: warning: exported type Drotmger should have comment or be unexported (golint)
    • Line 2168: warning: exported function DrotmgTest should have comment or be unexported (golint)
    • Line 2213: warning: exported type Droter should have comment or be unexported (golint)
    • Line 2217: warning: exported function DrotTest should have comment or be unexported (golint)
    • Line 2238: warning: exported type Drotmer should have comment or be unexported (golint)
    • Line 2242: warning: exported function DrotmTest should have comment or be unexported (golint)
    • Line 2263: warning: exported type Dscaler should have comment or be unexported (golint)
    • Line 2267: warning: exported function DscalTest should have comment or be unexported (golint)
    • gonum/mat/triangular.go
    • Line 109: warning: exported method TransposeTri.UntransposeTri should have comment or be unexported (golint)
    • Line 151: warning: exported method TriDense.Dims should have comment or be unexported (golint)
    • Line 206: warning: exported method TriDense.RawTriangular should have comment or be unexported (golint)
    • gonum/graph/community/louvain_undirected_multiplex.go
    • Line 785: warning: don't use underscores in Go names; var k_aC should be kAC (golint)
    • Line 785: warning: don't use underscores in Go names; var sigma_totC should be sigmaTotC (golint)
    • Line 800: warning: don't use underscores in Go names; var k_aC should be kAC (golint)
    • Line 807: warning: don't use underscores in Go names; var sigma_totC should be sigmaTotC (golint)
    • Line 810: warning: don't use underscores in Go names; var a_aa should be aAa (golint)
    • Line 811: warning: don't use underscores in Go names; var k_a should be kA (golint)
    • gonum/optimize/backtracking.go
    • Line 39: warning: exported method Backtracking.Init should have comment or be unexported (golint)
    • Line 68: warning: exported method Backtracking.Iterate should have comment or be unexported (golint)
    • gonum/optimize/stepsizers.go
    • Line 37: warning: exported method ConstantStepSize.Init should have comment or be unexported (golint)
    • Line 41: warning: exported method ConstantStepSize.StepSize should have comment or be unexported (golint)
    • Line 74: warning: exported method QuadraticStepSize.Init should have comment or be unexported (golint)
    • Line 102: warning: exported method QuadraticStepSize.StepSize should have comment or be unexported (golint)
    • Line 157: warning: exported method FirstOrderStepSize.Init should have comment or be unexported (golint)
    • Line 181: warning: exported method FirstOrderStepSize.StepSize should have comment or be unexported (golint)
    • gonum/blas/testblas/dsyr.go
    • Line 13: warning: exported type Dsyrer should have comment or be unexported (golint)
    • Line 17: warning: exported function DsyrTest should have comment or be unexported (golint)
    • gonum/graph/community/louvain_undirected.go
    • Line 533: warning: don't use underscores in Go names; var a_aa should be aAa (golint)
    • Line 534: warning: don't use underscores in Go names; var k_a should be kA (golint)
    • Line 566: warning: don't use underscores in Go names; var k_aC should be kAC (golint)
    • Line 566: warning: don't use underscores in Go names; var sigma_totC should be sigmaTotC (golint)
    • Line 578: warning: don't use underscores in Go names; var k_aC should be kAC (golint)
    • Line 585: warning: don't use underscores in Go names; var sigma_totC should be sigmaTotC (golint)
    • gonum/lapack/gonum/dlantr.go
    • Line 173: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 206: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • gonum/graph/topo/bench_test.go
    • Line 17: warning: don't use underscores in Go names; var gnpDirected_10_tenth should be gnpDirected10Tenth (golint)
    • Line 18: warning: don't use underscores in Go names; var gnpDirected_100_tenth should be gnpDirected100Tenth (golint)
    • Line 19: warning: don't use underscores in Go names; var gnpDirected_1000_tenth should be gnpDirected1000Tenth (golint)
    • Line 20: warning: don't use underscores in Go names; var gnpDirected_10_half should be gnpDirected10Half (golint)
    • Line 21: warning: don't use underscores in Go names; var gnpDirected_100_half should be gnpDirected100Half (golint)
    • Line 22: warning: don't use underscores in Go names; var gnpDirected_1000_half should be gnpDirected1000Half (golint)
    • gonum/lapack/testlapack/test_matrices.go
    • Line 22: warning: exported method A123.Matrix should have comment or be unexported (golint)
    • Line 35: warning: exported method A123.Eigenvalues should have comment or be unexported (golint)
    • Line 39: warning: exported method A123.LeftEV should have comment or be unexported (golint)
    • Line 52: warning: exported method A123.RightEV should have comment or be unexported (golint)
    • Line 71: warning: exported function NewAntisymRandom should have comment or be unexported (golint)
    • Line 83: warning: exported method AntisymRandom.Matrix should have comment or be unexported (golint)
    • Line 87: warning: exported method AntisymRandom.Eigenvalues should have comment or be unexported (golint)
    • Line 102: warning: exported method Circulant.Matrix should have comment or be unexported (golint)
    • Line 113: warning: exported method Circulant.Eigenvalues should have comment or be unexported (golint)
    • Line 141: warning: exported method Clement.Matrix should have comment or be unexported (golint)
    • Line 155: warning: exported method Clement.Eigenvalues should have comment or be unexported (golint)
    • Line 176: warning: exported method Creation.Matrix should have comment or be unexported (golint)
    • Line 185: warning: exported method Creation.Eigenvalues should have comment or be unexported (golint)
    • Line 201: warning: exported method Diagonal.Matrix should have comment or be unexported (golint)
    • Line 210: warning: exported method Diagonal.Eigenvalues should have comment or be unexported (golint)
    • Line 231: warning: exported method Downshift.Matrix should have comment or be unexported (golint)
    • Line 241: warning: exported method Downshift.Eigenvalues should have comment or be unexported (golint)
    • Line 254: warning: exported method Fibonacci.Matrix should have comment or be unexported (golint)
    • Line 267: warning: exported method Fibonacci.Eigenvalues should have comment or be unexported (golint)
    • Line 291: warning: exported method Gear.Matrix should have comment or be unexported (golint)
    • Line 308: warning: exported method Gear.Eigenvalues should have comment or be unexported (golint)
    • Line 354: warning: exported method Grcar.Matrix should have comment or be unexported (golint)
    • Line 368: warning: exported method Grcar.Eigenvalues should have comment or be unexported (golint)
    • Line 383: warning: exported method Hanowa.Matrix should have comment or be unexported (golint)
    • Line 401: warning: exported method Hanowa.Eigenvalues should have comment or be unexported (golint)
    • Line 427: warning: exported method Lesp.Matrix should have comment or be unexported (golint)
    • Line 442: warning: exported method Lesp.Eigenvalues should have comment or be unexported (golint)
    • Line 454: warning: exported method Rutis.Matrix should have comment or be unexported (golint)
    • Line 468: warning: exported method Rutis.Eigenvalues should have comment or be unexported (golint)
    • Line 482: warning: exported method Tris.Matrix should have comment or be unexported (golint)
    • Line 497: warning: exported method Tris.Eigenvalues should have comment or be unexported (golint)
    • Line 515: warning: exported method Wilk4.Matrix should have comment or be unexported (golint)
    • Line 529: warning: exported method Wilk4.Eigenvalues should have comment or be unexported (golint)
    • Line 538: warning: exported method Wilk12.Matrix should have comment or be unexported (golint)
    • Line 560: warning: exported method Wilk12.Eigenvalues should have comment or be unexported (golint)
    • Line 582: warning: exported method Wilk20.Matrix should have comment or be unexported (golint)
    • Line 594: warning: exported method Wilk20.Eigenvalues should have comment or be unexported (golint)
    • Line 608: warning: exported method Zero.Matrix should have comment or be unexported (golint)
    • Line 613: warning: exported method Zero.Eigenvalues should have comment or be unexported (golint)
    • gonum/optimize/cmaes.go
    • Line 143: warning: exported method CmaEsChol.Uses should have comment or be unexported (golint)
    • Line 147: warning: exported method CmaEsChol.Init should have comment or be unexported (golint)
    • Line 298: warning: exported method CmaEsChol.Run should have comment or be unexported (golint)
    • gonum/graph/path/bench_test.go
    • Line 19: warning: don't use underscores in Go names; var gnpUndirected_10_tenth should be gnpUndirected10Tenth (golint)
    • Line 20: warning: don't use underscores in Go names; var gnpUndirected_100_tenth should be gnpUndirected100Tenth (golint)
    • Line 21: warning: don't use underscores in Go names; var gnpUndirected_1000_tenth should be gnpUndirected1000Tenth (golint)
    • Line 22: warning: don't use underscores in Go names; var gnpUndirected_10_half should be gnpUndirected10Half (golint)
    • Line 23: warning: don't use underscores in Go names; var gnpUndirected_100_half should be gnpUndirected100Half (golint)
    • Line 24: warning: don't use underscores in Go names; var gnpUndirected_1000_half should be gnpUndirected1000Half (golint)
    • Line 26: warning: don't use underscores in Go names; var nswUndirected_10_2_2_2 should be nswUndirected10_2_2_2 (golint)
    • Line 27: warning: don't use underscores in Go names; var nswUndirected_10_2_5_2 should be nswUndirected10_2_5_2 (golint)
    • Line 28: warning: don't use underscores in Go names; var nswUndirected_100_5_10_2 should be nswUndirected100_5_10_2 (golint)
    • Line 29: warning: don't use underscores in Go names; var nswUndirected_100_5_20_2 should be nswUndirected100_5_20_2 (golint)
    • Line 131: warning: don't use underscores in Go names; var gnpDirected_500_tenth should be gnpDirected500Tenth (golint)
    • Line 132: warning: don't use underscores in Go names; var gnpDirected_1000_tenth should be gnpDirected1000Tenth (golint)
    • Line 133: warning: don't use underscores in Go names; var gnpDirected_2000_tenth should be gnpDirected2000Tenth (golint)
    • Line 134: warning: don't use underscores in Go names; var gnpDirected_500_half should be gnpDirected500Half (golint)
    • Line 135: warning: don't use underscores in Go names; var gnpDirected_1000_half should be gnpDirected1000Half (golint)
    • Line 136: warning: don't use underscores in Go names; var gnpDirected_2000_half should be gnpDirected2000Half (golint)
    • Line 137: warning: don't use underscores in Go names; var gnpDirected_500_full should be gnpDirected500Full (golint)
    • Line 138: warning: don't use underscores in Go names; var gnpDirected_1000_full should be gnpDirected1000Full (golint)
    • Line 139: warning: don't use underscores in Go names; var gnpDirected_2000_full should be gnpDirected2000Full (golint)
    • gonum/blas/testblas/level2bench.go
    • Line 15: warning: exported function DgemvBenchmark should have comment or be unexported (golint)
    • Line 45: warning: exported function DgerBenchmark should have comment or be unexported (golint)
    • Line 67: warning: exported type Sgerer should have comment or be unexported (golint)
    • Line 71: warning: exported function SgerBenchmark should have comment or be unexported (golint)
    • gonum/optimize/gradientdescent.go
    • Line 35: warning: exported method GradientDescent.Status should have comment or be unexported (golint)
    • Line 39: warning: exported method GradientDescent.Uses should have comment or be unexported (golint)
    • Line 43: warning: exported method GradientDescent.Init should have comment or be unexported (golint)
    • Line 49: warning: exported method GradientDescent.Run should have comment or be unexported (golint)
    • Line 75: warning: exported method GradientDescent.InitDirection should have comment or be unexported (golint)
    • Line 81: warning: exported method GradientDescent.NextDirection should have comment or be unexported (golint)
    • gonum/optimize/neldermead.go
    • Line 91: warning: exported method NelderMead.Status should have comment or be unexported (golint)
    • Line 95: warning: exported method NelderMead.Uses should have comment or be unexported (golint)
    • Line 99: warning: exported method NelderMead.Init should have comment or be unexported (golint)
    • Line 105: warning: exported method NelderMead.Run should have comment or be unexported (golint)
    • gonum/spatial/vptree/vptree.go
    • Line 100: warning: error var pointAtInfinity should have name of the form errFoo (golint)
    • Line 269: warning: exported method Heap.Max should have comment or be unexported (golint)
    • Line 273: warning: exported method Heap.Push should have comment or be unexported (golint)
    • Line 274: warning: exported method Heap.Pop should have comment or be unexported (golint)
    • gonum/optimize/bisection.go
    • Line 37: warning: exported method Bisection.Init should have comment or be unexported (golint)
    • Line 67: warning: exported method Bisection.Iterate should have comment or be unexported (golint)
    • gonum/integrate/quad/quad.go
    • Line 20: warning: comment on exported type FixedLocationSingler should be of the form "FixedLocationSingler ..." (with optional leading article) (golint)
    • gonum/optimize/printer.go
    • Line 46: warning: exported function NewPrinter should have comment or be unexported (golint)
    • Line 54: warning: exported method Printer.Init should have comment or be unexported (golint)
    • Line 60: warning: exported method Printer.Record should have comment or be unexported (golint)
    • gonum/optimize/lbfgs.go
    • Line 57: warning: exported method LBFGS.Status should have comment or be unexported (golint)
    • Line 61: warning: exported method LBFGS.Uses should have comment or be unexported (golint)
    • Line 65: warning: exported method LBFGS.Init should have comment or be unexported (golint)
    • Line 71: warning: exported method LBFGS.Run should have comment or be unexported (golint)
    • Line 97: warning: exported method LBFGS.InitDirection should have comment or be unexported (golint)
    • Line 134: warning: exported method LBFGS.NextDirection should have comment or be unexported (golint)
    • gonum/optimize/newton.go
    • Line 69: warning: exported method Newton.Status should have comment or be unexported (golint)
    • Line 73: warning: exported method Newton.Uses should have comment or be unexported (golint)
    • Line 77: warning: exported method Newton.Init should have comment or be unexported (golint)
    • Line 83: warning: exported method Newton.Run should have comment or be unexported (golint)
    • Line 110: warning: exported method Newton.InitDirection should have comment or be unexported (golint)
    • Line 117: warning: exported method Newton.NextDirection should have comment or be unexported (golint)
    • gonum/graph/simple/simple.go
    • Line 36: warning: comment on exported method Edge.ReversedEdge should be of the form "ReversedEdge ..." (golint)
    • Line 52: warning: comment on exported method WeightedEdge.ReversedEdge should be of the form "ReversedEdge ..." (golint)
    • gonum/unit/unittype.go
    • Line 72: warning: exported const CurrentDim should have comment (or a comment on this block) or be unexported (golint)
    • Line 79: warning: comment on exported const AngleDim should be of the form "AngleDim ..." (golint)
    • gonum/lapack/gonum/dgesvd.go
    • Line 122: warning: don't use underscores in Go names; var lwork_dgeqrf should be lworkDgeqrf (golint)
    • Line 125: warning: don't use underscores in Go names; var lwork_dorgqr_n should be lworkDorgqrN (golint)
    • Line 127: warning: don't use underscores in Go names; var lwork_dorgqr_m should be lworkDorgqrM (golint)
    • Line 130: warning: don't use underscores in Go names; var lwork_dgebrd should be lworkDgebrd (golint)
    • Line 133: warning: don't use underscores in Go names; var lwork_dorgbr_p should be lworkDorgbrP (golint)
    • Line 136: warning: don't use underscores in Go names; var lwork_dorgbr_q should be lworkDorgbrQ (golint)
    • Line 220: warning: don't use underscores in Go names; var lwork_dgebrd should be lworkDgebrd (golint)
    • Line 229: warning: don't use underscores in Go names; var lwork_dorgbr_q should be lworkDorgbrQ (golint)
    • Line 241: warning: don't use underscores in Go names; var lwork_dgelqf should be lworkDgelqf (golint)
    • Line 244: warning: don't use underscores in Go names; var lwork_dorglq_n should be lworkDorglqN (golint)
    • Line 246: warning: don't use underscores in Go names; var lwork_dorglq_m should be lworkDorglqM (golint)
    • Line 249: warning: don't use underscores in Go names; var lwork_dgebrd should be lworkDgebrd (golint)
    • Line 252: warning: don't use underscores in Go names; var lwork_dorgbr_p should be lworkDorgbrP (golint)
    • Line 255: warning: don't use underscores in Go names; var lwork_dorgbr_q should be lworkDorgbrQ (golint)
    • gonum/optimize/listsearch.go
    • Line 29: warning: exported method ListSearch.Uses should have comment or be unexported (golint)
    • Line 77: warning: exported method ListSearch.Status should have comment or be unexported (golint)
    • Line 84: warning: exported method ListSearch.Run should have comment or be unexported (golint)
    • gonum/blas/testblas/zhpr.go
    • Line 13: warning: exported type Zhprer should have comment or be unexported (golint)
    • Line 17: warning: exported function ZhprTest should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign99%

IneffAssign detects ineffectual assignments in Go code.

    • gonum/mathext/internal/amos/origcode_test.go
    • Line 416: warning: ineffectual assignment to ZTAR (ineffassign)
    • Line 416: warning: ineffectual assignment to ZTAI (ineffassign)
    • Line 416: warning: ineffectual assignment to FNU (ineffassign)
    • Line 416: warning: ineffectual assignment to KODE (ineffassign)
    • Line 416: warning: ineffectual assignment to MR (ineffassign)
    • Line 416: warning: ineffectual assignment to RL (ineffassign)
    • Line 416: warning: ineffectual assignment to TOL (ineffassign)
    • Line 416: warning: ineffectual assignment to ELIM (ineffassign)
    • Line 416: warning: ineffectual assignment to ALIM (ineffassign)
    • Line 439: warning: ineffectual assignment to ZTAR (ineffassign)
    • Line 439: warning: ineffectual assignment to ZTAI (ineffassign)
    • Line 439: warning: ineffectual assignment to FNU (ineffassign)
    • Line 439: warning: ineffectual assignment to KODE (ineffassign)
    • Line 439: warning: ineffectual assignment to TOL (ineffassign)
    • Line 439: warning: ineffectual assignment to ELIM (ineffassign)
    • Line 439: warning: ineffectual assignment to ALIM (ineffassign)
    • Line 1167: warning: ineffectual assignment to ZDR (ineffassign)
    • Line 1167: warning: ineffectual assignment to ZDI (ineffassign)
    • Line 1167: warning: ineffectual assignment to ASCLE (ineffassign)
    • Line 1197: warning: ineffectual assignment to KODED (ineffassign)
    • Line 1416: warning: ineffectual assignment to NN (ineffassign)
    • Line 1423: warning: ineffectual assignment to NN (ineffassign)
    • Line 1430: warning: ineffectual assignment to NN (ineffassign)
    • Line 1472: warning: ineffectual assignment to ZNR (ineffassign)
    • Line 1472: warning: ineffectual assignment to ZNI (ineffassign)
    • Line 1472: warning: ineffectual assignment to ASCLE (ineffassign)
    • Line 1472: warning: ineffectual assignment to IUF (ineffassign)
    • gonum/stat/card/card_test.go
    • Line 52: warning: undeclared name: NewHyperLogLog64 (ineffassign)
    • Line 57: warning: undeclared name: NewHyperLogLog64 (ineffassign)
    • Line 59: warning: undeclared name: NewHyperLogLog64 (ineffassign)
    • Line 61: warning: undeclared name: NewHyperLogLog64 (ineffassign)
    • Line 63: warning: undeclared name: NewHyperLogLog64 (ineffassign)
    • Line 64: warning: undeclared name: NewHyperLogLog64 (ineffassign)
    • Line 65: warning: undeclared name: NewHyperLogLog64 (ineffassign)
    • Line 146: warning: undeclared name: HyperLogLog64 (ineffassign)
    • Line 147: warning: undeclared name: HyperLogLog64 (ineffassign)
    • Line 147: warning: undeclared name: HyperLogLog64 (ineffassign)
    • Line 170: warning: undeclared name: NewHyperLogLog64 (ineffassign)
    • Line 172: warning: undeclared name: NewHyperLogLog64 (ineffassign)
    • Line 247: warning: undeclared name: NewHyperLogLog64 (ineffassign)
    • Line 248: warning: undeclared name: NewHyperLogLog64 (ineffassign)
    • Line 249: warning: undeclared name: HyperLogLog64 (ineffassign)
    • Line 253: warning: undeclared name: NewHyperLogLog64 (ineffassign)
    • Line 254: warning: undeclared name: NewHyperLogLog64 (ineffassign)
    • Line 255: warning: undeclared name: HyperLogLog64 (ineffassign)
    • Line 259: warning: undeclared name: NewHyperLogLog64 (ineffassign)
    • Line 260: warning: undeclared name: NewHyperLogLog64 (ineffassign)
    • Line 261: warning: undeclared name: HyperLogLog64 (ineffassign)
    • Line 385: warning: undeclared name: rho64q (ineffassign)
    • Line 399: warning: undeclared name: NewHyperLogLog64 (ineffassign)
    • Line 401: warning: undeclared name: NewHyperLogLog64 (ineffassign)
    • gonum/unit/unit_test.go
    • Line 39: warning: undeclared name: Dimless (ineffassign)
    • Line 40: warning: undeclared name: Dimless (ineffassign)
    • Line 41: warning: undeclared name: Dimless (ineffassign)
    • Line 42: warning: undeclared name: Dimless (ineffassign)
    • Line 43: warning: undeclared name: Dimless (ineffassign)
    • Line 44: warning: undeclared name: Dimless (ineffassign)
    • Line 45: warning: undeclared name: Dimless (ineffassign)
    • Line 46: warning: undeclared name: Angle (ineffassign)
    • Line 47: warning: undeclared name: Angle (ineffassign)
    • Line 48: warning: undeclared name: Angle (ineffassign)
    • Line 49: warning: undeclared name: Angle (ineffassign)
    • Line 50: warning: undeclared name: Angle (ineffassign)
    • Line 51: warning: undeclared name: Angle (ineffassign)
    • Line 52: warning: undeclared name: Angle (ineffassign)
    • Line 53: warning: undeclared name: Current (ineffassign)
    • Line 54: warning: undeclared name: Current (ineffassign)
    • Line 55: warning: undeclared name: Current (ineffassign)
    • Line 56: warning: undeclared name: Current (ineffassign)
    • Line 57: warning: undeclared name: Current (ineffassign)
    • Line 58: warning: undeclared name: Current (ineffassign)
    • Line 59: warning: undeclared name: Current (ineffassign)
    • Line 60: warning: undeclared name: LuminousIntensity (ineffassign)
    • Line 61: warning: undeclared name: LuminousIntensity (ineffassign)
    • Line 62: warning: undeclared name: LuminousIntensity (ineffassign)
    • Line 63: warning: undeclared name: LuminousIntensity (ineffassign)
    • Line 64: warning: undeclared name: LuminousIntensity (ineffassign)
    • Line 65: warning: undeclared name: LuminousIntensity (ineffassign)
    • Line 66: warning: undeclared name: LuminousIntensity (ineffassign)
    • Line 67: warning: undeclared name: Mass (ineffassign)
    • Line 68: warning: undeclared name: Mass (ineffassign)
    • Line 69: warning: undeclared name: Mass (ineffassign)
    • Line 70: warning: undeclared name: Mass (ineffassign)
    • Line 71: warning: undeclared name: Mass (ineffassign)
    • Line 72: warning: undeclared name: Mass (ineffassign)
    • Line 73: warning: undeclared name: Mass (ineffassign)
    • Line 74: warning: undeclared name: Mole (ineffassign)
    • Line 75: warning: undeclared name: Mole (ineffassign)
    • Line 76: warning: undeclared name: Mole (ineffassign)
    • Line 77: warning: undeclared name: Mole (ineffassign)
    • Line 78: warning: undeclared name: Mole (ineffassign)
    • Line 79: warning: undeclared name: Mole (ineffassign)
    • Line 80: warning: undeclared name: Mole (ineffassign)
    • Line 81: warning: undeclared name: Length (ineffassign)
    • Line 82: warning: undeclared name: Length (ineffassign)
    • Line 83: warning: undeclared name: Length (ineffassign)
    • Line 84: warning: undeclared name: Length (ineffassign)
    • Line 85: warning: undeclared name: Length (ineffassign)
    • Line 86: warning: undeclared name: Length (ineffassign)
    • Line 87: warning: undeclared name: Length (ineffassign)
    • Line 88: warning: undeclared name: Temperature (ineffassign)
    • Line 89: warning: undeclared name: Temperature (ineffassign)
    • Line 90: warning: undeclared name: Temperature (ineffassign)
    • Line 91: warning: undeclared name: Temperature (ineffassign)
    • Line 92: warning: undeclared name: Temperature (ineffassign)
    • Line 93: warning: undeclared name: Temperature (ineffassign)
    • Line 94: warning: undeclared name: Temperature (ineffassign)
    • Line 95: warning: undeclared name: Time (ineffassign)
    • Line 96: warning: undeclared name: Time (ineffassign)
    • Line 97: warning: undeclared name: Time (ineffassign)
    • Line 98: warning: undeclared name: Time (ineffassign)
    • Line 99: warning: undeclared name: Time (ineffassign)
    • Line 100: warning: undeclared name: Time (ineffassign)
    • Line 101: warning: undeclared name: Time (ineffassign)
    • Line 193: warning: undeclared name: Dimless (ineffassign)
    • Line 193: warning: undeclared name: Dimless (ineffassign)
    • Line 193: warning: undeclared name: Dimless (ineffassign)
    • Line 194: warning: undeclared name: Dimless (ineffassign)
    • Line 194: warning: undeclared name: Dimless (ineffassign)
    • Line 194: warning: undeclared name: Dimless (ineffassign)
    • Line 195: warning: undeclared name: Dimless (ineffassign)
    • Line 195: warning: undeclared name: Length (ineffassign)
    • Line 195: warning: undeclared name: Length (ineffassign)
    • Line 196: warning: undeclared name: Length (ineffassign)
    • Line 196: warning: undeclared name: Dimless (ineffassign)
    • Line 196: warning: undeclared name: Length (ineffassign)
    • Line 197: warning: undeclared name: Dimless (ineffassign)
    • Line 197: warning: undeclared name: Length (ineffassign)
    • Line 198: warning: undeclared name: Length (ineffassign)
    • Line 198: warning: undeclared name: Dimless (ineffassign)
    • Line 198: warning: undeclared name: Length (ineffassign)
    • gonum/unit/unitexample_test.go
    • Line 33: warning: Length not declared by package unit (ineffassign)
    • Line 34: warning: Mass not declared by package unit (ineffassign)
    • Line 36: warning: Acceleration not declared by package unit (ineffassign)
    • Line 39: warning: Minute not declared by package unit (ineffassign)
    • Line 42: warning: Power not declared by package unit (ineffassign)
    • gonum/blas/cblas64/cblas64.go
    • Line 12: warning: cannot use (gonum.Implementation literal) (value of type gonum.Implementation) as blas.Complex64 value in variable declaration: missing method Caxpy (ineffassign)
    • gonum/blas/blas32/blas32.go
    • Line 12: warning: cannot use (gonum.Implementation literal) (value of type gonum.Implementation) as blas.Float32 value in variable declaration: missing method Dsdot (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!