Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼6.91ms] Passed 4 tests
Server-side resources used by RSS Image Resize
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 36.51 ▼9.14 |
Dashboard /wp-admin | 3.38 ▲0.03 | 45.88 ▼16.10 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.99 ▲0.22 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 89.68 ▼0.45 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 32.93 ▼1.95 |
RSS Image Resize /wp-admin/options-general.php?page=rss-image-resize | 3.25 | 27.98 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for RSS Image Resize
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.56 ▼0.44 | 4.59 ▲2.75 | 40.13 ▼2.17 |
Dashboard /wp-admin | 2,210 ▲22 | 4.84 ▼1.02 | 108.25 ▲1.18 | 41.65 ▲0.41 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.02 ▼0.03 | 40.13 ▼0.58 | 37.03 ▲0.49 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.33 ▼0.11 | 633.69 ▲17.36 | 48.93 ▼2.52 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.24 ▲0.00 | 97.37 ▼0.99 | 41.48 ▼2.81 |
RSS Image Resize /wp-admin/options-general.php?page=rss-image-resize | 859 | 2.03 | 21.91 | 29.90 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 9 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=rss-image-resize
- > Notice in wp-content/plugins/rss-image-resize/admin/class-rss-image-resize-admin.php+138
Trying to access array offset on value of type bool
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
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
2 plugin tags: rss, image
rss-image-resize/rss-image-resize.php Passed 13 tests
This is the main PHP file of "RSS Image Resize" version 2.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
59 characters long description:
Resize images in RSS feeds so they will fit in HTML emails.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected347 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 148 | 491 | 325 |
PO File | 1 | 3 | 3 | 22 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 1.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 2 | 6.25% |
▷ Public methods | 22 | 68.75% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 31.25% |
Functions | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin