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
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/multisite-taxonomy-widget/MultisiteTaxonomyWidget.php+181
Function create_function() is deprecated
Server metrics [RAM: ▼1.89MB] [CPU: ▼56.90ms] Passed 4 tests
A check of server-side resources used by Multisite Taxonomy Widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 4.80 ▼36.67 |
Dashboard /wp-admin | 2.11 ▼1.19 | 6.33 ▼46.95 |
Posts /wp-admin/edit.php | 2.11 ▼1.24 | 5.65 ▼46.37 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.77 | 5.43 ▼97.62 |
Media Library /wp-admin/upload.php | 2.11 ▼1.11 | 5.51 ▼31.14 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_mtw |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Multisite Taxonomy Widget
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.23 ▼1.21 | 1.85 ▲0.01 | 46.96 ▲2.86 |
Dashboard /wp-admin | 2,206 ▲21 | 4.88 ▼0.95 | 103.07 ▼2.54 | 41.21 ▼3.95 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.99 ▼0.03 | 36.97 ▼4.18 | 39.09 ▲1.12 |
Add New Post /wp-admin/post-new.php | 1,514 ▼5 | 17.76 ▼5.08 | 680.91 ▲64.12 | 57.98 ▼7.92 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.24 ▲0.02 | 103.54 ▼5.78 | 45.57 ▲0.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/multisite-taxonomy-widget/MultisiteTaxonomyWidget.php+181
Function create_function() is deprecated
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_mtw
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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 fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/multisite-taxonomy-widget/MultisiteTaxonomyWidget.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: multisite, taxonomy, widget, recent posts, tag...
multisite-taxonomy-widget/MultisiteTaxonomyWidget.php 92% from 13 tests
"Multisite Taxonomy Widget" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("multisite-taxonomy-widget.php" instead of "MultisiteTaxonomyWidget.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin264 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 46 | 160 | 202 |
PO File | 2 | 12 | 12 | 62 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 4.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 7 | |
▷ Named functions | 7 | 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