Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼5.67ms] Passed 4 tests
This is a short check of server-side resources used by Taxonomy filter
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 45.00 ▲1.39 |
Dashboard /wp-admin | 3.43 ▲0.12 | 53.77 ▼3.51 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 49.87 ▼3.05 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 87.75 ▼17.10 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 40.24 ▲0.98 |
Taxonomy filter /wp-admin/options-general.php?page=taxonomy_filter | 3.32 | 35.22 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
taxonomy_filter |
Browser metrics Passed 4 tests
A check of browser resources used by Taxonomy filter
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲12 | 14.31 ▼0.05 | 1.79 ▼0.49 | 42.96 ▼2.15 |
Dashboard /wp-admin | 2,204 ▲30 | 5.54 ▼0.07 | 95.32 ▼5.15 | 43.26 ▼1.37 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.04 ▲0.05 | 40.05 ▲4.50 | 37.11 ▼2.19 |
Add New Post /wp-admin/post-new.php | 1,551 ▲6 | 23.33 ▲0.18 | 653.01 ▼12.89 | 60.66 ▲8.34 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.31 ▲0.07 | 96.79 ▼23.34 | 41.67 ▼5.86 |
Taxonomy filter /wp-admin/options-general.php?page=taxonomy_filter | 894 | 2.07 | 27.04 | 25.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 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
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/taxonomy-filter/taxonomy-filter.php
- 3× 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/taxonomy-filter/taxonomy-filter-users.php:92
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/taxonomy-filter/taxonomy-filter-bulks.php:45
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/taxonomy-filter/taxonomy-filter-settings.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (Settings admin page), #2 (Filter tags (initial list before filtering and filtered list)), #3 (Filter categories (initial list before filtering and filtered list)), #4 (Bulk edit section), #5 (User hidden taxonomy terms selection)
taxonomy-filter/taxonomy-filter.php 85% from 13 tests
The entry point to "Taxonomy filter" version 2.2.9 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 142 characters long)
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
Success! There were no dangerous files found in this plugin5,549 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 4,754 |
PHP | 7 | 106 | 269 | 615 |
PO File | 1 | 31 | 71 | 92 |
CSS | 1 | 8 | 2 | 88 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon32.png | 1.28KB | 1.02KB | ▼ 20.35% |