Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.73ms] Passed 4 tests
A check of server-side resources used by Tooltip CK
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 47.82 ▲8.93 |
Dashboard /wp-admin | 3.36 ▲0.01 | 44.42 ▼13.92 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 46.62 ▲1.07 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 83.95 ▼12.08 |
Media Library /wp-admin/upload.php | 3.29 ▲0.05 | 33.68 ▼1.97 |
Tooltip CK /wp-admin/options-general.php?page=tooltip-ck | 3.37 | 37.72 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 62 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Tooltip CK
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,907 ▲146 | 13.83 ▼0.57 | 8.89 ▲7.16 | 41.84 ▲1.10 |
Dashboard /wp-admin | 2,199 ▲19 | 5.58 ▼0.07 | 82.90 ▼6.43 | 37.80 ▼1.84 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.97 ▼0.02 | 33.54 ▼3.10 | 35.02 ▼3.43 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.11 ▲0.08 | 653.71 ▼67.55 | 51.38 ▲0.90 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.29 ▲0.10 | 94.52 ▼4.60 | 44.26 ▲0.67 |
Tooltip CK /wp-admin/options-general.php?page=tooltip-ck | 1,597 | 3.42 | 48.89 | 92.76 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 items
- 8× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/tooltip-ck/interfaces/options.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/tooltip-ck/interfaces/options-styles.php:1
- > PHP Warning
Use of undefined constant TOOLTIPCK_WEBSITE - assumed 'TOOLTIPCK_WEBSITE' (this will throw an Error in a future version of PHP) in wp-content/plugins/tooltip-ck/interfaces/options.php on line 4
- > PHP Warning
Use of undefined constant TOOLTIPCK_MEDIA_URL - assumed 'TOOLTIPCK_MEDIA_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/tooltip-ck/interfaces/options.php on line 2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/tooltip-ck/interfaces/options-effects.php:2
- > PHP Warning
Use of undefined constant TOOLTIPCK_MEDIA_URL - assumed 'TOOLTIPCK_MEDIA_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/tooltip-ck/interfaces/options.php on line 1
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/tooltip-ck/interfaces/options-advanced.php:2
- > PHP Warning
Use of undefined constant TOOLTIPCK_MEDIA_URL - assumed 'TOOLTIPCK_MEDIA_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/tooltip-ck/interfaces/options.php on line 4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=tooltip-ck
- > Network (severe)
wp-content/plugins/tooltip-ck/assets/jscolor/jscolor.css - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots lack descriptions #3, #4, #5 in tooltip-ck/assets to your readme.txt
tooltip-ck/tooltip-ck.php 92% from 13 tests
"Tooltip CK" version 2.2.15's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 150 characters long)
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
These items require your attention
- You should never include executable (binary) or otherwise dangerous files in your plugin
- .url - Internet Shortcut in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/tooltip-ck/assets/jscolor/Demos of JSColor.URL
- .url - Internet Shortcut in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 273 | 670 | 1,626 |
JavaScript | 3 | 183 | 97 | 1,194 |
CSS | 3 | 58 | 44 | 365 |
PO File | 1 | 62 | 72 | 137 |
HTML | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 40.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 113.00 |
Average method complexity | 4.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 69.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 81 | |
▷ Static methods | 15 | 18.52% |
▷ Public methods | 60 | 74.07% |
▷ Protected methods | 2 | 2.47% |
▷ Private methods | 19 | 23.46% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 23 | |
▷ Global constants | 14 | 60.87% |
▷ Class constants | 9 | 39.13% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
31 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/chart_curve.png | 0.69KB | 0.76KB | 0.00% |
images/bg_no-repeat.png | 0.19KB | 0.19KB | ▼ 1.01% |
images/border_radius_bl.png | 0.51KB | 0.71KB | 0.00% |
images/padding.png | 0.25KB | 0.27KB | 0.00% |
images/logo_tooltipck_64.png | 3.33KB | 2.61KB | ▼ 21.73% |