codeclimate/test-reporter

View on GitHub
formatters/source_file.go

Summary

Maintainability
A
0 mins
Test Coverage

exported function NewSourceFile should have comment or be unexported
Open

func NewSourceFile(name string, commit *object.Commit) (SourceFile, error) {
Severity: Minor
Found in formatters/source_file.go by golint

exported method SourceFiles.MarshalJSON should have comment or be unexported
Open

func (sf SourceFiles) MarshalJSON() ([]byte, error) {
Severity: Minor
Found in formatters/source_file.go by golint

exported method SourceFiles.UnmarshalJSON should have comment or be unexported
Open

func (sf SourceFiles) UnmarshalJSON(text []byte) error {
Severity: Minor
Found in formatters/source_file.go by golint

exported method SourceFile.Merge should have comment or be unexported
Open

func (a SourceFile) Merge(b SourceFile) (SourceFile, error) {
Severity: Minor
Found in formatters/source_file.go by golint

exported method SourceFile.CalcLineCounts should have comment or be unexported
Open

func (sf *SourceFile) CalcLineCounts() {
Severity: Minor
Found in formatters/source_file.go by golint

exported type SourceFiles should have comment or be unexported
Open

type SourceFiles map[string]SourceFile
Severity: Minor
Found in formatters/source_file.go by golint

receiver name sf should be consistent with previous receiver name a for SourceFile
Open

func (sf *SourceFile) CalcLineCounts() {
Severity: Minor
Found in formatters/source_file.go by golint

exported type SourceFile should have comment or be unexported
Open

type SourceFile struct {
Severity: Minor
Found in formatters/source_file.go by golint

There are no issues that match your filters.

Category
Status