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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.66MB] [CPU: ▼5.06ms] Passed 4 tests
An overview of server-side resources used by WP Custom Admin Interface
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.09 ▲0.63 | 44.27 ▲1.60 |
Dashboard /wp-admin | 4.03 ▲0.68 | 51.53 ▼6.15 |
Posts /wp-admin/edit.php | 4.08 ▲0.72 | 56.22 ▼0.91 |
Add New Post /wp-admin/post-new.php | 6.57 ▲0.68 | 85.55 ▼12.68 |
Media Library /wp-admin/upload.php | 3.89 ▲0.66 | 41.09 ▼0.49 |
Admin Notice /wp-admin/admin.php?page=wpcai_admin_notice | 3.89 | 41.18 |
Admin Toolbar /wp-admin/admin.php?page=wpcai_admin_toolbar | 3.86 | 43.75 |
Custom Code Frontend /wp-admin/admin.php?page=wpcai_custom_code_frontend | 3.91 | 39.11 |
Manage Settings /wp-admin/admin.php?page=wpcai_manage_settings | 3.89 | 41.54 |
Admin Menu /wp-admin/admin.php?page=wpcai_admin_menu | 3.87 | 38.44 |
Maintenance Page /wp-admin/admin.php?page=wpcai_maintenance_page | 3.93 | 45.35 |
Hide Plugins /wp-admin/admin.php?page=wpcai_hide_plugins | 3.89 | 42.75 |
Hide Meta /wp-admin/admin.php?page=wpcai_hide_meta | 3.89 | 43.63 |
Help /wp-admin/admin.php?page=wpcai_help | 3.90 | 45.62 |
Hide Sidebars /wp-admin/admin.php?page=wpcai_hide_sidebars | 3.89 | 55.21 |
Server storage [IO: ▲2.52MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 95 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Custom Admin Interface
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲177 | 14.71 ▲0.37 | 1.74 ▲0.15 | 43.06 ▲1.76 |
Dashboard /wp-admin | 2,343 ▲166 | 5.64 ▼0.03 | 87.01 ▼6.39 | 33.66 ▼10.49 |
Posts /wp-admin/edit.php | 2,244 ▲144 | 2.16 ▲0.18 | 40.44 ▼2.24 | 31.66 ▼4.11 |
Add New Post /wp-admin/post-new.php | 1,585 ▲59 | 23.52 ▲0.47 | 678.77 ▼17.56 | 58.06 ▲2.14 |
Media Library /wp-admin/upload.php | 1,538 ▲141 | 4.25 ▲0.08 | 95.69 ▼17.85 | 41.69 ▼5.58 |
Admin Notice /wp-admin/admin.php?page=wpcai_admin_notice | 2,006 | 7.42 | 152.81 | 158.31 |
Admin Toolbar /wp-admin/admin.php?page=wpcai_admin_toolbar | 2,029 | 3.99 | 85.66 | 70.40 |
Custom Code Frontend /wp-admin/admin.php?page=wpcai_custom_code_frontend | 1,556 | 4.15 | 73.76 | 47.24 |
Manage Settings /wp-admin/admin.php?page=wpcai_manage_settings | 1,450 | 3.27 | 53.18 | 37.05 |
Admin Menu /wp-admin/admin.php?page=wpcai_admin_menu | 20,143 | 4.09 | 97.27 | 76.79 |
Maintenance Page /wp-admin/admin.php?page=wpcai_maintenance_page | 1,855 | 7.21 | 126.71 | 102.39 |
Hide Plugins /wp-admin/admin.php?page=wpcai_hide_plugins | 1,382 | 3.50 | 46.89 | 60.37 |
Hide Meta /wp-admin/admin.php?page=wpcai_hide_meta | 14,037 | 3.53 | 129.36 | 74.94 |
Help /wp-admin/admin.php?page=wpcai_help | 1,703 | 11.37 | 285.53 | 67.43 |
Hide Sidebars /wp-admin/admin.php?page=wpcai_hide_sidebars | 1,361 | 3.48 | 46.73 | 74.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpcai_admin_menu
- > Notice in wp-content/plugins/wp-custom-admin-interface/inc/options/options-output.php+1595
Trying to access array offset on value of type bool
SRP 50% from 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
Please take a closer look at the following
- 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/wp-custom-admin-interface/wp-custom-admin-interface.php:26
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpcai_hide_meta
- > Javascript (severe) in unknown
/wp-content/plugins/wp-custom-admin-interface/inc/options/options-page-hide-meta.min.js?ver=7.34 0:1908 Uncaught TypeError: Cannot read properties of undefined (reading 'innerHTML')
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 20 tag instead of maximum 10
wp-custom-admin-interface/wp-custom-admin-interface.php Passed 13 tests
This is the main PHP file of "WP Custom Admin Interface" version 7.34, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
94 characters long description:
Customise the WordPress admin and login interfaces and customize the WordPress dashboard menu.
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
No dangerous file extensions were detected21,114 lines of code in 78 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 62 | 2,759 | 1,621 | 13,375 |
PHP | 3 | 1,592 | 672 | 3,224 |
SVG | 2 | 0 | 1 | 2,707 |
PO File | 4 | 328 | 328 | 955 |
CSS | 7 | 152 | 30 | 853 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 135 | |
▷ Named functions | 134 | 99.26% |
▷ Anonymous functions | 1 | 0.74% |
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
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/images/custom-admin-interface-pro-logo.png | 8.55KB | 8.52KB | 0.42% |