Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.89ms] Passed 4 tests
Server-side resources used by WP System
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.55 ▼3.60 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.57 ▼11.87 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.41 ▼2.62 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 79.75 ▼5.45 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.83 ▲4.66 |
WP System /wp-admin/tools.php?page=wp-system | 3.63 | 494.95 |
Server storage [IO: ▲0.23MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WP System
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.36 ▲0.02 | 1.59 ▼0.18 | 39.37 ▼8.19 |
Dashboard /wp-admin | 2,201 ▲24 | 5.59 ▼0.04 | 84.50 ▼17.03 | 39.59 ▼3.54 |
Posts /wp-admin/edit.php | 2,106 ▲9 | 2.02 ▲0.03 | 37.58 ▼0.29 | 36.91 ▲3.84 |
Add New Post /wp-admin/post-new.php | 1,540 ▲5 | 23.05 ▲4.71 | 657.00 ▲33.06 | 53.61 ▼11.49 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.23 ▲0.00 | 94.54 ▼2.57 | 40.80 ▼3.04 |
WP System /wp-admin/tools.php?page=wp-system | 2,100 | 1.67 | 26.34 | 52.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/tools.php?page=wp-system
- > Notice in wp-content/plugins/wp-system/report.php+619
Undefined variable: post_max_size_num
- > GET request to /wp-admin/tools.php?page=wp-system
- > Warning in wp-content/plugins/wp-system/report.php+619
A non-numeric value encountered
- > GET request to /wp-admin/tools.php?page=wp-system
- > Notice in wp-content/plugins/wp-system/report.php+1150
Undefined index: HTTP_ACCEPT_LANGUAGE
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-system/wp-system.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: environment, troubleshooting, system, settings
wp-system/wp-system.php Passed 13 tests
The main PHP file in "WP System" ver. 1.1.1 adds more information about the plugin and also serves as the entry point for this plugin
71 characters long description:
Easily spot issues with your WordPress environment and server settings.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin2,692 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 4 | 504 | 520 | 1,396 |
PHP | 4 | 105 | 76 | 1,292 |
SVG | 3 | 0 | 0 | 3 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 26 | |
▷ Named functions | 26 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/matt.png | 19.95KB | 15.28KB | ▼ 23.38% |
images/adriano.png | 20.62KB | 15.07KB | ▼ 26.91% |