Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.39MB] [CPU: ▼3.82ms] Passed 4 tests
Analyzing server-side resources used by Beautiful taxonomy filters
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.89 ▲0.43 | 48.33 ▲7.91 |
Dashboard /wp-admin | 3.73 ▲0.43 | 45.61 ▲0.33 |
Posts /wp-admin/edit.php | 3.78 ▲0.42 | 47.89 ▼1.17 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.36 | 82.34 ▼16.99 |
Media Library /wp-admin/upload.php | 3.59 ▲0.36 | 37.07 ▲2.54 |
Taxonomy Filters /wp-admin/options-general.php?page=taxonomy-filters | 3.60 | 39.22 |
Server storage [IO: ▲0.72MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 141 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_beautiful-taxonomy-filters-info-widget |
can_compress_scripts |
widget_theysaidso_widget |
beautiful_taxonomy_filters_version |
theysaidso_admin_options |
widget_beautiful-taxonomy-filters-widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Beautiful taxonomy filters
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,907 ▲136 | 14.11 ▼0.27 | 12.70 ▲10.78 | 44.00 ▲4.86 |
Dashboard /wp-admin | 2,204 ▲27 | 5.82 ▲0.93 | 99.33 ▼2.01 | 36.62 ▼15.49 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.16 ▲0.12 | 36.33 ▼6.09 | 32.19 ▼5.55 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.27 ▲0.09 | 675.74 ▲40.88 | 56.92 ▲8.23 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.26 ▲0.06 | 94.47 ▼5.89 | 42.58 ▼3.12 |
Taxonomy Filters /wp-admin/options-general.php?page=taxonomy-filters | 917 | 2.05 | 22.33 | 32.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 9 options in the database
- widget_beautiful-taxonomy-filters-widget
- widget_recent-comments
- beautiful_taxonomy_filters_version
- widget_beautiful-taxonomy-filters-info-widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
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 no errors were found, this is by no means an exhaustive test
SRP 50% 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
Please fix the following
- 23× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/beautiful-taxonomy-filters/widgets/beautiful-taxonomy-filters-widget.php:10
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/beautiful-taxonomy-filters/widgets/beautiful-taxonomy-filters-info-widget.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/beautiful-taxonomy-filters/admin/partials/advanced/hide-empty-settings-display.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_taxonomies() in wp-content/plugins/beautiful-taxonomy-filters/admin/partials/basic/taxonomies-settings-display.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/beautiful-taxonomy-filters/admin/partials/advanced/clear-all-settings-display.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/beautiful-taxonomy-filters/admin/partials/basic/styles-settings-display.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/beautiful-taxonomy-filters/admin/partials/advanced/disable-select2-settings-display.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_types() in wp-content/plugins/beautiful-taxonomy-filters/admin/partials/basic/post_type-settings-display.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/beautiful-taxonomy-filters/admin/partials/help/help.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/beautiful-taxonomy-filters/admin/partials/advanced/conditional-dropdowns-settings-display.php:14
- > PHP Fatal error
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (20 tag instead of maximum 10)
beautiful-taxonomy-filters/beautiful-taxonomy-filters.php Passed 13 tests
Analyzing the main PHP file in "Beautiful taxonomy filters" version 2.4.3
107 characters long description:
Supercharges your custom post type archives by letting visitors filter the posts by their terms/categories.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin5,585 lines of code in 118 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 13 | 722 | 940 | 2,316 |
PHP | 38 | 529 | 1,287 | 1,824 |
CSS | 10 | 55 | 67 | 840 |
JavaScript | 57 | 226 | 177 | 605 |
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.42 |
Average class complexity | 19.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 4.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 73 | |
▷ Static methods | 6 | 8.22% |
▷ Public methods | 66 | 90.41% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 9.59% |
Functions | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
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
3 PNG files occupy 0.05MB with 0.04MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/logo-b.png | 23.48KB | 15.82KB | ▼ 32.65% |
public/css/select2x2.png | 15.40KB | 0.80KB | ▼ 94.83% |
public/css/select2.png | 15.22KB | 1.03KB | ▼ 93.24% |