Code Analysis: Observo Monitoring 1.0.2

Function Rating Maintainability Complexity Lines of code
BAT::execute()
D
2
156 316
Linux::_distro()
D
3
145 306
BAT::__construct()
D
4
135 298
Linux::_network()
D
8
132 241
Raid::execute_idrac()
D
5
118 375
Linux::_cpuinfo()
D
8
113 270
Linux::_usb()
D
21
79 131
WINNT::_network()
D
20
77 152
SMART::execute()
D
21
75 151
XML::_buildHardware()
D
22
67 150
Parser::df()
D
21
58 188
Raid::execute_zpool()
D
24
57 146
Raid::execute_mdstat()
D
22
52 175
XML::_buildMbinfo()
D
30 52 97
SNMPups::_info()
D
28
44 124
Raid::execute_megactl()
D
26
43 138
Raid::__construct()
D
27
43 123
Raid::execute_dmraid()
D
27
42 128
BAT::xml()
D
32 43 89
SNMPPInfo::__construct()
D
28
38 129
CommonFunctions::executeProgram()
D
29
39 111
SMART::__construct()
D
28
38 108
LMSensors::_temperature()
D
31 39 90
Raid::xml()
D
35 37 59
ThermalZone::_temperature()
D
35 36 73
IPMItool::__construct()
D
30 33 111
PS::__construct()
D
29 33 108
Raid::execute_graid()
D
31 33 100
FreeBSD::_network()
D
35 33 65
CommonFunctions::_findProgram()
C
34 31 79
SNMPups::__construct()
C
32 29 100
BSDCommon::ide()
C
38 31 64
BSDCommon::scsi()
C
38 31 61
WINNT::_cpuinfo()
C
37 30 62
Android::_filesystems()
C
36 29 65
Linux::_nvme()
C
36 28 71
SunOS::_network()
C
38 29 55
WINNT::_devicelist()
C
39 28 56
Linux::_machine()
C
40 28 55
XML::_buildXml()
C
42 29 38
XML::_buildFilesystems()
C
38 27 64
WINNT::_distro()
C
37 27 61
HDDTemp::_temperature()
C
34 25 82
SunOS::prtconf()
C
39 26 61
IPMIutil::_fans()
C
46 28 30
NetBSD::_network()
C
40 27 45
OpenBSD::_network()
C
40 27 45
Darwin::_network()
C
41 27 43
Darwin::cpuinfo()
C
39 26 52
IPMIutil::_voltage()
C
46 27 29
IPMIutil::_current()
C
46 27 29
CommonFunctions::rfts()
B
39 24 56
Webpage::run()
B
40 24 47
Apcupsd::_info()
B
39 21 62
XML::_buildVitals()
B
40 21 52
XML::_buildUpsinfo()
B
40 20 59
Minix::_cpuinfo()
B
40 20 56
Haiku::_network()
B
41 20 50
WebpageXML::_prepare()
B
41 20 49
WINNT::_hardware()
B
44 19 45
WINNT::_hostname()
B
48 20 28
PingTest::__construct()
B
40 18 52
SNMPPInfo::execute()
B
42 18 46
BSDCommon::cpuinfo()
B
43 18 44
SNMPPInfo::xml()
B
43 18 43
PSStatus::__construct()
B
40 17 54
IPMIutil::_temperature()
B
50 19 23
IPMIutil::_power()
B
50 19 23
Linux::_scsi()
B
43 17 42
Linux::_parseProcStat()
B
42 16 51
Linux::_pci()
B
42 16 48
PowerSoftPlus::_info()
A
44 16 44
CommonFunctions::enumKey()
A
42 16 44
Docker::getDocker()
A
41 15 58
WINNT::_getCodeSet()
A
45 16 39
Raid::execute()
A
46 16 36
Linux::_kernel()
A
46 16 36
CommonFunctions::fileexists()
A
51 17 21
JavaScriptPacker::_bootStrap()
A
41 15 50
HyperV::execute()
A
42 15 46
Nut::_info()
A
43 15 45
HPUX::_cpuinfo()
A
45 15 38
IPMItool::_fans()
A
51 16 22
LMSensors::_voltage()
A
43 14 45
LMSensors::_current()
A
44 14 45
LMSensors::_fans()
A
44 14 44
QNX::_network()
A
48 15 29
PS::_addchild()
A
48 15 28
IPMItool::_voltage()
A
52 15 22
IPMItool::_current()
A
52 15 22
SpeedFan::__construct()
A
47 14 34
CommonFunctions::_timeoutfgets()
A
47 14 34
OpenBSD::cpuinfo()
A
46 14 33
SunOS::_pci()
A
48 14 32
SunOS::_cpuinfo()
A
47 14 30
LMSensors::_power()
A
45 13 40
SimpleXMLExtended::_toUTF8()
A
45 13 38
Darwin::memory()
A
41 12 53
NetBSD::ide()
A
47 13 34
BSDCommon::memory()
A
46 13 34
WINNT::_filesystems()
A
43 12 43
XML::_xmlbody()
A
44 12 39
BSDCommon::pciconf()
A
45 12 38
AIX::_cpuinfo()
A
47 12 37
Hwmon::_fans()
A
46 12 37
IPMItool::_temperature()
A
54 13 19
IPMItool::_power()
A
54 13 19
observo_monitoring()
A
40 10 62
Haiku::_cpuinfo()
A
47 12 32
CommonFunctions::readReg()
A
47 12 31
WINNT::build()
A
51 12 27
PS::execute()
A
46 11 39
SunOS::_filesystems()
A
45 11 38
CommonFunctions::getWMI()
A
46 11 36
Hwmon::_power()
A
46 11 35
Hwmon::_current()
A
46 11 35
Hwmon::_voltage()
A
46 11 35
Hwmon::_temperature()
A
47 11 34
Linux::_memory()
A
46 11 34
uprecords::getUprecords()
A
48 11 30
Linux::build()
A
50 11 30
Webpage::_checkTemplateLanguage()
A
57 12 13
AIX::build()
A
51 11 27
Android::build()
A
51 11 27
OS::_users()
A
49 11 27
AIX::_memory()
A
45 10 41
HPUX::build()
A
52 11 26
IPMIutil::_other()
A
50 11 26
Haiku::build()
A
52 11 26
uprecords::execute()
A
50 11 26
Minix::build()
A
52 11 25
SunOS::build()
A
52 11 25
ParseMaster::_replacement()
A
51 11 22
QNX::build()
A
54 11 22
CommonFunctions::_parse_log_file()
A
52 11 21
PSI_Error::_trace()
A
48 10 31
LMSensors::_other()
A
49 10 30
SMART::xml()
A
49 10 28
XML::_buildNetwork()
A
50 10 27
Darwin::usb()
A
52 10 23
System::getMemPercentBuffer()
A
54 10 21
Linux::_ide()
A
53 10 20
XML::_buildMemory()
A
47 9 34
CommonFunctions::readenv()
A
55 10 19
JavaScriptPacker::_analyze()
A
45 8 46
WINNT::_get_Win32_PerfFormattedData_PerfOS_Processor()
A
57 10 15
Nut::__construct()
A
49 9 29
StableBit::xml()
A
57 10 14
WINNT::_loadavg()
A
51 9 27
Coretemp::build()
A
50 9 26
Minix::_pci()
A
51 9 25
SunOS::_processes()
A
52 9 23
Darwin::_processes()
A
52 9 23
BSDCommon::build()
A
54 9 22
OS::_ip()
A
53 9 21
WINNT::_uptime()
A
45 8 36
FreeIPMI::_fans()
A
55 9 17
MBMon::__construct()
A
49 8 29
SunOS::_kernel()
A
58 9 14
Haiku::_pci()
A
51 8 25
QTSsnmp::_temperature()
A
51 8 25
Healthd::__construct()
A
52 8 24
Darwin::distro()
A
51 8 24
Linux::_processes()
A
52 8 23
CommonFunctions::gdc()
A
53 8 23
FreeBSD::_processes()
A
53 8 22
Minix::_processes()
A
53 8 22
NetBSD::_processes()
A
53 8 22
UpdateNotifier::execute()
A
53 8 21
Android::_kernel()
A
54 8 20
XML::_buildPlugins()
A
55 8 20
PSStatus::execute()
A
56 8 18
HPUX::_ide()
A
55 8 17
Android::_distro()
A
55 8 17
Android::_machine()
A
56 8 17
Pmset::_info()
A
48 7 31
errorHandlerPsi()
S
66 9 6
FreeIPMI::_voltage()
S
57 8 14
FreeIPMI::_current()
S
57 8 14
CommonFunctions::checkForExtensions()
S
49 7 28
HPUX::_usb()
S
51 7 24
Linux::_uptime()
S
52 7 24
UpdateNotifier::__construct()
S
52 7 23
Linux::_filesystems()
S
53 7 23
DragonFly::_processes()
S
54 7 21
Apcupsd::__construct()
S
54 7 21
XML::_fillDevice()
S
53 7 21
OpenBSD::_processes()
S
54 7 21
OHM::__construct()
S
55 7 18
BSDCommon::pci()
S
56 7 18
iptables::execute()
S
56 7 17
PiTemp::_temperature()
S
56 7 17
Docker::execute()
S
56 7 17
OpenBSD::ide()
S
56 7 17
QNX::_uptime()
S
56 7 17
SunOS::_distro()
S
55 7 17
WINNT::_machine()
S
58 7 15
HPUX::_memory()
S
48 6 30
Linux::_hostname()
S
57 7 15
FreeBSD::build()
S
60 7 14
FreeIPMI::_temperature()
S
58 7 13
FreeIPMI::_power()
S
58 7 13
CommonFunctions::rfts()
S
59 7 13
Darwin::build()
S
61 7 13
CommonFunctions::fileexists()
S
60 7 12
WINNT::_memory()
S
51 6 25
HPUX::_filesystems()
S
51 6 25
HWSensors::_temperature()
S
53 6 25
HWSensors::_fans()
S
53 6 25
HWSensors::_voltage()
S
53 6 25
AIX::_filesystems()
S
51 6 25
PSI_Error::_printVar()
S
52 6 23
Haiku::_memory()
S
53 6 23
ParseMaster::add()
S
52 6 23
Darwin::pci()
S
53 6 22
System::removeDupsAndCount()
S
55 6 21
CommonFunctions::_parse_log_file()
S
54 6 20
WebpageXML::__construct()
S
54 6 19
QNX::_cpuinfo()
S
57 6 16
Hwmon::build()
S
58 6 15
Minix::_network()
S
57 6 15
System::getMemPercentCache()
S
59 6 15
Quotas::execute()
S
49 5 29
Linux::_i2c()
S
59 6 13
DragonFly::ide()
S
60 6 12
HWDevice::equals()
S
62 6 11
BSDCommon::readdmesg()
S
60 6 11
observo_monitoring_loadUrl()
S
52 5 23
LMSensors::__construct()
S
54 5 20
Darwin::ide()
S
55 5 20
psi_autoload()
S
54 5 19
DragonFly::_network()
S
54 5 19
HPUX::_scsi()
S
54 5 19
Haiku::_filesystems()
S
54 5 19
HPUX::_pci()
S
56 5 18
K8Temp::__construct()
S
55 5 18
IPMItool::_other()
S
56 5 18
Haiku::_uptime()
S
56 5 17
observo_monitoring_deleteDir()
S
56 5 17
FreeIPMI::__construct()
S
56 5 17
IPMIutil::__construct()
S
56 5 17
HPUX::_network()
S
55 5 17
PSI_Plugin::_checkfiles()
S
57 5 16
AIX::_network()
S
56 5 16
WINNT::_users()
S
57 5 15
Haiku::_processes()
S
58 5 15
MBMon::_temperature()
S
59 5 14
Minix::_kernel()
S
59 5 14
K8Temp::_temperature()
S
59 5 14
Android::_pci()
S
58 5 13
Haiku::_hostname()
S
61 5 12
SunOS::_hostname()
S
61 5 12
QNX::_hostname()
S
61 5 12
Linux::_loadavg()
S
59 5 12
FreeIPMI::_other()
S
60 5 12
Minix::_hostname()
S
61 5 12
PingTest::execute()
S
61 5 12
OpenBSD::build()
S
63 5 11
NetBSD::build()
S
63 5 11
DragonFly::build()
S
63 5 11
Quotas::__construct()
S
54 4 20
Docker::xml()
S
54 4 20
WINNT::__construct()
S
55 4 20
JavaScriptPacker::_encodeKeywords()
S
55 4 19
BSDCommon::loadavg()
S
54 4 19
Parser::lspci()
S
55 4 18
Darwin::_grabioreg()
S
56 4 17
uprecords::xml()
S
57 4 16
ThermalZone::__construct()
S
58 4 15
Webpage::_getTemplateList()
S
58 4 15
Minix::_uptime()
S
59 4 14
iptables::xml()
S
60 4 13
WINNT::_processes()
S
59 4 13
MBMon::_fans()
S
61 4 12
Haiku::_usb()
S
60 4 12
MBMon::_voltage()
S
61 4 12
QTSsnmp::_fans()
S
60 4 11
SpeedFan::_temperature()
S
61 4 11
System::getMemPercentApplication()
S
63 4 11
CommonFunctions::getPlugins()
S
63 4 11
SpeedFan::_fans()
S
61 4 11
SpeedFan::_voltage()
S
61 4 11
ParseMaster::exec()
S
54 3 20
XML::__construct()
S
56 3 19
Healthd::_voltage()
S
49 2 32
FreeBSD::_distroicon()
S
65 4 8
PiTemp::_voltage()
S
63 4 9
PiTemp::_current()
S
63 4 9
Thinkpad::build()
S
64 4 9
PSI_Plugin::_getconfig()
S
67 4 7
CommonFunctions::rolv()
S
65 4 8
JavaScriptPacker::_getEncoder()
S
74 4 4
Haiku::_loadavg()
S
64 4 10
BSDCommon::hostname()
S
65 4 9
HPUX::_hostname()
S
65 4 9
MBM5::_temperature()
S
60 3 12
MBM5::_fans()
S
60 3 12
MBM5::_voltage()
S
60 3 12
Minix::readdmesg()
S
60 3 12
System::getSwapTotal()
S
63 3 11
JavaScriptPacker::_encode62()
S
62 3 11
Webpage::_getLanguageList()
S
61 3 11
System::getSwapUsed()
S
63 3 11
System::getSwapPercentUsed()
S
64 3 11
Darwin::_uptime()
S
62 3 11
Darwin::scsi()
S
61 3 11
ParseMaster::_unescapeBis()
S
63 3 11
Darwin::_tb()
S
61 3 11
Minix::_memory()
S
61 3 11
PSI_Error::errorsAsXML()
S
54 2 19
JavaScriptPacker::_basicCompression()
S
56 2 18
Healthd::_temperature()
S
58 2 16
Healthd::_fans()
S
58 2 16
MBInfo::getMbVolt()
S
70 3 6
OS::getSys()
S
68 3 7
Quotas::xml()
S
58 2 15
AIX::_kernel()
S
71 3 5
CommonFunctions::executeProgram()
S
65 3 9
PSStatus::xml()
S
66 3 8
HPUX::_uptime()
S
62 3 10
Android::_get_buildprop()
S
66 3 8
SunOS::_kstat()
S
65 3 8
StableBit::execute()
S
63 3 10
System::getNetDevices()
S
70 3 6
AIX::_ide()
S
65 3 9
AIX::_loadavg()
S
67 3 7
JavaScriptPacker::pack()
S
67 3 8
MBInfo::getMbPower()
S
70 3 6
OHM::_power()
S
66 3 8
AIX::_pci()
S
65 3 9
AIX::_uptime()
S
62 3 10
AIX::_scsi()
S
65 3 9
OHM::_voltage()
S
66 3 8
AIX::_usb()
S
65 3 9
Pmset::__construct()
S
67 3 7
MBInfo::getMbTemp()
S
70 3 6
QNX::_memory()
S
65 3 8
AIX::readaixdata()
S
66 3 8
OHM::_temperature()
S
66 3 8
SimpleXMLExtended::addAttribute()
S
64 3 9
HPUX::_loadavg()
S
67 3 7
Minix::_loadavg()
S
67 3 7
WebpageXML::getJsonString()
S
67 3 7
PSStatus::process_inarray()
S
67 3 8
PingTest::address_inarray()
S
67 3 8
MBInfo::getMbCurrent()
S
70 3 6
System::getSwapFree()
S
64 3 10
OHM::_fans()
S
66 3 8
MBInfo::getMbOther()
S
70 3 6
BSDCommon::usb()
S
65 3 9
MBInfo::getMbFan()
S
70 3 6
ParseMaster::_unescape()
S
61 2 13
PSI_Error::errorsAddToXML()
S
59 2 13
ParseMaster::_escape()
S
62 2 12
PSI_Plugin::__construct()
S
61 2 12
observo_monitoring_admin_notice_install()
S
65 2 11
Template::fetch()
S
63 2 11
observo_monitoring_activation_function()
S
61 2 11
MBM5::__construct()
S
61 2 11
JavaScriptPacker::_encodeSpecialChars()
S
58 1 16
BSDCommon::filesystems()
S
71 2 6
WINNT::_get_Win32_Processor()
S
72 2 4
Template::set()
S
78 2 3
Haiku::_distro()
S
68 2 7
JavaScriptPacker::_encode95()
S
69 2 6
PSI_Error::errorsExist()
S
70 2 7
BSDCommon::distro()
S
73 2 5
UpdateNotifier::xml()
S
66 2 8
WINNT::_get_systeminfo()
S
74 2 4
iptables::getIptables()
S
66 2 9
QNX::_kernel()
S
73 2 5
JavaScriptPacker::_getJSFunction()
S
71 2 6
Output::_checkConfig()
S
71 2 6
Darwin::grabkey()
S
65 2 9
SimpleXMLExtended::addChild()
S
64 2 9
WINNT::_get_Win32_OperatingSystem()
S
72 2 4
WINNT::_get_Win32_ComputerSystem()
S
73 2 4
PS::xml()
S
68 2 7
HyperV::xml()
S
66 2 8
BSDCommon::kernel()
S
64 2 9
observo_monitoring_get_status_url()
S
66 2 8
Haiku::_kernel()
S
73 2 5
PowerSoftPlus::__construct()
S
68 2 7
Minix::_filesystems()
S
71 2 6
Minix::_distro()
S
68 2 7
BSDCommon::grabkey()
S
66 2 8
AIX::_hostname()
S
78 2 3
JavaScriptPacker::__construct()
S
65 2 8
HPUX::_kernel()
S
73 2 5
SimpleXMLExtended::__construct()
S
71 2 6
QNX::_filesystems()
S
71 2 6
QNX::_distro()
S
68 2 7
DiskDevice::getPercentUsed()
S
69 2 7
System::getMemPercentUsed()
S
69 2 7
ParseMaster::_backReferences()
S
64 2 9
PingTest::xml()
S
66 2 8
PSI_Error::singleton()
S
69 2 7
JavaScriptPacker::_pack()
S
69 2 6
SunOS::_memory()
S
59 1 14
WebpageXSLT::run()
S
61 1 13
MBInfo::setMbFan()
S
80 1 3
uprecords::__construct()
S
75 1 4
PSI_Error::__clone()
S
80 1 3
UPSDevice::setOutages()
S
81 1 3
WebpageXML::getXMLString()
S
76 1 4
QNX::_users()
S
81 1 3
DragonFly::_distroicon()
S
81 1 3
NetBSD::__construct()
S
65 1 9
MBInfo::setMbPower()
S
80 1 3
ParseMaster::_escapeBis()
S
76 1 4
FreeBSD::__construct()
S
64 1 10
NetBSD::_distroicon()
S
81 1 3
FreeBSD::_uptime()
S
71 1 5
CommonFunctions::readenv()
S
81 1 3
MBInfo::setMbTemp()
S
80 1 3
HDDTemp::build()
S
82 1 3
Apcupsd::build()
S
82 1 3
UPSDevice::setMode()
S
81 1 3
UPSDevice::getTemperatur()
S
82 1 3
DragonFly::__construct()
S
67 1 8
UPSDevice::setTemperatur()
S
81 1 3
SimpleXMLExtended::getSimpleXmlElement()
S
82 1 3
OpenBSD::_distroicon()
S
81 1 3
UPSDevice::getBatterCharge()
S
82 1 3
MBInfo::setMbVolt()
S
80 1 3
WebpageXML::run()
S
71 1 6
ParseMaster::_add()
S
76 1 4
Nut::build()
S
82 1 3
LMSensors::build()
S
69 1 8
PSI_Error::addError()
S
79 1 3
OS::getBlockName()
S
82 1 3
Android::_users()
S
81 1 3
PSI_Error::addConfigError()
S
79 1 3
ParseMaster::_replace_name()
S
70 1 5
WebpageXML::getArray()
S
80 1 3
CommonFunctions::gdc()
S
81 1 3
OS::__construct()
S
73 1 5
ParseMaster::reset()
S
81 1 3
MBMon::build()
S
75 1 5
OpenBSD::_uptime()
S
75 1 4
ThermalZone::build()
S
82 1 3
Webpage::__construct()
S
72 1 6
UPSDevice::setStatus()
S
81 1 3
SNMPups::build()
S
82 1 3
observo_monitoring_settings_link()
S
73 1 5
Docker::__construct()
S
75 1 4
SimpleXMLExtended::combinexml()
S
70 1 6
FreeBSD::_memoryadditional()
S
69 1 6
UPSDevice::setStartTime()
S
81 1 3
UPSDevice::getTimeLeft()
S
82 1 3
OS::getEncoding()
S
82 1 3
PSI_Error::__construct()
S
77 1 4
UPSDevice::getStartTime()
S
82 1 3
UPSDevice::getStatus()
S
82 1 3
PSI_Error::_addError()
S
69 1 6
NetBSD::_uptime()
S
75 1 4
OS::getLanguage()
S
82 1 3
SimpleXMLExtended::addCData()
S
66 1 8
DragonFly::_uptime()
S
71 1 5
IPMIutil::build()
S
69 1 8
OpenBSD::__construct()
S
67 1 8
SpeedFan::build()
S
75 1 5
IPMItool::build()
S
69 1 8
FreeIPMI::build()
S
69 1 8

210 more item(s) not shown.