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
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼1.88ms] Passed 4 tests
A check of server-side resources used by WP Admin Style UI
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.28 ▼4.67 |
Dashboard /wp-admin | 3.38 ▲0.08 | 47.39 ▼4.31 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 49.11 ▲1.03 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 95.70 ▲2.22 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 34.27 ▲0.42 |
Accordions /wp-admin/admin.php?page=wpasui_native-accordions | 3.31 | 31.31 |
Botões /wp-admin/admin.php?page=wpasui_native-buttons | 3.36 | 31.20 |
Apresentação /wp-admin/admin.php?page=wp-admin-style-ui | 3.32 | 143.03 |
Server storage [IO: ▲6.24MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 373 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by WP Admin Style UI
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲114 | 14.51 ▲0.21 | 1.75 ▼0.34 | 38.08 ▼4.28 |
Dashboard /wp-admin | 2,246 ▲58 | 6.16 ▲1.30 | 118.15 ▲3.80 | 44.22 ▼3.21 |
Posts /wp-admin/edit.php | 2,141 ▲49 | 2.99 ▲0.97 | 45.72 ▲9.69 | 38.35 ▲6.80 |
Add New Post /wp-admin/post-new.php | 1,557 ▲24 | 23.81 ▲0.84 | 685.54 ▲34.07 | 36.03 ▼26.61 |
Media Library /wp-admin/upload.php | 1,437 ▲52 | 5.39 ▲1.17 | 102.84 ▲4.37 | 41.94 ▼2.81 |
Accordions /wp-admin/admin.php?page=wpasui_native-accordions | 1,614 | 3.56 | 64.15 | 56.50 |
Botões /wp-admin/admin.php?page=wpasui_native-buttons | 1,296 | 2.66 | 32.34 | 32.57 |
Apresentação /wp-admin/admin.php?page=wp-admin-style-ui | 959 | 2.76 | 32.06 | 39.12 |
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 does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-admin-style-ui/includes/elements/templates/element-accordion.php
- 6× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined variable: description in wp-content/plugins/wp-admin-style-ui/includes/elements/templates/element-accordion.php on line 8
- > PHP Notice
Undefined variable: label in wp-content/plugins/wp-admin-style-ui/includes/elements/templates/element-accordion.php on line 4
- > PHP Notice
Undefined variable: id in wp-content/plugins/wp-admin-style-ui/includes/elements/templates/element-accordion.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_admin_page_title() in wp-content/plugins/wp-admin-style-ui/includes/elements/views/buttons-html.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_admin_page_title() in wp-content/plugins/wp-admin-style-ui/includes/pages/views/admin-page-main.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_admin_page_title() in wp-content/plugins/wp-admin-style-ui/includes/elements/views/accordions-html.php:2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: There are too many tags (14 tag instead of maximum 10)
wp-admin-style-ui/wp-admin-style-ui.php 92% from 13 tests
The main PHP file in "WP Admin Style UI" ver. 1.1.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 239 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected1,762 lines of code in 366 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 250 | 337 | 1,025 |
JavaScript | 351 | 33 | 25 | 448 |
PO File | 1 | 65 | 94 | 273 |
CSS | 1 | 1 | 0 | 16 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 2.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 1 | 14.29% |
▷ Concrete classes | 6 | 85.71% |
▷ Final classes | 1 | 16.67% |
Methods | 37 | |
▷ Static methods | 1 | 2.70% |
▷ Public methods | 25 | 67.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 32.43% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin