Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼291.19ms] Passed 4 tests
Server-side resources used by Site Uptime Monitoring
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.14 | 56.31 ▲3.89 |
Dashboard /wp-admin | 3.49 ▲0.09 | 34.16 ▼0.19 |
Posts /wp-admin/edit.php | 3.72 ▲0.08 | 39.23 ▲1.91 |
Add New Post /wp-admin/post-new.php | 6.96 ▼0.01 | 92.96 ▼1,168.47 |
Media Library /wp-admin/upload.php | 3.37 ▲0.08 | 25.81 ▲2.01 |
Website Statistics /wp-admin/admin.php?page=moSUT_site_statistics | 3.36 | 27.40 |
Uptime Monitor /wp-admin/admin.php?page=moSUT_site_uptime | 3.37 | 22.78 |
Upgrade /wp-admin/admin.php?page=moSUT_site_upgrade | 3.36 | 24.80 |
Account /wp-admin/admin.php?page=moSUT_site_account | 3.46 | 32.43 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 3 new options
New WordPress options |
---|
MoSUT_dbversion |
mo_wpns_new_registration |
mo_2factor_user_registration_status |
Browser metrics Passed 4 tests
Site Uptime Monitoring: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,806 ▲60 | 16.11 ▲0.16 | 5.57 ▼0.31 | 2.43 ▲0.11 |
Dashboard /wp-admin | 2,936 ▲82 | 6.26 ▲0.08 | 117.40 ▼14.41 | 181.32 ▲23.11 |
Posts /wp-admin/edit.php | 2,733 ▲45 | 3.13 ▼0.11 | 63.33 ▼2.20 | 140.95 ▲3.84 |
Add New Post /wp-admin/post-new.php | 1,780 ▲112 | 21.08 ▲1.70 | 440.55 ▲40.36 | 183.81 ▲27.96 |
Media Library /wp-admin/upload.php | 1,739 ▲41 | 5.55 ▲0.02 | 127.33 ▼7.66 | 197.05 ▲11.23 |
Website Statistics /wp-admin/admin.php?page=moSUT_site_statistics | 1,475 | 3.06 | 73.97 | 190.81 |
Uptime Monitor /wp-admin/admin.php?page=moSUT_site_uptime | 1,291 | 2.96 | 55.07 | 236.94 |
Upgrade /wp-admin/admin.php?page=moSUT_site_upgrade | 1,139 | 2.66 | 58.04 | 137.21 |
Account /wp-admin/admin.php?page=moSUT_site_account | 1,277 | 2.66 | 54.40 | 154.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 2 options
- mo_2factor_user_registration_status
- mo_wpns_new_registration
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/site-uptime-monitoring/views/SiteUptime_statistics.php
- 22× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: profile_url in wp-content/plugins/site-uptime-monitoring/views/navbar.php on line 7
- > PHP Notice
Undefined variable: MoSUTDirName in wp-content/plugins/site-uptime-monitoring/controllers/SiteUptime_statistics.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/site-uptime-monitoring/controllers/SiteUptime_account.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/site-uptime-monitoring/controllers/support.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/site-uptime-monitoring/views/account/profile.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/site-uptime-monitoring/views/account/login.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_site_option() in wp-content/plugins/site-uptime-monitoring/controllers/SiteUptime_registeration.php:2
- > PHP Warning
include(controllers/navbar.php): failed to open stream: No such file or directory in wp-content/plugins/site-uptime-monitoring/controllers/main_controller.php on line 5
- > PHP Warning
include(): Failed opening 'controllers/navbar.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/site-uptime-monitoring/controllers/main_controller.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/site-uptime-monitoring/views/support.php:2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Domain Registration UI), #2 (Website Statistics Report)
site-uptime-monitoring/miniorange_siteUptime_settings.php 92% from 13 tests
The main PHP script in "Site Uptime Monitoring" version 1.0.1 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("site-uptime-monitoring.php" instead of "miniorange_siteUptime_settings.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin1,690 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 172 | 9 | 984 |
CSS | 2 | 59 | 7 | 538 |
JavaScript | 3 | 3 | 25 | 168 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 3.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 2 | 7.41% |
▷ Public methods | 26 | 96.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.70% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 1 | 6.67% |
▷ Class constants | 14 | 93.33% |
▷ Public constants | 14 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/miniorange_logo.png | 1.95KB | 1.16KB | ▼ 40.58% |
includes/images/miniorange_icon.png | 0.44KB | 0.35KB | ▼ 18.61% |
includes/images/support3.png | 2.49KB | 2.11KB | ▼ 15.28% |