Benchmarks
Plugin footprint 83% 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.14MB] [CPU: ▼1.39ms] Passed 4 tests
Server-side resources used by Admin Toolbox
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 37.10 ▼4.42 |
Dashboard /wp-admin | 3.45 ▲0.11 | 47.65 ▼12.55 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 48.61 ▲2.26 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 106.13 ▲9.14 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 42.58 ▲12.54 |
Admin Toolbox /wp-admin/options-general.php?page=admin-toolbox | 3.74 | 34.01 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 13 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_atb_pagehits |
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
atb_upgrade |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Admin Toolbox
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲49 | 14.22 ▼0.30 | 1.71 ▲0.01 | 39.05 ▼4.86 |
Dashboard /wp-admin | 2,201 ▲24 | 5.55 ▼0.12 | 97.98 ▼2.49 | 43.90 ▼0.35 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.94 ▼0.08 | 39.22 ▲3.00 | 36.56 ▲0.65 |
Add New Post /wp-admin/post-new.php | 1,530 ▼0 | 23.27 ▲0.04 | 601.73 ▼49.72 | 53.39 ▼0.62 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.21 ▲0.08 | 103.02 ▲8.10 | 45.06 ▲3.68 |
Admin Toolbox /wp-admin/options-general.php?page=admin-toolbox | 3,138 | 2.02 | 24.26 | 57.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: 2fa, roles, hide admin menus, admin, track
admin-toolbox/atb_functions.php 92% from 13 tests
"Admin Toolbox" version 6.0.14's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("admin-toolbox.php" instead of "atb_functions.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin1,883 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 322 | 63 | 1,882 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.80 |
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 | 53 | |
▷ Named functions | 52 | 98.11% |
▷ Anonymous functions | 1 | 1.89% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.36MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 5.70KB | 6.05KB | 0.00% |
assets/screenshot-2.png | 15.42KB | 7.63KB | ▼ 50.51% |
assets/banner-772x250.png | 88.02KB | 36.00KB | ▼ 59.10% |
assets/screenshot-1.png | 256.29KB | 105.54KB | ▼ 58.82% |
assets/AdminToolbox.png | 2.31KB | 1.25KB | ▼ 45.75% |