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
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▲2.05ms] Passed 4 tests
Analyzing server-side resources used by TyresAddict - Tyre Custom Metadata for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.65 ▲4.71 |
Dashboard /wp-admin | 3.31 ▲0.01 | 51.86 ▲7.64 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.79 ▲1.95 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 98.75 ▼1.29 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.05 ▲2.82 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for TyresAddict - Tyre Custom Metadata for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.36 ▼0.01 | 1.92 ▼0.32 | 43.65 ▼2.46 |
Dashboard /wp-admin | 2,209 ▲18 | 5.91 ▲1.06 | 97.96 ▼0.27 | 42.85 ▼0.05 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.02 ▲0.04 | 39.62 ▲1.85 | 35.59 ▲0.55 |
Add New Post /wp-admin/post-new.php | 1,519 ▼25 | 23.40 ▲5.36 | 648.55 ▲33.75 | 54.78 ▼4.23 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.23 ▲0.01 | 103.46 ▼1.32 | 40.70 ▼4.11 |
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 does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
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 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: woocommerce search, tyres, custom tyre metadata, automotive, auto parts...
tyresaddict-woo-tyre-custom-metadata/tyresaddict-woo-tyre-custom-metadata.php 92% from 13 tests
The main PHP file in "TyresAddict - Tyre Custom Metadata for WooCommerce" ver. 2.2.10 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 290 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin2,281 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 268 | 215 | 1,147 |
PO File | 4 | 543 | 2,046 | 1,134 |
PHP code Passed 2 tests
A brief analysis 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.44 |
Average class complexity | 10.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 30 | 48.39% |
▷ Public methods | 58 | 93.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 6.45% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 16 | 100.00% |
▷ Public constants | 16 | 100.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