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.40MB] [CPU: ▼1.35ms] Passed 4 tests
Analyzing server-side resources used by Quick Featured Images
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 43.42 ▲3.75 |
Dashboard /wp-admin | 3.85 ▲0.54 | 52.35 ▼4.39 |
Posts /wp-admin/edit.php | 3.93 ▲0.57 | 63.05 ▲10.93 |
Add New Post /wp-admin/post-new.php | 6.37 ▲0.48 | 86.57 ▼13.23 |
Media Library /wp-admin/upload.php | 3.71 ▲0.48 | 42.20 ▲8.46 |
Bulk Edit /wp-admin/admin.php?page=quick-featured-images-tools | 3.82 | 52.04 |
Free vs. Pro /wp-admin/admin.php?page=quick-featured-images-comparison | 3.77 | 38.66 |
Overview /wp-admin/admin.php?page=quick-featured-images-overview | 3.70 | 39.50 |
Default Images /wp-admin/admin.php?page=quick-featured-images-defaults | 3.94 | 47.54 |
Settings /wp-admin/admin.php?page=quick-featured-images-settings | 3.70 | 39.50 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 49 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
quick-featured-images-defaults |
widget_recent-posts |
theysaidso_admin_options |
quick-featured-images-settings |
Browser metrics Passed 4 tests
Quick Featured Images: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.18 ▼0.53 | 1.88 ▼0.12 | 47.30 ▲7.39 |
Dashboard /wp-admin | 2,235 ▲58 | 5.64 ▼0.01 | 91.14 ▼3.23 | 39.86 ▼2.12 |
Posts /wp-admin/edit.php | 2,343 ▲243 | 3.50 ▲1.47 | 80.35 ▲39.97 | 36.64 ▲0.16 |
Add New Post /wp-admin/post-new.php | 1,559 ▲33 | 23.06 ▼0.03 | 670.69 ▲20.68 | 67.68 ▲17.02 |
Media Library /wp-admin/upload.php | 1,440 ▲43 | 4.12 ▼0.13 | 83.17 ▼18.68 | 43.34 ▼0.96 |
Bulk Edit /wp-admin/admin.php?page=quick-featured-images-tools | 1,273 | 3.15 | 41.87 | 78.24 |
Free vs. Pro /wp-admin/admin.php?page=quick-featured-images-comparison | 2,250 | 1.99 | 25.41 | 45.94 |
Overview /wp-admin/admin.php?page=quick-featured-images-overview | 1,002 | 1.99 | 24.98 | 40.76 |
Default Images /wp-admin/admin.php?page=quick-featured-images-defaults | 1,485 | 3.02 | 41.01 | 78.78 |
Settings /wp-admin/admin.php?page=quick-featured-images-settings | 1,025 | 2.00 | 22.57 | 36.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 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
- 19× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Quick_Featured_Images_Tools' not found in wp-content/plugins/quick-featured-images/admin/views/section_overview.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/quick-featured-images/admin/views/filter_post_types.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/quick-featured-images/admin/views/section_header.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/quick-featured-images/admin/views/section_image.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function includes_url() in wp-content/plugins/quick-featured-images/admin/views/section_defaults.php:13
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/quick-featured-images/admin/views/form_select.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/quick-featured-images/admin/views/form_confirm.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/quick-featured-images/admin/views/form_back_to_selection.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function current_theme_supports() in wp-content/plugins/quick-featured-images/admin/views/form_start.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/quick-featured-images/admin/views/form_refine.php:1
- > 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)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: featured image, thumbnails, automatic, featured images, bulk set
quick-featured-images/quick-featured-images.php 85% from 13 tests
"Quick Featured Images" version 13.7.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Domain Path: The domain path folder does not exist ("/languages")
- Description: Please keep the plugin description shorter than 140 characters (currently 148 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected4,959 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 511 | 2,626 | 4,325 |
Sass | 1 | 16 | 0 | 434 |
JavaScript | 3 | 58 | 62 | 181 |
CSS | 2 | 0 | 1 | 15 |
SVG | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 53.14 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 197.00 |
Average method complexity | 3.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 89.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 143 | |
▷ Static methods | 12 | 8.39% |
▷ Public methods | 85 | 59.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 58 | 40.56% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/no-file.png | 1.67KB | 1.41KB | ▼ 15.65% |
admin/assets/images/tick_icon_green.png | 6.63KB | 0.38KB | ▼ 94.27% |
admin/assets/images/ks_logo.png | 2.77KB | 1.66KB | ▼ 40.05% |
admin/assets/images/logo_pro.png | 13.35KB | 5.85KB | ▼ 56.15% |