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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.62ms] Passed 4 tests
A check of server-side resources used by Admin Toolchain
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.08 ▼2.67 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.29 ▼2.51 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.97 ▲3.25 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 82.14 ▼13.93 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.28 ▼3.37 |
Admin Toolchain /wp-admin/options-general.php?page=admin-toolchain | 3.23 | 29.62 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Admin Toolchain: 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.63 ▼0.74 | 1.71 ▼0.03 | 45.85 ▲1.22 |
Dashboard /wp-admin | 2,201 ▲13 | 5.83 ▲0.90 | 102.23 ▼6.62 | 37.87 ▼3.74 |
Posts /wp-admin/edit.php | 2,090 ▲4 | 2.00 ▼0.05 | 35.30 ▲1.97 | 30.48 ▼1.39 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.10 ▲5.59 | 647.83 ▼26.83 | 54.10 ▼6.17 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.23 ▲0.03 | 98.95 ▼6.44 | 43.72 ▼1.55 |
Admin Toolchain /wp-admin/options-general.php?page=admin-toolchain | 788 | 2.06 | 21.83 | 26.50 |
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 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 everything seems fine, this is not an exhaustive test
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 take a closer look at the following
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined variable: wpat_tool_instances in wp-content/plugins/admin-toolchain/tpl/options_page.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function submit_button() in wp-content/plugins/admin-toolchain/tpl/options_page.php:11
- > PHP Fatal error
Uncaught Error: Class 'WPAT_Tool' not found in wp-content/plugins/admin-toolchain/tools/wpat_show_wp_blocks_menu_item.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-toolchain/tools/wpat_show_wp_blocks_menu_item.php:10
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/admin-toolchain/tpl/options_page.php on line 7
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: tool, admin, blocks
admin-toolchain/admin-toolchain.php Passed 13 tests
The main file in "Admin Toolchain" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
76 characters long description:
A small collection of tools to adapt WordPress administration to your liking
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected84 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 15 | 21 | 74 |
Markdown | 1 | 3 | 0 | 10 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 1 | 50.00% |
▷ Concrete classes | 1 | 50.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin