Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼6.67ms] Passed 4 tests
Server-side resources used by Wordpress Info Tooltips Lite
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 44.91 ▲6.34 |
Dashboard /wp-admin | 3.31 ▼0.04 | 48.64 ▼20.84 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.38 ▼2.57 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 98.24 ▼1.49 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.20 ▼1.78 |
Server storage [IO: ▲1.06MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
These are issues you should consider
- You have illegally modified 1 file (0.00KB) outside of "wp-content/plugins/info-tooltips-lite/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/info-tooltips-lite/modules/css/images/arrow/navigator - _\302\256___.png"
Filesystem: 127 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Wordpress Info Tooltips Lite
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲88 | 13.53 ▼0.70 | 5.47 ▲3.79 | 43.74 ▼0.49 |
Dashboard /wp-admin | 2,224 ▲23 | 5.85 ▼0.06 | 102.94 ▼7.12 | 40.73 ▼1.31 |
Posts /wp-admin/edit.php | 2,106 ▲9 | 2.04 ▲0.02 | 37.31 ▲1.17 | 36.68 ▲2.01 |
Add New Post /wp-admin/post-new.php | 1,432 ▼100 | 22.63 ▼0.57 | 530.53 ▼159.58 | 41.23 ▼21.39 |
Media Library /wp-admin/upload.php | 1,406 ▲3 | 4.19 ▼0.09 | 99.86 ▼4.71 | 38.82 ▼7.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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 take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/info-tooltips-lite/wp-info-tooltips-lite.php
- 10× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/info-tooltips-lite/modules/hooks.php:45
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/info-tooltips-lite/modules/activation.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/info-tooltips-lite/modules/meta_box.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/info-tooltips-lite/modules/ajax.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/info-tooltips-lite/modules/scripts.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/info-tooltips-lite/modules/shortcodes.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/info-tooltips-lite/modules/widgets.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/info-tooltips-lite/modules/cpt.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/info-tooltips-lite/modules/settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/info-tooltips-lite/modules/profile.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Dish addition form), #2 (Menu generation form), #3 (Simple frontend menu), #4 (Menu with another design adopted ( Extended version )), #5 (Menu with another design adopted ( Extended version )), #6 (Menu with another design adopted ( Extended version )), #7 (Menu with another design adopted ( Extended version )), #8 (Menu with another design adopted ( Extended version ))
- Contributors: Contributors not specified
info-tooltips-lite/wp-info-tooltips-lite.php 85% from 13 tests
"Wordpress Info Tooltips Lite" version 1.0'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:
- Main file name: The principal plugin file should be the same as the plugin slug ("info-tooltips-lite.php" instead of "wp-info-tooltips-lite.php")
- Description: The description should be shorter than 140 characters (currently 243 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected2,432 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 271 | 136 | 1,621 |
CSS | 5 | 11 | 21 | 351 |
HTML | 1 | 40 | 0 | 316 |
PO File | 1 | 53 | 57 | 124 |
JavaScript | 3 | 6 | 1 | 20 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 104.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 205.00 |
Average method complexity | 6.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 65.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 | 39 | |
▷ Static methods | 3 | 7.69% |
▷ Public methods | 9 | 23.08% |
▷ Protected methods | 30 | 76.92% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 46 | |
▷ Global constants | 46 | 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
60 PNG files occupy 0.27MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
modules/images/nonfull/navigate_right_arrow.png | 3.69KB | 0.69KB | ▼ 81.23% |
modules/images/full/nav_right_arrow_hover.png | 3.55KB | 0.63KB | ▼ 82.36% |
modules/css/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
modules/css/images/arrow/hori_large.png | 2.46KB | 2.05KB | ▼ 16.80% |
modules/css/images/arrow/navigator.png | 0.44KB | 0.32KB | ▼ 26.99% |