Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.66MB] [CPU: ▲12.13ms] 75% from 4 tests
This is a short check of server-side resources used by Wordpress Tooltips
Please fix the following
- CPU: The total CPU usage must kept under 500.00ms (currently 2,664.19ms on /wp-admin/edit.php?post_type=tooltips&page=tooltipglobalsettings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.19 ▲0.73 | 73.28 ▲28.88 |
Dashboard /wp-admin | 4.00 ▲0.69 | 60.31 ▲7.99 |
Posts /wp-admin/edit.php | 4.03 ▲0.67 | 62.82 ▲12.89 |
Add New Post /wp-admin/post-new.php | 6.53 ▲0.64 | 98.90 ▲6.34 |
Media Library /wp-admin/upload.php | 3.86 ▲0.63 | 54.96 ▲21.30 |
Categories /wp-admin/edit-tags.php?taxonomy=tooltips_categories&post_type=tooltips | 3.98 | 51.57 |
Glossary Settings /wp-admin/edit.php?post_type=tooltips&page=glossarysettingsfree | 3.96 | 50.61 |
Import Tooltips /wp-admin/edit.php?post_type=tooltips&page=tooltipsimport | 3.83 | 45.35 |
Addons /wp-admin/edit.php?post_type=tooltips&page=tooltipsfreeaddonmanager | 3.89 | 48.19 |
Global Settings /wp-admin/edit.php?post_type=tooltips&page=tooltipglobalsettings | 4.99 | 2,664.19 |
Knowledge Base /wp-admin/edit.php?post_type=tooltips&page=tooltipsfaq | 3.99 | 48.10 |
Add New /wp-admin/post-new.php?post_type=tooltips | 4.11 | 70.57 |
Directory Settings /wp-admin/edit.php?post_type=tooltips&page=tooltipdirectorysetting | 3.83 | 49.28 |
All Tooltips /wp-admin/edit.php?post_type=tooltips | 3.88 | 52.09 |
Server storage [IO: ▲1.11MB] [DB: ▲0.05MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 61 new files
Database: no new tables, 10 new options
New WordPress options |
---|
user_first_run_guide_bar |
seletEnableJqueryMigrate |
ztooltipversion |
db_upgraded |
enableTooltipsForImage |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Wordpress Tooltips
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,023 ▲276 | 13.62 ▼0.65 | 14.05 ▲12.27 | 40.43 ▼4.46 |
Dashboard /wp-admin | 2,259 ▲81 | 5.76 ▲0.06 | 96.05 ▼4.03 | 42.62 ▲1.88 |
Posts /wp-admin/edit.php | 2,164 ▲67 | 2.03 ▲0.08 | 37.17 ▼1.17 | 33.38 ▼2.96 |
Add New Post /wp-admin/post-new.php | 1,579 ▲54 | 23.24 ▼0.17 | 678.96 ▲80.36 | 53.46 ▲3.23 |
Media Library /wp-admin/upload.php | 1,467 ▲64 | 4.25 ▲0.05 | 95.18 ▼0.43 | 42.87 ▲0.67 |
Categories /wp-admin/edit-tags.php?taxonomy=tooltips_categories&post_type=tooltips | 1,341 | 2.19 | 30.34 | 31.64 |
Glossary Settings /wp-admin/edit.php?post_type=tooltips&page=glossarysettingsfree | 1,328 | 1.96 | 27.69 | 35.16 |
Import Tooltips /wp-admin/edit.php?post_type=tooltips&page=tooltipsimport | 941 | 1.69 | 23.46 | 33.35 |
Addons /wp-admin/edit.php?post_type=tooltips&page=tooltipsfreeaddonmanager | 1,126 | 1.74 | 28.45 | 38.30 |
Global Settings /wp-admin/edit.php?post_type=tooltips&page=tooltipglobalsettings | 3,118 | 2.32 | 47.33 | 79.16 |
Knowledge Base /wp-admin/edit.php?post_type=tooltips&page=tooltipsfaq | 1,973 | 1.77 | 23.86 | 38.71 |
Add New /wp-admin/post-new.php?post_type=tooltips | 2,765 | 7.86 | 183.54 | 71.41 |
Directory Settings /wp-admin/edit.php?post_type=tooltips&page=tooltipdirectorysetting | 1,098 | 1.70 | 25.74 | 28.39 |
All Tooltips /wp-admin/edit.php?post_type=tooltips | 1,142 | 1.97 | 33.12 | 32.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 10 options in the database
- can_compress_scripts
- enableTooltipsForImage
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- ztooltipversion
- widget_recent-posts
- theysaidso_admin_options
- seletEnableJqueryMigrate
- user_first_run_guide_bar
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 take a closer look at the following
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/wordpress-tooltips/directory/rules/useroles.php
- > /wp-content/plugins/wordpress-tooltips/admin/howto.php
- > /wp-content/plugins/wordpress-tooltips/admin/glossaryglobalsettings.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: tooltip, knowledge base, glossary, woocommerce, dictionary
wordpress-tooltips/tooltips.php 85% from 13 tests
The entry point to "Wordpress Tooltips" version 9.3.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wordpress-tooltips.php" instead of "tooltips.php")
- Description: The description should be shorter than 140 characters (currently 326 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin14,337 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 1,262 | 965 | 6,437 |
JavaScript | 14 | 1,473 | 1,193 | 5,913 |
CSS | 8 | 294 | 161 | 1,891 |
PO File | 1 | 27 | 29 | 96 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 92 | |
▷ Named functions | 92 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/new.png | 5.78KB | 1.61KB | ▼ 72.15% |