Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼2.13ms] Passed 4 tests
A check of server-side resources used by TyresAddict - Wheel Product Filter
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 40.65 ▲2.17 |
Dashboard /wp-admin | 3.42 ▲0.07 | 49.66 ▼7.50 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 52.80 ▲6.97 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 90.58 ▼8.67 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 39.27 ▲5.47 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_tyresaddict_wheel_filter_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
tyresaddict-wheel-product-filter-deferred-admin-notices |
Browser metrics Passed 4 tests
An overview of browser requirements for TyresAddict - Wheel Product Filter
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲55 | 14.67 ▼0.03 | 1.68 ▼0.05 | 44.50 ▲4.92 |
Dashboard /wp-admin | 2,204 ▲26 | 5.63 ▼0.09 | 91.32 ▼12.27 | 41.15 ▲2.92 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.97 ▼0.00 | 39.86 ▲3.82 | 37.17 ▼0.03 |
Add New Post /wp-admin/post-new.php | 1,532 ▲5 | 23.28 ▲0.20 | 634.61 ▼17.66 | 50.16 ▼6.36 |
Media Library /wp-admin/upload.php | 1,424 ▲27 | 4.21 ▲0.02 | 101.52 ▲3.88 | 42.31 ▲2.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_tyresaddict_wheel_filter_widget
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- tyresaddict-wheel-product-filter-deferred-admin-notices
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/tyresaddict-wheel-product-filter/includes/FilterWidget.php:17
- > PHP Notice
Undefined variable: form_url in wp-content/plugins/tyresaddict-wheel-product-filter/templates/filter-white.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/tyresaddict-wheel-product-filter/templates/filter-white.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
tyresaddict-wheel-product-filter/tyresaddict-wheel-product-filter.php 92% from 13 tests
The primary PHP file in "TyresAddict - Wheel Product Filter" version 1.4.14 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 178 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin1,187 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 284 | 263 | 701 |
PO File | 3 | 156 | 264 | 348 |
CSS | 1 | 11 | 0 | 78 |
JavaScript | 1 | 16 | 0 | 60 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 29 | 53.70% |
▷ Public methods | 49 | 90.74% |
▷ Protected methods | 1 | 1.85% |
▷ Private methods | 4 | 7.41% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 18 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 18 | 100.00% |
▷ Public constants | 18 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin