librenms/librenms

View on GitHub
LibreNMS/OS/Netscaler.php

Summary

Maintainability
B
4 hrs
Test Coverage

Method pollOS has 120 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function pollOS(DataStorageInterface $datastore): void
    {
        echo ' IP';

        // These are at the start of large trees that we don't want to walk the entirety of, so we snmp_get_multi them
Severity: Major
Found in LibreNMS/OS/Netscaler.php - About 4 hrs to fix

    The method pollOS() has 133 lines of code. Current threshold is set to 100. Avoid really long methods.
    Open

        public function pollOS(DataStorageInterface $datastore): void
        {
            echo ' IP';
    
            // These are at the start of large trees that we don't want to walk the entirety of, so we snmp_get_multi them
    Severity: Minor
    Found in LibreNMS/OS/Netscaler.php by phpmd

    There are no issues that match your filters.

    Category
    Status