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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.68ms] Passed 4 tests
This is a short check of server-side resources used by Thumbnail (image) size names and dimensions
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 44.96 ▲1.65 |
Dashboard /wp-admin | 3.32 ▲0.01 | 51.38 ▼8.95 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 54.17 ▲3.10 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 97.25 ▼0.04 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.07 ▲0.64 |
Image Sizes /wp-admin/tools.php?page=show-thumbnail-size-name | 3.21 | 36.18 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Thumbnail (image) size names and dimensions
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.27 ▼0.31 | 1.60 ▼0.36 | 40.63 ▼5.84 |
Dashboard /wp-admin | 2,199 ▲22 | 5.59 ▼0.02 | 92.94 ▼0.12 | 42.26 ▼2.32 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.02 ▲0.04 | 44.44 ▼0.51 | 36.64 ▲1.35 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.15 ▲0.08 | 698.10 ▼23.44 | 54.90 ▲1.24 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.17 ▼0.18 | 109.65 ▼8.40 | 46.61 ▲0.24 |
Image Sizes /wp-admin/tools.php?page=show-thumbnail-size-name | 845 | 2.08 | 26.95 | 36.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/show-thumbnail-sizes-name/show-thumbnail-sizes-name.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: thumbnail sizes name, image sizes dimension, thumbnail sizes, image sizes, thumbnail size...
show-thumbnail-sizes-name/show-thumbnail-sizes-name.php Passed 13 tests
The main PHP script in "Thumbnail (image) size names and dimensions" version 0.5.3 is automatically included on every request by WordPress
46 characters long description:
List of image size names of your installation.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin43 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 6 | 24 | 43 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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