Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.31ms] Passed 4 tests
An overview of server-side resources used by WordPress SEO Images
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 40.65 ▼0.59 |
Dashboard /wp-admin | 3.34 ▲0.03 | 47.29 ▲0.83 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 41.96 ▼4.33 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 82.01 ▼17.16 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.42 ▲2.22 |
SEO Images /wp-admin/options-general.php?page=wp-seo-images | 3.23 | 27.94 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WordPress SEO Images: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,889 ▲143 | 13.74 ▼0.57 | 5.52 ▲3.72 | 44.94 ▲2.30 |
Dashboard /wp-admin | 2,212 ▲24 | 4.89 ▼0.99 | 98.54 ▼10.34 | 37.70 ▼5.02 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.05 ▲0.01 | 34.90 ▼8.13 | 31.91 ▼4.08 |
Add New Post /wp-admin/post-new.php | 1,611 ▲83 | 23.70 ▲5.68 | 685.11 ▲38.90 | 58.07 ▼1.91 |
Media Library /wp-admin/upload.php | 1,397 ▲6 | 4.26 ▲0.07 | 94.74 ▼8.44 | 41.42 ▼2.33 |
SEO Images /wp-admin/options-general.php?page=wp-seo-images | 847 | 2.04 | 23.29 | 31.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=wp-seo-images
- > Notice in wp-content/plugins/wp-seo-images/update_options.php+22
Undefined variable: qselect_watermark_text
- > GET request to /wp-admin/options-general.php?page=wp-seo-images
- > Notice in wp-content/plugins/wp-seo-images/update_options.php+22
Trying to get property 'wgi_text' of non-object
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wp-seo-images/update_options.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wp-seo-images/wp-seo-images.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: google images, seo google-images, seo images, wordpress seo images
wp-seo-images/wp-seo-images.php Passed 13 tests
The entry point to "WordPress SEO Images" version 1.1 is a PHP file that has certain tags in its header comment area
90 characters long description:
SEO image Manager, Improve google images ranking, developed by AdrenalinaIG + Interdigital
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
Good job! No executable or dangerous file extensions detected211 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 37 | 8 | 193 |
JavaScript | 1 | 3 | 1 | 18 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 3 | |
▷ Static methods | 3 | 100.00% |
▷ Public methods | 1 | 33.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 66.67% |
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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.06MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) assets/screenshot-2.png | 25.06KB | 0.00KB | ▼ 100.00% |
assets/screenshot-1.png | 40.93KB | 12.37KB | ▼ 69.77% |