Benchmarks
Plugin footprint 65% 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: ▼1.21MB] [CPU: ▼42.72ms] Passed 4 tests
This is a short check of server-side resources used by SiteHeart
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.76 ▼0.70 | 11.48 ▼31.28 |
Dashboard /wp-admin | 2.80 ▼0.51 | 17.37 ▼38.29 |
Posts /wp-admin/edit.php | 2.80 ▼0.56 | 18.78 ▼30.14 |
Add New Post /wp-admin/post-new.php | 2.80 ▼3.09 | 21.50 ▼71.17 |
Media Library /wp-admin/upload.php | 2.80 ▼0.43 | 13.94 ▼26.99 |
Go to administrator panel /wp-admin/admin.php?page=siteheart_admin | 2.80 | 14.45 |
Settings /wp-admin/admin.php?page=siteheart | 2.80 | 19.12 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 23 new options
New WordPress options |
---|
sh_hide |
sh_template |
sh_side |
sh_inviteText |
sh_text_layout |
sh_title_offline |
sh_offline_pay |
widget_recent-comments |
sh_track |
sh_devisions |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for SiteHeart
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,859 ▲113 | 13.25 ▼1.50 | 1.93 ▲0.05 | 43.46 ▲1.49 |
Dashboard /wp-admin | 2,228 ▲40 | 5.86 ▼0.04 | 108.76 ▼9.90 | 65.12 ▲16.58 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 2.02 ▼0.06 | 39.99 ▲1.62 | 34.30 ▼3.05 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 23.17 ▼0.04 | 709.46 ▲103.91 | 49.70 ▼0.79 |
Media Library /wp-admin/upload.php | 1,425 ▲40 | 4.19 ▼0.10 | 98.66 ▼2.99 | 77.65 ▲34.05 |
Go to administrator panel /wp-admin/admin.php?page=siteheart_admin | 1,227 | 15.49 | 226.23 | 85.43 |
Settings /wp-admin/admin.php?page=siteheart | 1,892 | 15.23 | 208.30 | 24.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5747
Function load_plugin_textdomain was called with an argument that is deprecated since version 2.7.0 with no alternative available.
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=siteheart
- > User deprecated in wp-includes/functions.php+5747
Function load_plugin_textdomain was called with an argument that is deprecated since version 2.7.0 with no alternative available.
- > GET request to /wp-admin/admin.php?page=siteheart
- > Notice in wp-content/plugins/siteheart/set.php+205
Undefined index: HTTP_ACCEPT_LANGUAGE
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/siteheart/siteheart.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/siteheart/set.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/siteheart/widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/siteheart/success.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=siteheart_admin
- > Network (severe)
https://sender.mobi/go - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/admin.php?page=siteheart
- > Network (severe)
http://d1ytok5muqmio7.cloudfront.net/apps/workplace/img/ajax-loader.gif - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=siteheart
- > Network (severe)
https://sender.mobi/enbitrixauth - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/admin.php?page=siteheart
- > Network (severe)
https://sender.mobi/esapi/me/fullinfo?callback=sh_autorize - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: widget, operator, call center, chat widget, live help...
siteheart/siteheart.php Passed 13 tests
Analyzing the main PHP file in "SiteHeart" version 1.0.0
41 characters long description:
SiteHeart - Free online chat for website.
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
Success! There were no dangerous files found in this plugin710 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 124 | 14 | 617 |
PO File | 1 | 39 | 75 | 93 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/siteheart_logo.png | 1.64KB | 0.72KB | ▼ 55.89% |