Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.19MB] [CPU: ▼4.33ms] Passed 4 tests
An overview of server-side resources used by WordPress Developer's Tool
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.18 | 43.30 ▲3.63 |
Dashboard /wp-admin | 3.54 ▲0.19 | 49.74 ▼10.09 |
Posts /wp-admin/edit.php | 3.65 ▲0.25 | 47.91 ▼0.04 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.19 | 85.74 ▼10.82 |
Media Library /wp-admin/upload.php | 3.46 ▲0.19 | 41.90 ▲6.45 |
Advance /wp-admin/options-general.php?page=DTools | 3.47 | 35.64 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 44 new files
Database: no new tables, 7 new options
New WordPress options |
---|
DTools |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by WordPress Developer's Tool
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,787 ▲41 | 14.72 ▲0.06 | 1.43 ▼0.25 | 43.71 ▲2.33 |
Dashboard /wp-admin | 2,199 ▲19 | 5.57 ▼0.03 | 85.65 ▼8.57 | 38.94 ▼6.93 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.04 | 34.23 ▼2.62 | 35.03 ▼0.89 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.34 ▲0.13 | 665.13 ▼23.18 | 56.03 ▲4.81 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.21 ▲0.01 | 94.43 ▼10.44 | 42.09 ▼3.60 |
Advance /wp-admin/options-general.php?page=DTools | 1,304 | 2.06 | 38.70 | 27.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 18× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function NikolayS93\\Tool\\add_filter() in wp-content/plugins/wp-developers-tool/includes/addons/woocommerce/wholesales.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function NikolayS93\\Tool\\add_filter() in wp-content/plugins/wp-developers-tool/includes/addons/woocommerce/pack-qty-changes.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function NikolayS93\\Tool\\add_action() in wp-content/plugins/wp-developers-tool/includes/addons/remove-emojis.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function NikolayS93\\Tool\\add_filter() in wp-content/plugins/wp-developers-tool/includes/addons/empty-content.php:8
- > PHP Fatal error
Uncaught Error: Class 'NikolayS93\\Tool\\DTools' not found in wp-content/plugins/wp-developers-tool/includes/addons/admin-orign-image-resize.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function NikolayS93\\Tool\\__() in wp-content/plugins/wp-developers-tool/includes/settings/general.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function NikolayS93\\Tool\\is_admin() in wp-content/plugins/wp-developers-tool/includes/addons/woocommerce/pack-qty.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function NikolayS93\\Tool\\__() in wp-content/plugins/wp-developers-tool/includes/settings/woocommerce.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function NikolayS93\\Tool\\add_action() in wp-content/plugins/wp-developers-tool/includes/addons/init-scripts.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function NikolayS93\\Tool\\add_action() in wp-content/plugins/wp-developers-tool/includes/addons/woocommerce/plus-minus-buttons.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: wc_upgrade, theme_update, advanced_functions, multitool, own_jetpack...
wp-developers-tool/wp-developers-tool.php Passed 13 tests
The main PHP script in "WordPress Developer's Tool" version 1.2.2 is automatically included on every request by WordPress
52 characters long description:
Add more advanced functions for your Wordpress site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin5,681 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 529 | 17 | 2,801 |
PHP | 24 | 343 | 218 | 1,626 |
JavaScript | 9 | 106 | 77 | 906 |
PO File | 1 | 84 | 87 | 239 |
Markdown | 1 | 49 | 0 | 106 |
YAML | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
A short 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.51 |
Average class complexity | 33.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 111.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 24 | 43.64% |
▷ Public methods | 43 | 78.18% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 21.82% |
Functions | 35 | |
▷ Named functions | 34 | 97.14% |
▷ Anonymous functions | 1 | 2.86% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin