m1guelpf/LicAPI

View on GitHub
functions.php

Summary

Maintainability
A
1 hr
Test Coverage

Method updateActivity has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function updateActivity($type, $title)
    {
        global $mysqli;
        $activityIp = $_SERVER['REMOTE_ADDR'];
        $userAgnt = $_SERVER['HTTP_USER_AGENT'];
Severity: Minor
Found in functions.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status