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 successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼5.77ms] Passed 4 tests
Analyzing server-side resources used by Themify - WooCommerce Product Filter
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.42 ▲4.27 |
Dashboard /wp-admin | 3.31 ▼0.04 | 43.99 ▼10.57 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.36 ▲2.28 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.49 ▼15.25 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 30.90 ▲0.46 |
Server storage [IO: ▲1.20MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 83 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
themify_WPF_activation_redirect |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Themify - WooCommerce Product Filter
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.27 ▼0.08 | 1.73 ▼0.07 | 44.12 ▲3.32 |
Dashboard /wp-admin | 2,192 ▲15 | 5.61 ▼0.04 | 86.32 ▲2.41 | 39.43 ▼0.66 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▲0.01 | 40.09 ▲5.32 | 34.56 ▼3.92 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.02 ▼0.46 | 682.66 ▼29.05 | 55.49 ▲0.62 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.20 ▼0.02 | 97.93 ▲2.58 | 40.29 ▼3.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- themify_WPF_activation_redirect
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 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 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
The following issues need your attention
- 9× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_query_arg() in wp-content/plugins/themify-wc-product-filter/admin/partials/form.php:4
- > PHP Warning
require_once(ABSPATHwp-admin/includes/screen.php): failed to open stream: No such file or directory in wp-content/plugins/themify-wc-product-filter/includes/class-wpf-list.php on line 4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/themify-wc-product-filter/includes/class-wpf-list.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/screen.php' (include_path='.:/usr/share/php') in wp-content/plugins/themify-wc-product-filter/includes/class-wpf-list.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/themify-wc-product-filter/includes/class-wpf-widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_action() in wp-content/plugins/themify-wc-product-filter/public/class-wpf-public.php:981
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/themify-wc-product-filter/admin/partials/import.php:16
- > PHP Fatal error
Uncaught Error: Class 'WPF_List_Table' not found in wp-content/plugins/themify-wc-product-filter/admin/partials/list.php:14
- > PHP Fatal error
Uncaught Error: Class 'WPF' not found in wp-content/plugins/themify-wc-product-filter/admin/partials/tax.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)
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 19 tag instead of maximum 10
themify-wc-product-filter/themify-wc-product-filter.php 77% from 13 tests
The primary PHP file in "Themify - WooCommerce Product Filter" version 1.4.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 245 characters long)
- Domain Path: The domain path folder does not exist ("/languages")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
There were no executable files found in this plugin7,715 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 12 | 477 | 88 | 3,176 |
PHP | 17 | 392 | 898 | 3,166 |
JavaScript | 8 | 103 | 42 | 1,307 |
HTML | 1 | 2 | 0 | 65 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 72.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 348.00 |
Average method complexity | 6.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 84.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 134 | |
▷ Static methods | 33 | 24.63% |
▷ Public methods | 117 | 87.31% |
▷ Protected methods | 2 | 1.49% |
▷ Private methods | 15 | 11.19% |
Functions | 6 | |
▷ Named functions | 4 | 66.67% |
▷ Anonymous functions | 2 | 33.33% |
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
17 compressed PNG files occupy 0.15MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/css/jquery-ui/images/ui-icons_222222_256x240.png | 3.68KB | 4.18KB | 0.00% |
public/css/jquery-ui/images/ui-bg_flat_75_ffffff_40x100.png | 0.07KB | 0.08KB | 0.00% |
admin/img/horizontal-layout.png | 0.11KB | 0.13KB | 0.00% |
public/css/jquery-ui/images/ui-icons_888888_256x240.png | 3.68KB | 4.18KB | 0.00% |
public/css/jquery-ui/images/ui-bg_glass_95_fef1ec_1x400.png | 0.10KB | 0.15KB | 0.00% |