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.11MB] [CPU: ▼2.93ms] Passed 4 tests
This is a short check of server-side resources used by Responsive Images
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 40.89 ▲1.29 |
Dashboard /wp-admin | 3.42 ▲0.11 | 55.68 ▲6.47 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 52.93 ▲2.72 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 86.56 ▼18.47 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 38.83 ▲2.75 |
Media Options /wp-admin/options-general.php?page=media-description | 3.28 | 33.83 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Responsive Images
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▼0.01 | 1.96 ▲0.31 | 44.98 ▲2.95 |
Dashboard /wp-admin | 2,199 ▲22 | 5.63 ▼0.01 | 86.85 ▼6.11 | 38.11 ▼2.60 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 2.00 ▼0.03 | 40.13 ▲1.89 | 36.46 ▼2.10 |
Add New Post /wp-admin/post-new.php | 1,540 ▼1 | 18.49 ▲0.28 | 643.45 ▼32.75 | 79.20 ▲20.00 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.20 ▼0.05 | 98.46 ▼4.18 | 43.72 ▲0.00 |
Media Options /wp-admin/options-general.php?page=media-description | 1,156 | 2.13 | 27.97 | 30.25 |
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 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=media-description
- > Notice in wp-content/plugins/change-responsive-images-rv/ChangeResponsiveImages.class.php+225
Undefined index: thumbnail
- 7 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=media-description
- > Notice in wp-content/plugins/change-responsive-images-rv/ChangeResponsiveImages.class.php+234
Undefined index: name
- 7 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=media-description
- > Notice in wp-content/plugins/change-responsive-images-rv/ChangeResponsiveImages.class.php+237
Undefined index: description
- 7 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=media-description
- > Notice in wp-content/plugins/change-responsive-images-rv/ChangeResponsiveImages.class.php+239
Undefined index: responsive
- 7 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=media-description
- > Notice in wp-content/plugins/change-responsive-images-rv/ChangeResponsiveImages.class.php+241
Undefined index: replaceable
- > GET request to /wp-admin/options-general.php?page=media-description
- > Notice in wp-content/plugins/change-responsive-images-rv/ChangeResponsiveImages.class.php+225
Undefined index: medium
- > GET request to /wp-admin/options-general.php?page=media-description
- > Notice in wp-content/plugins/change-responsive-images-rv/ChangeResponsiveImages.class.php+225
Undefined index: medium_large
- > GET request to /wp-admin/options-general.php?page=media-description
- > Notice in wp-content/plugins/change-responsive-images-rv/ChangeResponsiveImages.class.php+225
Undefined index: large
- > GET request to /wp-admin/options-general.php?page=media-description
- > Notice in wp-content/plugins/change-responsive-images-rv/ChangeResponsiveImages.class.php+225
Undefined index: 1536x1536
- > GET request to /wp-admin/options-general.php?page=media-description
- > Notice in wp-content/plugins/change-responsive-images-rv/ChangeResponsiveImages.class.php+225
Undefined index: 2048x2048
- > GET request to /wp-admin/options-general.php?page=media-description
- > Notice in wp-content/plugins/change-responsive-images-rv/ChangeResponsiveImages.class.php+225
Undefined index: post-thumbnail
- > GET request to /wp-admin/options-general.php?page=media-description
- > Notice in wp-content/plugins/change-responsive-images-rv/ChangeResponsiveImages.class.php+249
Undefined index: default_size_attr
- > GET request to /wp-admin/options-general.php?page=media-description
- > Notice in wp-content/plugins/change-responsive-images-rv/ChangeResponsiveImages.class.php+255
Undefined index: default_size_attr_in_loop
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/change-responsive-images-rv/change-responsive-images-rv.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function Packsystem\\is_admin() in wp-content/plugins/change-responsive-images-rv/ChangeResponsiveImages.class.php:8
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: images art direction, images, responsive, responsive images, customize images
change-responsive-images-rv/change-responsive-images-rv.php 92% from 13 tests
The main PHP script in "Responsive Images" version 1.1.3 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin407 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 80 | 90 | 376 |
PO File | 1 | 10 | 2 | 31 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 68.00 |
▷ Minimum class complexity | 68.00 |
▷ Maximum class complexity | 68.00 |
Average method complexity | 4.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin