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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.42MB] [CPU: ▼0.71ms] Passed 4 tests
Server-side resources used by Bulk images: Resize, optimize, webp, rename
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.88 ▲0.42 | 41.45 ▲2.18 |
Dashboard /wp-admin | 3.78 ▲0.43 | 48.33 ▼12.45 |
Posts /wp-admin/edit.php | 3.83 ▲0.47 | 50.73 ▲6.07 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.41 | 86.52 ▲3.78 |
Media Library /wp-admin/upload.php | 3.64 ▲0.41 | 39.78 ▲3.65 |
Bulk images /wp-admin/tools.php?page=bulk-images | 3.70 | 39.72 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 32 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
bir_monthly_stats |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bulk images: Resize, optimize, webp, rename
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲58 | 14.29 ▼0.32 | 1.74 ▲0.15 | 36.88 ▼1.78 |
Dashboard /wp-admin | 2,196 ▲22 | 5.54 ▼0.03 | 80.81 ▼3.82 | 39.17 ▼2.71 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.04 ▲0.07 | 32.90 ▼2.72 | 33.75 ▼2.85 |
Add New Post /wp-admin/post-new.php | 1,529 ▼15 | 23.38 ▲5.22 | 676.89 ▲23.10 | 66.86 ▼1.75 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.21 ▼0.04 | 93.21 ▼22.85 | 44.34 ▼2.96 |
Bulk images /wp-admin/tools.php?page=bulk-images | 1,462 | 3.28 | 67.05 | 50.49 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- bir_monthly_stats
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/bulk-image-resizer/admin/template/part-stat.php
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function bulk_image_resizer\\admin_url() in wp-content/plugins/bulk-image-resizer/admin/template/part-config.php:9
- > PHP Fatal error
Uncaught Error: Class 'bulk_image_resizer\\Bir_list_functions' not found in wp-content/plugins/bulk-image-resizer/admin/template/part-bulk.php:4
- > PHP Fatal error
Uncaught Error: Class 'bulk_image_resizer\\Bir_extends_functions' not found in wp-content/plugins/bulk-image-resizer/includes/class-bir-facade.php:7
- > PHP Fatal error
Uncaught Error: Class 'bulk_image_resizer\\Bir_extends_functions' not found in wp-content/plugins/bulk-image-resizer/includes/class-bir-optimize-function.php:7
- > PHP Fatal error
Uncaught Error: Class 'bulk_image_resizer\\Bir_extends_functions' not found in wp-content/plugins/bulk-image-resizer/includes/class-bir-list-function.php:11
- > PHP Fatal error
Uncaught Error: Class 'bulk_image_resizer\\Bir_extends_functions' not found in wp-content/plugins/bulk-image-resizer/includes/class-bir-rebuild-function.php:8
- > PHP Fatal error
Uncaught Error: Class 'bulk_image_resizer\\Bir_extends_functions' not found in wp-content/plugins/bulk-image-resizer/includes/class-bir-rename-function.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bulk-image-resizer/admin/template/part-doc.php:4
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: optimize, resize, pictures, webp, convert
bulk-image-resizer/bulk-image-resizer.php 92% from 13 tests
The main file in "Bulk images: Resize, optimize, webp, rename" v. 2.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 176 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin2,973 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 299 | 567 | 1,993 |
JavaScript | 2 | 86 | 107 | 557 |
CSS | 1 | 63 | 57 | 423 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 26.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 68.00 |
Average method complexity | 6.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 71 | |
▷ Static methods | 39 | 54.93% |
▷ Public methods | 67 | 94.37% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 5.63% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 5 | |
▷ Global constants | 5 | 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 were not PNG files found in your plugin