fisharebest/webtrees

View on GitHub
app/Statistics.php

Summary

Maintainability
F
1 wk
Test Coverage

Statistics has 289 functions (exceeds 20 allowed). Consider refactoring.
Open

class Statistics implements
    GedcomRepositoryInterface,
    IndividualRepositoryInterface,
    EventRepositoryInterface,
    MediaRepositoryInterface,
Severity: Major
Found in app/Statistics.php - About 5 days to fix

    File Statistics.php has 1346 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    
    /**
     * webtrees: online genealogy
     * Copyright (C) 2023 webtrees development team
    Severity: Major
    Found in app/Statistics.php - About 3 days to fix

      Method __construct has 6 arguments (exceeds 4 allowed). Consider refactoring.
      Open

              CenturyService $century_service,
              ColorService $color_service,
              CountryService $country_service,
              ModuleService $module_service,
              Tree $tree,
      Severity: Minor
      Found in app/Statistics.php - About 45 mins to fix

        There are no issues that match your filters.

        Category
        Status