Preparing report...

Report for github.com/floyernick/Data-Structures-and-Algorithms

A    Great!    Found 40 issues across 41 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!


golint2%

Golint is a linter for Go source code.

    • Data-Structures-and-Algorithms/DoublyLinkedList/DoublyLinkedList.go
    • Line 1: warning: don't use MixedCaps in package name; DoublyLinkedList should be doublylinkedlist (golint)
    • Line 3: warning: exported type Node should have comment or be unexported (golint)
    • Line 9: warning: exported type LinkedList should have comment or be unexported (golint)
    • Line 14: warning: exported method LinkedList.InsertFirst should have comment or be unexported (golint)
    • Line 23: warning: exported method LinkedList.InsertLast should have comment or be unexported (golint)
    • Line 37: warning: exported method LinkedList.RemoveByValue should have comment or be unexported (golint)
    • Line 65: warning: exported method LinkedList.RemoveByIndex should have comment or be unexported (golint)
    • Line 91: warning: exported method LinkedList.SearchValue should have comment or be unexported (golint)
    • Line 105: warning: exported method LinkedList.GetFirst should have comment or be unexported (golint)
    • Line 112: warning: exported method LinkedList.GetLast should have comment or be unexported (golint)
    • Line 123: warning: exported method LinkedList.GetSize should have comment or be unexported (golint)
    • Line 134: warning: exported method LinkedList.GetItemsFromStart should have comment or be unexported (golint)
    • Line 144: warning: exported method LinkedList.GetItemsFromEnd should have comment or be unexported (golint)
    • Data-Structures-and-Algorithms/LinkedList/LinkedList.go
    • Line 1: warning: don't use MixedCaps in package name; LinkedList should be linkedlist (golint)
    • Line 3: warning: exported type Node should have comment or be unexported (golint)
    • Line 8: warning: exported type LinkedList should have comment or be unexported (golint)
    • Line 12: warning: exported method LinkedList.InsertFirst should have comment or be unexported (golint)
    • Line 20: warning: exported method LinkedList.InsertLast should have comment or be unexported (golint)
    • Line 33: warning: exported method LinkedList.RemoveByValue should have comment or be unexported (golint)
    • Line 52: warning: exported method LinkedList.RemoveByIndex should have comment or be unexported (golint)
    • Line 74: warning: exported method LinkedList.SearchValue should have comment or be unexported (golint)
    • Line 88: warning: exported method LinkedList.GetFirst should have comment or be unexported (golint)
    • Line 95: warning: exported method LinkedList.GetLast should have comment or be unexported (golint)
    • Line 106: warning: exported method LinkedList.GetSize should have comment or be unexported (golint)
    • Line 116: warning: exported method LinkedList.GetItems should have comment or be unexported (golint)
    • Data-Structures-and-Algorithms/Queue(LinkedList)/Queue.go
    • Line 1: warning: don't use MixedCaps in package name; QueueLinkedList should be queuelinkedlist (golint)
    • Line 3: warning: exported type Node should have comment or be unexported (golint)
    • Line 8: warning: exported type Queue should have comment or be unexported (golint)
    • Line 12: warning: exported method Queue.Enqueue should have comment or be unexported (golint)
    • Line 20: warning: exported method Queue.Dequeue should have comment or be unexported (golint)
    • Line 40: warning: exported method Queue.Peek should have comment or be unexported (golint)
    • Line 47: warning: exported method Queue.Get should have comment or be unexported (golint)
    • Line 57: warning: exported method Queue.IsEmpty should have comment or be unexported (golint)
    • Line 61: warning: exported method Queue.Empty should have comment or be unexported (golint)
    • Data-Structures-and-Algorithms/Trie/Trie.go
    • Line 1: warning: don't use MixedCaps in package name; Trie should be trie (golint)
    • Line 3: warning: exported type Node should have comment or be unexported (golint)
    • Line 9: warning: exported type Trie should have comment or be unexported (golint)
    • Line 13: warning: exported method Trie.Init should have comment or be unexported (golint)
    • Line 17: warning: exported method Trie.Add should have comment or be unexported (golint)
    • Line 31: warning: exported method Trie.Search should have comment or be unexported (golint)
    • Line 46: warning: exported method Trie.Remove should have comment or be unexported (golint)
    • Data-Structures-and-Algorithms/Stack(LinkedList)/Stack.go
    • Line 1: warning: don't use MixedCaps in package name; StackLinkedList should be stacklinkedlist (golint)
    • Line 3: warning: exported type Node should have comment or be unexported (golint)
    • Line 8: warning: exported type Stack should have comment or be unexported (golint)
    • Line 12: warning: exported method Stack.Push should have comment or be unexported (golint)
    • Line 20: warning: exported method Stack.Pop should have comment or be unexported (golint)
    • Line 29: warning: exported method Stack.Peek should have comment or be unexported (golint)
    • Line 36: warning: exported method Stack.Get should have comment or be unexported (golint)
    • Line 48: warning: exported method Stack.IsEmpty should have comment or be unexported (golint)
    • Line 52: warning: exported method Stack.Empty should have comment or be unexported (golint)
    • Data-Structures-and-Algorithms/CircularBuffer/CircularBuffer.go
    • Line 1: warning: don't use MixedCaps in package name; CircularBuffer should be circularbuffer (golint)
    • Line 5: warning: exported type CircularBuffer should have comment or be unexported (golint)
    • Line 10: warning: exported method CircularBuffer.InsertValue should have comment or be unexported (golint)
    • Line 18: warning: exported method CircularBuffer.GetValues should have comment or be unexported (golint)
    • Line 22: warning: exported method CircularBuffer.GetValuesFromPosition should have comment or be unexported (golint)
    • Data-Structures-and-Algorithms/HashTable/HashTable.go
    • Line 1: warning: don't use MixedCaps in package name; HashTable should be hashtable (golint)
    • Line 5: warning: exported type TableItem should have comment or be unexported (golint)
    • Line 11: warning: exported type HashTable should have comment or be unexported (golint)
    • Line 15: warning: exported method HashTable.Add should have comment or be unexported (golint)
    • Line 28: warning: exported method HashTable.Get should have comment or be unexported (golint)
    • Line 40: warning: exported method HashTable.Set should have comment or be unexported (golint)
    • Line 53: warning: exported method HashTable.Remove should have comment or be unexported (golint)
    • Data-Structures-and-Algorithms/Stack(Array)/Stack.go
    • Line 1: warning: don't use MixedCaps in package name; StackArray should be stackarray (golint)
    • Line 5: warning: exported type Stack should have comment or be unexported (golint)
    • Line 10: warning: exported method Stack.Push should have comment or be unexported (golint)
    • Line 19: warning: exported method Stack.Pop should have comment or be unexported (golint)
    • Line 28: warning: exported method Stack.Peek should have comment or be unexported (golint)
    • Line 32: warning: exported method Stack.Get should have comment or be unexported (golint)
    • Line 36: warning: exported method Stack.IsEmpty should have comment or be unexported (golint)
    • Line 40: warning: exported method Stack.Empty should have comment or be unexported (golint)
    • Data-Structures-and-Algorithms/BinaryTree/BinaryTree.go
    • Line 1: warning: don't use MixedCaps in package name; BinaryTree should be binarytree (golint)
    • Line 3: warning: exported type Node should have comment or be unexported (golint)
    • Line 10: warning: exported type BinaryTree should have comment or be unexported (golint)
    • Line 14: warning: exported method BinaryTree.InsertItem should have comment or be unexported (golint)
    • Line 37: warning: exported method BinaryTree.SearchItem should have comment or be unexported (golint)
    • Line 54: warning: exported method BinaryTree.InorderTraversal should have comment or be unexported (golint)
    • Line 64: warning: exported method BinaryTree.PreorderTraversal should have comment or be unexported (golint)
    • Line 74: warning: exported method BinaryTree.PostorderTraversal should have comment or be unexported (golint)

ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell0%

Misspell Finds commonly misspelled English words

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