Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/vcgs-toolbox/settings.php+268
Trying to access array offset on value of type bool
Server metrics [RAM: ▼0.87MB] [CPU: ▼50.22ms] Passed 4 tests
An overview of server-side resources used by Vcgs Toolbox
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.12 ▼0.35 | 8.91 ▼35.80 |
Dashboard /wp-admin | 3.14 ▼0.17 | 10.75 ▼40.09 |
Posts /wp-admin/edit.php | 3.14 ▼0.21 | 11.95 ▼36.19 |
Add New Post /wp-admin/post-new.php | 3.14 ▼2.75 | 11.82 ▼88.79 |
Media Library /wp-admin/upload.php | 3.14 ▼0.09 | 13.70 ▼21.13 |
Vcgs Toolbox /wp-admin/admin.php?page=vcgstb | 3.14 | 10.53 |
Server storage [IO: ▲0.84MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 74 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Vcgs Toolbox
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.34 ▼0.01 | 1.77 ▼0.26 | 36.51 ▼9.71 |
Dashboard /wp-admin | 2,210 ▲33 | 5.50 ▼0.10 | 91.67 ▼13.82 | 73.98 ▲31.53 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 2.03 ▲0.01 | 40.94 ▲1.81 | 33.55 ▼4.74 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.60 ▲0.56 | 664.32 ▼21.32 | 56.12 ▲1.49 |
Media Library /wp-admin/upload.php | 1,418 ▲15 | 4.34 ▲0.06 | 96.70 ▼28.30 | 76.70 ▲29.27 |
Vcgs Toolbox /wp-admin/admin.php?page=vcgstb | 2,396 | 9.64 | 304.64 | 99.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/vcgs-toolbox/settings.php+268
Trying to access array offset on value of type bool
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- 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
Smoke test failed, please fix the following
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vcgstb
- > Notice in wp-content/plugins/vcgs-toolbox/vcgs-toolbox.php+447
Trying to access array offset on value of type bool
- > GET request to /wp-admin/admin.php?page=vcgstb
- > User notice in wp-includes/functions.php+5905
Function is_page was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
SRP 50% 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
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/vcgs-toolbox/columna-contapalabras.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/vcgs-toolbox/settings.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vcgs-toolbox/comentarios-pendientes.php:473
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/vcgs-toolbox/settings.php:9
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: analytics, twitter, tweet this, tools, icons
vcgs-toolbox/vcgs-toolbox.php 92% from 13 tests
The main PHP script in "Vcgs Toolbox" version 1.9.32 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 319 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected14,747 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 18 | 997 | 1,044 | 7,915 |
CSS | 12 | 500 | 489 | 3,486 |
PHP | 5 | 568 | 1,683 | 2,687 |
PO File | 4 | 276 | 352 | 659 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 200.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 380.00 |
Average method complexity | 3.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 141 | |
▷ Static methods | 1 | 0.71% |
▷ Public methods | 133 | 94.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 5.67% |
Functions | 26 | |
▷ Named functions | 26 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
26 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin-page-class/js/select2/select2.png | 0.60KB | 0.99KB | 0.00% |
admin-page-class/css/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
js/pi-icon.png | 0.85KB | 0.48KB | ▼ 44.04% |
admin-page-class/css/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
admin-page-class/css/images/ui-icons_f6cf3b_256x240.png | 8.68KB | 4.11KB | ▼ 52.68% |