pixelfed/pixelfed

View on GitHub
app/Util/Site/Nodeinfo.php

Summary

Maintainability
A
1 hr
Test Coverage

Method get has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function get()
    {
        $res = Cache::remember('api:nodeinfo', 900, function () {
            $activeHalfYear = self::activeUsersHalfYear();
            $activeMonth = self::activeUsersMonthly();
Severity: Minor
Found in app/Util/Site/Nodeinfo.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status