XoopsModules25x/wfdownloads

View on GitHub
class/Common/ServerStats.php

Summary

Maintainability
A
1 hr
Test Coverage

Method getServerStats has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function getServerStats()
    {
        //mb    /** @var \XoopsModules\Wfdownloads\Helper $helper */
        //mb    $helper = \XoopsModules\Wfdownloads\Helper::getInstance();
        $moduleDirName      = \basename(dirname(__DIR__, 2));
Severity: Minor
Found in class/Common/ServerStats.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status