Preparing report...

Report for github.com/ajdnik/gozork

A    Great!    Found 12 issues across 13 files

Tweet

gofmt92%

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!


gocyclo46%

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.

    • gozork/zork/parser.go
    • Line 147: warning: cyclomatic complexity 91 of function Parse() is high (> 15) (gocyclo)
    • Line 408: warning: cyclomatic complexity 41 of function Clause() is high (> 15) (gocyclo)
    • Line 564: warning: cyclomatic complexity 37 of function OrphanMerge() is high (> 15) (gocyclo)
    • Line 1046: warning: cyclomatic complexity 35 of function GetObject() is high (> 15) (gocyclo)
    • Line 908: warning: cyclomatic complexity 29 of function SyntaxCheck() is high (> 15) (gocyclo)
    • Line 810: warning: cyclomatic complexity 29 of function Snarfem() is high (> 15) (gocyclo)
    • Line 700: warning: cyclomatic complexity 20 of function ITakeCheck() is high (> 15) (gocyclo)
    • gozork/zork/game.go
    • Line 76: warning: cyclomatic complexity 66 of function MainLoop() is high (> 15) (gocyclo)
    • Line 219: warning: cyclomatic complexity 36 of function Perform() is high (> 15) (gocyclo)
    • gozork/zork/verbs.go
    • Line 2241: warning: cyclomatic complexity 35 of function PrintCont() is high (> 15) (gocyclo)
    • Line 2003: warning: cyclomatic complexity 33 of function Goto() is high (> 15) (gocyclo)
    • Line 2342: warning: cyclomatic complexity 20 of function DescribeObject() is high (> 15) (gocyclo)
    • Line 386: warning: cyclomatic complexity 20 of function VClimbFcn() is high (> 15) (gocyclo)
    • Line 2181: warning: cyclomatic complexity 19 of function DescribeRoom() is high (> 15) (gocyclo)
    • Line 1900: warning: cyclomatic complexity 18 of function VWalk() is high (> 15) (gocyclo)
    • Line 612: warning: cyclomatic complexity 16 of function VEat() is high (> 15) (gocyclo)

golint7%

Golint is a linter for Go source code.

    • gozork/zork/clock.go
    • Line 3: warning: exported type RtnFunc should have comment or be unexported (golint)
    • Line 5: warning: exported type QueueItm should have comment or be unexported (golint)
    • Line 12: warning: exported var QueueItms should have comment or be unexported (golint)
    • Line 18: warning: exported function Queue should have comment or be unexported (golint)
    • Line 24: warning: exported function QueueInt should have comment or be unexported (golint)
    • Line 43: warning: exported function Clocker should have comment or be unexported (golint)
    • gozork/zork/game.go
    • Line 6: warning: exported var ParserOk should have comment or be unexported (golint)
    • Line 11: warning: exported type PerfRet should have comment or be unexported (golint)
    • Line 14: warning: exported const PerfNotHndld should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: exported function Restart should have comment or be unexported (golint)
    • Line 24: warning: exported function Restore should have comment or be unexported (golint)
    • Line 29: warning: exported function Quit should have comment or be unexported (golint)
    • Line 34: warning: exported function Save should have comment or be unexported (golint)
    • Line 39: warning: exported function Verify should have comment or be unexported (golint)
    • Line 44: warning: exported function Run should have comment or be unexported (golint)
    • Line 76: warning: exported function MainLoop should have comment or be unexported (golint)
    • Line 219: warning: exported function Perform should have comment or be unexported (golint)
    • gozork/zork/lexer.go
    • Line 30: warning: exported type WordTypes should have comment or be unexported (golint)
    • Line 32: warning: exported method WordTypes.Has should have comment or be unexported (golint)
    • Line 53: warning: exported method WordTypes.Equals should have comment or be unexported (golint)
    • Line 123: warning: exported var Reader should have comment or be unexported (golint)
    • Line 146: warning: exported function Tokenize should have comment or be unexported (golint)
    • Line 178: warning: exported function Lex should have comment or be unexported (golint)
    • gozork/zork/object.go
    • Line 9: warning: comment on exported const FlgTake should be of the form "FlgTake ..." (golint)
    • Line 11: warning: comment on exported const FlgTryTake should be of the form "FlgTryTake ..." (golint)
    • Line 13: warning: comment on exported const FlgCont should be of the form "FlgCont ..." (golint)
    • Line 15: warning: comment on exported const FlgDoor should be of the form "FlgDoor ..." (golint)
    • Line 17: warning: comment on exported const FlgOpen should be of the form "FlgOpen ..." (golint)
    • Line 19: warning: comment on exported const FlgSurf should be of the form "FlgSurf ..." (golint)
    • Line 21: warning: comment on exported const FlgLock should be of the form "FlgLock ..." (golint)
    • Line 23: warning: comment on exported const FlgWear should be of the form "FlgWear ..." (golint)
    • Line 25: warning: comment on exported const FlgWorn should be of the form "FlgWorn ..." (golint)
    • Line 27: warning: comment on exported const FlgRead should be of the form "FlgRead ..." (golint)
    • Line 29: warning: comment on exported const FlgLight should be of the form "FlgLight ..." (golint)
    • Line 31: warning: comment on exported const FlgOn should be of the form "FlgOn ..." (golint)
    • Line 33: warning: comment on exported const FlgFlame should be of the form "FlgFlame ..." (golint)
    • Line 35: warning: comment on exported const FlgBurn should be of the form "FlgBurn ..." (golint)
    • Line 37: warning: comment on exported const FlgTrans should be of the form "FlgTrans ..." (golint)
    • Line 39: warning: comment on exported const FlgNoDesc should be of the form "FlgNoDesc ..." (golint)
    • Line 41: warning: comment on exported const FlgInvis should be of the form "FlgInvis ..." (golint)
    • Line 43: warning: comment on exported const FlgTouch should be of the form "FlgTouch ..." (golint)
    • Line 45: warning: comment on exported const FlgSearch should be of the form "FlgSearch ..." (golint)
    • Line 47: warning: comment on exported const FlgVeh should be of the form "FlgVeh ..." (golint)
    • Line 49: warning: comment on exported const FlgPerson should be of the form "FlgPerson ..." (golint)
    • Line 51: warning: comment on exported const FlgFemale should be of the form "FlgFemale ..." (golint)
    • Line 53: warning: comment on exported const FlgVowel should be of the form "FlgVowel ..." (golint)
    • Line 55: warning: comment on exported const FlgNoArt should be of the form "FlgNoArt ..." (golint)
    • Line 57: warning: comment on exported const FlgPlural should be of the form "FlgPlural ..." (golint)
    • Line 59: warning: comment on exported const FlgLand should be of the form "FlgLand ..." (golint)
    • Line 61: warning: comment on exported const FlgWater should be of the form "FlgWater ..." (golint)
    • Line 63: warning: comment on exported const FlgAir should be of the form "FlgAir ..." (golint)
    • Line 65: warning: comment on exported const FlgOut should be of the form "FlgOut ..." (golint)
    • Line 67: warning: comment on exported const FlgIntegral should be of the form "FlgIntegral ..." (golint)
    • Line 69: warning: comment on exported const FlgBodyPart should be of the form "FlgBodyPart ..." (golint)
    • Line 71: warning: comment on exported const FlgNotAll should be of the form "FlgNotAll ..." (golint)
    • Line 73: warning: comment on exported const FlgDrop should be of the form "FlgDrop ..." (golint)
    • Line 75: warning: comment on exported const FlgIn should be of the form "FlgIn ..." (golint)
    • Line 77: warning: comment on exported const FlgKludge should be of the form "FlgKludge ..." (golint)
    • Line 79: warning: comment on exported const FlgFight should be of the form "FlgFight ..." (golint)
    • Line 81: warning: comment on exported const FlgStagg should be of the form "FlgStagg ..." (golint)
    • Line 83: warning: comment on exported const FlgSacred should be of the form "FlgSacred ..." (golint)
    • Line 85: warning: comment on exported const FlgTool should be of the form "FlgTool ..." (golint)
    • Line 87: warning: exported const FlgNonLand should have comment (or a comment on this block) or be unexported (golint)
    • Line 129: warning: exported const ActUnk should have comment (or a comment on this block) or be unexported (golint)
    • Line 138: warning: exported type Action should have comment or be unexported (golint)
    • Line 140: warning: comment on exported type PseudoObj should be of the form "PseudoObj ..." (with optional leading article) (golint)
    • Line 146: warning: exported type FDir should have comment or be unexported (golint)
    • Line 147: warning: exported type CDir should have comment or be unexported (golint)
    • Line 149: warning: exported type DirProps should have comment or be unexported (golint)
    • Line 173: warning: exported method DirProps.IsSet should have comment or be unexported (golint)
    • Line 256: warning: exported method Object.Remove should have comment or be unexported (golint)
    • Line 261: warning: exported method Object.RemoveChild should have comment or be unexported (golint)
    • Line 363: warning: comment on exported method Object.IsIn should be of the form "IsIn ..." (golint)
    • gozork/zork/output.go
    • Line 5: warning: exported type EndType should have comment or be unexported (golint)
    • Line 8: warning: exported const Newline should have comment (or a comment on this block) or be unexported (golint)
    • Line 12: warning: exported function NewLine should have comment or be unexported (golint)
    • Line 16: warning: exported function PrintObject should have comment or be unexported (golint)
    • Line 20: warning: exported function PrintNumber should have comment or be unexported (golint)
    • Line 24: warning: exported function Print should have comment or be unexported (golint)
    • gozork/zork/syntax.go
    • Line 3: warning: exported type LocFlag should have comment or be unexported (golint)
    • Line 6: warning: exported const LocHeld should have comment (or a comment on this block) or be unexported (golint)
    • Line 15: warning: exported method LocFlag.In should have comment or be unexported (golint)
    • Line 24: warning: exported type LocFlags should have comment or be unexported (golint)
    • Line 26: warning: exported method LocFlags.All should have comment or be unexported (golint)
    • Line 31: warning: exported method LocFlags.HasAll should have comment or be unexported (golint)
    • Line 35: warning: exported type VrbAction should have comment or be unexported (golint)
    • Line 37: warning: exported type ObjProp should have comment or be unexported (golint)
    • Line 43: warning: exported type Syntx should have comment or be unexported (golint)
    • Line 54: warning: exported method Syntx.NumObjects should have comment or be unexported (golint)
    • Line 64: warning: exported method Syntx.IsVrbPrep should have comment or be unexported (golint)
    • Line 68: warning: exported method Syntx.IsObjPrep should have comment or be unexported (golint)
    • Line 72: warning: exported method Syntx.GetActionVerb should have comment or be unexported (golint)
    • Line 80: warning: exported method Syntx.GetNormVerb should have comment or be unexported (golint)
    • Line 88: warning: exported var BuzzWords should have comment or be unexported (golint)
    • Line 1923: warning: exported function BuildVocabulary should have comment or be unexported (golint)
    • gozork/zork/utils.go
    • Line 8: warning: exported function PickOne should have comment or be unexported (golint)
    • Line 26: warning: exported function Random should have comment or be unexported (golint)
    • Line 31: warning: exported function Prob should have comment or be unexported (golint)
    • Line 39: warning: exported function Zprob should have comment or be unexported (golint)
    • Line 47: warning: exported function IsFlaming should have comment or be unexported (golint)
    • Line 51: warning: exported function IsOpenable should have comment or be unexported (golint)
    • gozork/zork/actions.go
    • Line 3: warning: exported type BlowRes should have comment or be unexported (golint)
    • Line 6: warning: exported const BlowUnk should have comment (or a comment on this block) or be unexported (golint)
    • Line 21: warning: exported var Def1 should have comment or be unexported (golint)
    • Line 32: warning: exported function IFight should have comment or be unexported (golint)
    • Line 36: warning: exported function ISword should have comment or be unexported (golint)
    • Line 40: warning: exported function IThief should have comment or be unexported (golint)
    • Line 44: warning: exported function ICandles should have comment or be unexported (golint)
    • Line 48: warning: exported function ILantern should have comment or be unexported (golint)
    • Line 52: warning: exported function IXb should have comment or be unexported (golint)
    • Line 56: warning: exported function IXc should have comment or be unexported (golint)
    • Line 60: warning: exported function ICyclops should have comment or be unexported (golint)
    • Line 64: warning: exported function IForestRandom should have comment or be unexported (golint)
    • Line 68: warning: exported function IMatch should have comment or be unexported (golint)
    • Line 72: warning: exported function RBoatFcn should have comment or be unexported (golint)
    • Line 76: warning: exported function MailboxFcn should have comment or be unexported (golint)
    • Line 84: warning: exported function WestHouseFcn should have comment or be unexported (golint)
    • Line 96: warning: exported function WhiteHouseFcn should have comment or be unexported (golint)
    • Line 144: warning: exported function GoNext should have comment or be unexported (golint)
    • Line 155: warning: exported function ForestFcn should have comment or be unexported (golint)
    • Line 159: warning: exported function BoardFcn should have comment or be unexported (golint)
    • Line 167: warning: exported function TrophyCaseFcn should have comment or be unexported (golint)
    • Line 171: warning: exported function LivingRoomFcn should have comment or be unexported (golint)
    • Line 175: warning: exported function BoardedWindowFcn should have comment or be unexported (golint)
    • Line 179: warning: exported function NailsPseudo should have comment or be unexported (golint)
    • Line 183: warning: exported function SandFunction should have comment or be unexported (golint)
    • Line 187: warning: exported function Awaken should have comment or be unexported (golint)
    • Line 191: warning: exported function HeroBlow should have comment or be unexported (golint)
    • Line 195: warning: exported function FindWeapon should have comment or be unexported (golint)
    • Line 199: warning: exported function VScore should have comment or be unexported (golint)
    • Line 233: warning: exported function DeadFunction should have comment or be unexported (golint)
    • Line 237: warning: exported function JigsUp should have comment or be unexported (golint)
    • Line 278: warning: exported function RandomizeObjects should have comment or be unexported (golint)
    • Line 300: warning: exported function KillInterrupts should have comment or be unexported (golint)
    • gozork/zork/verbs.go
    • Line 8: warning: exported type RndSelect should have comment or be unexported (golint)
    • Line 14: warning: exported var Moves should have comment or be unexported (golint)
    • Line 81: warning: exported function VVerbose should have comment or be unexported (golint)
    • Line 88: warning: exported function VBrief should have comment or be unexported (golint)
    • Line 95: warning: exported function VSuperBrief should have comment or be unexported (golint)
    • Line 101: warning: exported function VInventory should have comment or be unexported (golint)
    • Line 109: warning: exported function VRestart should have comment or be unexported (golint)
    • Line 121: warning: exported function VRestore should have comment or be unexported (golint)
    • Line 130: warning: exported function VSave should have comment or be unexported (golint)
    • Line 139: warning: exported function VScript should have comment or be unexported (golint)
    • Line 148: warning: exported function VUnscript should have comment or be unexported (golint)
    • Line 157: warning: exported function VVerify should have comment or be unexported (golint)
    • Line 170: warning: exported function VVersion should have comment or be unexported (golint)
    • Line 187: warning: exported function VAdvent should have comment or be unexported (golint)
    • Line 192: warning: exported function VAlarm should have comment or be unexported (golint)
    • Line 209: warning: exported function VAnswer should have comment or be unexported (golint)
    • Line 216: warning: exported function VAttack should have comment or be unexported (golint)
    • Line 246: warning: exported function VBack should have comment or be unexported (golint)
    • Line 251: warning: exported function VBlast should have comment or be unexported (golint)
    • Line 256: warning: exported function PreBoard should have comment or be unexported (golint)
    • Line 285: warning: exported function VBoard should have comment or be unexported (golint)
    • Line 295: warning: exported function VBreathe should have comment or be unexported (golint)
    • Line 303: warning: exported function VBrush should have comment or be unexported (golint)
    • Line 308: warning: exported function VBug should have comment or be unexported (golint)
    • Line 313: warning: exported function TellNoPrsi should have comment or be unexported (golint)
    • Line 318: warning: exported function PreBurn should have comment or be unexported (golint)
    • Line 332: warning: exported function VBurn should have comment or be unexported (golint)
    • Line 358: warning: exported function VChomp should have comment or be unexported (golint)
    • Line 363: warning: exported function VClimbDown should have comment or be unexported (golint)
    • Line 367: warning: exported function VClimbFoo should have comment or be unexported (golint)
    • Line 371: warning: exported function VClimbOn should have comment or be unexported (golint)
    • Line 382: warning: exported function VClimbUp should have comment or be unexported (golint)
    • Line 386: warning: exported function VClimbFcn should have comment or be unexported (golint)
    • Line 428: warning: exported function VClose should have comment or be unexported (golint)
    • Line 465: warning: exported function VCommand should have comment or be unexported (golint)
    • Line 476: warning: exported function VCount should have comment or be unexported (golint)
    • Line 485: warning: exported function VCross should have comment or be unexported (golint)
    • Line 490: warning: exported function VCurses should have comment or be unexported (golint)
    • Line 503: warning: exported function VCut should have comment or be unexported (golint)
    • Line 536: warning: exported function VDeflate should have comment or be unexported (golint)
    • Line 541: warning: exported function VDig should have comment or be unexported (golint)
    • Line 561: warning: exported function VDisembark should have comment or be unexported (golint)
    • Line 582: warning: exported function VDisenchant should have comment or be unexported (golint)
    • Line 587: warning: exported function VDrink should have comment or be unexported (golint)
    • Line 591: warning: exported function VDrinkFrom should have comment or be unexported (golint)
    • Line 596: warning: exported function PreDrop should have comment or be unexported (golint)
    • Line 604: warning: exported function VDrop should have comment or be unexported (golint)
    • Line 612: warning: exported function VEat should have comment or be unexported (golint)
    • Line 660: warning: exported function HitSpot should have comment or be unexported (golint)
    • Line 668: warning: exported function VEcho should have comment or be unexported (golint)
    • Line 678: warning: exported function VEnchant should have comment or be unexported (golint)
    • Line 682: warning: exported function VEnter should have comment or be unexported (golint)
    • Line 686: warning: exported function VExit should have comment or be unexported (golint)
    • Line 698: warning: exported function VExcorcise should have comment or be unexported (golint)
    • Line 703: warning: exported function PreFill should have comment or be unexported (golint)
    • Line 726: warning: exported function VFill should have comment or be unexported (golint)
    • Line 743: warning: exported function VFirstLook should have comment or be unexported (golint)
    • Line 752: warning: exported function VFind should have comment or be unexported (golint)
    • Line 796: warning: exported function VFollow should have comment or be unexported (golint)
    • Line 801: warning: exported function VFrobozz should have comment or be unexported (golint)
    • Line 806: warning: exported function PreGive should have comment or be unexported (golint)
    • Line 816: warning: exported function VGive should have comment or be unexported (golint)
    • Line 831: warning: exported function VHatch should have comment or be unexported (golint)
    • Line 836: warning: exported function VHello should have comment or be unexported (golint)
    • Line 853: warning: exported function VIncant should have comment or be unexported (golint)
    • Line 860: warning: exported function VInflate should have comment or be unexported (golint)
    • Line 865: warning: exported function VKick should have comment or be unexported (golint)
    • Line 869: warning: exported function VKiss should have comment or be unexported (golint)
    • Line 874: warning: exported function VKnock should have comment or be unexported (golint)
    • Line 885: warning: exported function VLampOff should have comment or be unexported (golint)
    • Line 907: warning: exported function VLampOn should have comment or be unexported (golint)
    • Line 934: warning: exported function VLaunch should have comment or be unexported (golint)
    • Line 943: warning: exported function VLeanOn should have comment or be unexported (golint)
    • Line 948: warning: exported function VLeap should have comment or be unexported (golint)
    • Line 978: warning: exported function VLeave should have comment or be unexported (golint)
    • Line 982: warning: exported function VListen should have comment or be unexported (golint)
    • Line 989: warning: exported function VLock should have comment or be unexported (golint)
    • Line 994: warning: exported function VLower should have comment or be unexported (golint)
    • Line 998: warning: exported function VLook should have comment or be unexported (golint)
    • Line 1005: warning: exported function VLookBehind should have comment or be unexported (golint)
    • Line 1012: warning: exported function VLookInside should have comment or be unexported (golint)
    • Line 1049: warning: exported function VLookOn should have comment or be unexported (golint)
    • Line 1060: warning: exported function VLookUnder should have comment or be unexported (golint)
    • Line 1065: warning: exported function VExamine should have comment or be unexported (golint)
    • Line 1079: warning: exported function VMake should have comment or be unexported (golint)
    • Line 1084: warning: exported function VMelt should have comment or be unexported (golint)
    • Line 1091: warning: exported function PreMove should have comment or be unexported (golint)
    • Line 1099: warning: exported function VMove should have comment or be unexported (golint)
    • Line 1112: warning: exported function VMumble should have comment or be unexported (golint)
    • Line 1117: warning: exported function PreMung should have comment or be unexported (golint)
    • Line 1134: warning: exported function VMung should have comment or be unexported (golint)
    • Line 1143: warning: exported function MungRoom should have comment or be unexported (golint)
    • Line 1148: warning: exported function VOdysseus should have comment or be unexported (golint)
    • Line 1161: warning: exported function VOil should have comment or be unexported (golint)
    • Line 1166: warning: exported function VOpen should have comment or be unexported (golint)
    • Line 1210: warning: exported function VOverboard should have comment or be unexported (golint)
    • Line 1230: warning: exported function VPick should have comment or be unexported (golint)
    • Line 1235: warning: exported function VPlay should have comment or be unexported (golint)
    • Line 1246: warning: exported function VPlug should have comment or be unexported (golint)
    • Line 1251: warning: exported function VPourOn should have comment or be unexported (golint)
    • Line 1277: warning: exported function VPray should have comment or be unexported (golint)
    • Line 1285: warning: exported function VPump should have comment or be unexported (golint)
    • Line 1302: warning: exported function VPush should have comment or be unexported (golint)
    • Line 1306: warning: exported function VPushTo should have comment or be unexported (golint)
    • Line 1311: warning: exported function PrePut should have comment or be unexported (golint)
    • Line 1315: warning: exported function VPut should have comment or be unexported (golint)
    • Line 1353: warning: exported function VWalkAround should have comment or be unexported (golint)
    • Line 1358: warning: exported function VPutBehind should have comment or be unexported (golint)
    • Line 1363: warning: exported function VPutOn should have comment or be unexported (golint)
    • Line 1377: warning: exported function VPutUnder should have comment or be unexported (golint)
    • Line 1382: warning: exported function VRaise should have comment or be unexported (golint)
    • Line 1386: warning: exported function VRape should have comment or be unexported (golint)
    • Line 1391: warning: exported function PreRead should have comment or be unexported (golint)
    • Line 1405: warning: exported function VRead should have comment or be unexported (golint)
    • Line 1416: warning: exported function VReadPage should have comment or be unexported (golint)
    • Line 1421: warning: exported function VRepent should have comment or be unexported (golint)
    • Line 1426: warning: exported function VReply should have comment or be unexported (golint)
    • Line 1435: warning: exported function VRing should have comment or be unexported (golint)
    • Line 1440: warning: exported function VRub should have comment or be unexported (golint)
    • Line 1444: warning: exported function VSay should have comment or be unexported (golint)
    • Line 1466: warning: exported function FindIn should have comment or be unexported (golint)
    • Line 1478: warning: exported function VSearch should have comment or be unexported (golint)
    • Line 1483: warning: exported function VSend should have comment or be unexported (golint)
    • Line 1494: warning: exported function PreSGive should have comment or be unexported (golint)
    • Line 1499: warning: exported function VSGive should have comment or be unexported (golint)
    • Line 1504: warning: exported function VShake should have comment or be unexported (golint)
    • Line 1546: warning: exported function ShakeLoop should have comment or be unexported (golint)
    • Line 1561: warning: exported function VSkip should have comment or be unexported (golint)
    • Line 1566: warning: exported function VSmell should have comment or be unexported (golint)
    • Line 1573: warning: exported function VSpin should have comment or be unexported (golint)
    • Line 1578: warning: exported function VSpray should have comment or be unexported (golint)
    • Line 1582: warning: exported function VSqueeze should have comment or be unexported (golint)
    • Line 1593: warning: exported function VSSpray should have comment or be unexported (golint)
    • Line 1600: warning: exported function VStab should have comment or be unexported (golint)
    • Line 1612: warning: exported function VStand should have comment or be unexported (golint)
    • Line 1622: warning: exported function VStay should have comment or be unexported (golint)
    • Line 1627: warning: exported function VStrike should have comment or be unexported (golint)
    • Line 1638: warning: exported function VSwim should have comment or be unexported (golint)
    • Line 1653: warning: exported function VSwing should have comment or be unexported (golint)
    • Line 1664: warning: exported function PreTake should have comment or be unexported (golint)
    • Line 1701: warning: exported function VTake should have comment or be unexported (golint)
    • Line 1715: warning: exported function VTell should have comment or be unexported (golint)
    • Line 1736: warning: exported function VThrough should have comment or be unexported (golint)
    • Line 1740: warning: exported function Through should have comment or be unexported (golint)
    • Line 1764: warning: exported function OtherSide should have comment or be unexported (golint)
    • Line 1778: warning: exported function VThrow should have comment or be unexported (golint)
    • Line 1800: warning: exported function VThrowOff should have comment or be unexported (golint)
    • Line 1805: warning: exported function VTie should have comment or be unexported (golint)
    • Line 1816: warning: exported function VTieUp should have comment or be unexported (golint)
    • Line 1821: warning: exported function VTreasure should have comment or be unexported (golint)
    • Line 1832: warning: exported function PreTurn should have comment or be unexported (golint)
    • Line 1844: warning: exported function VTurn should have comment or be unexported (golint)
    • Line 1849: warning: exported function VUnlock should have comment or be unexported (golint)
    • Line 1853: warning: exported function VUntie should have comment or be unexported (golint)
    • Line 1858: warning: exported function VWait should have comment or be unexported (golint)
    • Line 1862: warning: exported function Wait should have comment or be unexported (golint)
    • Line 1871: warning: exported function VWave should have comment or be unexported (golint)
    • Line 1875: warning: exported function VWear should have comment or be unexported (golint)
    • Line 1886: warning: exported function VWin should have comment or be unexported (golint)
    • Line 1891: warning: exported function VWalkTo should have comment or be unexported (golint)
    • Line 1900: warning: exported function VWalk should have comment or be unexported (golint)
    • Line 1971: warning: exported function VWind should have comment or be unexported (golint)
    • Line 1978: warning: exported function VWish should have comment or be unexported (golint)
    • Line 1983: warning: exported function VYell should have comment or be unexported (golint)
    • Line 1988: warning: exported function VZork should have comment or be unexported (golint)
    • Line 1993: warning: exported function NoGoTell should have comment or be unexported (golint)
    • Line 2003: warning: exported function Goto should have comment or be unexported (golint)
    • Line 2081: warning: exported function VQuit should have comment or be unexported (golint)
    • Line 2092: warning: exported function RemoveCarefully should have comment or be unexported (golint)
    • Line 2105: warning: exported function PrintContents should have comment or be unexported (golint)
    • Line 2133: warning: exported function HackHack should have comment or be unexported (golint)
    • Line 2146: warning: exported function DoWalk should have comment or be unexported (golint)
    • Line 2155: warning: exported function IDrop should have comment or be unexported (golint)
    • Line 2172: warning: exported function IsYes should have comment or be unexported (golint)
    • Line 2181: warning: exported function DescribeRoom should have comment or be unexported (golint)
    • Line 2227: warning: exported function DescribeObjects should have comment or be unexported (golint)
    • Line 2241: warning: exported function PrintCont should have comment or be unexported (golint)
    • Line 2309: warning: exported function Firster should have comment or be unexported (golint)
    • Line 2342: warning: exported function DescribeObject should have comment or be unexported (golint)
    • Line 2383: warning: exported function CanSeeInside should have comment or be unexported (golint)
    • Line 2393: warning: exported function ThisIsIt should have comment or be unexported (golint)
    • Line 2397: warning: exported function IsInGlobal should have comment or be unexported (golint)
    • Line 2409: warning: exported function IsHeld should have comment or be unexported (golint)
    • Line 2421: warning: exported function ScoreUpd should have comment or be unexported (golint)
    • Line 2433: warning: exported function ScoreObj should have comment or be unexported (golint)
    • Line 2441: warning: exported function CCount should have comment or be unexported (golint)
    • Line 2451: warning: exported function Weight should have comment or be unexported (golint)
    • Line 2463: warning: exported function ITake should have comment or be unexported (golint)
    • Line 2504: warning: exported function Finish should have comment or be unexported (golint)
    • Line 2536: warning: exported function Lkp should have comment or be unexported (golint)
    • Line 2548: warning: exported function ToDirObj should have comment or be unexported (golint)
    • gozork/zork/globals.go
    • Line 4: warning: exported var GlobalObjects should have comment or be unexported (golint)
    • Line 118: warning: exported function NotHereObjectFcn should have comment or be unexported (golint)
    • Line 143: warning: exported function NotHerePrint should have comment or be unexported (golint)
    • Line 170: warning: exported function SailorFcn should have comment or be unexported (golint)
    • Line 195: warning: exported function GroundFunction should have comment or be unexported (golint)
    • Line 210: warning: exported function GrueFunction should have comment or be unexported (golint)
    • Line 226: warning: exported function CretinFcn should have comment or be unexported (golint)
    • Line 275: warning: exported function PathObject should have comment or be unexported (golint)
    • Line 291: warning: exported function StairsFcn should have comment or be unexported (golint)
    • Line 299: warning: exported function ZorkmidFunction should have comment or be unexported (golint)
    • gozork/zork/parser.go
    • Line 6: warning: exported const NumUndef should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported type ParseTbl should have comment or be unexported (golint)
    • Line 19: warning: exported method ParseTbl.Set should have comment or be unexported (golint)
    • Line 29: warning: exported method ParseTbl.Clear should have comment or be unexported (golint)
    • Line 39: warning: exported type NotHereProps should have comment or be unexported (golint)
    • Line 44: warning: exported type FindProps should have comment or be unexported (golint)
    • Line 51: warning: exported type ClauseTyp should have comment or be unexported (golint)
    • Line 54: warning: exported const ClauseUnk should have comment (or a comment on this block) or be unexported (golint)
    • Line 59: warning: exported type ClauseProps should have comment or be unexported (golint)
    • Line 65: warning: exported method ClauseProps.IsSet should have comment or be unexported (golint)
    • Line 69: warning: exported type GetObjTyp should have comment or be unexported (golint)
    • Line 72: warning: exported const GetUndef should have comment (or a comment on this block) or be unexported (golint)
    • Line 78: warning: exported type ParseProps should have comment or be unexported (golint)
    • Line 96: warning: exported type FindTyp should have comment or be unexported (golint)
    • Line 99: warning: exported const FindAll should have comment (or a comment on this block) or be unexported (golint)
    • Line 104: warning: exported type ReserveProps should have comment or be unexported (golint)
    • Line 110: warning: exported type OopsProps should have comment or be unexported (golint)
    • Line 116: warning: exported type AgainProps should have comment or be unexported (golint)
    • Line 121: warning: exported type ActionVerb should have comment or be unexported (golint)
    • Line 127: warning: exported var DirObj should have comment or be unexported (golint)
    • Line 147: warning: exported function Parse should have comment or be unexported (golint)
    • Line 408: warning: exported function Clause should have comment or be unexported (golint)
    • Line 507: warning: exported function UnknownWord should have comment or be unexported (golint)
    • Line 521: warning: exported function CantUse should have comment or be unexported (golint)
    • Line 564: warning: exported function OrphanMerge should have comment or be unexported (golint)
    • Line 659: warning: exported function AclauseWin should have comment or be unexported (golint)
    • Line 679: warning: exported function NclauseWin should have comment or be unexported (golint)
    • Line 693: warning: exported function TakeCheck should have comment or be unexported (golint)
    • Line 700: warning: exported function ITakeCheck should have comment or be unexported (golint)
    • Line 742: warning: exported function ManyCheck should have comment or be unexported (golint)
    • Line 768: warning: exported function SnarfObjects should have comment or be unexported (golint)
    • Line 798: warning: exported function ButMerge should have comment or be unexported (golint)
    • Line 810: warning: exported function Snarfem should have comment or be unexported (golint)
    • Line 990: warning: exported function Orphan should have comment or be unexported (golint)
    • Line 1011: warning: exported function CanNotOrphan should have comment or be unexported (golint)
    • Line 1015: warning: exported function FindWhatIMean should have comment or be unexported (golint)
    • Line 1046: warning: exported function GetObject should have comment or be unexported (golint)
    • Line 1222: warning: exported function ThingPrint should have comment or be unexported (golint)
    • gozork/zork/dungeon.go
    • Line 4: warning: exported var TrollFlag should have comment or be unexported (golint)
    • Line 10: warning: exported var InflatedBoat should have comment or be unexported (golint)
    • Line 240: warning: exported function FinalizeGameObjects should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell69%

Misspell Finds commonly misspelled English words

    • gozork/zork/lexer.go
    • Line 14: warning: "speach" is a misspelling of "speech" (misspell)
    • Line 116: warning: "speach" is a misspelling of "speech" (misspell)
    • Line 128: warning: "speach" is a misspelling of "speech" (misspell)