Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼5.93ms] Passed 4 tests
Server-side resources used by SEO Quick Images
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 35.67 ▲0.26 |
Dashboard /wp-admin | 3.52 ▲0.21 | 45.73 ▼7.68 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 51.07 ▲2.94 |
Add New Post /wp-admin/post-new.php | 5.65 ▼0.24 | 78.74 ▼15.13 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 34.31 ▼1.15 |
Images /wp-admin/admin.php?page=seo-images | 3.41 | 31.72 |
SEO Plugins /wp-admin/admin.php?page=wp-seo-plugins-login | 3.42 | 32.90 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
seo_images_show_author |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
SEO Quick Images: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.72 ▲0.10 | 1.57 ▲0.02 | 40.63 ▲4.50 |
Dashboard /wp-admin | 2,225 ▲47 | 5.63 ▼0.02 | 90.73 ▼29.98 | 43.34 ▼2.50 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.99 ▼0.03 | 39.23 ▼1.30 | 36.86 ▼2.98 |
Add New Post /wp-admin/post-new.php | 6,480 ▲4,954 | 26.03 ▲2.67 | 855.24 ▲186.34 | 139.32 ▲83.18 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.15 ▼0.04 | 96.22 ▼1.86 | 43.71 ▼0.49 |
Images /wp-admin/admin.php?page=seo-images | 844 | 2.03 | 24.51 | 25.54 |
SEO Plugins /wp-admin/admin.php?page=wp-seo-plugins-login | 957 | 1.97 | 22.60 | 22.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- seo_images_show_author
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- 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
Good news, no errors were detected
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
The following issues need your attention
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/seo-quick-images/view/seoImagesSettings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/seo-quick-images/view/settings.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-quick-images/wp_seo_plugins.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Donate link: Please fix this invalid url: ""
seo-quick-images/seo_images.php 85% from 13 tests
The primary PHP file in "SEO Quick Images" version 1.4.2 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 142 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("seo-quick-images.php" instead of "seo_images.php")
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 plugin2,211 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 165 | 99 | 1,267 |
JavaScript | 1 | 111 | 129 | 831 |
CSS | 1 | 5 | 1 | 113 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 44.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 128.00 |
Average method complexity | 4.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 14.29% |
Functions | 12 | |
▷ Named functions | 8 | 66.67% |
▷ Anonymous functions | 4 | 33.33% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin