Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/taxonomies-widget/widget-taxonomies.php+10
Methods with the same name as their class will not be constructors in a future version of PHP; vh_taxonomy_cat has a deprecated constructor
Server metrics [RAM: ▼1.91MB] [CPU: ▼55.57ms] Passed 4 tests
An overview of server-side resources used by Taxonomies Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 4.53 ▼37.05 |
Dashboard /wp-admin | 2.09 ▼1.21 | 10.20 ▼46.42 |
Posts /wp-admin/edit.php | 2.09 ▼1.26 | 6.40 ▼40.72 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.79 | 5.87 ▼98.09 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 4.78 ▼34.16 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_taxonomy-cat-widget |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Taxonomies Widget: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.41 ▲0.06 | 1.86 ▼0.09 | 45.22 ▲4.40 |
Dashboard /wp-admin | 2,195 ▲24 | 5.63 ▼0.02 | 88.81 ▲2.64 | 38.82 ▼7.24 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.96 ▼0.01 | 35.14 ▲0.35 | 32.63 ▼11.32 |
Add New Post /wp-admin/post-new.php | 1,536 ▲1 | 22.98 ▲4.86 | 637.18 ▼51.52 | 49.21 ▼35.90 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.20 ▼0.02 | 98.15 ▼4.27 | 43.60 ▼5.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/taxonomies-widget/widget-taxonomies.php+10
Methods with the same name as their class will not be constructors in a future version of PHP; vh_taxonomy_cat has a deprecated constructor
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_taxonomy-cat-widget
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
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 | 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× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/taxonomies-widget/widget-taxonomies.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
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:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Admin Widget.), #2 (Visiable in frontend Sidebar.)
taxonomies-widget/widget-taxonomies.php 92% from 13 tests
Analyzing the main PHP file in "Taxonomies Widget" version 1.0
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("taxonomies-widget.php" instead of "widget-taxonomies.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin69 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 5 | 8 | 69 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 15.12KB | 5.75KB | ▼ 61.99% |
screenshot-2.png | 7.83KB | 2.70KB | ▼ 65.57% |