Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼3.11ms] Passed 4 tests
A check of server-side resources used by Resize Post Thumbnails
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 42.16 ▼6.25 |
Dashboard /wp-admin | 3.49 ▲0.19 | 56.29 ▲5.05 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 55.52 ▲2.97 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.17 | 88.48 ▼14.22 |
Media Library /wp-admin/upload.php | 3.39 ▲0.17 | 43.21 ▲10.33 |
Resize Post Thumbnails /wp-admin/plugins.php?page=resize_post_thumbnails | 3.39 | 41.65 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Resize Post Thumbnails
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,966 ▲220 | 15.22 ▲0.48 | 1.84 ▲0.05 | 40.84 ▼1.95 |
Dashboard /wp-admin | 2,347 ▲162 | 6.43 ▲0.62 | 127.86 ▲26.28 | 39.09 ▼4.93 |
Posts /wp-admin/edit.php | 2,253 ▲161 | 3.38 ▲1.33 | 55.88 ▲15.48 | 34.51 ▼4.56 |
Add New Post /wp-admin/post-new.php | 1,670 ▲137 | 22.02 ▼1.07 | 646.39 ▲24.96 | 39.22 ▼5.29 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.28 ▲0.09 | 83.88 ▼26.62 | 45.26 ▲3.30 |
Resize Post Thumbnails /wp-admin/plugins.php?page=resize_post_thumbnails | 1,155 | 3.17 | 49.78 | 28.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% 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)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/plugins.php?page=resize_post_thumbnails
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at Object.init (/wp-content/plugins/resize-post-thumbnails/includes/admin/js/admin-menu.js?ver=1.2:44:53)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/resize-post-thumbnails/includes/admin/js/admin-menu.js?ver=1.2:114:75)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&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,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/plugins.php?page=resize_post_thumbnails
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28721 Uncaught TypeError: $(...).live is not a function
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: thumbnails, image, resize, featured
resize-post-thumbnails/resize-post-thumbnails.php Passed 13 tests
The principal PHP file in "Resize Post Thumbnails" v. 1.2 is loaded by WordPress automatically on each request
107 characters long description:
This plugin will resize post thumbnails on the fly. (Go to: Dashboard -> Plugins -> Resize Post Thumbnails)
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
There were no executable files found in this plugin1,469 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 393 | 118 | 1,159 |
CSS | 1 | 48 | 0 | 234 |
JavaScript | 1 | 25 | 14 | 76 |
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.56 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 3 | |
▷ Static methods | 1 | 33.33% |
▷ Public methods | 1 | 33.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 66.67% |
Functions | 29 | |
▷ Named functions | 29 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin