Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼11.27ms] Passed 4 tests
An overview of server-side resources used by Ultimate Post List
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 35.84 ▼5.38 |
Dashboard /wp-admin | 3.36 ▲0.02 | 44.75 ▼18.61 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 48.19 ▼5.72 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 85.44 ▼15.38 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 33.97 ▼2.51 |
Add New /wp-admin/post-new.php?post_type=upl_post_list | 4.10 | 50.54 |
Help /wp-admin/edit.php?post_type=upl_post_list&page=upl-help-page | 3.32 | 33.54 |
All Lists /wp-admin/edit.php?post_type=upl_post_list | 3.33 | 45.27 |
Server storage [IO: ▲0.37MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 33 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_ultimate-post-list |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ultimate Post List
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,903 ▲157 | 13.52 ▼0.85 | 8.39 ▲6.57 | 39.55 ▼7.71 |
Dashboard /wp-admin | 2,217 ▲37 | 5.63 ▼0.01 | 111.63 ▲13.73 | 51.92 ▲8.88 |
Posts /wp-admin/edit.php | 2,131 ▲28 | 2.03 ▲0.02 | 37.82 ▼5.91 | 32.88 ▼9.33 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 21.46 ▼2.03 | 694.67 ▲4.49 | 64.09 ▲8.81 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.24 ▲0.07 | 100.58 ▼4.99 | 42.53 ▼4.89 |
Add New /wp-admin/post-new.php?post_type=upl_post_list | 3,113 | 2.94 | 61.34 | 42.92 |
Help /wp-admin/edit.php?post_type=upl_post_list&page=upl-help-page | 1,008 | 1.99 | 28.61 | 27.23 |
All Lists /wp-admin/edit.php?post_type=upl_post_list | 1,179 | 2.22 | 36.50 | 31.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/ultimate-post-list/admin/partials/section-footer.php:19
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ultimate-post-list/includes/class-Ultimate_Post_List_Widget.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/ultimate-post-list/admin/partials/page-overview.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/ultimate-post-list/admin/partials/widget-form.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 12 tag instead of maximum 10
ultimate-post-list/ultimate-post-list.php Passed 13 tests
"Ultimate Post List" version 5.2.7.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
110 characters long description:
Make up custom-tailored preview lists of the contents easily and place them in widget areas and post contents.
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
There were no executable files found in this plugin4,285 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 480 | 1,365 | 2,964 |
PO File | 2 | 404 | 456 | 1,238 |
JavaScript | 4 | 11 | 16 | 44 |
CSS | 1 | 7 | 0 | 39 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 44.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 174.00 |
Average method complexity | 6.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 83.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 78 | |
▷ Static methods | 28 | 35.90% |
▷ Public methods | 54 | 69.23% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 24 | 30.77% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 5 | 38.46% |
▷ Class constants | 8 | 61.54% |
▷ Public constants | 8 | 100.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
PNG images were not found in this plugin