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
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.16ms] Passed 4 tests
Analyzing server-side resources used by Fr Thumbnails Folder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 38.93 ▼0.90 |
Dashboard /wp-admin | 3.38 ▲0.08 | 45.46 ▼6.69 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 49.34 ▲5.10 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 97.31 ▼3.14 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.39 ▲2.08 |
Delete Thumbnails /wp-admin/tools.php?page=fr_thumbnails_folder_delete_image_sizes | 3.27 | 32.01 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Fr Thumbnails Folder: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.45 ▲0.13 | 2.24 ▲0.69 | 44.52 ▼1.09 |
Dashboard /wp-admin | 2,210 ▲19 | 4.86 ▼1.04 | 122.04 ▲20.04 | 40.55 ▼3.29 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.02 ▲0.02 | 40.42 ▲5.12 | 34.71 ▲0.74 |
Add New Post /wp-admin/post-new.php | 1,536 ▲1 | 23.47 ▲0.26 | 633.52 ▼64.15 | 49.61 ▼3.44 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.22 ▲0.04 | 98.53 ▼11.80 | 42.73 ▼4.73 |
Delete Thumbnails /wp-admin/tools.php?page=fr_thumbnails_folder_delete_image_sizes | 790 | 2.02 | 26.95 | 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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/fr-thumbnails-folder/admin/partials/delete-image-sizes-tool-page.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Plugin Name: You should set the name of your plugin on the first line (
=== fr-thumbnails-folder ===
)
fr-thumbnails-folder/fr-thumbnails-folder.php 92% from 13 tests
The main PHP file in "Fr Thumbnails Folder" ver. 1.3.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 145 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin474 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 151 | 609 | 425 |
JavaScript | 1 | 20 | 98 | 49 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 8.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 66.67% |
▷ Protected methods | 7 | 17.95% |
▷ Private methods | 6 | 15.38% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin