elliotchance/gedcom

View on GitHub
html/individual_statistics.go

Summary

Maintainability
A
0 mins
Test Coverage

exported type IndividualStatistics should have comment or be unexported
Open

type IndividualStatistics struct {
Severity: Minor
Found in html/individual_statistics.go by golint

should replace total += 1 with total++
Open

        total += 1
Severity: Minor
Found in html/individual_statistics.go by golint

should replace living += 1 with living++
Open

            living += 1
Severity: Minor
Found in html/individual_statistics.go by golint

exported method IndividualStatistics.WriteHTMLTo should have comment or be unexported
Open

func (c *IndividualStatistics) WriteHTMLTo(w io.Writer) (int64, error) {
Severity: Minor
Found in html/individual_statistics.go by golint

exported function NewIndividualStatistics should have comment or be unexported
Open

func NewIndividualStatistics(document *gedcom.Document, visibility LivingVisibility) *IndividualStatistics {
Severity: Minor
Found in html/individual_statistics.go by golint

There are no issues that match your filters.

Category
Status