Gofmt formats Go programs. We run gofmt -s
on your code, where -s
is for the "simplify" command
No problems detected. Good job!
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!
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.
No problems detected. Good job!
Golint is a linter for Go source code.
-
feragstring/route.go
- Line 3: warning: exported type Route should have comment or be unexported (golint)
- Line 23: warning: exported method Route.GetRouteListEntry should have comment or be unexported (golint)
- Line 32: warning: exported method Route.GetRouteMessage should have comment or be unexported (golint)
- Line 63: warning: exported method Route.AddProductReferenceNumber should have comment or be unexported (golint)
- Line 67: warning: exported method Route.AddProductionDrop should have comment or be unexported (golint)
- Line 72: warning: exported method Route.SetRouteName should have comment or be unexported (golint)
- Line 76: warning: exported method Route.SetRouteCode should have comment or be unexported (golint)
- Line 80: warning: exported method Route.SetRampNumber should have comment or be unexported (golint)
- Line 84: warning: exported method Route.SetCopiesInRoute should have comment or be unexported (golint)
- Line 88: warning: exported method Route.SetLimit should have comment or be unexported (golint)
- Line 88: warning: receiver name ri should be consistent with previous receiver name r for Route (golint)
- Line 92: warning: exported method Route.SetMaxStack should have comment or be unexported (golint)
- Line 92: warning: receiver name ri should be consistent with previous receiver name r for Route (golint)
- Line 96: warning: exported method Route.SetStandard should have comment or be unexported (golint)
- Line 96: warning: receiver name ri should be consistent with previous receiver name r for Route (golint)
- Line 100: warning: exported method Route.SetParameterN should have comment or be unexported (golint)
- Line 100: warning: receiver name ri should be consistent with previous receiver name r for Route (golint)
- Line 104: warning: exported method Route.SetMaxBundle should have comment or be unexported (golint)
- Line 104: warning: receiver name ri should be consistent with previous receiver name r for Route (golint)
- Line 108: warning: exported method Route.SetTopsheetMarker should have comment or be unexported (golint)
- Line 108: warning: receiver name ri should be consistent with previous receiver name r for Route (golint)
- Line 112: warning: exported method Route.SetEaMarker should have comment or be unexported (golint)
- Line 112: warning: receiver name ri should be consistent with previous receiver name r for Route (golint)
- Line 116: warning: exported method Route.SetTopsheetTemplateDirectory should have comment or be unexported (golint)
- Line 116: warning: receiver name ri should be consistent with previous receiver name r for Route (golint)
- Line 120: warning: exported function NewRoute should have comment or be unexported (golint)
-
feragstring/route_info.go
- Line 5: warning: exported type RouteInfo should have comment or be unexported (golint)
- Line 22: warning: exported method RouteInfo.ParameterSz should have comment or be unexported (golint)
- Line 26: warning: exported method RouteInfo.SetParameterSz should have comment or be unexported (golint)
- Line 30: warning: exported method RouteInfo.ProductReferenceNumbers should have comment or be unexported (golint)
- Line 38: warning: exported method RouteInfo.AddProductReferenceNumber should have comment or be unexported (golint)
- Line 42: warning: exported method RouteInfo.TopsheetTemplateDirectory should have comment or be unexported (golint)
- Line 46: warning: exported method RouteInfo.SetTopsheetTemplateDirectory should have comment or be unexported (golint)
- Line 50: warning: exported method RouteInfo.EaMarker should have comment or be unexported (golint)
- Line 54: warning: exported method RouteInfo.SetEaMarker should have comment or be unexported (golint)
- Line 58: warning: exported method RouteInfo.MaxBundle should have comment or be unexported (golint)
- Line 62: warning: exported method RouteInfo.SetMaxBundle should have comment or be unexported (golint)
- Line 66: warning: exported method RouteInfo.ParameterN should have comment or be unexported (golint)
- Line 70: warning: exported method RouteInfo.SetParameterN should have comment or be unexported (golint)
- Line 74: warning: exported method RouteInfo.Standard should have comment or be unexported (golint)
- Line 78: warning: exported method RouteInfo.SetStandard should have comment or be unexported (golint)
- Line 82: warning: exported method RouteInfo.MaxStack should have comment or be unexported (golint)
- Line 86: warning: exported method RouteInfo.SetMaxStack should have comment or be unexported (golint)
- Line 90: warning: exported method RouteInfo.Limit should have comment or be unexported (golint)
- Line 94: warning: exported method RouteInfo.SetLimit should have comment or be unexported (golint)
- Line 98: warning: exported method RouteInfo.EditionName should have comment or be unexported (golint)
- Line 105: warning: exported method RouteInfo.SetEditionName should have comment or be unexported (golint)
- Line 109: warning: exported method RouteInfo.EaAddressDefinition should have comment or be unexported (golint)
- Line 116: warning: exported method RouteInfo.SetEaAddressDefinition should have comment or be unexported (golint)
- Line 120: warning: exported method RouteInfo.TopsheetMarker should have comment or be unexported (golint)
- Line 124: warning: exported method RouteInfo.SetTopsheetMarker should have comment or be unexported (golint)
- Line 128: warning: exported method RouteInfo.SetRouteName should have comment or be unexported (golint)
- Line 132: warning: exported method RouteInfo.RouteName should have comment or be unexported (golint)
- Line 136: warning: exported function NewRouteInfo should have comment or be unexported (golint)
- Line 146: warning: exported method RouteInfo.Payload should have comment or be unexported (golint)
- Line 163: warning: exported method RouteInfo.Message should have comment or be unexported (golint)
-
feragstring/ferag.go
- Line 111: warning: comment on exported method FeragString.AddRouteListEntry should be of the form "AddRouteListEntry ..." (golint)
- Line 122: warning: comment on exported method FeragString.AddRouteInfo should be of the form "AddRouteInfo ..." (golint)
- Line 129: warning: comment on exported method FeragString.AddProductionDrop should be of the form "AddProductionDrop ..." (golint)
- Line 136: warning: comment on exported method FeragString.AddRouteEnd should be of the form "AddRouteEnd ..." (golint)
-
feragstring/product_reference.go
- Line 5: warning: exported type ProductReference should have comment or be unexported (golint)
- Line 21: warning: exported type MissingParameter should have comment or be unexported (golint)
- Line 26: warning: exported function NewMissingParameter should have comment or be unexported (golint)
- Line 33: warning: exported method ProductReference.IssueReference should have comment or be unexported (golint)
- Line 37: warning: exported method ProductReference.SetIssueReference should have comment or be unexported (golint)
- Line 41: warning: exported method ProductReference.MissingParameter should have comment or be unexported (golint)
- Line 45: warning: exported method ProductReference.SetMissingParameter should have comment or be unexported (golint)
- Line 49: warning: exported method ProductReference.Scatter should have comment or be unexported (golint)
- Line 53: warning: exported method ProductReference.SetScatter should have comment or be unexported (golint)
- Line 57: warning: exported method ProductReference.FeedingMode should have comment or be unexported (golint)
- Line 61: warning: exported method ProductReference.SetFeedingMode should have comment or be unexported (golint)
- Line 65: warning: exported method ProductReference.Overlap should have comment or be unexported (golint)
- Line 69: warning: exported method ProductReference.SetOverlap should have comment or be unexported (golint)
- Line 73: warning: exported method ProductReference.Supervision should have comment or be unexported (golint)
- Line 77: warning: exported method ProductReference.SetSupervision should have comment or be unexported (golint)
- Line 81: warning: exported method ProductReference.ProductWeight should have comment or be unexported (golint)
- Line 85: warning: exported method ProductReference.SetProductWeight should have comment or be unexported (golint)
- Line 89: warning: exported method ProductReference.CopiesAssigned should have comment or be unexported (golint)
- Line 93: warning: exported method ProductReference.SetCopiesAssigned should have comment or be unexported (golint)
- Line 97: warning: exported method ProductReference.SheetLayers should have comment or be unexported (golint)
- Line 101: warning: exported method ProductReference.SetSheetLayers should have comment or be unexported (golint)
- Line 105: warning: exported method ProductReference.ProductUsageType should have comment or be unexported (golint)
- Line 109: warning: exported method ProductReference.SetProductUsageType should have comment or be unexported (golint)
- Line 113: warning: exported method ProductReference.ProductName should have comment or be unexported (golint)
- Line 117: warning: exported method ProductReference.SetProductName should have comment or be unexported (golint)
- Line 121: warning: exported method ProductReference.ProductReferenceNumber should have comment or be unexported (golint)
- Line 125: warning: exported method ProductReference.SetProductReferenceNumber should have comment or be unexported (golint)
- Line 129: warning: exported function NewProductReference should have comment or be unexported (golint)
- Line 140: warning: exported method ProductReference.Payload should have comment or be unexported (golint)
- Line 156: warning: exported method ProductReference.Message should have comment or be unexported (golint)
Checks whether your project has a LICENSE file.
No problems detected. Good job!
IneffAssign detects ineffectual assignments in Go code.
No problems detected. Good job!
Misspell Finds commonly misspelled English words
No problems detected. Good job!