elliotchance/gedcom

View on GitHub
html/family_statistics.go

Summary

Maintainability
A
0 mins
Test Coverage

should replace divorceEvents += 1 with divorceEvents++
Open

            divorceEvents += 1
Severity: Minor
Found in html/family_statistics.go by golint

exported type FamilyStatistics should have comment or be unexported
Open

type FamilyStatistics struct {
Severity: Minor
Found in html/family_statistics.go by golint

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

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

exported function NewFamilyStatistics should have comment or be unexported
Open

func NewFamilyStatistics(document *gedcom.Document) *FamilyStatistics {
Severity: Minor
Found in html/family_statistics.go by golint

should replace marriageEvents += 1 with marriageEvents++
Open

            marriageEvents += 1
Severity: Minor
Found in html/family_statistics.go by golint

There are no issues that match your filters.

Category
Status