e107inc/e107

View on GitHub
e107_plugins/siteinfo/counter_menu.php

Summary

Maintainability
A
0 mins
Test Coverage
F
15%

Call to method __construct from undeclared class \logConsolidate
Open

    $logObj = new logConsolidate;
Severity: Critical
Found in e107_plugins/siteinfo/counter_menu.php by phan

Variable $pageInfo is undeclared
Open

        $totalever = ($pageInfo[$pageName]['ttlv'] ? $pageInfo[$pageName]['ttlv'] : 0) + $totalPageEver + $total;
Severity: Minor
Found in e107_plugins/siteinfo/counter_menu.php by phan

Variable $pageInfo is undeclared
Open

        $total = ($pageInfo[$pageName]['ttl'] ? $pageInfo[$pageName]['ttl'] : 0);
Severity: Minor
Found in e107_plugins/siteinfo/counter_menu.php by phan

Variable $pageInfo is undeclared
Open

        $uniqueever = ($pageInfo[$pageName]['unqv'] ? $pageInfo[$pageName]['unqv'] : 0) + $uniquePageEver + $unique;
Severity: Minor
Found in e107_plugins/siteinfo/counter_menu.php by phan

Call to method getPageKey from undeclared class \logConsolidate
Open

    $pageName = $logObj->getPageKey(e_REQUEST_URL, false, null, e_LAN);
Severity: Critical
Found in e107_plugins/siteinfo/counter_menu.php by phan

Variable $siteTotal was undeclared, but it is being used as the left-hand side of an assignment operation
Open

                    $siteTotal += $row['log_data'];

Variable $pageInfo is undeclared
Open

        $unique = ($pageInfo[$pageName]['unq'] ? $pageInfo[$pageName]['unq'] : 0);
Severity: Minor
Found in e107_plugins/siteinfo/counter_menu.php by phan

Variable $siteUnique was undeclared, but it is being used as the left-hand side of an assignment operation
Open

                    $siteUnique += $row['log_data'];

There are no issues that match your filters.

Category
Status