Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.90ms] Passed 4 tests
A check of server-side resources used by ToolTips For Contact Form 7
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 36.05 ▼5.70 |
Dashboard /wp-admin | 3.35 ▲0.04 | 47.38 ▼6.82 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 51.46 ▼0.51 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 95.21 ▼14.55 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.29 ▲2.13 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Just a few items left to fix
- Illegal file modification found: 1 file (4.00KB) outside of "wp-content/plugins/tool-tips-for-contact-form-7/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ToolTips For Contact Form 7
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲155 | 13.67 ▼0.71 | 6.02 ▲4.17 | 42.98 ▼1.55 |
Dashboard /wp-admin | 2,229 ▲26 | 5.77 ▲0.91 | 101.58 ▼6.55 | 37.86 ▼4.67 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 2.02 ▲0.01 | 39.87 ▲3.61 | 34.03 ▼0.06 |
Add New Post /wp-admin/post-new.php | 1,538 ▼7 | 17.76 ▼5.36 | 674.02 ▼18.89 | 57.15 ▲6.19 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.29 ▼0.06 | 101.03 ▼10.75 | 44.00 ▼8.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/tool-tips-for-contact-form-7/tool-tips-for-contact-form-7.php
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/tool-tips-for-contact-form-7/inc/ttfcf7_fronted.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tool-tips-for-contact-form-7/inc/ttfcf7_backend.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tool-tips-for-contact-form-7/inc/setting.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/tool-tips-for-contact-form-7/inc/index.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Contributors: The plugin contributors field is not present
- Screenshots: These screenshots lack descriptions #1, #2 in tool-tips-for-contact-form-7/assets to your readme.txt
tool-tips-for-contact-form-7/tool-tips-for-contact-form-7.php Passed 13 tests
The entry point to "ToolTips For Contact Form 7" version 1.0 is a PHP file that has certain tags in its header comment area
22 characters long description:
WooCommerce Tool Tips.
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
No dangerous file extensions were detected311 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 45 | 16 | 278 |
JavaScript | 4 | 1 | 10 | 19 |
CSS | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
asset/images/question_1.png | 0.60KB | 0.52KB | ▼ 11.97% |
asset/images/question_6.png | 0.43KB | 0.53KB | 0.00% |
asset/images/question_5.png | 0.39KB | 0.41KB | 0.00% |
asset/images/question_4.png | 0.58KB | 0.41KB | ▼ 28.47% |
asset/images/question_2.png | 0.75KB | 0.69KB | ▼ 8.32% |