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
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.24ms] Passed 4 tests
A check of server-side resources used by Taxonomy List Widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.67 ▲2.79 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.15 ▼10.38 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.97 ▲1.84 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 88.78 ▼13.76 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.42 ▼2.67 |
Server storage [IO: ▲0.04MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_taxonomy_list_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Taxonomy List Widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 13.17 ▼1.45 | 1.93 ▲0.17 | 46.70 ▲0.52 |
Dashboard /wp-admin | 2,218 ▲12 | 5.83 ▲0.93 | 97.31 ▼9.30 | 41.43 ▼1.57 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.03 | 36.67 ▼1.70 | 31.35 ▼9.42 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 22.95 ▲5.31 | 622.49 ▼51.83 | 55.66 ▼4.05 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.17 ▼0.16 | 94.54 ▼27.52 | 40.50 ▼8.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_taxonomy_list_widget
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tag-list-widget/taxonomy-list-widget.php:57
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: sidebar, widgets, tag, taxonomy, widget...
tag-list-widget/taxonomy-list-widget.php 85% from 13 tests
Analyzing the main PHP file in "Taxonomy List Widget" version 1.3.2
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 294 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("tag-list-widget.php" instead of "taxonomy-list-widget.php")
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
Success! There were no dangerous files found in this plugin441 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 128 | 176 | 441 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 44.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 7.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 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 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected