Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/taxonomy-thumbnail-widget/lib/taxonomy_widget.php+2
Function create_function() is deprecated
Server metrics [RAM: ▼1.84MB] [CPU: ▼48.18ms] Passed 4 tests
This is a short check of server-side resources used by Taxonomy Thumbnail and Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.14 ▼1.32 | 5.17 ▼32.80 |
Dashboard /wp-admin | 2.17 ▼1.14 | 6.40 ▼39.30 |
Posts /wp-admin/edit.php | 2.17 ▼1.19 | 5.86 ▼38.28 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.72 | 6.87 ▼82.33 |
Media Library /wp-admin/upload.php | 2.17 ▼1.07 | 6.66 ▼27.41 |
TTW Information /wp-admin/admin.php?page=ttw_info | 2.17 | 6.98 |
TTW Settings /wp-admin/admin.php?page=ttw_manager | 2.17 | 7.83 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_taxonomytermlist |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Taxonomy Thumbnail and Widget
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,962 ▲201 | 14.75 ▲0.39 | 1.55 ▼0.14 | 40.85 ▼2.13 |
Dashboard /wp-admin | 2,354 ▲174 | 6.19 ▲0.52 | 102.50 ▲11.19 | 82.35 ▲41.79 |
Posts /wp-admin/edit.php | 2,297 ▲194 | 3.36 ▲1.39 | 47.11 ▲4.69 | 69.55 ▲31.37 |
Add New Post /wp-admin/post-new.php | 1,560 ▲34 | 23.06 ▼0.45 | 615.76 ▼86.81 | 33.71 ▼18.28 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.18 ▼0.04 | 81.30 ▼12.05 | 79.22 ▲36.14 |
TTW Information /wp-admin/admin.php?page=ttw_info | 1,190 | 3.13 | 38.97 | 65.57 |
TTW Settings /wp-admin/admin.php?page=ttw_manager | 1,080 | 3.20 | 44.61 | 54.51 |
Uninstaller [IO: ▲0.33MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attentionThis plugin did not uninstall successfully, leaving 7 options in the database
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/taxonomy-thumbnail-widget/lib/taxonomy_widget.php+2
Function create_function() is deprecated
- The plugin did not uninstall correctly, leaving 19 files (0.33MB) in the plugin directory
- (new file) img/multiple-select.png
- (new file) css/taxonomymanager_admin.css
- (new file) img/tax-setting.png
- (new file) js/taxonomymanager.js
- (new file) css/multiple-select.css
- (new file) js/multiple-select.js
- (new file) img/placeholder.png
- (new file) img/ttwsetting.png
- (new file) lib/taxonomy_widget.php
- (new file) css/taxonomymanager.css
- ...
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_taxonomytermlist
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ttw_manager
- > Deprecated in wp-content/plugins/taxonomy-thumbnail-widget/lib/taxonomy_widget.php+2
Function create_function() is deprecated
SRP 0% from 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
Please take a closer look at the following
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/taxonomy-thumbnail-widget/taxonomy-thumbnail-widget.php
- > /wp-content/plugins/taxonomy-thumbnail-widget/lib/ttw_globaluse.php
- > /wp-content/plugins/taxonomy-thumbnail-widget/uninstall.php
- > /wp-content/plugins/taxonomy-thumbnail-widget/lib/taxonomymanager.php
- > /wp-content/plugins/taxonomy-thumbnail-widget/lib/ttw_shortcode.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_remote_post() in wp-content/plugins/taxonomy-thumbnail-widget/lib/ttw_information.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/taxonomy-thumbnail-widget/lib/taxonomy_widget.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
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
Attributes that require attention:
- Donate link: Invalid url: "#"
taxonomy-thumbnail-widget/taxonomy-thumbnail-widget.php 92% from 13 tests
The main PHP file in "Taxonomy Thumbnail and Widget" ver. 1.5.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 150 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected1,879 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 99 | 26 | 741 |
PHP | 7 | 75 | 127 | 735 |
CSS | 3 | 65 | 6 | 403 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 29 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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 Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.24MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 156.24KB | 58.30KB | ▼ 62.68% |
img/multiple-select.png | 3.30KB | 0.62KB | ▼ 81.18% |
img/ttwsetting.png | 0.65KB | 0.71KB | 0.00% |
img/placeholder.png | 22.43KB | 17.70KB | ▼ 21.10% |
screenshot-1.png | 62.64KB | 32.47KB | ▼ 48.17% |