Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.99ms] Passed 4 tests
An overview of server-side resources used by Force Regenerate Thumbnails
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 46.66 ▲5.09 |
Dashboard /wp-admin | 3.32 ▲0.01 | 47.67 ▼4.63 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.29 ▼4.05 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.54 ▼14.57 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.15 ▼4.71 |
Force Regenerate Thumbnails /wp-admin/tools.php?page=force-regenerate-thumbnails | 3.21 | 30.93 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Force Regenerate Thumbnails
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.72 ▲0.15 | 1.76 ▼1.32 | 43.08 ▼0.29 |
Dashboard /wp-admin | 2,202 ▲25 | 5.57 ▼0.09 | 91.82 ▼5.51 | 41.51 ▼1.85 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.03 ▲0.01 | 36.34 ▼0.66 | 34.20 ▼3.85 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 22.89 ▼0.30 | 674.82 ▲15.24 | 59.42 ▼1.71 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.20 ▼0.02 | 100.41 ▼0.62 | 43.01 ▼1.72 |
Force Regenerate Thumbnails /wp-admin/tools.php?page=force-regenerate-thumbnails | 831 | 1.91 | 35.02 | 27.48 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/force-regenerate-thumbnails/force-regenerate-thumbnails.php:36
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/tools.php?page=force-regenerate-thumbnails
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-progressbar&ver=6.3.1 1:28609 "jQuery.Deferred exception: regen_thumbs is not defined" "ReferenceError: regen_thumbs is not defined\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/force-regenerate-thumbnails/assets/regen.js?ver=213:3:18)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-progressbar&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-progressbar&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/tools.php?page=force-regenerate-thumbnails
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-progressbar&ver=6.3.1 1:28721 Uncaught ReferenceError: regen_thumbs is not defined
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: regenerate thumbnails, thumbnail, force, thumbnails
force-regenerate-thumbnails/force-regenerate-thumbnails.php Passed 13 tests
This is the main PHP file of "Force Regenerate Thumbnails" version 2.1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
55 characters long description:
Delete and REALLY force the regeneration of thumbnails.
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
No dangerous file extensions were detected1,089 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 107 | 256 | 662 |
CSS | 1 | 7 | 21 | 301 |
JavaScript | 1 | 15 | 7 | 82 |
XML | 1 | 5 | 0 | 22 |
YAML | 1 | 8 | 0 | 22 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 154.00 |
▷ Minimum class complexity | 154.00 |
▷ Maximum class complexity | 154.00 |
Average method complexity | 10.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 75.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 | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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
There are no PNG files in this plugin