Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼11.80ms] Passed 4 tests
An overview of server-side resources used by TP Product Description in Loop for Woocommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.62 ▼3.43 |
Dashboard /wp-admin | 3.35 ▲0.00 | 48.58 ▼13.72 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 48.20 ▼8.91 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 77.33 ▼21.12 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 40.84 ▲5.50 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 30 new files
Database: no new tables, 24 new options
New WordPress options |
---|
tppdil_disable_description_in_mobile |
widget_recent-comments |
tppdil_description_position |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
tppdil_tooltip_position |
tppdil_limit_description_len |
tppdil_description_priority |
tppdil_tooltip_background |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for TP Product Description in Loop for Woocommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,930 ▲168 | 13.52 ▼1.18 | 7.76 ▲6.03 | 38.77 ▼5.57 |
Dashboard /wp-admin | 2,225 ▲48 | 5.75 ▲0.04 | 95.50 ▲5.54 | 89.11 ▲49.22 |
Posts /wp-admin/edit.php | 2,133 ▲33 | 2.16 ▲0.19 | 38.06 ▼1.28 | 35.48 ▲1.05 |
Add New Post /wp-admin/post-new.php | 1,708 ▲182 | 22.62 ▼0.91 | 715.58 ▲20.33 | 52.20 ▲0.09 |
Media Library /wp-admin/upload.php | 1,424 ▲21 | 4.36 ▲0.17 | 97.18 ▼17.55 | 72.47 ▲23.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- tppdil_limit_description_len
- widget_recent-comments
- tppdil_limit_description
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/tp-product-description-in-loop-for-woocommerce/public/partials/tp-product-description-in-loop-for-woocommerce-public-display.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tp-product-description-in-loop-for-woocommerce/admin/partials/tp-product-description-in-loop-for-woocommerce-admin-display.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: description, product description for woocommerce, woocommerce product description, product description
tp-product-description-in-loop-for-woocommerce/tp-product-description-in-loop-for-woocommerce.php 92% from 13 tests
"TP Product Description in Loop for Woocommerce" version 1.0.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.5" instead of "3.5")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin2,523 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 169 | 73 | 1,518 |
PHP | 12 | 239 | 533 | 686 |
JavaScript | 4 | 60 | 81 | 319 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 2 | 6.67% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.67% |
Functions | 12 | |
▷ Named functions | 11 | 91.67% |
▷ Anonymous functions | 1 | 8.33% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.13MB with 0.09MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/jquery.minicolors.png | 67.02KB | 34.31KB | ▼ 48.80% |
admin/partials/images/jquery.minicolors.png | 67.02KB | 34.31KB | ▼ 48.80% |
admin/images/tp.png | 1.24KB | 0.26KB | ▼ 79.08% |
admin/partials/images/tp.png | 1.24KB | 0.26KB | ▼ 79.08% |