Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.29MB] [CPU: ▼149.77ms] 75% from 4 tests
Analyzing server-side resources used by SiteAlert - Uptime, Speed, and Security Monitoring for WordPress
The following require your attention
- CPU: You should keep total CPU usage under 500.00ms (currently 1,440.51ms on /wp-admin/tools.php?page=sitealert-checks)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.03 ▲0.31 | 30.18 ▲6.90 |
Dashboard /wp-admin | 3.38 ▲0.32 | 39.65 ▼16.66 |
Posts /wp-admin/edit.php | 3.43 ▲0.33 | 36.53 ▲2.97 |
Add New Post /wp-admin/post-new.php | 5.68 ▲0.25 | 82.19 ▼585.29 |
Media Library /wp-admin/upload.php | 3.27 ▲0.26 | 29.22 ▼0.08 |
SiteAlert /wp-admin/tools.php?page=sitealert-checks | 4.94 | 1,440.51 |
Server storage [IO: ▲0.11MB] [DB: ▲0.18MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 4 new options
New WordPress options |
---|
wphc_current_version |
wphc_review_message_trigger |
wphc_original_version |
wphc_install_timestamp |
Browser metrics Passed 4 tests
SiteAlert - Uptime, Speed, and Security Monitoring for WordPress: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,751 ▲150 | 16.07 ▲0.41 | 8.49 ▲2.85 | 73.45 ▼19.05 |
Dashboard /wp-admin | 2,975 ▲79 | 6.09 ▼0.16 | 117.10 ▼19.69 | 166.74 ▼34.25 |
Posts /wp-admin/edit.php | 2,790 ▲50 | 3.37 ▲0.12 | 64.75 ▼0.20 | 136.49 ▼2.04 |
Add New Post /wp-admin/post-new.php | 3,833 ▲26 | 18.76 ▼0.32 | 426.44 ▼28.08 | 162.23 ▼2.28 |
Media Library /wp-admin/upload.php | 1,800 ▲51 | 5.54 ▲0.10 | 143.13 ▼8.67 | 183.07 ▲5.12 |
SiteAlert /wp-admin/tools.php?page=sitealert-checks | 1,598 | 3.12 | 65.16 | 189.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.18MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 2 options in the database
- wphc_original_version
- wphc_current_version
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: email, uptime, blacklist, monitor, security
my-wp-health-check/mlw_health_check.php 92% from 13 tests
The principal PHP file in "SiteAlert - Uptime, Speed, and Security Monitoring for WordPress" v. 1.9.7 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("my-wp-health-check.php" instead of "mlw_health_check.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected1,955 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 182 | 604 | 1,338 |
Markdown | 2 | 83 | 0 | 313 |
JavaScript | 1 | 8 | 17 | 164 |
CSS | 1 | 24 | 1 | 140 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 23.83 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 3.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 53 | |
▷ Static methods | 9 | 16.98% |
▷ Public methods | 42 | 79.25% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 20.75% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin