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.02MB] [CPU: ▼5.23ms] Passed 4 tests
Analyzing server-side resources used by Easy Gravity Tooltip
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 37.78 ▼2.26 |
Dashboard /wp-admin | 3.34 ▲0.03 | 52.05 ▲2.19 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 54.39 ▲1.12 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 82.94 ▼16.06 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.68 ▼3.71 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Easy Gravity Tooltip
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,939 ▲168 | 14.83 ▲0.47 | 1.73 ▼0.38 | 38.87 ▼5.31 |
Dashboard /wp-admin | 2,348 ▲163 | 6.44 ▲1.51 | 132.70 ▲21.95 | 39.93 ▼11.67 |
Posts /wp-admin/edit.php | 2,254 ▲165 | 3.36 ▲1.35 | 55.47 ▲21.47 | 35.62 ▲2.12 |
Add New Post /wp-admin/post-new.php | 1,530 ▲8 | 22.97 ▼0.21 | 634.92 ▼60.32 | 36.28 ▼19.90 |
Media Library /wp-admin/upload.php | 1,387 ▼1 | 4.05 ▼0.13 | 83.02 ▼22.29 | 41.78 ▼2.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/tooltips-for-gravity-forms-free/index.php:19
- > PHP Fatal error
Uncaught Error: Class 'GFForms' not found in wp-content/plugins/tooltips-for-gravity-forms-free/admin/class-gfeasytooltip.php:3
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: gravity forms tooltip, gravityforms, tooltip
tooltips-for-gravity-forms-free/index.php 85% from 13 tests
The main PHP script in "Easy Gravity Tooltip" version 1.1.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("tooltips-for-gravity-forms-free.php" instead of "index.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin1,106 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 137 | 99 | 644 |
CSS | 2 | 22 | 0 | 394 |
SVG | 2 | 0 | 1 | 49 |
JavaScript | 2 | 0 | 0 | 19 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 23.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 2 | 9.52% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 are no PNG files in this plugin