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.06MB] [CPU: ▲0.69ms] Passed 4 tests
An overview of server-side resources used by Admin Tools
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 38.70 ▼3.52 |
Dashboard /wp-admin | 3.37 ▲0.06 | 49.41 ▲1.56 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 52.44 ▲5.60 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 91.83 ▼0.87 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 40.36 ▲5.77 |
Admin Tools /wp-admin/options-general.php?page=admin-tools | 3.29 | 44.50 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Admin Tools: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.34 ▼1.02 | 4.21 ▲2.47 | 42.99 ▼2.13 |
Dashboard /wp-admin | 2,213 ▲22 | 4.80 ▼1.10 | 101.83 ▼2.74 | 41.04 ▼6.56 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.05 ▲0.01 | 39.62 ▼2.86 | 36.04 ▼0.72 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 23.24 ▲0.08 | 625.79 ▼64.12 | 53.67 ▲3.50 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▼0.07 | 96.07 ▼15.62 | 43.01 ▼5.61 |
Admin Tools /wp-admin/options-general.php?page=admin-tools | 1,838 | 3.14 | 43.00 | 30.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/admin-tools/admin-tools.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function delete_option() in wp-content/plugins/admin-tools/uninstall.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
admin-tools/admin-tools.php Passed 13 tests
The main PHP file in "Admin Tools" ver. 1.3.9 adds more information about the plugin and also serves as the entry point for this plugin
51 characters long description:
Preparing your customer management interface easily
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected1,335 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 86 | 28 | 961 |
PO File | 1 | 65 | 0 | 147 |
CSS | 1 | 32 | 7 | 136 |
JavaScript | 1 | 18 | 12 | 91 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 165.00 |
▷ Minimum class complexity | 165.00 |
▷ Maximum class complexity | 165.00 |
Average method complexity | 7.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 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 | 2 | |
▷ Global constants | 2 | 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
No PNG images were found in this plugin