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 gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼0.33ms] Passed 4 tests
A check of server-side resources used by Easy WP Admin Customizer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.36 ▲0.90 |
Dashboard /wp-admin | 3.36 ▲0.06 | 48.86 ▲2.03 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 47.65 ▼1.00 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 91.71 ▼3.24 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.54 ▲6.47 |
Easy WP Admin Customizer /wp-admin/options-general.php?page=my_admin_page | 3.25 | 34.36 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Easy WP Admin Customizer: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲52 | 13.20 ▼1.18 | 1.70 ▼0.13 | 43.95 ▼0.19 |
Dashboard /wp-admin | 2,204 ▲16 | 5.85 ▼0.05 | 98.79 ▼20.83 | 36.39 ▼6.43 |
Posts /wp-admin/edit.php | 2,087 ▼2 | 1.98 ▲0.01 | 35.72 ▲0.38 | 29.32 ▼4.22 |
Add New Post /wp-admin/post-new.php | 1,530 ▲16 | 23.41 ▲5.79 | 643.62 ▲2.12 | 55.31 ▲11.54 |
Media Library /wp-admin/upload.php | 1,380 ▼11 | 4.15 ▼0.04 | 103.37 ▼5.75 | 42.63 ▼4.57 |
Easy WP Admin Customizer /wp-admin/options-general.php?page=my_admin_page | 877 | 1.96 | 35.82 | 39.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- 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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/easy-wp-admin-customizer/functions-plugin.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/easy-wp-admin-customizer/image-scripts.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-wp-admin-customizer/register-fields.php:224
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-wp-admin-customizer/register-fields.php:224
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: admin, options, custom widget, customizer, cleaning dashboard
easy-wp-admin-customizer/easy-wp-admin-customizer.php 85% from 13 tests
The main PHP script in "Easy WP Admin Customizer" version 0.1.1 is automatically included on every request by WordPress
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected286 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 79 | 18 | 253 |
JavaScript | 1 | 7 | 13 | 23 |
Markdown | 1 | 7 | 0 | 10 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin