Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.68ms] Passed 4 tests
A check of server-side resources used by Woo Helper
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 37.69 ▼1.13 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.69 ▼7.20 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.77 ▼0.82 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 80.25 ▼9.55 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.23 ▲2.67 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 12 new files
Database: 1 new table, 16 new options
New tables |
---|
wp_wlt_product_likes |
New WordPress options |
---|
wlt_product_likes_not_logged_in |
wlt_product_likes_account |
wlt_product_likes_products |
can_compress_scripts |
wlt_product_likes_enable |
theysaidso_admin_options |
wlt_product_likes_archives |
wlt_product_likes_total |
widget_recent-comments |
wlt_product_comments_enable |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Woo Helper
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.21 ▼1.37 | 1.78 ▲0.14 | 37.98 ▼0.94 |
Dashboard /wp-admin | 2,200 ▲12 | 5.86 ▲0.96 | 103.84 ▼5.54 | 39.73 ▼2.59 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.05 ▲0.01 | 39.62 ▼0.42 | 34.95 ▼0.59 |
Add New Post /wp-admin/post-new.php | 1,534 ▲20 | 18.35 ▲0.70 | 649.70 ▲19.49 | 67.56 ▲10.02 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.25 ▲0.03 | 100.44 ▲2.74 | 40.35 ▼0.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_wlt_product_likes
- Zombie WordPress options detected upon uninstall: 16 options
- wlt_product_likes_enable
- wlt_product_likes_styles
- theysaidso_admin_options
- wlt_product_likes_account
- wlt_product_likes_total
- wlt_product_likes_products
- db_upgraded
- widget_recent-comments
- wlt_product_likes_icon
- wlt_product_comments_enable
- ...
Smoke tests Passed 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 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 80% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #3, #4, #5, #6, #7, #8 in wc-product-likes-comments/assets to your readme.txt
wc-product-likes-comments/wlt-product-likes.php 62% from 13 tests
This is the main PHP file of "Woo Helper" version 2.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wc-product-likes-comments.php" instead of "wlt-product-likes.php")
- Description: The description should be shorter than 140 characters (currently 144 characters long)
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Requires at least: Required version does not match the one declared in readme.txt ("5.0" instead of "4.0.0")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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 plugin616 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 348 | 120 | 616 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 10.14 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 32 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 32 | 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
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/unlike.png | 1.43KB | 1.29KB | ▼ 9.70% |
assets/comments.png | 1.42KB | 0.93KB | ▼ 34.62% |
assets/heart.png | 1.09KB | 0.73KB | ▼ 32.86% |