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.06MB] [CPU: ▼7.45ms] Passed 4 tests
This is a short check of server-side resources used by Letterbox Thumbnails
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 43.47 ▲2.22 |
Dashboard /wp-admin | 3.37 ▲0.03 | 49.97 ▼15.64 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 53.14 ▲1.20 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 88.90 ▼17.58 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 43.60 ▲8.28 |
Letterbox Thumbnails /wp-admin/options-general.php?page=letterbox-thumbnails-settings | 3.29 | 35.98 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
recovery_mode_email_last_sent |
Browser metrics Passed 4 tests
A check of browser resources used by Letterbox Thumbnails
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.68 ▼0.65 | 4.95 ▲2.90 | 43.73 ▼2.83 |
Dashboard /wp-admin | 2,213 ▲25 | 5.91 ▲0.03 | 107.24 ▲4.22 | 37.80 ▼9.65 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.98 ▼0.03 | 40.54 ▲5.17 | 37.85 ▲2.71 |
Add New Post /wp-admin/post-new.php | 1,517 ▼16 | 17.54 ▼5.49 | 689.13 ▲53.84 | 64.04 ▼3.57 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.32 ▲0.16 | 99.36 ▼5.41 | 43.96 ▼0.02 |
Letterbox Thumbnails /wp-admin/options-general.php?page=letterbox-thumbnails-settings | 895 | 2.07 | 45.66 | 24.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- recovery_mode_email_last_sent
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=letterbox-thumbnails-settings
- > Error in wp-content/plugins/letterbox-thumnails/templates/admin/settings.php+56
Uncaught Error: Call to undefined function IPA_Fields_Pack() in wp-content/plugins/letterbox-thumnails/templates/admin/settings.php:56
Stack trace:
#0 wp-content/plugins/letterbox-thumnails/includes/class-letterbox-thumbnails-functions.php(43): include()
#1 wp-content/plugins/letterbox-thumnails/includes/admin/class-letterbox-thumbnails-admin-menus-settings.php(26): LetterboxThumbnails_Functions->get_template()
#2 wp-content/plugins/letterbox-thumnails/includes/admin/class-letterbox-thumbnails-admin-menus.php(44): LetterboxThumbnails_Admin_Menus_Settings::output()
#3 wp-includes/class-wp-hook.php(310): LetterboxThumbnails_Admin_Menus->letterbox_thumbnails_settings_page()
#4 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#5 wp-includes/plugin.php(517): WP_Hook->do_action()
#6 wp-admin/admin.php(259): do_action()
#7 wp-admin/opti
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Donate link: Invalid URI ("")
letterbox-thumnails/letterbox-thumbnails.php 77% from 13 tests
Analyzing the main PHP file in "Letterbox Thumbnails" version 2.0.1
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("letterbox-thumnails.php" instead of "letterbox-thumbnails.php")
- Requires at least: Required version must match the one declared in readme.txt ("4.5.0" instead of "4.5")
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
Everything looks great! No dangerous files found in this plugin584 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 149 | 292 | 494 |
JavaScript | 1 | 16 | 1 | 67 |
Sass | 1 | 1 | 0 | 14 |
CSS | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 6.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 8 | 25.00% |
▷ Public methods | 27 | 84.38% |
▷ Protected methods | 1 | 3.12% |
▷ Private methods | 4 | 12.50% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
No PNG images were found in this plugin