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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.82ms] Passed 4 tests
Server-side resources used by Auto Smart Thumbnails
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.64 ▲5.09 |
Dashboard /wp-admin | 3.32 ▼0.02 | 49.10 ▼8.91 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 45.53 ▼2.11 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 82.26 ▼18.27 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.38 ▲2.00 |
Auto Smart Thumbnails /wp-admin/options-general.php?page=auto-smart-thumbnails | 3.21 | 30.68 |
Auto Smart Thumbnails /wp-admin/tools.php?page=auto-smart-thumbnails | 3.22 | 32.05 |
Server storage [IO: ▲0.76MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Auto Smart Thumbnails: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲37 | 13.23 ▼1.14 | 1.83 ▼0.26 | 43.74 ▼1.15 |
Dashboard /wp-admin | 2,214 ▲26 | 5.80 ▲0.86 | 98.93 ▼12.89 | 38.78 ▼5.29 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.06 ▲0.01 | 33.68 ▼3.02 | 33.83 ▼1.09 |
Add New Post /wp-admin/post-new.php | 1,540 ▲21 | 22.91 ▼0.06 | 649.92 ▲36.50 | 60.14 ▲10.31 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.23 ▲0.06 | 109.62 ▲8.95 | 47.35 ▲4.57 |
Auto Smart Thumbnails /wp-admin/options-general.php?page=auto-smart-thumbnails | 773 | 2.06 | 24.35 | 25.00 |
Auto Smart Thumbnails /wp-admin/tools.php?page=auto-smart-thumbnails | 790 | 2.19 | 23.66 | 27.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/auto-smart-thumbnails/inc/class-ast-resize-image.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/auto-smart-thumbnails/inc/class-ast-remove-image-sizes.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/auto-smart-thumbnails/auto-smart-thumbnails.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Donate link: Please fix this invalid url: "none"
auto-smart-thumbnails/auto-smart-thumbnails.php Passed 13 tests
This is the main PHP file of "Auto Smart Thumbnails" version 1.1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
98 characters long description:
Create thumbnails on demand with face detection. Remove unused thumbnails. Free up server storage.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin1,137 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 324 | 237 | 957 |
JavaScript | 1 | 43 | 7 | 100 |
PO File | 2 | 12 | 12 | 72 |
CSS | 1 | 1 | 0 | 8 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 27.17 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 5.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 4 | 10.53% |
▷ Public methods | 27 | 71.05% |
▷ Protected methods | 4 | 10.53% |
▷ Private methods | 7 | 18.42% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin