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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼11.39ms] Passed 4 tests
This is a short check of server-side resources used by Comprehensive Appearance Admin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.83 ▼5.29 |
Dashboard /wp-admin | 3.33 ▼0.02 | 47.63 ▼18.07 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.84 ▼9.40 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 92.18 ▼12.80 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.94 ▲1.00 |
Server storage [IO: ▲0.00MB] [DB: ▲0.04MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Comprehensive Appearance Admin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲73 | 13.31 ▼1.27 | 4.93 ▲3.21 | 43.81 ▲3.09 |
Dashboard /wp-admin | 2,222 ▲31 | 4.86 ▼0.02 | 104.90 ▼6.39 | 44.84 ▲1.44 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.06 ▲0.06 | 40.89 ▲0.05 | 36.76 ▼3.90 |
Add New Post /wp-admin/post-new.php | 1,545 ▲17 | 23.24 ▲5.04 | 667.97 ▲22.93 | 52.65 ▼5.60 |
Media Library /wp-admin/upload.php | 1,401 ▲16 | 4.17 ▼0.02 | 98.62 ▼7.18 | 44.68 ▼0.27 |
Customize Menus /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php&autofocus%5Bpanel%5D=nav_menus | 7,552 | 22.03 | 553.78 | 131.33 |
Customize Themes /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php&autofocus%5Bsection%5D=themes | 6,552 | 19.61 | 421.59 | 93.79 |
Customize Widgets /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php&autofocus%5Bpanel%5D=widgets | 7,557 | 22.28 | 434.24 | 97.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.04MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/comprehensive-appearance-admin/comprehensive-appearance-admin.php:15
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php&autofocus%5Bpanel%5D=nav_menus
- > Security (warning) in unknown
/?customize_changeset_uuid=8a8dcb7a-aefe-463a-83b7-77f60de4a20a&customize_theme=twentytwentyone&customize_messenger_channel=preview-0 - An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php&autofocus%5Bsection%5D=themes
- > Security (warning) in unknown
/?customize_changeset_uuid=c82925cb-7105-4d5a-94ab-cf26d4fa7171&customize_theme=twentytwentyone&customize_messenger_channel=preview-0 - An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php&autofocus%5Bpanel%5D=widgets
- > Security (warning) in unknown
/?customize_changeset_uuid=43863b1a-d555-4355-90ba-e56a29b7532e&customize_theme=twentytwentyone&customize_messenger_channel=preview-0 - An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Donate link: Please fix this invalid URI: ""
- Screenshots: A description for screenshot #2 is missing in comprehensive-appearance-admin/assets to your readme.txt
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== comprehensive-appearance-admin ===
)
comprehensive-appearance-admin/comprehensive-appearance-admin.php Passed 13 tests
The main PHP script in "Comprehensive Appearance Admin" version 0.1.4 is automatically included on every request by WordPress
94 characters long description:
Display a better, comprehensive Appearance Menu in the Dashboard and in the front-end Toolbar.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected51 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 21 | 19 | 51 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
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 | 3 | |
▷ Named functions | 3 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin