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.00MB] [CPU: ▼3.84ms] Passed 4 tests
Analyzing server-side resources used by Woocommerce Product Hover Show ToolTip Info
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 42.87 ▼6.12 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.38 ▼1.32 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.80 ▲1.42 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.75 ▼7.38 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.95 ▼0.53 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Woocommerce Product Hover Show ToolTip Info: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲58 | 13.24 ▼1.54 | 5.03 ▲3.14 | 45.02 ▼0.94 |
Dashboard /wp-admin | 2,206 ▲18 | 4.89 ▼0.03 | 108.14 ▼8.64 | 37.90 ▼7.59 |
Posts /wp-admin/edit.php | 2,092 ▲6 | 1.99 ▲0.00 | 35.14 ▼3.05 | 32.61 ▼3.02 |
Add New Post /wp-admin/post-new.php | 1,533 ▼10 | 23.13 ▼0.27 | 604.13 ▼38.48 | 50.56 ▼0.85 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.20 ▲0.01 | 99.26 ▼1.03 | 41.22 ▼1.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/woo-product-hover-show-info-tooltip/cdc-product-hover.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
2 plugin tags: woocommerce, tooltip
woo-product-hover-show-info-tooltip/cdc-product-hover.php 85% from 13 tests
The principal PHP file in "Woocommerce Product Hover Show ToolTip Info" v. 1.1.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("3.9" instead of "2.0.0")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("woo-product-hover-show-info-tooltip.php" instead of "cdc-product-hover.php")
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
Success! There were no dangerous files found in this plugin107 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 5 | 1 | 57 |
JavaScript | 1 | 4 | 1 | 27 |
Markdown | 1 | 10 | 0 | 13 |
PHP | 1 | 3 | 31 | 10 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin