Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.57ms] Passed 4 tests
A check of server-side resources used by WP-Admin Customizer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 39.92 ▲1.29 |
Dashboard /wp-admin | 3.36 ▲0.06 | 49.49 ▼2.12 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 46.91 ▼3.49 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 85.50 ▼13.20 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.41 ▼3.48 |
Admin Theme /wp-admin/options-general.php?page=admin-theme-menu | 3.26 | 32.61 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 20 new options
New WordPress options |
---|
admin-theme-dashboard_recent_comments |
admin-theme-small-logo |
widget_theysaidso_widget |
can_compress_scripts |
admin-theme-dashboard_secondary |
admin-theme-login-logo |
widget_recent-comments |
admin-theme-rounded-corners |
admin-theme-dashboard_right_now |
admin-theme-dashboard_quick_press |
... |
Browser metrics Passed 4 tests
Checking browser requirements for WP-Admin Customizer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲56 | 14.26 ▼0.09 | 1.64 ▼0.53 | 31.53 ▼8.84 |
Dashboard /wp-admin | 2,243 ▲69 | 5.66 ▲0.10 | 91.32 ▼5.92 | 38.31 ▼4.02 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.03 ▲0.09 | 36.19 ▲0.21 | 31.23 ▼3.54 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 18.21 ▼5.22 | 585.31 ▼97.17 | 56.70 ▼4.07 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.25 ▼0.15 | 104.58 ▲3.61 | 37.97 ▼7.10 |
Admin Theme /wp-admin/options-general.php?page=admin-theme-menu | 1,006 | 2.06 | 41.13 | 42.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined index: category in wp-content/plugins/wp-admin-customizer/processors/contact_form.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-admin-customizer/base.php:16
- > PHP Notice
Undefined index: name in wp-content/plugins/wp-admin-customizer/processors/contact_form.php on line 9
- > PHP Notice
Undefined index: message in wp-content/plugins/wp-admin-customizer/processors/contact_form.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-admin-customizer/settings.php:7
- > PHP Notice
Undefined index: email in wp-content/plugins/wp-admin-customizer/processors/contact_form.php on line 9
- > PHP Warning
include(): Failed opening 'TJG_AT_PATH/lib/lessc.inc.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-admin-customizer/processors/settings_update.php on line 4
- > PHP Warning
include(TJG_AT_PATH/lib/lessc.inc.php): failed to open stream: No such file or directory in wp-content/plugins/wp-admin-customizer/processors/settings_update.php on line 4
- > PHP Warning
Use of undefined constant TJG_AT_PATH - assumed 'TJG_AT_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-admin-customizer/processors/settings_update.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-admin-customizer/processors/settings_update.php:10
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=admin-theme-menu
- > Network (severe)
wp-content/plugins/wp-admin-customizer/css/wp_override.css?ver=1697379821 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=admin-theme-menu
- > Javascript (severe) in unknown
/wp-content/plugins/wp-admin-customizer/js/plugin.js?ver=1697379821 32:8 Uncaught TypeError: Cannot read properties of undefined (reading 'preventDefault')
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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:
- Screenshots: These screenshots do not have images: #1 (A customized admin bar.), #2 (The admin bar customization screen.)
wp-admin-customizer/base.php 92% from 13 tests
The main file in "WP-Admin Customizer" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-admin-customizer.php" instead of "base.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected3,189 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 679 | 404 | 2,960 |
LESS | 1 | 60 | 48 | 113 |
CSS | 1 | 26 | 15 | 84 |
JavaScript | 1 | 13 | 2 | 32 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 124.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 316.00 |
Average method complexity | 4.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 156 | |
▷ Static methods | 4 | 2.56% |
▷ Public methods | 28 | 17.95% |
▷ Protected methods | 128 | 82.05% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.09MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 76.84KB | 23.68KB | ▼ 69.18% |
img/update-dark.png | 0.82KB | 0.96KB | 0.00% |
img/comment-dark.png | 0.54KB | 0.60KB | 0.00% |
screenshot-1.png | 10.88KB | 4.80KB | ▼ 55.85% |