Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼4.26ms] Passed 4 tests
A check of server-side resources used by Product Filter AJAX for Woo
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 41.62 ▲0.34 |
Dashboard /wp-admin | 3.40 ▲0.10 | 50.07 ▼0.94 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 50.78 ▲0.67 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 85.91 ▼16.12 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 36.38 ▼0.32 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Product Filter AJAX for Woo: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲35 | 13.51 ▼0.79 | 1.60 ▼0.49 | 42.92 ▼2.35 |
Dashboard /wp-admin | 2,209 ▲24 | 5.80 ▼0.05 | 97.74 ▲0.23 | 44.68 ▲3.52 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 1.99 ▼0.02 | 38.06 ▼2.15 | 37.27 ▼1.10 |
Add New Post /wp-admin/post-new.php | 1,539 ▲20 | 23.29 ▲0.21 | 683.73 ▲12.07 | 52.03 ▼0.16 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.25 ▼0.01 | 103.50 ▼8.13 | 46.19 ▼0.70 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/product-filter-ajax-for-woo/product-filter-ajax-for-woo.php:38
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: ajax, woocommerce, filter, product filter
product-filter-ajax-for-woo/product-filter-ajax-for-woo.php Passed 13 tests
The main file in "Product Filter AJAX for Woo" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
59 characters long description:
Simple / Modern Ajax Product Filter Plugin for WooCommerce.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected3,153 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 101 | 68 | 1,865 |
PHP | 2 | 577 | 37 | 982 |
JavaScript | 3 | 134 | 6 | 178 |
PO File | 1 | 50 | 53 | 128 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 65.00 |
▷ Minimum class complexity | 32.00 |
▷ Maximum class complexity | 98.00 |
Average method complexity | 11.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.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 | 13 | |
▷ Static methods | 11 | 84.62% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin