Preparing report...

Report for github.com/dnovikoff/tempai-core

A+    Excellent!    Found 44 issues across 83 files

Tweet

gofmt100%

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

No problems detected. Good job!


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!


gocyclo100%

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

No problems detected. Good job!


golint46%

Golint is a linter for Go source code.

    • tempai-core/tile/type.go
    • Line 3: warning: exported type Type should have comment or be unexported (golint)
    • Line 6: warning: exported const TypeMan should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: exported method Type.Tile should have comment or be unexported (golint)
    • tempai-core/hand/calc/calculator.go
    • Line 8: warning: exported type ResultData should have comment or be unexported (golint)
    • Line 16: warning: exported type Results should have comment or be unexported (golint)
    • Line 30: warning: exported function Calculate should have comment or be unexported (golint)
    • Line 60: warning: exported method ResultData.Validate should have comment or be unexported (golint)
    • Line 145: warning: exported function FilterMelds should have comment or be unexported (golint)
    • tempai-core/yaku/context.go
    • Line 38: warning: exported function IndicatorsToDoraTiles should have comment or be unexported (golint)
    • Line 42: warning: exported function TileIndicatorsToDoraTiles should have comment or be unexported (golint)
    • tempai-core/yaku/resources.go
    • Line 3: warning: exported type Dictionary should have comment or be unexported (golint)
    • Line 5: warning: exported function AppendResources8 should have comment or be unexported (golint)
    • Line 12: warning: exported function AppendResources16 should have comment or be unexported (golint)
    • Line 19: warning: exported function GetResources should have comment or be unexported (golint)
    • tempai-core/yaku/rules_predefined.go
    • Line 7: warning: exported function RulesEMA should have comment or be unexported (golint)
    • Line 19: warning: exported function RulesJPMPLA should have comment or be unexported (golint)
    • Line 31: warning: exported function RulesJPMPLB should have comment or be unexported (golint)
    • Line 35: warning: exported function RulesTenhouRed should have comment or be unexported (golint)
    • tempai-core/hand/shanten/result.go
    • Line 9: warning: exported type Result should have comment or be unexported (golint)
    • Line 14: warning: exported type Results should have comment or be unexported (golint)
    • Line 46: warning: exported method Result.CalculateUkeIre should have comment or be unexported (golint)
    • tempai-core/score/rules.go
    • Line 7: warning: exported type Money should have comment or be unexported (golint)
    • Line 9: warning: exported type Rules should have comment or be unexported (golint)
    • Line 18: warning: exported type RulesStruct should have comment or be unexported (golint)
    • Line 29: warning: exported method RulesStruct.ManganRound should have comment or be unexported (golint)
    • Line 33: warning: exported method RulesStruct.KazoeYakuman should have comment or be unexported (golint)
    • Line 37: warning: exported method RulesStruct.IsDoubleYakuman should have comment or be unexported (golint)
    • Line 41: warning: exported method RulesStruct.YakumanSum should have comment or be unexported (golint)
    • Line 45: warning: exported method RulesStruct.Honba should have comment or be unexported (golint)
    • Line 49: warning: exported function GetHonbaMoney should have comment or be unexported (golint)
    • tempai-core/score/score.go
    • Line 10: warning: exported type Honba should have comment or be unexported (golint)
    • Line 11: warning: exported type MoneyBase should have comment or be unexported (golint)
    • Line 12: warning: exported type RiichiSticks should have comment or be unexported (golint)
    • Line 14: warning: exported method RiichiSticks.Money should have comment or be unexported (golint)
    • Line 18: warning: exported type Score should have comment or be unexported (golint)
    • Line 29: warning: exported type ScoreChanges should have comment or be unexported (golint)
    • Line 31: warning: exported function MergeChanges should have comment or be unexported (golint)
    • Line 41: warning: exported method ScoreChanges.ArrayFrom should have comment or be unexported (golint)
    • Line 49: warning: exported function MergeChangeArrays should have comment or be unexported (golint)
    • Line 65: warning: exported method ScoreChanges.TotalWin should have comment or be unexported (golint)
    • Line 74: warning: exported method ScoreChanges.TotalPayed should have comment or be unexported (golint)
    • Line 83: warning: exported method Score.GetChanges should have comment or be unexported (golint)
    • Line 112: warning: exported method MoneyBase.Round100 should have comment or be unexported (golint)
    • Line 121: warning: exported method MoneyBase.Money should have comment or be unexported (golint)
    • Line 147: warning: comment on exported function GetScoreByResult should be of the form "GetScoreByResult ..." (golint)
    • Line 170: warning: exported function GetScoreByBase should have comment or be unexported (golint)
    • Line 181: warning: exported function GetYakumanScore should have comment or be unexported (golint)
    • Line 185: warning: exported function GetScore should have comment or be unexported (golint)
    • tempai-core/hand/shanten/shanten.go
    • Line 8: warning: exported function Calculate should have comment or be unexported (golint)
    • Line 27: warning: exported function CalculateRegular should have comment or be unexported (golint)
    • Line 33: warning: exported function StartMelds should have comment or be unexported (golint)
    • Line 58: warning: exported function CalculateKokushi should have comment or be unexported (golint)
    • Line 85: warning: exported function CalculatePairs should have comment or be unexported (golint)
    • tempai-core/compact/generator.go
    • Line 9: warning: exported type Generator should have comment or be unexported (golint)
    • Line 13: warning: exported function NewTileGenerator should have comment or be unexported (golint)
    • Line 17: warning: exported method Generator.TilesLeft should have comment or be unexported (golint)
    • Line 21: warning: exported method Generator.Instance should have comment or be unexported (golint)
    • Line 31: warning: exported method Generator.CompactFromString should have comment or be unexported (golint)
    • Line 39: warning: exported method Generator.InstancesFromString should have comment or be unexported (golint)
    • Line 51: warning: exported method Generator.Tiles should have comment or be unexported (golint)
    • tempai-core/compact/packed_masks.go
    • Line 7: warning: exported type PackedMasks should have comment or be unexported (golint)
    • Line 9: warning: exported function SinglePackedMasks should have comment or be unexported (golint)
    • Line 13: warning: exported method PackedMasks.Set should have comment or be unexported (golint)
    • Line 18: warning: exported method PackedMasks.Get should have comment or be unexported (golint)
    • Line 22: warning: exported method PackedMasks.CountBits should have comment or be unexported (golint)
    • tempai-core/hand/calc/melds.go
    • Line 7: warning: exported type Melds should have comment or be unexported (golint)
    • Line 9: warning: exported method Melds.Clone should have comment or be unexported (golint)
    • Line 60: warning: exported function CreateComplete should have comment or be unexported (golint)
    • Line 65: warning: exported function CreateParts should have comment or be unexported (golint)
    • Line 71: warning: exported function CreateAll should have comment or be unexported (golint)
    • tempai-core/base/wind.go
    • Line 7: warning: comment on exported type Wind should be of the form "Wind ..." (with optional leading article) (golint)
    • Line 11: warning: exported const WindEast should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: exported method Wind.CheckTile should have comment or be unexported (golint)
    • Line 33: warning: exported method Wind.Advance should have comment or be unexported (golint)
    • tempai-core/hand/effective/sort.go
    • Line 19: warning: exported type ResultsSorted should have comment or be unexported (golint)
    • Line 21: warning: exported method ResultsSorted.Best should have comment or be unexported (golint)
    • Line 58: warning: exported method ResultsSorted.First should have comment or be unexported (golint)
    • tempai-core/hand/tempai/tempai.go
    • Line 73: warning: exported function StartMelds should have comment or be unexported (golint)
    • Line 107: warning: exported function Calculate should have comment or be unexported (golint)
    • Line 143: warning: exported function CheckTempai should have comment or be unexported (golint)
    • Line 154: warning: comment on exported function GetTempaiTiles should be of the form "GetTempaiTiles ..." (golint)
    • tempai-core/tile/tenhou.go
    • Line 9: warning: exported function TenhoTypeToString should have comment or be unexported (golint)
    • Line 16: warning: exported function TilesToTenhouString should have comment or be unexported (golint)
    • Line 43: warning: exported function NewTilesFromString should have comment or be unexported (golint)
    • tempai-core/hand/calc/meld_chi.go
    • Line 16: warning: exported function Chi should have comment or be unexported (golint)
    • Line 38: warning: comment on exported function ChiPart1 should be of the form "ChiPart1 ..." (golint)
    • Line 65: warning: comment on exported function ChiPart2 should be of the form "ChiPart2 ..." (golint)
    • tempai-core/hand/calc/meld_kokushi.go
    • Line 24: warning: exported function KokushiComplete should have comment or be unexported (golint)
    • Line 35: warning: exported function Kokushi13 should have comment or be unexported (golint)
    • Line 39: warning: exported function KokushiMeld should have comment or be unexported (golint)
    • tempai-core/yaku/yaku.go
    • Line 3: warning: exported type Yakuman should have comment or be unexported (golint)
    • Line 27: warning: exported type Yaku should have comment or be unexported (golint)
    • Line 82: warning: exported type Fu should have comment or be unexported (golint)
    • tempai-core/hand/effective/effective.go
    • Line 12: warning: exported type Results should have comment or be unexported (golint)
    • Line 14: warning: exported type Result should have comment or be unexported (golint)
    • Line 20: warning: exported function Calculate should have comment or be unexported (golint)
    • Line 59: warning: exported method Results.Sorted should have comment or be unexported (golint)
    • tempai-core/compact/instances.go
    • Line 7: warning: comment on exported type Instances should be of the form "Instances ..." (with optional leading article) (golint)
    • Line 18: warning: exported function AllInstancesFromTo should have comment or be unexported (golint)
    • Line 26: warning: exported function AllInstances should have comment or be unexported (golint)
    • Line 30: warning: exported function NewInstances should have comment or be unexported (golint)
    • Line 34: warning: exported method Instances.Each should have comment or be unexported (golint)
    • Line 53: warning: exported method Instances.GetMask should have comment or be unexported (golint)
    • Line 58: warning: exported method Instances.CountFree should have comment or be unexported (golint)
    • Line 67: warning: exported method Instances.GetFree should have comment or be unexported (golint)
    • Line 71: warning: exported method Instances.GetFull should have comment or be unexported (golint)
    • Line 83: warning: exported method Instances.Invert should have comment or be unexported (golint)
    • Line 87: warning: exported method Instances.CopyFree should have comment or be unexported (golint)
    • Line 97: warning: exported method Instances.CopyFrom should have comment or be unexported (golint)
    • Line 109: warning: exported method Instances.SetMask should have comment or be unexported (golint)
    • Line 113: warning: exported method Instances.Add should have comment or be unexported (golint)
    • Line 120: warning: exported method Instances.Clone should have comment or be unexported (golint)
    • Line 126: warning: exported method Instances.AddCount should have comment or be unexported (golint)
    • Line 131: warning: exported method Instances.SetCount should have comment or be unexported (golint)
    • Line 136: warning: exported method Instances.GetCount should have comment or be unexported (golint)
    • Line 140: warning: exported method Instances.Set should have comment or be unexported (golint)
    • Line 145: warning: exported method Instances.Check should have comment or be unexported (golint)
    • Line 149: warning: exported method Instances.Remove should have comment or be unexported (golint)
    • Line 156: warning: exported method Instances.UniqueTiles should have comment or be unexported (golint)
    • Line 173: warning: exported method Instances.Instances should have comment or be unexported (golint)
    • Line 186: warning: exported method Instances.CountBits should have comment or be unexported (golint)
    • Line 194: warning: exported method Instances.IsEmpty should have comment or be unexported (golint)
    • Line 203: warning: exported method Instances.Contains should have comment or be unexported (golint)
    • Line 213: warning: exported method Instances.Merge should have comment or be unexported (golint)
    • Line 224: warning: exported method Instances.Sub should have comment or be unexported (golint)
    • tempai-core/compact/tiles.go
    • Line 5: warning: comment on exported type Tiles should be of the form "Tiles ..." (with optional leading article) (golint)
    • Line 8: warning: exported function NewTiles should have comment or be unexported (golint)
    • Line 16: warning: exported function FromTile should have comment or be unexported (golint)
    • Line 20: warning: exported function FromTiles should have comment or be unexported (golint)
    • Line 32: warning: exported method Tiles.Check should have comment or be unexported (golint)
    • Line 36: warning: exported method Tiles.Set should have comment or be unexported (golint)
    • Line 40: warning: exported method Tiles.Sub should have comment or be unexported (golint)
    • Line 44: warning: exported method Tiles.Unset should have comment or be unexported (golint)
    • Line 49: warning: exported method Tiles.IsEmpty should have comment or be unexported (golint)
    • Line 53: warning: exported method Tiles.Merge should have comment or be unexported (golint)
    • Line 57: warning: exported method Tiles.Count should have comment or be unexported (golint)
    • Line 67: warning: exported method Tiles.Invert should have comment or be unexported (golint)
    • Line 71: warning: exported method Tiles.Normalize should have comment or be unexported (golint)
    • Line 75: warning: exported method Tiles.EachRange should have comment or be unexported (golint)
    • Line 88: warning: exported method Tiles.Each should have comment or be unexported (golint)
    • Line 92: warning: exported method Tiles.Tiles should have comment or be unexported (golint)
    • Line 103: warning: exported method Tiles.SetAll should have comment or be unexported (golint)
    • tempai-core/hand/calc/counters.go
    • Line 8: warning: exported type Counters should have comment or be unexported (golint)
    • Line 10: warning: exported method Counters.CopyFrom should have comment or be unexported (golint)
    • Line 16: warning: exported function NewCounters should have comment or be unexported (golint)
    • Line 20: warning: exported method Counters.Dec should have comment or be unexported (golint)
    • Line 25: warning: exported method Counters.Dec2 should have comment or be unexported (golint)
    • Line 30: warning: exported method Counters.Dec3 should have comment or be unexported (golint)
    • Line 35: warning: exported method Counters.Set should have comment or be unexported (golint)
    • Line 40: warning: exported method Counters.Get should have comment or be unexported (golint)
    • Line 45: warning: exported method Counters.Tiles should have comment or be unexported (golint)
    • Line 61: warning: exported method Counters.Empty should have comment or be unexported (golint)
    • Line 87: warning: exported method Counters.Invert should have comment or be unexported (golint)
    • Line 100: warning: exported function CountersFromInstances should have comment or be unexported (golint)
    • Line 109: warning: exported type Validator should have comment or be unexported (golint)
    • Line 113: warning: exported method Validator.Empty should have comment or be unexported (golint)
    • Line 117: warning: exported method Validator.Validate should have comment or be unexported (golint)
    • tempai-core/yaku/calculate_result.go
    • Line 11: warning: exported type YakuSet should have comment or be unexported (golint)
    • Line 12: warning: exported type Yakumans should have comment or be unexported (golint)
    • Line 14: warning: exported type Result should have comment or be unexported (golint)
    • Line 30: warning: exported method Result.Sum should have comment or be unexported (golint)
    • Line 67: warning: exported type FuInfo should have comment or be unexported (golint)
    • Line 73: warning: exported method YakuSet.Sum should have comment or be unexported (golint)
    • Line 99: warning: exported type Fus should have comment or be unexported (golint)
    • Line 101: warning: exported method Fus.Sum should have comment or be unexported (golint)
    • tempai-core/yaku/yaku_prefs.go
    • Line 5: warning: exported type WindMergeType should have comment or be unexported (golint)
    • Line 8: warning: exported const MergeWindNoMerge should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: exported type YakuPrefs should have comment or be unexported (golint)
    • Line 21: warning: exported var DefaultYakuPref should have comment or be unexported (golint)
    • Line 22: warning: exported var CompactYakuPref should have comment or be unexported (golint)
    • Line 23: warning: exported var CompactYakuPref2 should have comment or be unexported (golint)
    • Line 24: warning: exported var CompactYakuPref3 should have comment or be unexported (golint)
    • Line 26: warning: exported method YakuPrefs.FormatYaku should have comment or be unexported (golint)
    • tempai-core/hand/tempai/result.go
    • Line 8: warning: comment on exported type Type should be of the form "Type ..." (with optional leading article) (golint)
    • Line 12: warning: exported const TypeNone should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported type TempaiResult should have comment or be unexported (golint)
    • Line 26: warning: exported type TempaiResults should have comment or be unexported (golint)
    • Line 32: warning: exported function GetWaits should have comment or be unexported (golint)
    • tempai-core/hand/calc/meld_debug.go
    • Line 7: warning: exported function DebugMeld should have comment or be unexported (golint)
    • Line 19: warning: exported function DebugMeldsString should have comment or be unexported (golint)
    • Line 23: warning: exported function DebugMelds should have comment or be unexported (golint)
    • tempai-core/hand/calc/tags.go
    • Line 3: warning: exported type Tags should have comment or be unexported (golint)
    • Line 6: warning: exported const TagChi should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: exported method Tags.CheckAny should have comment or be unexported (golint)
    • Line 28: warning: exported method Tags.CheckAll should have comment or be unexported (golint)
    • tempai-core/yaku/rules.go
    • Line 7: warning: exported type Rules should have comment or be unexported (golint)
    • Line 18: warning: exported type RulesStruct should have comment or be unexported (golint)
    • Line 31: warning: exported method RulesStruct.GreenRequired should have comment or be unexported (golint)
    • Line 35: warning: exported method RulesStruct.RinshanFu should have comment or be unexported (golint)
    • Line 39: warning: exported method RulesStruct.OpenTanyao should have comment or be unexported (golint)
    • Line 43: warning: exported method RulesStruct.Renhou should have comment or be unexported (golint)
    • Line 47: warning: exported method RulesStruct.HaiteiFromLiveOnly should have comment or be unexported (golint)
    • Line 51: warning: exported method RulesStruct.Ura should have comment or be unexported (golint)
    • Line 55: warning: exported method RulesStruct.Ipatsu should have comment or be unexported (golint)
    • Line 59: warning: exported method RulesStruct.CheckAka should have comment or be unexported (golint)
    • tempai-core/compact/constants.go
    • Line 6: warning: exported const Man1 should have comment (or a comment on this block) or be unexported (golint)
    • Line 49: warning: exported const Terminal should have comment (or a comment on this block) or be unexported (golint)
    • tempai-core/compact/totals.go
    • Line 7: warning: exported type Totals should have comment or be unexported (golint)
    • Line 9: warning: exported function NewTotals should have comment or be unexported (golint)
    • Line 13: warning: exported method Totals.Merge should have comment or be unexported (golint)
    • Line 24: warning: exported method Totals.Count should have comment or be unexported (golint)
    • Line 32: warning: exported method Totals.Get should have comment or be unexported (golint)
    • Line 36: warning: exported method Totals.Clone should have comment or be unexported (golint)
    • Line 44: warning: exported method Totals.UniqueCount should have comment or be unexported (golint)
    • Line 54: warning: exported method Totals.IsFull should have comment or be unexported (golint)
    • Line 58: warning: exported method Totals.Set should have comment or be unexported (golint)
    • Line 62: warning: exported method Totals.Add should have comment or be unexported (golint)
    • Line 66: warning: exported method Totals.UniqueTiles should have comment or be unexported (golint)
    • Line 76: warning: exported method Totals.FullTiles should have comment or be unexported (golint)
    • Line 86: warning: exported method Totals.FreeTiles should have comment or be unexported (golint)
    • tempai-core/yaku/limit.go
    • Line 3: warning: exported type Limit should have comment or be unexported (golint)
    • Line 16: warning: exported method Limit.ShortString should have comment or be unexported (golint)
    • Line 20: warning: exported method Limit.BaseHans should have comment or be unexported (golint)
    • tempai-core/tile/instance.go
    • Line 32: warning: exported const NullCopy should have comment (or a comment on this block) or be unexported (golint)
    • Line 45: warning: exported method Instance.Tile should have comment or be unexported (golint)
    • Line 49: warning: exported method Instance.CopyID should have comment or be unexported (golint)
    • Line 53: warning: exported type Instances should have comment or be unexported (golint)
    • Line 61: warning: exported method Instances.Tiles should have comment or be unexported (golint)
    • tempai-core/compact/test_generator.go
    • Line 9: warning: exported type TestGenerator should have comment or be unexported (golint)
    • Line 14: warning: exported function NewTestGenerator should have comment or be unexported (golint)
    • Line 18: warning: exported method TestGenerator.TilesLeft should have comment or be unexported (golint)
    • Line 22: warning: exported method TestGenerator.InstancesFromString should have comment or be unexported (golint)
    • Line 28: warning: exported method TestGenerator.CompactFromString should have comment or be unexported (golint)
    • tempai-core/hand/calc/meld_same.go
    • Line 21: warning: exported function Kan should have comment or be unexported (golint)
    • Line 29: warning: exported function Pon should have comment or be unexported (golint)
    • Line 37: warning: exported function PonPart should have comment or be unexported (golint)
    • Line 47: warning: exported function Pair should have comment or be unexported (golint)
    • Line 55: warning: exported function Tanki should have comment or be unexported (golint)
    • tempai-core/compact/mask.go
    • Line 7: warning: exported type Mask should have comment or be unexported (golint)
    • Line 10: warning: exported const FullMask should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported function MaskByCount should have comment or be unexported (golint)
    • Line 17: warning: exported function NewMask should have comment or be unexported (golint)
    • Line 22: warning: exported method Mask.Tile should have comment or be unexported (golint)
    • Line 26: warning: exported method Mask.Mask should have comment or be unexported (golint)
    • Line 30: warning: exported method Mask.Count should have comment or be unexported (golint)
    • Line 44: warning: exported method Mask.NaiveCount should have comment or be unexported (golint)
    • Line 53: warning: exported method Mask.SetCount should have comment or be unexported (golint)
    • Line 69: warning: exported method Mask.Instances should have comment or be unexported (golint)
    • Line 78: warning: exported method Mask.InvertTiles should have comment or be unexported (golint)
    • Line 82: warning: exported method Mask.FirstCopyNative should have comment or be unexported (golint)
    • Line 96: warning: exported method Mask.FirstCopy should have comment or be unexported (golint)
    • Line 110: warning: exported method Mask.First should have comment or be unexported (golint)
    • Line 118: warning: exported method Mask.Each should have comment or be unexported (golint)
    • Line 131: warning: exported method Mask.Check should have comment or be unexported (golint)
    • Line 135: warning: exported method Mask.SetIntBit should have comment or be unexported (golint)
    • Line 139: warning: exported method Mask.SetCopyBit should have comment or be unexported (golint)
    • Line 143: warning: exported method Mask.UnsetIntBit should have comment or be unexported (golint)
    • Line 148: warning: exported method Mask.Merge should have comment or be unexported (golint)
    • Line 152: warning: exported method Mask.Remove should have comment or be unexported (golint)
    • Line 156: warning: exported method Mask.UnsetCopyBit should have comment or be unexported (golint)
    • Line 160: warning: exported method Mask.IsFull should have comment or be unexported (golint)
    • Line 164: warning: exported method Mask.IsEmpty should have comment or be unexported (golint)
    • tempai-core/tile/tile.go
    • Line 62: warning: exported const TileCount should have comment (or a comment on this block) or be unexported (golint)
    • Line 68: warning: exported method Tile.Type should have comment or be unexported (golint)
    • Line 87: warning: exported method Tile.Number should have comment or be unexported (golint)
    • Line 104: warning: exported method Tile.Instance should have comment or be unexported (golint)
    • Line 108: warning: exported type Tiles should have comment or be unexported (golint)
    • Line 110: warning: exported method Tiles.Contains should have comment or be unexported (golint)
    • Line 119: warning: exported method Tiles.Clone should have comment or be unexported (golint)
    • tempai-core/hand/calc/options.go
    • Line 7: warning: exported type Form should have comment or be unexported (golint)
    • Line 10: warning: exported const Regular should have comment (or a comment on this block) or be unexported (golint)
    • Line 15: warning: exported method Form.Check should have comment or be unexported (golint)
    • Line 19: warning: exported type Options should have comment or be unexported (golint)
    • Line 29: warning: exported type Option should have comment or be unexported (golint)
    • Line 31: warning: exported function GetOptions should have comment or be unexported (golint)
    • Line 41: warning: exported function Opened should have comment or be unexported (golint)
    • Line 47: warning: exported function Used should have comment or be unexported (golint)
    • Line 57: warning: exported function SetResults should have comment or be unexported (golint)
    • Line 63: warning: exported function Declared should have comment or be unexported (golint)
    • Line 71: warning: exported function Forms should have comment or be unexported (golint)
    • Line 77: warning: exported function StartMelds should have comment or be unexported (golint)
    • tempai-core/yaku/types.go
    • Line 3: warning: exported type HanPoints should have comment or be unexported (golint)
    • Line 4: warning: exported type FuPoints should have comment or be unexported (golint)
    • Line 5: warning: exported type FuPointsRounded should have comment or be unexported (golint)
    • Line 7: warning: exported method FuPoints.Round should have comment or be unexported (golint)
    • tempai-core/score/rules_prefefined.go
    • Line 7: warning: exported function RulesEMA should have comment or be unexported (golint)
    • Line 16: warning: exported function RulesTenhou should have comment or be unexported (golint)
    • Line 25: warning: exported function RulesJPMLA should have comment or be unexported (golint)
    • Line 34: warning: exported function RulesJPMLB should have comment or be unexported (golint)
    • Line 43: warning: exported function DefaultDoubleYakumans 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!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!