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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼6.64ms] Passed 4 tests
Server-side resources used by FPW Category Thumbnails
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 40.24 ▲1.28 |
Dashboard /wp-admin | 3.45 ▲0.10 | 47.16 ▼13.49 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 51.15 ▲2.36 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 94.52 ▼15.04 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 38.61 ▲0.69 |
FPW Category Thumbnails /wp-admin/themes.php?page=fpw-category-thumbnails | 3.42 | 40.04 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 42 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
category_children |
fpw_category_thumb_map |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for FPW Category Thumbnails
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 14.51 ▲0.11 | 1.72 ▲0.00 | 42.66 ▲1.24 |
Dashboard /wp-admin | 2,224 ▲39 | 5.86 ▼0.02 | 108.13 ▲4.78 | 42.07 ▼5.03 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.05 ▲0.04 | 39.57 ▼3.04 | 33.82 ▼0.23 |
Add New Post /wp-admin/post-new.php | 1,544 ▲11 | 23.11 ▲0.03 | 653.16 ▲24.44 | 53.18 ▼11.66 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.21 ▼0.03 | 95.94 ▼19.99 | 42.86 ▼4.37 |
FPW Category Thumbnails /wp-admin/themes.php?page=fpw-category-thumbnails | 1,314 | 2.09 | 36.63 | 26.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-posts
- category_children
- widget_recent-comments
- fpw_category_thumb_map
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following items
- 22× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/fpw-category-thumbnails/help/fpthelp.php
- > /wp-content/plugins/fpw-category-thumbnails/ajax/getimageid.php
- > /wp-content/plugins/fpw-category-thumbnails/ajax/fptupdate.php
- > /wp-content/plugins/fpw-category-thumbnails/classes/fpw-category-thumbnails-class.php
- > /wp-content/plugins/fpw-category-thumbnails/ajax/remove.php
- > /wp-content/plugins/fpw-category-thumbnails/scripts/enqueuepointerscripts.php
- > /wp-content/plugins/fpw-category-thumbnails/scripts/fptenqueuepointerscripts.php
- > /wp-content/plugins/fpw-category-thumbnails/code/table.php
- > /wp-content/plugins/fpw-category-thumbnails/ajax/restore.php
- > /wp-content/plugins/fpw-category-thumbnails/help/help.php
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #1 (FPW Post Thumbnails - Settings - JavaScript off) image not found
fpw-category-thumbnails/fpw-category-thumbnails.php 92% from 13 tests
This is the main PHP file of "FPW Category Thumbnails" version 1.9.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
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
There were no executable files found in this plugin3,452 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 306 | 217 | 2,599 |
JavaScript | 6 | 79 | 64 | 801 |
CSS | 1 | 9 | 1 | 52 |
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.33 |
Average class complexity | 65.40 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 138.00 |
Average method complexity | 5.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 72 | |
▷ Static methods | 2 | 2.78% |
▷ Public methods | 63 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 12.50% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/Thumbs_Up.png | 57.42KB | 16.54KB | ▼ 71.20% |