Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.57MB] [CPU: ▲3.08ms] Passed 4 tests
Analyzing server-side resources used by Tooltipy (tooltips for WP)
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.05 ▲0.59 | 42.67 ▲8.32 |
Dashboard /wp-admin | 3.91 ▲0.61 | 51.40 ▼10.49 |
Posts /wp-admin/edit.php | 3.94 ▲0.58 | 53.34 ▲7.34 |
Add New Post /wp-admin/post-new.php | 6.54 ▲0.65 | 93.67 ▲12.54 |
Media Library /wp-admin/upload.php | 3.74 ▲0.51 | 39.85 ▲7.14 |
Families /wp-admin/edit-tags.php?taxonomy=_cat&post_type=my_keywords | 3.68 | 30.21 |
Add /wp-admin/post-new.php?post_type=my_keywords | 4.02 | 56.87 |
My KeyWords /wp-admin/edit.php?post_type=my_keywords | 3.86 | 42.14 |
Settings /wp-admin/edit.php?post_type=my_keywords&page=my_keywords_settings | 3.72 | 36.72 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 62 new files
Database: no new tables, 10 new options
New WordPress options |
---|
bluet_kw_settings |
bluet_kw_style |
widget_my_keywords_widget |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
tooltipy_post_type_name |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Tooltipy (tooltips for WP)
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,078 ▲316 | 14.66 ▲0.31 | 21.93 ▲20.37 | 37.54 ▼2.34 |
Dashboard /wp-admin | 2,227 ▲50 | 5.54 ▼0.02 | 91.43 ▼8.41 | 78.16 ▲34.37 |
Posts /wp-admin/edit.php | 2,144 ▲44 | 1.98 ▲0.04 | 38.66 ▲1.14 | 35.57 ▲0.80 |
Add New Post /wp-admin/post-new.php | 6,484 ▲4,958 | 27.93 ▲5.01 | 909.29 ▲337.18 | 35.97 ▼9.41 |
Media Library /wp-admin/upload.php | 1,447 ▲53 | 4.14 ▼0.04 | 93.10 ▼5.50 | 77.52 ▲36.98 |
Families /wp-admin/edit-tags.php?taxonomy=_cat&post_type=my_keywords | 28 | 0.41 | 0.08 | 3.46 |
Add /wp-admin/post-new.php?post_type=my_keywords | 2,497 | 7.65 | 188.17 | 122.53 |
My KeyWords /wp-admin/edit.php?post_type=my_keywords | 1,158 | 1.91 | 35.28 | 29.09 |
Settings /wp-admin/edit.php?post_type=my_keywords&page=my_keywords_settings | 2,317 | 2.84 | 57.98 | 57.80 |
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
- Zombie WordPress options detected upon uninstall: 10 options
- widget_recent-comments
- bluet_kw_settings
- widget_my_keywords_widget
- can_compress_scripts
- tooltipy_post_type_name
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- bluet_kw_style
- widget_recent-posts
Smoke tests 25% 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 0% 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
- 14× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/bluet-keywords-tooltip-generator/settings-page.php
- > /wp-content/plugins/bluet-keywords-tooltip-generator/advanced/supported-plugins.php
- > /wp-content/plugins/bluet-keywords-tooltip-generator/index.php
- > /wp-content/plugins/bluet-keywords-tooltip-generator/advanced/index.php
- > /wp-content/plugins/bluet-keywords-tooltip-generator/add-style.php
- > /wp-content/plugins/bluet-keywords-tooltip-generator/settings-glossary.php
- > /wp-content/plugins/bluet-keywords-tooltip-generator/widget.php
- > /wp-content/plugins/bluet-keywords-tooltip-generator/advanced/settings-page.php
- > /wp-content/plugins/bluet-keywords-tooltip-generator/advanced/functions.php
- > /wp-content/plugins/bluet-keywords-tooltip-generator/keyword-posttype.php
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bluet-keywords-tooltip-generator/templates/admin/exclude.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/bluet-keywords-tooltip-generator/templates/single-kw.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function do_settings_sections() in wp-content/plugins/bluet-keywords-tooltip-generator/templates/admin/style.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bluet-keywords-tooltip-generator/advanced/load-ajax.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/edit-tags.php?taxonomy=_cat&post_type=my_keywords
- > Network (severe)
wp-admin/edit-tags.php?taxonomy=_cat&post_type=my_keywords - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 20 tag instead of maximum 10
bluet-keywords-tooltip-generator/index.php 85% from 13 tests
"Tooltipy (tooltips for WP)" version 5.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 166 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("bluet-keywords-tooltip-generator.php" instead of "index.php")
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
Everything looks great! No dangerous files found in this plugin8,906 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 536 | 17 | 3,014 |
PHP | 18 | 793 | 443 | 2,945 |
PO File | 9 | 1,039 | 1,123 | 2,119 |
JavaScript | 8 | 264 | 187 | 828 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 3.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 107 | |
▷ Named functions | 85 | 79.44% |
▷ Anonymous functions | 22 | 20.56% |
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
10 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
advanced/assets/close_button.png | 2.18KB | 1.91KB | ▼ 12.51% |
assets/qst-mark-2.png | 1.63KB | 0.64KB | ▼ 60.96% |
assets/qst-mark-3.png | 0.72KB | 0.60KB | ▼ 16.33% |
assets/qst-mark-1.png | 1.33KB | 0.34KB | ▼ 74.58% |
assets/ico_16x16.png | 0.80KB | 0.77KB | ▼ 3.88% |