Showing 640 of 640 total issues
Function runMaxYears
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func runMaxYears(gedcom1 *gedcom.Document, gedcom2 *gedcom.Document, idealScore int, options gedcom.SimilarityOptions, tuneFlags *TuneFlags) {
Function NewSourceListPage
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func NewSourceListPage(document *gedcom.Document, googleAnalyticsID string, options *PublishShowOptions, indexLetters []rune, placesMap map[string]*place) *SourceListPage {
Function NewFamilyListPage
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func NewFamilyListPage(document *gedcom.Document, googleAnalyticsID string, options *PublishShowOptions, indexLetters []rune, placesMap map[string]*place) *FamilyListPage {
Function runJaroPrefixSize
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func runJaroPrefixSize(gedcom1 *gedcom.Document, gedcom2 *gedcom.Document, idealScore int, options gedcom.SimilarityOptions, tuneFlags *TuneFlags) {
Function NewIndividualEvent
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func NewIndividualEvent(date, place string, description core.Component, individual *gedcom.IndividualNode, event gedcom.Node, placesMap map[string]*place) *IndividualEvent {
Function runJaroBoost
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func runJaroBoost(gedcom1 *gedcom.Document, gedcom2 *gedcom.Document, idealScore int, options gedcom.SimilarityOptions, tuneFlags *TuneFlags) {
Function filter
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func filter(root Node, fn FilterFunction, entityMap entityMap, document *Document, family *FamilyNode) Node {
Function NewPlaceListPage
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func NewPlaceListPage(document *gedcom.Document, googleAnalyticsID string, options *PublishShowOptions, indexLetters []rune, placesMap map[string]*place) *PlaceListPage {
Function NewIndividualCompare
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func NewIndividualCompare(comparison *gedcom.IndividualComparison, filterFlags *gedcom.FilterFlags, progress chan gedcom.Progress, compareOptions *gedcom.IndividualNodesCompareOptions, visibility LivingVisibility) *IndividualCompare {
Function runNameToDateRatio
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func runNameToDateRatio(gedcom1 *gedcom.Document, gedcom2 *gedcom.Document, idealScore int, options gedcom.SimilarityOptions, tuneFlags *TuneFlags) {
Function newNodeWithChildren
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func newNodeWithChildren(document *Document, family *FamilyNode, tag Tag, value, pointer string, children Nodes) Node {
Function NewSurnameListPage
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func NewSurnameListPage(document *gedcom.Document, googleAnalyticsID string, options *PublishShowOptions, indexLetters []rune, placesMap map[string]*place) *SurnameListPage {
Function runIndividualWeight
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func runIndividualWeight(gedcom1 *gedcom.Document, gedcom2 *gedcom.Document, idealScore int, options gedcom.SimilarityOptions, tuneFlags *TuneFlags) {
Function NewStatisticsPage
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func NewStatisticsPage(document *gedcom.Document, googleAnalyticsID string, options *PublishShowOptions, indexLetters []rune, placesMap map[string]*place) *StatisticsPage {
Method HTMLFormatter.Write
has 5 return statements (exceeds 4 allowed). Open
Open
func (f *HTMLFormatter) Write(result interface{}) error {
pageTitle := "gedcom"
// Nil should be treated as a blank document.
if gedcom.IsNil(result) {
Method Publisher.Places
has 5 return statements (exceeds 4 allowed). Open
Open
func (publisher *Publisher) Places() map[string]*place {
if publisher.placesMap == nil {
publisher.placesMap = map[string]*place{}
// Get all of the unique place names.
Method ResidenceNode.Equals
has 5 return statements (exceeds 4 allowed). Open
Open
func (node *ResidenceNode) Equals(node2 Node) bool {
if IsNil(node) {
return false
}
Method EventNode.Equals
has 5 return statements (exceeds 4 allowed). Open
Open
func (node *EventNode) Equals(node2 Node) bool {
if IsNil(node) {
return false
}
Method UniqueIDNode.Equals
has 5 return statements (exceeds 4 allowed). Open
Open
func (node *UniqueIDNode) Equals(node2 Node) bool {
if IsNil(node) {
return false
}
Method GEDCOMFormatter.Write
has 5 return statements (exceeds 4 allowed). Open
Open
func (f *GEDCOMFormatter) Write(result interface{}) error {
// Nil should be treated as a blank document.
if gedcom.IsNil(result) {
return nil
}