Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.87ms] Passed 4 tests
Server-side resources used by Advanced Filter Plugin for WooCommerce - Filter Plus
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.46 ▼8.58 |
Dashboard /wp-admin | 3.33 ▲0.02 | 53.44 ▼10.06 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 56.63 ▲2.69 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 117.92 ▲17.37 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.07 ▲4.49 |
Filter Plus /wp-admin/admin.php?page=filter_plus | 3.22 | 42.86 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Advanced Filter Plugin for WooCommerce - Filter Plus
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,031 ▲245 | 14.03 ▼0.13 | 14.07 ▲11.86 | 45.64 ▼10.12 |
Dashboard /wp-admin | 2,294 ▲117 | 5.58 ▼0.03 | 85.88 ▼20.13 | 38.99 ▼17.55 |
Posts /wp-admin/edit.php | 2,202 ▲102 | 2.02 ▲0.02 | 43.58 ▲2.55 | 40.30 ▼1.09 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 23.12 ▼0.34 | 692.32 ▼21.11 | 65.76 ▲11.26 |
Media Library /wp-admin/upload.php | 1,495 ▲92 | 4.14 ▼0.09 | 117.33 ▲18.06 | 49.72 ▲7.08 |
Filter Plus /wp-admin/admin.php?page=filter_plus | 1,065 | 2.18 | 30.31 | 42.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 fix the following items
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/filter-plus/templates/search-filter/template-1/left-side/filter-layout-attr-grid.php
- > /wp-content/plugins/filter-plus/templates/search-filter/template-2/left-side/filter-param.php
- > /wp-content/plugins/filter-plus/templates/search-filter/template-2/left-side/categories.php
- > /wp-content/plugins/filter-plus/templates/search-filter/template-1/left-side/filter-param.php
- > /wp-content/plugins/filter-plus/templates/search-filter/template-1/right-side/sort-bar.php
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Trait 'FilterPlus\\Utils\\Singleton' not found in wp-content/plugins/filter-plus/core/core.php on line 12
- > PHP Fatal error
Trait 'FilterPlus\\Utils\\Singleton' not found in wp-content/plugins/filter-plus/core/frontend/search-filter/actions.php on line 12
- > PHP Fatal error
Trait 'FilterPlus\\Utils\\Singleton' not found in wp-content/plugins/filter-plus/core/frontend/shortcodes.php on line 12
- > PHP Fatal error
Trait 'FilterPlus\\Utils\\Singleton' not found in wp-content/plugins/filter-plus/core/admin/menus.php on line 15
- > PHP Fatal error
Uncaught Error: Class 'FilterPlus' not found in wp-content/plugins/filter-plus/core/admin/views/shortcodes.php:2
- > 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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (screenshot-1), #2 (screenshot-2)
filter-plus/filter-plus.php 85% from 13 tests
The principal PHP file in "Advanced Filter Plugin for WooCommerce - Filter Plus" v. 1.0.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("4.7" instead of "5.2")
- Requires PHP: Required version must match the one declared in readme.txt ("7.0" instead of "7.3")
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 plugin4,870 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 100 | 21 | 1,760 |
PHP | 30 | 314 | 466 | 1,633 |
JavaScript | 4 | 59 | 119 | 754 |
Sass | 2 | 128 | 2 | 716 |
SVG | 2 | 0 | 0 | 6 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 12.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 2.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 1 | 11.11% |
Methods | 63 | |
▷ Static methods | 38 | 60.32% |
▷ Public methods | 61 | 96.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.17% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin