Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▲0.23ms] Passed 4 tests
This is a short check of server-side resources used by WP Quick Update Featured Image
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 48.11 ▲2.87 |
Dashboard /wp-admin | 3.32 ▲0.02 | 59.22 ▲1.36 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 57.31 ▲5.95 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 97.24 ▼0.75 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.73 ▼2.57 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Quick Update Featured Image
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▲0.00 | 1.77 ▼0.10 | 42.11 ▼0.70 |
Dashboard /wp-admin | 2,195 ▲21 | 5.58 ▼0.09 | 96.20 ▲5.14 | 41.32 ▲0.48 |
Posts /wp-admin/edit.php | 2,276 ▲173 | 3.46 ▲1.48 | 82.23 ▲40.60 | 37.91 ▼0.35 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.19 ▲0.22 | 666.84 ▼5.64 | 55.23 ▼1.94 |
Media Library /wp-admin/upload.php | 1,391 ▼9 | 4.18 ▼0.02 | 81.82 ▼24.78 | 48.12 ▲2.93 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means 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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-quick-update-featured-image/wp-quick-update-featured-image.php:63
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (This screen shot is regarding showing posts featured image on lsiting page.), #2 (This screenshot is reagrding when user mouse hover on image it will show controls to add,update and delete featured image.)
wp-quick-update-featured-image/wp-quick-update-featured-image.php Passed 13 tests
The main file in "WP Quick Update Featured Image" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
49 characters long description:
Update post featured image from listing in admin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected172 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 9 | 19 | 72 |
JavaScript | 1 | 19 | 21 | 67 |
CSS | 1 | 7 | 0 | 33 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 6 | |
▷ Named functions | 6 | 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
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.11MB with 0.06MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/Screenshot_2.png | 37.11KB | 19.08KB | ▼ 48.59% |
images/no-image.png | 29.17KB | 15.20KB | ▼ 47.91% |
assets/Screenshot_1.png | 44.82KB | 19.11KB | ▼ 57.37% |