Preparing report...

Report for github.com/nokia/ntt

A+    Excellent!    Found 96 issues across 190 files

Tweet

gofmt98%

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.

    • ntt/internal/ttcn3/parser/parser.go
    • Line 2238: warning: cyclomatic complexity 26 of function (*parser).parseStmt() is high (> 15) (gocyclo)
    • Line 1154: warning: cyclomatic complexity 19 of function (*parser).parseModuleDef() is high (> 15) (gocyclo)
    • Line 687: warning: cyclomatic complexity 18 of function (*parser).parseOperand() is high (> 15) (gocyclo)
    • Line 87: warning: cyclomatic complexity 17 of function (*parser).handlePreproc() is high (> 15) (gocyclo)
    • ntt/internal/ntt/manifest.go
    • Line 47: warning: cyclomatic complexity 21 of function (*Suite).Sources() is high (> 15) (gocyclo)
    • Line 321: warning: cyclomatic complexity 18 of function (*Suite).ParametersFile() is high (> 15) (gocyclo)
    • Line 253: warning: cyclomatic complexity 18 of function (*Suite).TestHook() is high (> 15) (gocyclo)

golint53%

Golint is a linter for Go source code.

    • ntt/internal/ttcn3/token/token.go
    • Line 19: warning: don't use underscores in Go names; const literal_beg should be literalBeg (golint)
    • Line 28: warning: don't use underscores in Go names; const literal_end should be literalEnd (golint)
    • Line 30: warning: don't use underscores in Go names; const operator_beg should be operatorBeg (golint)
    • Line 69: warning: don't use underscores in Go names; const operator_end should be operatorEnd (golint)
    • Line 71: warning: don't use underscores in Go names; const keyword_beg should be keywordBeg (golint)
    • Line 181: warning: don't use underscores in Go names; const keyword_end should be keywordEnd (golint)
    • ntt/cmd/k3objdump/print.go
    • Line 28: warning: exported function NewPrinter should have comment or be unexported (golint)
    • Line 109: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • ntt/internal/ttcn3/types/struct.go
    • Line 18: warning: exported function NewStruct should have comment or be unexported (golint)
    • Line 26: warning: exported method Struct.Pos should have comment or be unexported (golint)
    • Line 27: warning: exported method Struct.End should have comment or be unexported (golint)
    • Line 28: warning: exported method Struct.Parent should have comment or be unexported (golint)
    • Line 30: warning: exported method Struct.Insert should have comment or be unexported (golint)
    • Line 39: warning: exported method Struct.Lookup should have comment or be unexported (golint)
    • Line 51: warning: exported method Struct.Underlying should have comment or be unexported (golint)
    • ntt/internal/ttcn3/doc/tag.go
    • Line 13: warning: comment on exported function FindTag should be of the form "FindTag ..." (golint)
    • Line 22: warning: comment on exported function FindAllTags should be of the form "FindAllTags ..." (golint)
    • ntt/internal/lsp/protocol/protocol.go
    • Line 42: warning: exported function ClientHandler should have comment or be unexported (golint)
    • Line 56: warning: exported function ServerHandler should have comment or be unexported (golint)
    • Line 78: warning: exported function Handlers should have comment or be unexported (golint)
    • Line 84: warning: exported function CancelHandler should have comment or be unexported (golint)
    • Line 119: warning: exported function Call should have comment or be unexported (golint)
    • ntt/internal/ntt/parse.go
    • Line 60: warning: exported method ParseInfo.ImportedModules should have comment or be unexported (golint)
    • Line 88: warning: exported method Suite.ParseWithAllErrors should have comment or be unexported (golint)
    • ntt/internal/ttcn3/ast/ast.go
    • Line 12: warning: comment on exported type Node should be of the form "Node ..." (with optional leading article) (golint)
    • Line 19: warning: comment on exported type Expr should be of the form "Expr ..." (with optional leading article) (golint)
    • Line 25: warning: comment on exported type Stmt should be of the form "Stmt ..." (with optional leading article) (golint)
    • Line 31: warning: comment on exported type Decl should be of the form "Decl ..." (with optional leading article) (golint)
    • Line 37: warning: exported type ErrorNode should have comment or be unexported (golint)
    • Line 41: warning: exported method ErrorNode.Pos should have comment or be unexported (golint)
    • Line 42: warning: exported method ErrorNode.End should have comment or be unexported (golint)
    • Line 43: warning: exported method ErrorNode.LastTok should have comment or be unexported (golint)
    • Line 49: warning: comment on exported type Terminal should be of the form "Terminal ..." (with optional leading article) (golint)
    • Line 56: warning: exported method Terminal.Pos should have comment or be unexported (golint)
    • Line 57: warning: exported method Terminal.End should have comment or be unexported (golint)
    • Line 68: warning: exported method Terminal.IsValid should have comment or be unexported (golint)
    • Line 68: warning: receiver name t should be consistent with previous receiver name x for Terminal (golint)
    • Line 79: warning: exported function NewToken should have comment or be unexported (golint)
    • Line 88: warning: exported method Token.MarshalJSON should have comment or be unexported (golint)
    • Line 88: warning: receiver name x should be consistent with previous receiver name t for Token (golint)
    • Line 121: warning: exported method Token.LastTok should have comment or be unexported (golint)
    • Line 130: warning: exported function NewTrivia should have comment or be unexported (golint)
    • Line 254: warning: comment on exported type RegexpExpr should be of the form "RegexpExpr ..." (with optional leading article) (golint)
    • Line 307: warning: exported method Ident.LastTok should have comment or be unexported (golint)
    • Line 314: warning: exported method ParametrizedIdent.LastTok should have comment or be unexported (golint)
    • Line 315: warning: exported method ValueLiteral.LastTok should have comment or be unexported (golint)
    • Line 316: warning: exported method CompositeLiteral.LastTok should have comment or be unexported (golint)
    • Line 317: warning: exported method UnaryExpr.LastTok should have comment or be unexported (golint)
    • Line 318: warning: exported method BinaryExpr.LastTok should have comment or be unexported (golint)
    • Line 320: warning: exported method ParenExpr.LastTok should have comment or be unexported (golint)
    • Line 321: warning: exported method SelectorExpr.LastTok should have comment or be unexported (golint)
    • Line 328: warning: exported method IndexExpr.LastTok should have comment or be unexported (golint)
    • Line 329: warning: exported method CallExpr.LastTok should have comment or be unexported (golint)
    • Line 330: warning: exported method LengthExpr.LastTok should have comment or be unexported (golint)
    • Line 331: warning: exported method RedirectExpr.LastTok should have comment or be unexported (golint)
    • Line 350: warning: exported method ValueExpr.LastTok should have comment or be unexported (golint)
    • Line 351: warning: exported method ParamExpr.LastTok should have comment or be unexported (golint)
    • Line 352: warning: exported method FromExpr.LastTok should have comment or be unexported (golint)
    • Line 353: warning: exported method ModifiesExpr.LastTok should have comment or be unexported (golint)
    • Line 354: warning: exported method RegexpExpr.LastTok should have comment or be unexported (golint)
    • Line 355: warning: exported method PatternExpr.LastTok should have comment or be unexported (golint)
    • Line 356: warning: exported method DecmatchExpr.LastTok should have comment or be unexported (golint)
    • Line 357: warning: exported method DecodedExpr.LastTok should have comment or be unexported (golint)
    • Line 359: warning: exported method DefKindExpr.LastTok should have comment or be unexported (golint)
    • Line 366: warning: exported method ExceptExpr.LastTok should have comment or be unexported (golint)
    • Line 373: warning: exported method Ident.Pos should have comment or be unexported (golint)
    • Line 374: warning: exported method ParametrizedIdent.Pos should have comment or be unexported (golint)
    • Line 375: warning: exported method ValueLiteral.Pos should have comment or be unexported (golint)
    • Line 376: warning: exported method CompositeLiteral.Pos should have comment or be unexported (golint)
    • Line 377: warning: exported method UnaryExpr.Pos should have comment or be unexported (golint)
    • Line 378: warning: exported method BinaryExpr.Pos should have comment or be unexported (golint)
    • Line 385: warning: exported method ParenExpr.Pos should have comment or be unexported (golint)
    • Line 386: warning: exported method SelectorExpr.Pos should have comment or be unexported (golint)
    • Line 387: warning: exported method IndexExpr.Pos should have comment or be unexported (golint)
    • Line 393: warning: exported method CallExpr.Pos should have comment or be unexported (golint)
    • Line 395: warning: exported method LengthExpr.Pos should have comment or be unexported (golint)
    • Line 402: warning: exported method RedirectExpr.Pos should have comment or be unexported (golint)
    • Line 403: warning: exported method ValueExpr.Pos should have comment or be unexported (golint)
    • Line 404: warning: exported method ParamExpr.Pos should have comment or be unexported (golint)
    • Line 405: warning: exported method FromExpr.Pos should have comment or be unexported (golint)
    • Line 406: warning: exported method ModifiesExpr.Pos should have comment or be unexported (golint)
    • Line 407: warning: exported method RegexpExpr.Pos should have comment or be unexported (golint)
    • Line 408: warning: exported method PatternExpr.Pos should have comment or be unexported (golint)
    • Line 409: warning: exported method DecmatchExpr.Pos should have comment or be unexported (golint)
    • Line 410: warning: exported method DecodedExpr.Pos should have comment or be unexported (golint)
    • Line 411: warning: exported method DefKindExpr.Pos should have comment or be unexported (golint)
    • Line 412: warning: exported method ExceptExpr.Pos should have comment or be unexported (golint)
    • Line 414: warning: exported method Ident.End should have comment or be unexported (golint)
    • Line 415: warning: exported method ParametrizedIdent.End should have comment or be unexported (golint)
    • Line 416: warning: exported method ValueLiteral.End should have comment or be unexported (golint)
    • Line 417: warning: exported method CompositeLiteral.End should have comment or be unexported (golint)
    • Line 418: warning: exported method UnaryExpr.End should have comment or be unexported (golint)
    • Line 419: warning: exported method BinaryExpr.End should have comment or be unexported (golint)
    • Line 420: warning: exported method ParenExpr.End should have comment or be unexported (golint)
    • Line 421: warning: exported method SelectorExpr.End should have comment or be unexported (golint)
    • Line 422: warning: exported method IndexExpr.End should have comment or be unexported (golint)
    • Line 423: warning: exported method CallExpr.End should have comment or be unexported (golint)
    • Line 424: warning: exported method LengthExpr.End should have comment or be unexported (golint)
    • Line 425: warning: exported method RedirectExpr.End should have comment or be unexported (golint)
    • Line 426: warning: exported method ValueExpr.End should have comment or be unexported (golint)
    • Line 427: warning: exported method ParamExpr.End should have comment or be unexported (golint)
    • Line 428: warning: exported method FromExpr.End should have comment or be unexported (golint)
    • Line 429: warning: exported method ModifiesExpr.End should have comment or be unexported (golint)
    • Line 430: warning: exported method RegexpExpr.End should have comment or be unexported (golint)
    • Line 431: warning: exported method PatternExpr.End should have comment or be unexported (golint)
    • Line 432: warning: exported method DecmatchExpr.End should have comment or be unexported (golint)
    • Line 433: warning: exported method DecodedExpr.End should have comment or be unexported (golint)
    • Line 434: warning: exported method DefKindExpr.End should have comment or be unexported (golint)
    • Line 435: warning: exported method ExceptExpr.End should have comment or be unexported (golint)
    • Line 517: warning: comment on exported type WhileStmt should be of the form "WhileStmt ..." (with optional leading article) (golint)
    • Line 569: warning: exported method BlockStmt.LastTok should have comment or be unexported (golint)
    • Line 570: warning: exported method DeclStmt.LastTok should have comment or be unexported (golint)
    • Line 571: warning: exported method ExprStmt.LastTok should have comment or be unexported (golint)
    • Line 573: warning: exported method BranchStmt.LastTok should have comment or be unexported (golint)
    • Line 580: warning: exported method ReturnStmt.LastTok should have comment or be unexported (golint)
    • Line 587: warning: exported method CallStmt.LastTok should have comment or be unexported (golint)
    • Line 588: warning: exported method AltStmt.LastTok should have comment or be unexported (golint)
    • Line 589: warning: exported method ForStmt.LastTok should have comment or be unexported (golint)
    • Line 590: warning: exported method WhileStmt.LastTok should have comment or be unexported (golint)
    • Line 591: warning: exported method DoWhileStmt.LastTok should have comment or be unexported (golint)
    • Line 593: warning: exported method IfStmt.LastTok should have comment or be unexported (golint)
    • Line 600: warning: exported method SelectStmt.LastTok should have comment or be unexported (golint)
    • Line 601: warning: exported method CaseClause.LastTok should have comment or be unexported (golint)
    • Line 603: warning: exported method CommClause.LastTok should have comment or be unexported (golint)
    • Line 610: warning: exported method BlockStmt.Pos should have comment or be unexported (golint)
    • Line 611: warning: exported method DeclStmt.Pos should have comment or be unexported (golint)
    • Line 612: warning: exported method ExprStmt.Pos should have comment or be unexported (golint)
    • Line 613: warning: exported method BranchStmt.Pos should have comment or be unexported (golint)
    • Line 614: warning: exported method ReturnStmt.Pos should have comment or be unexported (golint)
    • Line 615: warning: exported method CallStmt.Pos should have comment or be unexported (golint)
    • Line 616: warning: exported method AltStmt.Pos should have comment or be unexported (golint)
    • Line 617: warning: exported method ForStmt.Pos should have comment or be unexported (golint)
    • Line 618: warning: exported method WhileStmt.Pos should have comment or be unexported (golint)
    • Line 619: warning: exported method DoWhileStmt.Pos should have comment or be unexported (golint)
    • Line 620: warning: exported method IfStmt.Pos should have comment or be unexported (golint)
    • Line 621: warning: exported method SelectStmt.Pos should have comment or be unexported (golint)
    • Line 622: warning: exported method CaseClause.Pos should have comment or be unexported (golint)
    • Line 623: warning: exported method CommClause.Pos should have comment or be unexported (golint)
    • Line 625: warning: exported method BlockStmt.End should have comment or be unexported (golint)
    • Line 626: warning: exported method DeclStmt.End should have comment or be unexported (golint)
    • Line 627: warning: exported method ExprStmt.End should have comment or be unexported (golint)
    • Line 628: warning: exported method BranchStmt.End should have comment or be unexported (golint)
    • Line 629: warning: exported method ReturnStmt.End should have comment or be unexported (golint)
    • Line 630: warning: exported method CallStmt.End should have comment or be unexported (golint)
    • Line 631: warning: exported method AltStmt.End should have comment or be unexported (golint)
    • Line 632: warning: exported method ForStmt.End should have comment or be unexported (golint)
    • Line 633: warning: exported method WhileStmt.End should have comment or be unexported (golint)
    • Line 634: warning: exported method DoWhileStmt.End should have comment or be unexported (golint)
    • Line 635: warning: exported method IfStmt.End should have comment or be unexported (golint)
    • Line 636: warning: exported method SelectStmt.End should have comment or be unexported (golint)
    • Line 637: warning: exported method CaseClause.End should have comment or be unexported (golint)
    • Line 638: warning: exported method CommClause.End should have comment or be unexported (golint)
    • Line 655: warning: comment on exported type TypeSpec should be of the form "TypeSpec ..." (with optional leading article) (golint)
    • Line 713: warning: exported method Field.LastTok should have comment or be unexported (golint)
    • Line 735: warning: exported method RefSpec.LastTok should have comment or be unexported (golint)
    • Line 736: warning: exported method StructSpec.LastTok should have comment or be unexported (golint)
    • Line 737: warning: exported method ListSpec.LastTok should have comment or be unexported (golint)
    • Line 738: warning: exported method EnumSpec.LastTok should have comment or be unexported (golint)
    • Line 740: warning: exported method BehaviourSpec.LastTok should have comment or be unexported (golint)
    • Line 756: warning: exported method Field.Pos should have comment or be unexported (golint)
    • Line 763: warning: exported method RefSpec.Pos should have comment or be unexported (golint)
    • Line 764: warning: exported method StructSpec.Pos should have comment or be unexported (golint)
    • Line 765: warning: exported method ListSpec.Pos should have comment or be unexported (golint)
    • Line 766: warning: exported method EnumSpec.Pos should have comment or be unexported (golint)
    • Line 767: warning: exported method BehaviourSpec.Pos should have comment or be unexported (golint)
    • Line 769: warning: exported method Field.End should have comment or be unexported (golint)
    • Line 770: warning: exported method RefSpec.End should have comment or be unexported (golint)
    • Line 771: warning: exported method StructSpec.End should have comment or be unexported (golint)
    • Line 772: warning: exported method ListSpec.End should have comment or be unexported (golint)
    • Line 773: warning: exported method EnumSpec.End should have comment or be unexported (golint)
    • Line 774: warning: exported method BehaviourSpec.End should have comment or be unexported (golint)
    • Line 802: warning: exported type TemplateDecl should have comment or be unexported (golint)
    • Line 898: warning: exported type PortTypeDecl should have comment or be unexported (golint)
    • Line 911: warning: exported type PortAttribute should have comment or be unexported (golint)
    • Line 916: warning: exported type PortMapAttribute should have comment or be unexported (golint)
    • Line 922: warning: exported type ComponentTypeDecl should have comment or be unexported (golint)
    • Line 934: warning: exported method FuncDecl.IsTest should have comment or be unexported (golint)
    • Line 938: warning: exported method ValueDecl.LastTok should have comment or be unexported (golint)
    • Line 945: warning: exported method Declarator.LastTok should have comment or be unexported (golint)
    • Line 961: warning: exported method TemplateDecl.LastTok should have comment or be unexported (golint)
    • Line 992: warning: exported method ModuleParameterGroup.LastTok should have comment or be unexported (golint)
    • Line 999: warning: exported method FuncDecl.LastTok should have comment or be unexported (golint)
    • Line 1015: warning: exported method SignatureDecl.LastTok should have comment or be unexported (golint)
    • Line 1034: warning: exported method SubTypeDecl.LastTok should have comment or be unexported (golint)
    • Line 1041: warning: exported method StructTypeDecl.LastTok should have comment or be unexported (golint)
    • Line 1048: warning: exported method EnumTypeDecl.LastTok should have comment or be unexported (golint)
    • Line 1055: warning: exported method BehaviourTypeDecl.LastTok should have comment or be unexported (golint)
    • Line 1074: warning: exported method PortTypeDecl.LastTok should have comment or be unexported (golint)
    • Line 1081: warning: exported method PortAttribute.LastTok should have comment or be unexported (golint)
    • Line 1085: warning: exported method PortMapAttribute.LastTok should have comment or be unexported (golint)
    • Line 1089: warning: exported method ComponentTypeDecl.LastTok should have comment or be unexported (golint)
    • Line 1096: warning: exported method ValueDecl.Pos should have comment or be unexported (golint)
    • Line 1103: warning: exported method Declarator.Pos should have comment or be unexported (golint)
    • Line 1119: warning: exported method ModuleParameterGroup.Pos should have comment or be unexported (golint)
    • Line 1123: warning: exported method FuncDecl.Pos should have comment or be unexported (golint)
    • Line 1130: warning: exported method SignatureDecl.Pos should have comment or be unexported (golint)
    • Line 1131: warning: exported method SubTypeDecl.Pos should have comment or be unexported (golint)
    • Line 1132: warning: exported method StructTypeDecl.Pos should have comment or be unexported (golint)
    • Line 1133: warning: exported method EnumTypeDecl.Pos should have comment or be unexported (golint)
    • Line 1134: warning: exported method BehaviourTypeDecl.Pos should have comment or be unexported (golint)
    • Line 1135: warning: exported method PortTypeDecl.Pos should have comment or be unexported (golint)
    • Line 1136: warning: exported method PortAttribute.Pos should have comment or be unexported (golint)
    • Line 1137: warning: exported method PortMapAttribute.Pos should have comment or be unexported (golint)
    • Line 1138: warning: exported method ComponentTypeDecl.Pos should have comment or be unexported (golint)
    • Line 1140: warning: exported method ValueDecl.End should have comment or be unexported (golint)
    • Line 1141: warning: exported method Declarator.End should have comment or be unexported (golint)
    • Line 1142: warning: exported method TemplateDecl.End should have comment or be unexported (golint)
    • Line 1143: warning: exported method ModuleParameterGroup.End should have comment or be unexported (golint)
    • Line 1144: warning: exported method FuncDecl.End should have comment or be unexported (golint)
    • Line 1145: warning: exported method SignatureDecl.End should have comment or be unexported (golint)
    • Line 1146: warning: exported method SubTypeDecl.End should have comment or be unexported (golint)
    • Line 1147: warning: exported method StructTypeDecl.End should have comment or be unexported (golint)
    • Line 1148: warning: exported method EnumTypeDecl.End should have comment or be unexported (golint)
    • Line 1149: warning: exported method BehaviourTypeDecl.End should have comment or be unexported (golint)
    • Line 1150: warning: exported method PortTypeDecl.End should have comment or be unexported (golint)
    • Line 1151: warning: exported method PortAttribute.End should have comment or be unexported (golint)
    • Line 1152: warning: exported method PortMapAttribute.End should have comment or be unexported (golint)
    • Line 1153: warning: exported method ComponentTypeDecl.End should have comment or be unexported (golint)
    • Line 1174: warning: exported type Module should have comment or be unexported (golint)
    • Line 1184: warning: exported type ModuleDef should have comment or be unexported (golint)
    • Line 1189: warning: exported type ControlPart should have comment or be unexported (golint)
    • Line 1195: warning: exported type ImportDecl should have comment or be unexported (golint)
    • Line 1206: warning: exported type GroupDecl should have comment or be unexported (golint)
    • Line 1215: warning: exported type FriendDecl should have comment or be unexported (golint)
    • Line 1223: warning: exported method Module.LastTok should have comment or be unexported (golint)
    • Line 1244: warning: exported method ModuleDef.LastTok should have comment or be unexported (golint)
    • Line 1248: warning: exported method ControlPart.LastTok should have comment or be unexported (golint)
    • Line 1255: warning: exported method ImportDecl.LastTok should have comment or be unexported (golint)
    • Line 1280: warning: exported method GroupDecl.LastTok should have comment or be unexported (golint)
    • Line 1287: warning: exported method FriendDecl.LastTok should have comment or be unexported (golint)
    • Line 1294: warning: exported method Module.Pos should have comment or be unexported (golint)
    • Line 1296: warning: exported method ModuleDef.Pos should have comment or be unexported (golint)
    • Line 1303: warning: exported method ControlPart.Pos should have comment or be unexported (golint)
    • Line 1304: warning: exported method ImportDecl.Pos should have comment or be unexported (golint)
    • Line 1305: warning: exported method GroupDecl.Pos should have comment or be unexported (golint)
    • Line 1306: warning: exported method FriendDecl.Pos should have comment or be unexported (golint)
    • Line 1308: warning: exported method Module.End should have comment or be unexported (golint)
    • Line 1309: warning: exported method ModuleDef.End should have comment or be unexported (golint)
    • Line 1310: warning: exported method ControlPart.End should have comment or be unexported (golint)
    • Line 1311: warning: exported method ImportDecl.End should have comment or be unexported (golint)
    • Line 1312: warning: exported method GroupDecl.End should have comment or be unexported (golint)
    • Line 1313: warning: exported method FriendDecl.End should have comment or be unexported (golint)
    • Line 1319: warning: exported type LanguageSpec should have comment or be unexported (golint)
    • Line 1324: warning: exported type RestrictionSpec should have comment or be unexported (golint)
    • Line 1331: warning: exported type RunsOnSpec should have comment or be unexported (golint)
    • Line 1337: warning: exported type SystemSpec should have comment or be unexported (golint)
    • Line 1342: warning: exported type MtcSpec should have comment or be unexported (golint)
    • Line 1347: warning: exported type ReturnSpec should have comment or be unexported (golint)
    • Line 1354: warning: exported type FormalPars should have comment or be unexported (golint)
    • Line 1360: warning: exported type FormalPar should have comment or be unexported (golint)
    • Line 1371: warning: exported type WithSpec should have comment or be unexported (golint)
    • Line 1378: warning: exported type WithStmt should have comment or be unexported (golint)
    • Line 1388: warning: exported method LanguageSpec.LastTok should have comment or be unexported (golint)
    • Line 1389: warning: exported method RestrictionSpec.LastTok should have comment or be unexported (golint)
    • Line 1395: warning: exported method RunsOnSpec.LastTok should have comment or be unexported (golint)
    • Line 1396: warning: exported method SystemSpec.LastTok should have comment or be unexported (golint)
    • Line 1397: warning: exported method MtcSpec.LastTok should have comment or be unexported (golint)
    • Line 1398: warning: exported method ReturnSpec.LastTok should have comment or be unexported (golint)
    • Line 1399: warning: exported method FormalPars.LastTok should have comment or be unexported (golint)
    • Line 1401: warning: exported method FormalPar.LastTok should have comment or be unexported (golint)
    • Line 1426: warning: exported method WithSpec.LastTok should have comment or be unexported (golint)
    • Line 1427: warning: exported method WithStmt.LastTok should have comment or be unexported (golint)
    • Line 1429: warning: exported method LanguageSpec.Pos should have comment or be unexported (golint)
    • Line 1430: warning: exported method RestrictionSpec.Pos should have comment or be unexported (golint)
    • Line 1436: warning: exported method RunsOnSpec.Pos should have comment or be unexported (golint)
    • Line 1437: warning: exported method SystemSpec.Pos should have comment or be unexported (golint)
    • Line 1438: warning: exported method MtcSpec.Pos should have comment or be unexported (golint)
    • Line 1439: warning: exported method ReturnSpec.Pos should have comment or be unexported (golint)
    • Line 1440: warning: exported method FormalPars.Pos should have comment or be unexported (golint)
    • Line 1442: warning: exported method FormalPar.Pos should have comment or be unexported (golint)
    • Line 1455: warning: exported method WithSpec.Pos should have comment or be unexported (golint)
    • Line 1456: warning: exported method WithStmt.Pos should have comment or be unexported (golint)
    • Line 1457: warning: exported method LanguageSpec.End should have comment or be unexported (golint)
    • Line 1458: warning: exported method RestrictionSpec.End should have comment or be unexported (golint)
    • Line 1459: warning: exported method RunsOnSpec.End should have comment or be unexported (golint)
    • Line 1460: warning: exported method SystemSpec.End should have comment or be unexported (golint)
    • Line 1461: warning: exported method MtcSpec.End should have comment or be unexported (golint)
    • Line 1462: warning: exported method ReturnSpec.End should have comment or be unexported (golint)
    • Line 1463: warning: exported method FormalPars.End should have comment or be unexported (golint)
    • Line 1464: warning: exported method FormalPar.End should have comment or be unexported (golint)
    • Line 1465: warning: exported method WithSpec.End should have comment or be unexported (golint)
    • Line 1466: warning: exported method WithStmt.End should have comment or be unexported (golint)
    • ntt/internal/telemetry/id.go
    • Line 16: warning: exported type TraceID should have comment or be unexported (golint)
    • Line 17: warning: exported type SpanID should have comment or be unexported (golint)
    • Line 27: warning: exported method SpanID.IsValid should have comment or be unexported (golint)
    • Line 51: warning: exported function NewTraceID should have comment or be unexported (golint)
    • Line 63: warning: exported function NewSpanID should have comment or be unexported (golint)
    • ntt/internal/lsp/completion.go
    • Line 329: warning: exported function NewCompListItems should have comment or be unexported (golint)
    • Line 469: warning: exported function LastNonWsToken should have comment or be unexported (golint)
    • ntt/internal/lsp/jsonrpc2/messages.go
    • Line 73: warning: exported method Notification.Method should have comment or be unexported (golint)
    • Line 74: warning: exported method Notification.Params should have comment or be unexported (golint)
    • Line 78: warning: exported method Notification.MarshalJSON should have comment or be unexported (golint)
    • Line 78: warning: receiver name n should be consistent with previous receiver name msg for Notification (golint)
    • Line 87: warning: exported method Notification.UnmarshalJSON should have comment or be unexported (golint)
    • Line 87: warning: receiver name n should be consistent with previous receiver name msg for Notification (golint)
    • Line 106: warning: exported method Call.Method should have comment or be unexported (golint)
    • Line 107: warning: exported method Call.Params should have comment or be unexported (golint)
    • Line 108: warning: exported method Call.ID should have comment or be unexported (golint)
    • Line 112: warning: exported method Call.MarshalJSON should have comment or be unexported (golint)
    • Line 112: warning: receiver name c should be consistent with previous receiver name msg for Call (golint)
    • Line 121: warning: exported method Call.UnmarshalJSON should have comment or be unexported (golint)
    • Line 121: warning: receiver name c should be consistent with previous receiver name msg for Call (golint)
    • Line 143: warning: exported method Response.ID should have comment or be unexported (golint)
    • Line 144: warning: exported method Response.Result should have comment or be unexported (golint)
    • Line 145: warning: exported method Response.Err should have comment or be unexported (golint)
    • Line 148: warning: exported method Response.MarshalJSON should have comment or be unexported (golint)
    • Line 148: warning: receiver name r should be consistent with previous receiver name msg for Response (golint)
    • Line 179: warning: exported method Response.UnmarshalJSON should have comment or be unexported (golint)
    • Line 179: warning: receiver name r should be consistent with previous receiver name msg for Response (golint)
    • Line 196: warning: exported function DecodeMessage should have comment or be unexported (golint)
    • ntt/internal/ttcn3/types/type.go
    • Line 12: warning: exported type Kind should have comment or be unexported (golint)
    • Line 15: warning: exported const Invalid should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: comment on exported const String should be of the form "String ..." (golint)
    • Line 37: warning: exported type BasicType should have comment or be unexported (golint)
    • Line 42: warning: exported method BasicType.Kind should have comment or be unexported (golint)
    • Line 43: warning: exported method BasicType.Underlying should have comment or be unexported (golint)
    • ntt/internal/log/log.go
    • Line 24: warning: exported type Level should have comment or be unexported (golint)
    • Line 27: warning: exported const PrintLevel should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported type Logger should have comment or be unexported (golint)
    • Line 37: warning: exported type Tracer should have comment or be unexported (golint)
    • Line 42: warning: exported type Span should have comment or be unexported (golint)
    • Line 51: warning: exported function GlobalLevel should have comment or be unexported (golint)
    • Line 52: warning: exported function SetGlobalLevel should have comment or be unexported (golint)
    • Line 53: warning: exported function SetGlobalLogger should have comment or be unexported (golint)
    • Line 55: warning: exported function Print should have comment or be unexported (golint)
    • Line 56: warning: exported function Printf should have comment or be unexported (golint)
    • Line 57: warning: exported function Println should have comment or be unexported (golint)
    • Line 59: warning: exported function Verbose should have comment or be unexported (golint)
    • Line 60: warning: exported function Verbosef should have comment or be unexported (golint)
    • Line 61: warning: exported function Verboseln should have comment or be unexported (golint)
    • Line 63: warning: exported function Debug should have comment or be unexported (golint)
    • Line 64: warning: exported function Debugf should have comment or be unexported (golint)
    • Line 65: warning: exported function Debugln should have comment or be unexported (golint)
    • Line 67: warning: exported function Trace should have comment or be unexported (golint)
    • Line 68: warning: exported function Tracef should have comment or be unexported (golint)
    • Line 69: warning: exported function Traceln should have comment or be unexported (golint)
    • ntt/cmd/ntt/report.go
    • Line 16: warning: exported type Report should have comment or be unexported (golint)
    • Line 41: warning: exported function NewReport should have comment or be unexported (golint)
    • ntt/internal/telemetry/metric/metric.go
    • Line 223: warning: exported method Int64Data.Handle should have comment or be unexported (golint)
    • Line 224: warning: exported method Int64Data.Groups should have comment or be unexported (golint)
    • Line 259: warning: exported method Float64Data.Handle should have comment or be unexported (golint)
    • Line 260: warning: exported method Float64Data.Groups should have comment or be unexported (golint)
    • Line 287: warning: exported method HistogramInt64Data.Handle should have comment or be unexported (golint)
    • Line 288: warning: exported method HistogramInt64Data.Groups should have comment or be unexported (golint)
    • Line 331: warning: exported method HistogramFloat64Data.Handle should have comment or be unexported (golint)
    • Line 332: warning: exported method HistogramFloat64Data.Groups should have comment or be unexported (golint)
    • ntt/internal/ntt/ntt.go
    • Line 111: warning: exported method Suite.Root should have comment or be unexported (golint)
    • Line 124: warning: exported method Suite.LatestResults should have comment or be unexported (golint)
    • ntt/k3/t3xf/t3xf.go
    • Line 176: warning: comment on exported method File.Version should be of the form "Version ..." (golint)
    • Line 179: warning: comment on exported method File.Width should be of the form "Width ..." (golint)
    • Line 182: warning: comment on exported method File.Order should be of the form "Order ..." (golint)
    • ntt/internal/log/console.go
    • Line 10: warning: exported type ConsoleLogger should have comment or be unexported (golint)
    • Line 15: warning: exported type ConsoleTracer should have comment or be unexported (golint)
    • Line 21: warning: exported method ConsoleLogger.Output should have comment or be unexported (golint)
    • Line 35: warning: exported method ConsoleTracer.Start should have comment or be unexported (golint)
    • Line 48: warning: exported method ConsoleTracer.End should have comment or be unexported (golint)
    • ntt/internal/ttcn3/types/error.go
    • Line 9: warning: exported type RedefinitionError should have comment or be unexported (golint)
    • Line 18: warning: exported type UnknownIdentifierError should have comment or be unexported (golint)
    • Line 27: warning: exported type NoFieldError should have comment or be unexported (golint)
    • ntt/internal/results/results.go
    • Line 37: warning: comment on exported method Run.ID should be of the form "ID ..." (golint)
    • Line 153: warning: comment on exported function Durations should be of the form "Durations ..." (golint)
    • ntt/internal/telemetry/trace.go
    • Line 12: warning: exported type SpanContext should have comment or be unexported (golint)
    • Line 17: warning: exported type Span should have comment or be unexported (golint)
    • Line 27: warning: exported method SpanContext.Format should have comment or be unexported (golint)
    • Line 31: warning: exported method Span.Format should have comment or be unexported (golint)
    • ntt/internal/telemetry/export/export.go
    • Line 19: warning: exported type Exporter should have comment or be unexported (golint)
    • Line 38: warning: exported function AddExporters should have comment or be unexported (golint)
    • Line 44: warning: exported function StartSpan should have comment or be unexported (golint)
    • Line 51: warning: exported function FinishSpan should have comment or be unexported (golint)
    • Line 58: warning: exported function Tag should have comment or be unexported (golint)
    • Line 78: warning: exported function Log should have comment or be unexported (golint)
    • Line 90: warning: exported function Metric should have comment or be unexported (golint)
    • Line 96: warning: exported function Flush should have comment or be unexported (golint)
    • ntt/internal/telemetry/export/prometheus/prometheus.go
    • Line 19: warning: exported function New should have comment or be unexported (golint)
    • Line 23: warning: exported type Exporter should have comment or be unexported (golint)
    • Line 28: warning: exported method Exporter.StartSpan should have comment or be unexported (golint)
    • Line 29: warning: exported method Exporter.FinishSpan should have comment or be unexported (golint)
    • Line 30: warning: exported method Exporter.Log should have comment or be unexported (golint)
    • Line 31: warning: exported method Exporter.Flush should have comment or be unexported (golint)
    • Line 33: warning: exported method Exporter.Metric should have comment or be unexported (golint)
    • Line 83: warning: exported method Exporter.Serve should have comment or be unexported (golint)
    • ntt/k3/t3xf/error.go
    • Line 10: warning: comment on exported const ErrUnknownFormat should be of the form "ErrUnknownFormat ..." (golint)
    • Line 17: warning: comment on exported const ErrDeprecatedESWAP should be of the form "ErrDeprecatedESWAP ..." (golint)
    • Line 24: warning: comment on exported const ErrUnmatchedBLOCK should be of the form "ErrUnmatchedBLOCK ..." (golint)
    • ntt/internal/telemetry/export/ocagent/wire/metrics.go
    • Line 12: warning: exported type ExportMetricsServiceRequest should have comment or be unexported (golint)
    • Line 18: warning: exported type Metric should have comment or be unexported (golint)
    • Line 24: warning: exported type MetricDescriptor should have comment or be unexported (golint)
    • Line 32: warning: don't use underscores in Go names; type MetricDescriptor_Type should be MetricDescriptorType (golint)
    • Line 32: warning: exported type MetricDescriptor_Type should have comment or be unexported (golint)
    • Line 35: warning: don't use underscores in Go names; const MetricDescriptor_UNSPECIFIED should be MetricDescriptorUNSPECIFIED (golint)
    • Line 35: warning: exported const MetricDescriptor_UNSPECIFIED should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: don't use underscores in Go names; const MetricDescriptor_GAUGE_INT64 should be MetricDescriptorGAUGEINT64 (golint)
    • Line 37: warning: don't use underscores in Go names; const MetricDescriptor_GAUGE_DOUBLE should be MetricDescriptorGAUGEDOUBLE (golint)
    • Line 38: warning: don't use underscores in Go names; const MetricDescriptor_GAUGE_DISTRIBUTION should be MetricDescriptorGAUGEDISTRIBUTION (golint)
    • Line 39: warning: don't use underscores in Go names; const MetricDescriptor_CUMULATIVE_INT64 should be MetricDescriptorCUMULATIVEINT64 (golint)
    • Line 40: warning: don't use underscores in Go names; const MetricDescriptor_CUMULATIVE_DOUBLE should be MetricDescriptorCUMULATIVEDOUBLE (golint)
    • Line 41: warning: don't use underscores in Go names; const MetricDescriptor_CUMULATIVE_DISTRIBUTION should be MetricDescriptorCUMULATIVEDISTRIBUTION (golint)
    • Line 42: warning: don't use underscores in Go names; const MetricDescriptor_SUMMARY should be MetricDescriptorSUMMARY (golint)
    • Line 45: warning: exported type LabelKey should have comment or be unexported (golint)
    • Line 50: warning: exported type TimeSeries should have comment or be unexported (golint)
    • Line 56: warning: exported type LabelValue should have comment or be unexported (golint)
    • Line 61: warning: exported type Point should have comment or be unexported (golint)
    • Line 66: warning: exported type PointInt64Value should have comment or be unexported (golint)
    • Line 112: warning: exported type PointDoubleValue should have comment or be unexported (golint)
    • Line 116: warning: exported type PointDistributionValue should have comment or be unexported (golint)
    • Line 120: warning: exported type PointSummaryValue should have comment or be unexported (golint)
    • Line 124: warning: exported type PointValue should have comment or be unexported (golint)
    • Line 133: warning: exported type DistributionValue should have comment or be unexported (golint)
    • Line 141: warning: exported type BucketOptionsExplicit should have comment or be unexported (golint)
    • Line 145: warning: exported type BucketOptions should have comment or be unexported (golint)
    • Line 172: warning: exported type Bucket should have comment or be unexported (golint)
    • Line 177: warning: exported type Exemplar should have comment or be unexported (golint)
    • Line 183: warning: exported type SummaryValue should have comment or be unexported (golint)
    • Line 189: warning: exported type Snapshot should have comment or be unexported (golint)
    • Line 195: warning: exported type SnapshotValueAtPercentile should have comment or be unexported (golint)
    • ntt/internal/span/span.go
    • Line 53: warning: exported function New should have comment or be unexported (golint)
    • Line 59: warning: exported function NewPoint should have comment or be unexported (golint)
    • Line 65: warning: exported function Compare should have comment or be unexported (golint)
    • Line 75: warning: exported function ComparePoint should have comment or be unexported (golint)
    • Line 104: warning: exported method Span.HasPosition should have comment or be unexported (golint)
    • Line 105: warning: exported method Span.HasOffset should have comment or be unexported (golint)
    • Line 106: warning: exported method Span.IsValid should have comment or be unexported (golint)
    • Line 107: warning: exported method Span.IsPoint should have comment or be unexported (golint)
    • Line 108: warning: exported method Span.URI should have comment or be unexported (golint)
    • Line 109: warning: exported method Span.Start should have comment or be unexported (golint)
    • Line 110: warning: exported method Span.End should have comment or be unexported (golint)
    • Line 111: warning: exported method Span.MarshalJSON should have comment or be unexported (golint)
    • Line 112: warning: exported method Span.UnmarshalJSON should have comment or be unexported (golint)
    • Line 114: warning: exported method Point.HasPosition should have comment or be unexported (golint)
    • Line 115: warning: exported method Point.HasOffset should have comment or be unexported (golint)
    • Line 116: warning: exported method Point.IsValid should have comment or be unexported (golint)
    • Line 117: warning: exported method Point.MarshalJSON should have comment or be unexported (golint)
    • Line 118: warning: exported method Point.UnmarshalJSON should have comment or be unexported (golint)
    • Line 119: warning: exported method Point.Line should have comment or be unexported (golint)
    • Line 125: warning: exported method Point.Column should have comment or be unexported (golint)
    • Line 131: warning: exported method Point.Offset should have comment or be unexported (golint)
    • Line 220: warning: exported method Span.WithPosition should have comment or be unexported (golint)
    • Line 227: warning: exported method Span.WithOffset should have comment or be unexported (golint)
    • Line 234: warning: exported method Span.WithAll should have comment or be unexported (golint)
    • ntt/internal/lsp/protocol/span.go
    • Line 16: warning: exported type ColumnMapper should have comment or be unexported (golint)
    • Line 22: warning: exported function URIFromSpanURI should have comment or be unexported (golint)
    • Line 26: warning: exported function URIFromPath should have comment or be unexported (golint)
    • Line 30: warning: exported method DocumentURI.SpanURI should have comment or be unexported (golint)
    • Line 34: warning: exported method ColumnMapper.Location should have comment or be unexported (golint)
    • Line 42: warning: exported method ColumnMapper.Range should have comment or be unexported (golint)
    • Line 61: warning: exported method ColumnMapper.Position should have comment or be unexported (golint)
    • Line 72: warning: exported method ColumnMapper.Span should have comment or be unexported (golint)
    • Line 76: warning: exported method ColumnMapper.RangeSpan should have comment or be unexported (golint)
    • Line 88: warning: exported method ColumnMapper.PointSpan should have comment or be unexported (golint)
    • Line 96: warning: exported method ColumnMapper.Point should have comment or be unexported (golint)
    • Line 106: warning: exported function IsPoint should have comment or be unexported (golint)
    • Line 110: warning: exported function CompareRange should have comment or be unexported (golint)
    • Line 117: warning: exported function ComparePosition should have comment or be unexported (golint)
    • Line 133: warning: exported function Intersect should have comment or be unexported (golint)
    • Line 141: warning: exported method Range.Format should have comment or be unexported (golint)
    • ntt/internal/ttcn3/types/component.go
    • Line 10: warning: exported type ComponentType should have comment or be unexported (golint)
    • Line 17: warning: exported function NewComponentType should have comment or be unexported (golint)
    • Line 26: warning: exported method ComponentType.Insert should have comment or be unexported (golint)
    • Line 42: warning: exported method ComponentType.Underlying should have comment or be unexported (golint)
    • ntt/internal/lsp/status.go
    • Line 33: warning: exported type Status should have comment or be unexported (golint)
    • Line 40: warning: exported function NewStatus should have comment or be unexported (golint)
    • ntt/internal/errors/errors.go
    • Line 11: warning: comment on exported type Error should be of the form "Error ..." (with optional leading article) (golint)
    • Line 36: warning: exported method ErrorList.List should have comment or be unexported (golint)
    • ntt/internal/lsp/protocol/enums.go
    • Line 144: warning: exported method TextDocumentSyncKind.Format should have comment or be unexported (golint)
    • Line 148: warning: exported function ParseTextDocumentSyncKind should have comment or be unexported (golint)
    • Line 152: warning: exported method InitializeError.Format should have comment or be unexported (golint)
    • Line 156: warning: exported function ParseInitializeError should have comment or be unexported (golint)
    • Line 160: warning: exported method MessageType.Format should have comment or be unexported (golint)
    • Line 164: warning: exported function ParseMessageType should have comment or be unexported (golint)
    • Line 168: warning: exported method FileChangeType.Format should have comment or be unexported (golint)
    • Line 172: warning: exported function ParseFileChangeType should have comment or be unexported (golint)
    • Line 176: warning: exported method WatchKind.Format should have comment or be unexported (golint)
    • Line 180: warning: exported function ParseWatchKind should have comment or be unexported (golint)
    • Line 184: warning: exported method CompletionTriggerKind.Format should have comment or be unexported (golint)
    • Line 188: warning: exported function ParseCompletionTriggerKind should have comment or be unexported (golint)
    • Line 192: warning: exported method DiagnosticSeverity.Format should have comment or be unexported (golint)
    • Line 196: warning: exported function ParseDiagnosticSeverity should have comment or be unexported (golint)
    • Line 200: warning: exported method DiagnosticTag.Format should have comment or be unexported (golint)
    • Line 204: warning: exported function ParseDiagnosticTag should have comment or be unexported (golint)
    • Line 208: warning: exported method CompletionItemKind.Format should have comment or be unexported (golint)
    • Line 212: warning: exported function ParseCompletionItemKind should have comment or be unexported (golint)
    • Line 216: warning: exported method InsertTextFormat.Format should have comment or be unexported (golint)
    • Line 220: warning: exported function ParseInsertTextFormat should have comment or be unexported (golint)
    • Line 224: warning: exported method DocumentHighlightKind.Format should have comment or be unexported (golint)
    • Line 228: warning: exported function ParseDocumentHighlightKind should have comment or be unexported (golint)
    • Line 232: warning: exported method SymbolKind.Format should have comment or be unexported (golint)
    • Line 236: warning: exported function ParseSymbolKind should have comment or be unexported (golint)
    • Line 240: warning: exported method TextDocumentSaveReason.Format should have comment or be unexported (golint)
    • Line 244: warning: exported function ParseTextDocumentSaveReason should have comment or be unexported (golint)
    • ntt/internal/telemetry/export/ocagent/wire/common.go
    • Line 9: warning: exported type Node should have comment or be unexported (golint)
    • Line 16: warning: exported type Resource should have comment or be unexported (golint)
    • Line 21: warning: exported type TruncatableString should have comment or be unexported (golint)
    • Line 26: warning: exported type Attributes should have comment or be unexported (golint)
    • Line 31: warning: exported type StringAttribute should have comment or be unexported (golint)
    • Line 35: warning: exported type IntAttribute should have comment or be unexported (golint)
    • Line 39: warning: exported type BoolAttribute should have comment or be unexported (golint)
    • Line 43: warning: exported type DoubleAttribute should have comment or be unexported (golint)
    • Line 47: warning: exported type Attribute should have comment or be unexported (golint)
    • Line 56: warning: exported type StackTrace should have comment or be unexported (golint)
    • Line 61: warning: exported type StackFrames should have comment or be unexported (golint)
    • Line 66: warning: exported type StackFrame should have comment or be unexported (golint)
    • Line 76: warning: exported type Module should have comment or be unexported (golint)
    • Line 81: warning: exported type ProcessIdentifier should have comment or be unexported (golint)
    • Line 87: warning: exported type LibraryInfo should have comment or be unexported (golint)
    • Line 93: warning: exported type Language should have comment or be unexported (golint)
    • Line 96: warning: exported const LanguageGo should have comment (or a comment on this block) or be unexported (golint)
    • Line 99: warning: exported type ServiceInfo should have comment or be unexported (golint)
    • ntt/internal/span/token.go
    • Line 157: warning: exported method PosConverter.ToPosition should have comment or be unexported (golint)
    • Line 162: warning: exported method PosConverter.ToOffset should have comment or be unexported (golint)
    • ntt/k3/t3xf/tasm.go
    • Line 34: warning: exported type Sections should have comment or be unexported (golint)
    • Line 40: warning: exported type Tables should have comment or be unexported (golint)
    • ntt/internal/cmds/report/report.go
    • Line 20: warning: exported type Report should have comment or be unexported (golint)
    • Line 27: warning: exported function NewReport should have comment or be unexported (golint)
    • Line 48: warning: exported method Report.Getenv should have comment or be unexported (golint)
    • Line 53: warning: exported method Report.Environ should have comment or be unexported (golint)
    • Line 60: warning: exported method Report.LineCount should have comment or be unexported (golint)
    • Line 96: warning: exported method Report.MaxJobs should have comment or be unexported (golint)
    • Line 100: warning: exported method Report.MaxLoad should have comment or be unexported (golint)
    • Line 104: warning: exported type Collection should have comment or be unexported (golint)
    • Line 109: warning: exported function NewCollection should have comment or be unexported (golint)
    • Line 121: warning: exported method Collection.Runs should have comment or be unexported (golint)
    • Line 125: warning: exported method Collection.Tests should have comment or be unexported (golint)
    • Line 129: warning: exported method Collection.Modules should have comment or be unexported (golint)
    • Line 147: warning: exported type RunSlice should have comment or be unexported (golint)
    • Line 149: warning: exported function NewRunSlice should have comment or be unexported (golint)
    • Line 157: warning: exported method RunSlice.Total should have comment or be unexported (golint)
    • Line 161: warning: exported method RunSlice.Duration should have comment or be unexported (golint)
    • Line 165: warning: exported method RunSlice.First should have comment or be unexported (golint)
    • Line 169: warning: exported method RunSlice.Last should have comment or be unexported (golint)
    • Line 173: warning: exported method RunSlice.Shortest should have comment or be unexported (golint)
    • Line 177: warning: exported method RunSlice.Longest should have comment or be unexported (golint)
    • Line 181: warning: exported method RunSlice.Load should have comment or be unexported (golint)
    • Line 185: warning: exported method RunSlice.Average should have comment or be unexported (golint)
    • Line 189: warning: exported method RunSlice.Deviation should have comment or be unexported (golint)
    • Line 193: warning: exported method RunSlice.NotPassed should have comment or be unexported (golint)
    • Line 197: warning: exported method RunSlice.Failed should have comment or be unexported (golint)
    • Line 201: warning: exported method RunSlice.Unstable should have comment or be unexported (golint)
    • Line 205: warning: exported method RunSlice.Result should have comment or be unexported (golint)
    • Line 242: warning: exported type Run should have comment or be unexported (golint)
    • Line 244: warning: exported method Run.Module should have comment or be unexported (golint)
    • Line 251: warning: exported method Run.Testcase should have comment or be unexported (golint)
    • Line 256: warning: exported method Run.ReasonFiles should have comment or be unexported (golint)
    • Line 273: warning: exported type File should have comment or be unexported (golint)
    • ntt/internal/cmds/tags/main.go
    • Line 17: warning: exported var Command should have comment or be unexported (golint)
    • Line 84: warning: exported function NewTag should have comment or be unexported (golint)
    • Line 88: warning: exported function Kind should have comment or be unexported (golint)
    • ntt/internal/lsp/jsonrpc2/wire.go
    • Line 99: warning: exported function NewError should have comment or be unexported (golint)
    • Line 149: warning: exported method ID.MarshalJSON should have comment or be unexported (golint)
    • Line 156: warning: exported method ID.UnmarshalJSON should have comment or be unexported (golint)
    • ntt/cmd/k3objdump/main.go
    • Line 22: warning: exported var Debug should have comment or be unexported (golint)
    • Line 61: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • ntt/k3/t3xf/opcode/opcode.go
    • Line 13: warning: exported const NOP should have comment (or a comment on this block) or be unexported (golint)
    • Line 426: warning: comment on exported const LINE should be of the form "LINE ..." (golint)
    • Line 433: warning: exported type Opcode should have comment or be unexported (golint)
    • Line 457: warning: exported method Opcode.HasArg should have comment or be unexported (golint)
    • Line 476: warning: exported function Unpack should have comment or be unexported (golint)
    • ntt/internal/ttcn3/types/scope.go
    • Line 10: warning: exported type Scope should have comment or be unexported (golint)
    • Line 111: warning: exported type LocalScope should have comment or be unexported (golint)
    • Line 117: warning: exported function NewLocalScope should have comment or be unexported (golint)
    • Line 125: warning: exported method LocalScope.Lookup should have comment or be unexported (golint)
    • ntt/internal/ttcn3/parser/api.go
    • Line 28: warning: exported const PedanticSemicolon should have comment (or a comment on this block) or be unexported (golint)
    • Line 82: warning: exported function ParseExpr should have comment or be unexported (golint)
    • ntt/internal/telemetry/export/ocagent/wire/trace.go
    • Line 7: warning: exported type ExportTraceServiceRequest should have comment or be unexported (golint)
    • Line 13: warning: exported type Span should have comment or be unexported (golint)
    • Line 32: warning: exported type TraceState should have comment or be unexported (golint)
    • Line 36: warning: exported type TraceStateEntry should have comment or be unexported (golint)
    • Line 41: warning: exported type SpanKind should have comment or be unexported (golint)
    • Line 44: warning: exported const UnspecifiedSpanKind should have comment (or a comment on this block) or be unexported (golint)
    • Line 49: warning: exported type TimeEvents should have comment or be unexported (golint)
    • Line 55: warning: exported type TimeEvent should have comment or be unexported (golint)
    • Line 61: warning: exported type Annotation should have comment or be unexported (golint)
    • Line 66: warning: exported type MessageEvent should have comment or be unexported (golint)
    • Line 73: warning: exported type MessageEventType should have comment or be unexported (golint)
    • Line 76: warning: exported const UnspecifiedMessageEvent should have comment (or a comment on this block) or be unexported (golint)
    • Line 81: warning: exported type TimeEventValue should have comment or be unexported (golint)
    • Line 88: warning: exported type Links should have comment or be unexported (golint)
    • Line 93: warning: exported type Link should have comment or be unexported (golint)
    • Line 101: warning: exported type LinkType should have comment or be unexported (golint)
    • Line 104: warning: exported const UnspecifiedLinkType should have comment (or a comment on this block) or be unexported (golint)
    • Line 109: warning: exported type Status should have comment or be unexported (golint)
    • ntt/internal/span/uri.go
    • Line 22: warning: exported method URI.IsFile should have comment or be unexported (golint)
    • Line 55: warning: exported function URIFromURI should have comment or be unexported (golint)
    • Line 82: warning: exported function CompareURI should have comment or be unexported (golint)
    • ntt/k3/k3.go
    • Line 53: warning: exported function DataDir should have comment or be unexported (golint)
    • ntt/internal/lsp/server_gen.go
    • Line 11: warning: exported method Server.CodeAction should have comment or be unexported (golint)
    • Line 15: warning: exported method Server.CodeLens should have comment or be unexported (golint)
    • Line 19: warning: exported method Server.ColorPresentation should have comment or be unexported (golint)
    • Line 23: warning: exported method Server.Completion should have comment or be unexported (golint)
    • Line 27: warning: exported method Server.Declaration should have comment or be unexported (golint)
    • Line 31: warning: exported method Server.Definition should have comment or be unexported (golint)
    • Line 35: warning: exported method Server.DidChange should have comment or be unexported (golint)
    • Line 39: warning: exported method Server.DidChangeConfiguration should have comment or be unexported (golint)
    • Line 43: warning: exported method Server.DidChangeWatchedFiles should have comment or be unexported (golint)
    • Line 47: warning: exported method Server.DidChangeWorkspaceFolders should have comment or be unexported (golint)
    • Line 51: warning: exported method Server.DidClose should have comment or be unexported (golint)
    • Line 55: warning: exported method Server.DidOpen should have comment or be unexported (golint)
    • Line 59: warning: exported method Server.DidSave should have comment or be unexported (golint)
    • Line 63: warning: exported method Server.DocumentColor should have comment or be unexported (golint)
    • Line 67: warning: exported method Server.DocumentHighlight should have comment or be unexported (golint)
    • Line 71: warning: exported method Server.DocumentLink should have comment or be unexported (golint)
    • Line 75: warning: exported method Server.DocumentSymbol should have comment or be unexported (golint)
    • Line 79: warning: exported method Server.ExecuteCommand should have comment or be unexported (golint)
    • Line 83: warning: exported method Server.Exit should have comment or be unexported (golint)
    • Line 87: warning: exported method Server.FoldingRange should have comment or be unexported (golint)
    • Line 91: warning: exported method Server.Formatting should have comment or be unexported (golint)
    • Line 95: warning: exported method Server.Hover should have comment or be unexported (golint)
    • Line 99: warning: exported method Server.Implementation should have comment or be unexported (golint)
    • Line 103: warning: exported method Server.IncomingCalls should have comment or be unexported (golint)
    • Line 107: warning: exported method Server.Initialize should have comment or be unexported (golint)
    • Line 111: warning: exported method Server.Initialized should have comment or be unexported (golint)
    • Line 115: warning: exported method Server.LogTrace should have comment or be unexported (golint)
    • Line 119: warning: exported method Server.NonstandardRequest should have comment or be unexported (golint)
    • Line 123: warning: exported method Server.OnTypeFormatting should have comment or be unexported (golint)
    • Line 127: warning: exported method Server.OutgoingCalls should have comment or be unexported (golint)
    • Line 131: warning: exported method Server.PrepareCallHierarchy should have comment or be unexported (golint)
    • Line 135: warning: exported method Server.PrepareRename should have comment or be unexported (golint)
    • Line 139: warning: exported method Server.RangeFormatting should have comment or be unexported (golint)
    • Line 143: warning: exported method Server.References should have comment or be unexported (golint)
    • Line 147: warning: exported method Server.Rename should have comment or be unexported (golint)
    • Line 151: warning: exported method Server.Resolve should have comment or be unexported (golint)
    • Line 155: warning: exported method Server.ResolveCodeLens should have comment or be unexported (golint)
    • Line 159: warning: exported method Server.ResolveDocumentLink should have comment or be unexported (golint)
    • Line 163: warning: exported method Server.SelectionRange should have comment or be unexported (golint)
    • Line 167: warning: exported method Server.SemanticTokensFull should have comment or be unexported (golint)
    • Line 171: warning: exported method Server.SemanticTokensFullDelta should have comment or be unexported (golint)
    • Line 175: warning: exported method Server.SemanticTokensRange should have comment or be unexported (golint)
    • Line 179: warning: exported method Server.SetTrace should have comment or be unexported (golint)
    • Line 183: warning: exported method Server.Shutdown should have comment or be unexported (golint)
    • Line 187: warning: exported method Server.SignatureHelp should have comment or be unexported (golint)
    • Line 191: warning: exported method Server.Symbol should have comment or be unexported (golint)
    • Line 195: warning: exported method Server.TypeDefinition should have comment or be unexported (golint)
    • Line 199: warning: exported method Server.WillSave should have comment or be unexported (golint)
    • Line 203: warning: exported method Server.WillSaveWaitUntil should have comment or be unexported (golint)
    • Line 207: warning: exported method Server.WorkDoneProgressCancel should have comment or be unexported (golint)
    • ntt/internal/ntt/errors.go
    • Line 9: warning: exported var ErrSyntax should have comment or be unexported (golint)
    • Line 15: warning: exported type SyntaxError should have comment or be unexported (golint)
    • ntt/internal/session/sort.go
    • Line 5: warning: exported type SessionSlice should have comment or be unexported (golint)
    • Line 11: warning: exported function Sort should have comment or be unexported (golint)
    • ntt/internal/lsp/server.go
    • Line 20: warning: exported function NewServer should have comment or be unexported (golint)
    • Line 27: warning: exported method Server.Serve should have comment or be unexported (golint)
    • Line 81: warning: exported method Server.Fatal should have comment or be unexported (golint)
    • Line 88: warning: exported method Server.Info should have comment or be unexported (golint)
    • Line 95: warning: exported method Server.Log should have comment or be unexported (golint)
    • Line 102: warning: exported method Server.Output should have comment or be unexported (golint)
    • ntt/internal/ntt/cli.go
    • Line 79: warning: don't use underscores in Go names; var source_dir should be sourceDir (golint)
    • Line 82: warning: don't use underscores in Go names; var source_dir should be sourceDir (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign97%

IneffAssign detects ineffectual assignments in Go code.


misspell0%

Misspell Finds commonly misspelled English words

An error occurred while running this test (exit status 3)