Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼6.59ms] Passed 4 tests
This is a short check of server-side resources used by Widget Display Filter
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 33.93 ▼4.51 |
Dashboard /wp-admin | 3.48 ▲0.14 | 47.92 ▼7.78 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 46.12 ▼5.45 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 82.41 ▼8.62 |
Media Library /wp-admin/upload.php | 3.40 ▲0.18 | 36.92 ▲5.46 |
Widget Display Filter /wp-admin/themes.php?page=widget_display_filter_manage_page | 3.39 | 38.29 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Widget Display Filter: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.23 ▼1.15 | 1.67 ▼0.47 | 37.74 ▼13.09 |
Dashboard /wp-admin | 2,210 ▲22 | 4.84 ▼0.04 | 101.71 ▼3.45 | 40.24 ▲1.05 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.02 ▼0.01 | 39.11 ▼2.67 | 35.54 ▼0.81 |
Add New Post /wp-admin/post-new.php | 1,538 ▼4 | 23.43 ▲5.05 | 689.81 ▲55.79 | 49.01 ▼2.73 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.19 ▼0.00 | 104.09 ▲5.17 | 44.25 ▲2.34 |
Widget Display Filter /wp-admin/themes.php?page=widget_display_filter_manage_page | 1,396 | 2.37 | 46.89 | 47.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: filter, conditional tags, widget, hide, widget group block
widget-display-filter/widget-display-filter.php 92% from 13 tests
The entry point to "Widget Display Filter" version 2.0.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
No dangerous file extensions were detected1,256 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 38 | 48 | 851 |
JavaScript | 1 | 6 | 6 | 180 |
PO File | 1 | 51 | 57 | 141 |
CSS | 1 | 11 | 1 | 84 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 106.50 |
▷ Minimum class complexity | 96.00 |
▷ Maximum class complexity | 117.00 |
Average method complexity | 11.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 80.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 | 21 | |
▷ Static methods | 6 | 28.57% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin