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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.35ms] Passed 4 tests
Analyzing server-side resources used by WP Chosen
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 39.14 ▼6.17 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.61 ▼3.81 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.35 ▼2.37 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 88.69 ▼9.03 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.03 ▼1.89 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WP Chosen
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 13.52 ▼1.03 | 5.86 ▲3.80 | 42.36 ▲2.95 |
Dashboard /wp-admin | 2,203 ▲26 | 5.63 ▼0.04 | 88.43 ▼1.80 | 41.87 ▼2.98 |
Posts /wp-admin/edit.php | 2,306 ▲203 | 2.46 ▲0.51 | 52.56 ▲13.09 | 37.80 ▲0.30 |
Add New Post /wp-admin/post-new.php | 1,534 ▲1 | 23.39 ▲0.71 | 685.70 ▲13.16 | 55.83 ▼0.46 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.25 ▲0.11 | 97.06 ▼17.32 | 44.60 ▼3.52 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
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 need to be fixed:
- Screenshots: A description for screenshot #3 is missing in wp-chosen/assets to your readme.txt
wp-chosen/wp-chosen.php Passed 13 tests
The primary PHP file in "WP Chosen" version 6.1.1 is used by WordPress to initiate all plugin functionality
46 characters long description:
Makes unwieldy select boxes more user-friendly
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected2,265 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Sass | 37 | 155 | 0 | 1,225 |
CSS | 3 | 2 | 56 | 854 |
JavaScript | 4 | 13 | 16 | 127 |
PHP | 3 | 23 | 78 | 59 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 7 | |
▷ Named functions | 7 | 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
There are no PNG files in this plugin