Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼2.29MB] [CPU: ▼338.15ms] Passed 4 tests
This is a short check of server-side resources used by WP Monitor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.44 | 7.37 ▼43.22 |
Dashboard /wp-admin | 2.09 ▼1.31 | 7.39 ▼23.99 |
Posts /wp-admin/edit.php | 2.09 ▼1.55 | 9.24 ▼28.12 |
Add New Post /wp-admin/post-new.php | 2.09 ▼4.88 | 7.43 ▼1,257.26 |
Media Library /wp-admin/upload.php | 2.09 ▼1.20 | 7.53 ▼15.76 |
WP Monitor /wp-admin/tools.php?page=options_page | 2.09 | 8.35 |
Server storage [IO: ▲1.49MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 60 new files
Database: no new tables, 4 new options
New WordPress options |
---|
wpm_variables |
wpm_config |
wpm_update_info |
wpm_options |
Browser metrics Passed 4 tests
Checking browser requirements for WP Monitor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,431 ▲687 | 17.16 ▲1.51 | 11.35 ▲5.09 | 3.58 ▲1.35 |
Dashboard /wp-admin | 3,612 ▲754 | 7.37 ▲1.22 | 162.82 ▲23.45 | 197.22 ▲34.96 |
Posts /wp-admin/edit.php | 2,690 ▼4 | 3.23 ▼0.01 | 69.43 ▲4.35 | 133.89 ▼8.56 |
Add New Post /wp-admin/post-new.php | 1,782 ▲121 | 21.39 ▲5.59 | 424.63 ▲6.98 | 146.34 ▼3.95 |
Media Library /wp-admin/upload.php | 1,703 ▲8 | 5.50 ▼0.02 | 141.52 ▲7.07 | 185.99 ▼5.05 |
WP Monitor /wp-admin/tools.php?page=options_page | 1,013 | 2.41 | 61.02 | 123.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/wp-monitor/class-wpmonitor.php+485
Undefined index: 7.4
- Zombie WordPress options were found after uninstall: 4 options
- wpm_update_info
- wpm_variables
- wpm_options
- wpm_config
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/tools.php?page=options_page
- > Notice in wp-content/plugins/wp-monitor/class-wpmonitor.php+485
Undefined index: 7.4
- > GET request to /wp-admin/tools.php?page=options_page
- > Notice in wp-content/plugins/wp-monitor/class-wpmonitor.php+487
Trying to access array offset on value of type null
SRP 0% from 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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-monitor/class-wpmonitor.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WPMonitor' not found in wp-content/plugins/wp-monitor/class-settings.php:5
- > PHP Fatal error
Uncaught Error: Class 'WPMonitor' not found in wp-content/plugins/wp-monitor/class-phpversioner.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #2, #3 in wp-monitor/assets to your readme.txt
wp-monitor/class-wpmonitor.php 92% from 13 tests
Analyzing the main PHP file in "WP Monitor" version 1.1.4
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-monitor.php" instead of "class-wpmonitor.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin10,435 lines of code in 51 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
CSS | 4 | 82 | 39 | 2,593 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
JavaScript | 15 | 258 | 246 | 927 |
PHP | 3 | 432 | 202 | 718 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 20.33 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 37 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
library/images/no-mail.png | 1.39KB | 1.39KB | 0.21% |
library/images/yes-mail.png | 0.55KB | 0.55KB | 0.00% |