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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.52MB] [CPU: ▲3.70ms] Passed 4 tests
An overview of server-side resources used by Ultimate Post Thumbnails
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.04 ▲0.57 | 55.06 ▲14.50 |
Dashboard /wp-admin | 3.86 ▲0.55 | 54.27 ▼0.29 |
Posts /wp-admin/edit.php | 3.91 ▲0.55 | 57.52 ▲5.01 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.50 | 92.57 ▼2.64 |
Media Library /wp-admin/upload.php | 3.72 ▲0.48 | 47.64 ▲12.73 |
Thumbnails /wp-admin/options-general.php?page=upt-options | 3.95 | 43.71 |
About Ultimate Post Thumbnails /wp-admin/index.php?page=upt-about | 3.68 | 43.17 |
Server storage [IO: ▲5.94MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 262 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
upt_version |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ultimate Post Thumbnails
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,962 ▲201 | 13.82 ▼0.80 | 12.26 ▲10.30 | 37.75 ▼5.03 |
Dashboard /wp-admin | 2,240 ▲63 | 4.97 ▼0.61 | 98.23 ▲0.40 | 41.62 ▲1.36 |
Posts /wp-admin/edit.php | 2,156 ▲56 | 2.40 ▲0.37 | 42.36 ▲6.45 | 33.87 ▼1.16 |
Add New Post /wp-admin/post-new.php | 1,567 ▲39 | 23.20 ▼0.17 | 624.58 ▼71.82 | 33.87 ▼18.10 |
Media Library /wp-admin/upload.php | 1,451 ▲57 | 4.58 ▲0.29 | 101.68 ▲0.96 | 44.19 ▲1.04 |
Thumbnails /wp-admin/options-general.php?page=upt-options | 1,383 | 3.47 | 62.46 | 48.93 |
About Ultimate Post Thumbnails /wp-admin/index.php?page=upt-about | 939 | 2.25 | 28.67 | 66.57 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- upt_version
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== ultimate-post-thumbnails ===
)
ultimate-post-thumbnails/ultimate-post-thumbnails.php 92% from 13 tests
This is the main PHP file of "Ultimate Post Thumbnails" version 2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 243 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected44,416 lines of code in 141 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 24 | 1,977 | 307 | 20,893 |
JavaScript | 31 | 2,812 | 1,727 | 10,211 |
LESS | 47 | 1,238 | 1,264 | 5,955 |
SVG | 6 | 0 | 3 | 3,574 |
PHP | 31 | 770 | 745 | 3,470 |
HTML | 1 | 120 | 1 | 235 |
Markdown | 1 | 30 | 0 | 78 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 29.45 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 4.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 1 | 9.09% |
▷ Concrete classes | 10 | 90.91% |
▷ Final classes | 0 | 0.00% |
Methods | 93 | |
▷ Static methods | 9 | 9.68% |
▷ Public methods | 92 | 98.92% |
▷ Protected methods | 1 | 1.08% |
▷ Private methods | 0 | 0.00% |
Functions | 100 | |
▷ Named functions | 100 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 0% from 2 tests
Image compression 0% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
67 PNG files occupy 0.88MB with 0.62MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
common/lib/prettyphoto/images/prettyPhoto/light_square/btnNext.png | 1.38KB | 1.14KB | ▼ 17.29% |
(invalid) common/lib/colorpicker/images/colorpicker_hsb_h.png | 0.99KB | 0.00KB | ▼ 100.00% |
(invalid) common/lib/colorpicker/images/custom_hsb_h.png | 0.95KB | 0.00KB | ▼ 100.00% |
common/lib/prettyphoto/images/prettyPhoto/dark_square/sprite.png | 3.42KB | 2.13KB | ▼ 37.67% |
(invalid) common/lib/colorpicker/images/select.png | 0.49KB | 0.00KB | ▼ 100.00% |