Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.81ms] Passed 4 tests
An overview of server-side resources used by Tooltip for Gravity Forms
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 34.77 ▼5.94 |
Dashboard /wp-admin | 3.33 ▼0.02 | 43.68 ▼17.59 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.96 ▼0.26 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 86.95 ▲4.55 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.71 ▲5.99 |
Server storage [IO: ▲0.84MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 26 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
gravity_tooltip_options |
tooltip_plugin_version |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Tooltip for Gravity Forms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,911 ▲150 | 13.44 ▼1.11 | 9.40 ▲7.72 | 39.15 ▼4.72 |
Dashboard /wp-admin | 2,202 ▲25 | 5.63 ▲0.00 | 91.00 ▼0.41 | 41.04 ▼2.96 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▲0.02 | 46.68 ▲9.11 | 35.33 ▲1.28 |
Add New Post /wp-admin/post-new.php | 1,530 ▲2 | 22.92 ▼0.42 | 665.21 ▲10.54 | 59.40 ▲4.55 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.20 ▼0.05 | 97.61 ▲5.92 | 44.61 ▲4.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 8 options
- gravity_tooltip_options
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- tooltip_plugin_version
- widget_theysaidso_widget
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
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
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/tooltip-for-gravity-forms/admin/partials/gravity-forms-tooltip-admin-display.php
- > /wp-content/plugins/tooltip-for-gravity-forms/public/partials/gravity-forms-tooltip-public-display.php
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 97% 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: A description for screenshot #3 is missing in tooltip-for-gravity-forms/assets to your readme.txt
tooltip-for-gravity-forms/tooltip-for-gravity-forms.php Passed 13 tests
The main PHP script in "Tooltip for Gravity Forms" version 2.9 is automatically included on every request by WordPress
51 characters long description:
Add Tooltips next to field labels of Gravity Forms.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected405 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 168 | 556 | 341 |
JavaScript | 4 | 22 | 60 | 34 |
CSS | 2 | 10 | 11 | 30 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 3.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 28 | 84.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 15.15% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
1 PNG file occupies 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/i.png | 38.11KB | 20.85KB | ▼ 45.29% |