Preparing report...

Report for github.com/mats9693/leetcode

A+    Excellent!    Found 171 issues across 511 files

Tweet

gofmt85%

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!


gocyclo98%

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.


golint78%

Golint is a linter for Go source code.

    • leetcode/solutions/1-1000/201-300/211-220/211/main.go
    • Line 3: warning: exported type WordDictionary should have comment or be unexported (golint)
    • Line 7: warning: comment on exported function Constructor should be of the form "Constructor ..." (golint)
    • Line 14: warning: exported method WordDictionary.AddWord should have comment or be unexported (golint)
    • Line 14: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 18: warning: exported method WordDictionary.Search should have comment or be unexported (golint)
    • Line 18: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1-1000/301-400/381-390/381/main.go
    • Line 7: warning: exported type RandomizedCollection should have comment or be unexported (golint)
    • Line 12: warning: comment on exported function Constructor should be of the form "Constructor ..." (golint)
    • Line 20: warning: comment on exported method RandomizedCollection.Insert should be of the form "Insert ..." (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 32: warning: comment on exported method RandomizedCollection.Remove should be of the form "Remove ..." (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: should omit 2nd value from range; this loop is equivalent to `for k := range ...` (golint)
    • Line 55: warning: comment on exported method RandomizedCollection.GetRandom should be of the form "GetRandom ..." (golint)
    • Line 56: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1-1000/601-700/671-680/676/main.go
    • Line 3: warning: comment on exported type MagicDictionary should be of the form "MagicDictionary ..." (with optional leading article) (golint)
    • Line 8: warning: comment on exported function Constructor should be of the form "Constructor ..." (golint)
    • Line 15: warning: exported method MagicDictionary.BuildDict should have comment or be unexported (golint)
    • Line 15: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 26: warning: exported method MagicDictionary.Search should have comment or be unexported (golint)
    • Line 26: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1-1000/601-700/621-630/622/main.go
    • Line 3: warning: exported type MyCircularQueue should have comment or be unexported (golint)
    • Line 11: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 21: warning: exported method MyCircularQueue.EnQueue should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 34: warning: exported method MyCircularQueue.DeQueue should have comment or be unexported (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: exported method MyCircularQueue.Front should have comment or be unexported (golint)
    • Line 45: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 53: warning: exported method MyCircularQueue.Rear should have comment or be unexported (golint)
    • Line 53: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 61: warning: exported method MyCircularQueue.IsEmpty should have comment or be unexported (golint)
    • Line 61: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 65: warning: exported method MyCircularQueue.IsFull should have comment or be unexported (golint)
    • Line 65: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1-1000/701-800/701-710/703/main.go
    • Line 5: warning: exported type KthLargest should have comment or be unexported (golint)
    • Line 14: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 29: warning: exported method KthLargest.Add should have comment or be unexported (golint)
    • Line 29: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1001-2000/1201-1300/1281-1290/1286/main.go
    • Line 3: warning: exported type CombinationIterator should have comment or be unexported (golint)
    • Line 8: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 20: warning: exported method CombinationIterator.Next should have comment or be unexported (golint)
    • Line 31: warning: exported method CombinationIterator.HasNext should have comment or be unexported (golint)
    • leetcode/solutions/1001-2000/1101-1200/1141-1150/1146/main.go
    • Line 3: warning: exported type SnapshotArray should have comment or be unexported (golint)
    • Line 8: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 14: warning: exported method SnapshotArray.Set should have comment or be unexported (golint)
    • Line 18: warning: exported method SnapshotArray.Snap should have comment or be unexported (golint)
    • Line 25: warning: exported method SnapshotArray.Get should have comment or be unexported (golint)
    • Line 25: warning: don't use underscores in Go names; method parameter snap_id should be snapID (golint)
    • leetcode/solutions/1-1000/101-200/151-160/155/main.go
    • Line 5: warning: exported type MinStack should have comment or be unexported (golint)
    • Line 10: warning: comment on exported function Constructor should be of the form "Constructor ..." (golint)
    • Line 18: warning: exported method MinStack.Push should have comment or be unexported (golint)
    • Line 18: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 23: warning: exported method MinStack.Pop should have comment or be unexported (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 29: warning: exported method MinStack.Top should have comment or be unexported (golint)
    • Line 29: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 33: warning: exported method MinStack.GetMin should have comment or be unexported (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1-1000/201-300/291-300/295/main.go
    • Line 3: warning: exported type MedianFinder should have comment or be unexported (golint)
    • Line 15: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 23: warning: exported method MedianFinder.AddNum should have comment or be unexported (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 40: warning: exported method MedianFinder.FindMedian should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1-1000/201-300/231-240/232/main.go
    • Line 3: warning: exported type MyQueue should have comment or be unexported (golint)
    • Line 8: warning: comment on exported function Constructor should be of the form "Constructor ..." (golint)
    • Line 16: warning: comment on exported method MyQueue.Push should be of the form "Push ..." (golint)
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 21: warning: comment on exported method MyQueue.Pop should be of the form "Pop ..." (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 34: warning: comment on exported method MyQueue.Peek should be of the form "Peek ..." (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 47: warning: comment on exported method MyQueue.Empty should be of the form "Empty ..." (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1001-2000/1601-1700/1601-1610/1603/main.go
    • Line 3: warning: exported type ParkingSystem should have comment or be unexported (golint)
    • Line 9: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 17: warning: exported method ParkingSystem.AddCar should have comment or be unexported (golint)
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1-1000/201-300/281-290/284/main.go
    • Line 3: warning: exported type Iterator should have comment or be unexported (golint)
    • Line 6: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 11: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 16: warning: exported type PeekingIterator should have comment or be unexported (golint)
    • Line 21: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 28: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 32: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 44: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1-1000/301-400/341-350/341/main2.go
    • Line 3: warning: exported type NestedIterator2 should have comment or be unexported (golint)
    • Line 7: warning: exported function Constructor2 should have comment or be unexported (golint)
    • Line 18: warning: comment on exported method NestedIterator2.Next should be of the form "Next ..." (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 26: warning: exported method NestedIterator2.HasNext should have comment or be unexported (golint)
    • Line 26: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/interview/3/1/main.go
    • Line 3: warning: exported type TripleInOne should have comment or be unexported (golint)
    • Line 9: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 17: warning: exported method TripleInOne.Push should have comment or be unexported (golint)
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 27: warning: exported method TripleInOne.Pop should have comment or be unexported (golint)
    • Line 27: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 38: warning: exported method TripleInOne.Peek should have comment or be unexported (golint)
    • Line 38: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 47: warning: exported method TripleInOne.IsEmpty should have comment or be unexported (golint)
    • Line 47: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1-1000/201-300/201-210/208/main.go
    • Line 3: warning: exported type Trie should have comment or be unexported (golint)
    • Line 8: warning: comment on exported function Constructor should be of the form "Constructor ..." (golint)
    • Line 15: warning: comment on exported method Trie.Insert should be of the form "Insert ..." (golint)
    • Line 16: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 32: warning: comment on exported method Trie.Search should be of the form "Search ..." (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 50: warning: comment on exported method Trie.StartsWith should be of the form "StartsWith ..." (golint)
    • Line 51: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1-1000/701-800/701-710/706/main.go
    • Line 5: warning: exported type MyHashMap should have comment or be unexported (golint)
    • Line 15: warning: comment on exported function Constructor should be of the form "Constructor ..." (golint)
    • Line 20: warning: comment on exported method MyHashMap.Put should be of the form "Put ..." (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: comment on exported method MyHashMap.Get should be of the form "Get ..." (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 56: warning: comment on exported method MyHashMap.Remove should be of the form "Remove ..." (golint)
    • Line 57: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 74: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1-1000/301-400/341-350/341/main.go
    • Line 3: warning: exported type NestedIterator should have comment or be unexported (golint)
    • Line 8: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 35: warning: exported method NestedIterator.Next should have comment or be unexported (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 42: warning: exported method NestedIterator.HasNext should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1-1000/601-700/671-680/677/main.go
    • Line 7: warning: exported type MapSum should have comment or be unexported (golint)
    • Line 16: warning: comment on exported function Constructor should be of the form "Constructor ..." (golint)
    • Line 23: warning: exported method MapSum.Insert should have comment or be unexported (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: exported method MapSum.Sum should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1-1000/301-400/371-380/380/main.go
    • Line 5: warning: exported type RandomizedSet should have comment or be unexported (golint)
    • Line 10: warning: comment on exported function Constructor should be of the form "Constructor ..." (golint)
    • Line 18: warning: comment on exported method RandomizedSet.Insert should be of the form "Insert ..." (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 29: warning: comment on exported method RandomizedSet.Remove should be of the form "Remove ..." (golint)
    • Line 30: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: comment on exported method RandomizedSet.GetRandom should be of the form "GetRandom ..." (golint)
    • Line 44: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1-1000/301-400/381-390/384/main.go
    • Line 5: warning: exported type Solution should have comment or be unexported (golint)
    • Line 10: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 17: warning: comment on exported method Solution.Reset should be of the form "Reset ..." (golint)
    • Line 18: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 22: warning: comment on exported method Solution.Shuffle should be of the form "Shuffle ..." (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1-1000/301-400/381-390/385/main.go
    • Line 5: warning: comment on exported type NestedInteger should be of the form "NestedInteger ..." (with optional leading article) (golint)
    • Line 10: warning: comment on exported method NestedInteger.IsInteger should be of the form "IsInteger ..." (golint)
    • Line 15: warning: comment on exported method NestedInteger.GetInteger should be of the form "GetInteger ..." (golint)
    • Line 22: warning: comment on exported method NestedInteger.SetInteger should be of the form "SetInteger ..." (golint)
    • Line 25: warning: comment on exported method NestedInteger.Add should be of the form "Add ..." (golint)
    • Line 28: warning: comment on exported method NestedInteger.GetList should be of the form "GetList ..." (golint)
    • leetcode/solutions/1-1000/401-500/451-460/460/main.go
    • Line 3: warning: exported type LFUCache should have comment or be unexported (golint)
    • Line 11: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 21: warning: exported method LFUCache.Get should have comment or be unexported (golint)
    • Line 63: warning: exported method LFUCache.Put should have comment or be unexported (golint)
    • leetcode/solutions/1-1000/101-200/141-150/146/main.go
    • Line 3: warning: exported type LRUCache should have comment or be unexported (golint)
    • Line 17: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 28: warning: exported method LRUCache.Get should have comment or be unexported (golint)
    • Line 28: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 40: warning: exported method LRUCache.Put should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1-1000/701-800/701-710/707/main.go
    • Line 3: warning: comment on exported type MyLinkedList should be of the form "MyLinkedList ..." (with optional leading article) (golint)
    • Line 14: warning: comment on exported function Constructor should be of the form "Constructor ..." (golint)
    • Line 22: warning: comment on exported method MyLinkedList.Get should be of the form "Get ..." (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: comment on exported method MyLinkedList.AddAtHead should be of the form "AddAtHead ..." (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: comment on exported method MyLinkedList.AddAtTail should be of the form "AddAtTail ..." (golint)
    • Line 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 64: warning: comment on exported method MyLinkedList.AddAtIndex should be of the form "AddAtIndex ..." (golint)
    • Line 65: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 88: warning: comment on exported method MyLinkedList.DeleteAtIndex should be of the form "DeleteAtIndex ..." (golint)
    • Line 89: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1-1000/201-300/221-230/225/main.go
    • Line 3: warning: exported type MyStack should have comment or be unexported (golint)
    • Line 7: warning: comment on exported function Constructor should be of the form "Constructor ..." (golint)
    • Line 14: warning: comment on exported method MyStack.Push should be of the form "Push ..." (golint)
    • Line 15: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 26: warning: comment on exported method MyStack.Pop should be of the form "Pop ..." (golint)
    • Line 27: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 33: warning: comment on exported method MyStack.Top should be of the form "Top ..." (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 38: warning: comment on exported method MyStack.Empty should be of the form "Empty ..." (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/jianzhi_offer/20/main.go
    • Line 3: warning: exported type Status should have comment or be unexported (golint)
    • Line 4: warning: exported type CharType should have comment or be unexported (golint)
    • Line 7: warning: don't use underscores in Go names; const Status_Init should be StatusInit (golint)
    • Line 7: warning: exported const Status_Init should have comment (or a comment on this block) or be unexported (golint)
    • Line 8: warning: don't use underscores in Go names; const Status_Prefix_Space should be StatusPrefixSpace (golint)
    • Line 9: warning: don't use underscores in Go names; const Status_Number_Sign should be StatusNumberSign (golint)
    • Line 10: warning: don't use underscores in Go names; const Status_Integer should be StatusInteger (golint)
    • Line 11: warning: don't use underscores in Go names; const Status_Point_With_Number_Before should be StatusPointWithNumberBefore (golint)
    • Line 12: warning: don't use underscores in Go names; const Status_Point_Without_Number_Before should be StatusPointWithoutNumberBefore (golint)
    • Line 13: warning: don't use underscores in Go names; const Status_Decimal should be StatusDecimal (golint)
    • Line 14: warning: don't use underscores in Go names; const Status_E should be StatusE (golint)
    • Line 15: warning: don't use underscores in Go names; const Status_E_Sign should be StatusESign (golint)
    • Line 16: warning: don't use underscores in Go names; const Status_E_Integer should be StatusEInteger (golint)
    • Line 17: warning: don't use underscores in Go names; const Status_Suffix_Space should be StatusSuffixSpace (golint)
    • Line 21: warning: don't use underscores in Go names; const Type_Space should be TypeSpace (golint)
    • Line 21: warning: exported const Type_Space should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: don't use underscores in Go names; const Type_Sign should be TypeSign (golint)
    • Line 23: warning: don't use underscores in Go names; const Type_Number should be TypeNumber (golint)
    • Line 24: warning: don't use underscores in Go names; const Type_Point should be TypePoint (golint)
    • Line 25: warning: don't use underscores in Go names; const Type_E should be TypeE (golint)
    • Line 26: warning: don't use underscores in Go names; const Type_Invalid should be TypeInvalid (golint)
    • leetcode/solutions/1-1000/101-200/171-180/173/main.go
    • Line 3: warning: exported type TreeNode should have comment or be unexported (golint)
    • Line 9: warning: exported type BSTIterator should have comment or be unexported (golint)
    • Line 14: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 35: warning: exported method BSTIterator.Next should have comment or be unexported (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 42: warning: exported method BSTIterator.HasNext should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1001-2000/1601-1700/1651-1660/1656/main.go
    • Line 3: warning: exported type OrderedStream should have comment or be unexported (golint)
    • Line 8: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 15: warning: exported method OrderedStream.Insert should have comment or be unexported (golint)
    • Line 15: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1-1000/301-400/351-360/355/main.go
    • Line 3: warning: exported type Twitter should have comment or be unexported (golint)
    • Line 14: warning: comment on exported function Constructor should be of the form "Constructor ..." (golint)
    • Line 22: warning: comment on exported method Twitter.PostTweet should be of the form "PostTweet ..." (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 27: warning: comment on exported method Twitter.GetNewsFeed should be of the form "GetNewsFeed ..." (golint)
    • Line 28: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 35: warning: comment on exported method Twitter.Follow should be of the form "Follow ..." (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: comment on exported method Twitter.Unfollow should be of the form "Unfollow ..." (golint)
    • Line 44: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1-1000/701-800/701-710/705/main.go
    • Line 5: warning: exported type MyHashSet should have comment or be unexported (golint)
    • Line 14: warning: comment on exported function Constructor should be of the form "Constructor ..." (golint)
    • Line 19: warning: exported method MyHashSet.Add should have comment or be unexported (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 28: warning: exported method MyHashSet.Remove should have comment or be unexported (golint)
    • Line 28: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 49: warning: comment on exported method MyHashSet.Contains should be of the form "Contains ..." (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1-1000/201-300/291-300/297/main.go
    • Line 8: warning: exported type TreeNode should have comment or be unexported (golint)
    • Line 14: warning: exported type Codec should have comment or be unexported (golint)
    • Line 21: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 29: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1-1000/301-400/341-350/341/definition.go
    • Line 3: warning: comment on exported type NestedInteger should be of the form "NestedInteger ..." (with optional leading article) (golint)
    • Line 8: warning: comment on exported method NestedInteger.IsInteger should be of the form "IsInteger ..." (golint)
    • Line 9: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 13: warning: comment on exported method NestedInteger.GetInteger should be of the form "GetInteger ..." (golint)
    • Line 16: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 20: warning: comment on exported method NestedInteger.SetInteger should be of the form "SetInteger ..." (golint)
    • Line 23: warning: comment on exported method NestedInteger.Add should be of the form "Add ..." (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 26: warning: comment on exported method NestedInteger.GetList should be of the form "GetList ..." (golint)
    • Line 29: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • leetcode/solutions/1-1000/301-400/301-310/304/main.go
    • Line 3: warning: exported type NumMatrix should have comment or be unexported (golint)
    • Line 7: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 24: warning: exported method NumMatrix.SumRegion should have comment or be unexported (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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!