Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.11MB] [CPU: ▲481.79ms] 50% from 4 tests
Analyzing server-side resources used by = WP Tools Increase Maximum Limits, Repair, Server PHP Info, Javascript errors, File Permissions, Transients, Error Log
Please fix the following
- CPU: The total CPU usage must kept under 500.00ms (currently 731.26ms on /wp-admin/admin.php?page=wptools_options21)
- Extra CPU: Try to keep extra CPU usage under 200.00ms (currently 481.79ms on /wp-admin/admin.php?page=wptools_options21)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.23 ▲0.76 | 57.03 ▲13.25 |
Dashboard /wp-admin | 4.53 ▲1.23 | 705.32 ▲650.82 |
Posts /wp-admin/edit.php | 4.57 ▲1.22 | 756.93 ▲709.02 |
Add New Post /wp-admin/post-new.php | 7.13 ▲1.25 | 749.64 ▲648.11 |
Media Library /wp-admin/upload.php | 4.46 ▲1.23 | 650.37 ▲614.97 |
Show .htaccess /wp-admin/admin.php?page=wptools_options25 | 4.41 | 679.47 |
Javascrip and jQuery /wp-admin/admin.php?page=wptools_options35 | 4.41 | 693.14 |
Show Cron Jobs /wp-admin/admin.php?page=wptools_options27 | 4.41 | 746.11 |
Go Pro /wp-admin/admin.php?page=wptools_my-custom-submenu-page9 | 4.41 | 737.06 |
Show wp-config.php /wp-admin/admin.php?page=wptools_options26 | 4.41 | 634.80 |
Show Cookies /wp-admin/admin.php?page=wptools_options28 | 4.41 | 734.94 |
More New Tools /wp-admin/admin.php?page=wptools_options39 | 4.42 | 761.83 |
Show Transients /wp-admin/admin.php?page=wptools_options33 | 6.35 | 733.09 |
Edit robots txt /wp-admin/admin.php?page=wptools_options24 | 4.41 | 737.19 |
Show Errors /wp-admin/admin.php?page=wptools_options21 | 4.41 | 731.26 |
Server storage [IO: ▲4.16MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 101 new files
Database: no new tables, 11 new options
New WordPress options |
---|
wptools_activated_pointer |
wptools_activated_notice |
theysaidso_admin_options |
widget_theysaidso_widget |
wptools_was_activated |
widget_recent-posts |
bill_go_pro_hide |
can_compress_scripts |
bill_last_feedback |
db_upgraded |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for = WP Tools Increase Maximum Limits, Repair, Server PHP Info, Javascript errors, File Permissions, Transients, Error Log
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,935 ▲173 | 14.35 ▲0.09 | 2.00 ▲0.27 | 44.10 ▼1.77 |
Dashboard /wp-admin | 2,313 ▲139 | 5.48 ▼0.17 | 101.06 ▲8.41 | 80.82 ▲39.65 |
Posts /wp-admin/edit.php | 2,236 ▲136 | 2.61 ▲0.61 | 41.54 ▼1.92 | 31.98 ▼4.00 |
Add New Post /wp-admin/post-new.php | 1,630 ▲104 | 23.34 ▲0.12 | 620.77 ▼6.47 | 33.01 ▼14.02 |
Media Library /wp-admin/upload.php | 1,552 ▲152 | 4.68 ▲0.43 | 102.70 ▼5.47 | 79.72 ▲33.31 |
Show .htaccess /wp-admin/admin.php?page=wptools_options25 | 974 | 2.10 | 30.99 | 23.36 |
Javascrip and jQuery /wp-admin/admin.php?page=wptools_options35 | 1,010 | 2.11 | 35.11 | 31.06 |
Show Cron Jobs /wp-admin/admin.php?page=wptools_options27 | 1,081 | 2.26 | 31.03 | 32.54 |
Go Pro /wp-admin/admin.php?page=wptools_my-custom-submenu-page9 | 1,093 | 4.53 | 111.61 | 28.71 |
Show wp-config.php /wp-admin/admin.php?page=wptools_options26 | 971 | 2.18 | 29.21 | 24.17 |
Show Cookies /wp-admin/admin.php?page=wptools_options28 | 1,022 | 2.11 | 34.14 | 30.58 |
More New Tools /wp-admin/admin.php?page=wptools_options39 | 1,114 | 1.92 | 35.09 | 34.22 |
Show Transients /wp-admin/admin.php?page=wptools_options33 | 1,211 | 2.18 | 33.41 | 29.55 |
Edit robots txt /wp-admin/admin.php?page=wptools_options24 | 976 | 2.10 | 29.71 | 26.23 |
Show Errors /wp-admin/admin.php?page=wptools_options21 | 966 | 2.10 | 30.68 | 26.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 11 options
- wptools_was_activated
- can_compress_scripts
- bill_go_pro_hide
- wptools_activated_pointer
- widget_recent-comments
- theysaidso_admin_options
- bill_last_feedback
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=wptools_options35
- > Warning in wp-content/plugins/wptools/functions/functions.php+2222
fopen(error_log): failed to open stream: No such file or directory
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
Almost there! Just fix the following items
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/wptools/wptools.php
- > /wp-content/plugins/wptools/dashboard/gauge.php
- > /wp-content/plugins/wptools/dashboard/requirements.php
- > /wp-content/plugins/wptools/functions/bill-catch-errors.php
- > /wp-content/plugins/wptools/dashboard/dashboard_container.php
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wptools/functions/functions_transiente_manager.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wptools/dashboard/circle_memory.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function wptoolsPlugin_activate\\is_multisite() in wp-content/plugins/wptools/includes/feedback/activated-manager.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function bill_banners\\get_transient() in wp-content/plugins/wptools/dashboard/mybanners.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wptools/dashboard/circle_disc.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wptools/functions/functions_cron_manager.php:2
- > PHP Fatal error
Uncaught Error: Class 'wptoolsWPSettings\\Page' not found in wp-content/plugins/wptools/settings/options/plugin_options_tabbed.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Dashboard Charts), #2 (Dashboard Info), #3 (Server Errors), #4 (More a Lot of Info and Tools)
wptools/wptools.php 92% from 13 tests
The primary PHP file in "= WP Tools Increase Maximum Limits, Repair, Server PHP Info, Javascript errors, File Permissions, Transients, Error Log" version 4.12 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 170 characters long)
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
Success! There were no dangerous files found in this plugin20,585 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 33 | 1,094 | 1,040 | 9,518 |
PO File | 5 | 2,435 | 11,657 | 7,343 |
JavaScript | 17 | 549 | 765 | 2,462 |
CSS | 10 | 291 | 110 | 1,262 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 8.85 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 70 | |
▷ Static methods | 4 | 5.71% |
▷ Public methods | 70 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 162 | |
▷ Named functions | 159 | 98.15% |
▷ Anonymous functions | 3 | 1.85% |
Constants | 16 | |
▷ Global constants | 16 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
19 PNG files occupy 0.95MB with 0.53MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/runningx30x35.png | 2.48KB | 1.80KB | ▼ 27.36% |
screenshot-4.png | 230.45KB | 74.51KB | ▼ 67.67% |
images/logo.png | 3.78KB | 2.68KB | ▼ 28.94% |
screenshot-2.png | 194.11KB | 60.98KB | ▼ 68.58% |
images/tools.png | 6.25KB | 0.63KB | ▼ 89.97% |