Benchmarks
Plugin footprint Passed 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.01MB] [CPU: ▼288.93ms] Passed 4 tests
Server-side resources used by Admin Toolbox
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 60.21 ▼19.94 |
Dashboard /wp-admin | 3.43 ▲0.02 | 36.36 ▼0.57 |
Posts /wp-admin/edit.php | 3.65 ▲0.02 | 53.02 ▲7.58 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 125.60 ▼1,136.24 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 27.94 ▲1.02 |
Admin Toolbox /wp-admin/options-general.php?page=admin-toolbox | 3.73 | 36.38 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 13 new files
Database: 2 new tables, no new options
New tables |
---|
wp_atb_pagehits |
wp_atb_options |
Browser metrics Passed 4 tests
Checking browser requirements for Admin Toolbox
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,828 ▲74 | 15.89 ▲0.64 | 5.97 ▼0.67 | 2.44 ▲0.03 |
Dashboard /wp-admin | 2,921 ▲61 | 6.08 ▼0.05 | 122.67 ▲0.56 | 157.79 ▼24.46 |
Posts /wp-admin/edit.php | 2,719 ▲28 | 3.25 ▲0.01 | 71.61 ▲4.65 | 142.22 ▼6.65 |
Add New Post /wp-admin/post-new.php | 1,661 ▼112 | 15.64 ▼5.35 | 416.14 ▼41.86 | 213.66 ▲23.29 |
Media Library /wp-admin/upload.php | 1,728 ▲30 | 5.56 ▼0.02 | 160.21 ▲8.23 | 245.98 ▲50.84 |
Admin Toolbox /wp-admin/options-general.php?page=admin-toolbox | 4,156 | 2.48 | 68.97 | 132.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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: track, admin, disable, 2fa, role
admin-toolbox/atb_functions.php 85% from 13 tests
The primary PHP file in "Admin Toolbox" version 5.3.27 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Name the main plugin file 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 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin2,061 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 383 | 73 | 2,060 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.87 |
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 | 50 | |
▷ Named functions | 50 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
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/AdminToolbox.png | 2.31KB | 1.25KB | ▼ 45.75% |
assets/screenshot-2.png | 15.42KB | 7.63KB | ▼ 50.51% |
assets/icon-256x256.png | 5.70KB | 6.05KB | 0.00% |
assets/banner-772x250.png | 88.02KB | 36.00KB | ▼ 59.10% |
assets/screenshot-1.png | 256.29KB | 105.54KB | ▼ 58.82% |