Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼10.02ms] Passed 4 tests
An overview of server-side resources used by HT Floating Contact
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.47 ▼5.74 |
Dashboard /wp-admin | 3.32 ▼0.02 | 50.57 ▼13.85 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 52.71 ▼0.27 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.47 ▼20.21 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 38.67 ▲4.59 |
HT Floating Contact /wp-admin/admin.php?page=ht-floating-contact | 3.21 | 33.92 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
HTappsFC_facebook |
widget_recent-posts |
HTappsFC_telegram |
widget_recent-comments |
HTappsFC_whatsapp |
db_upgraded |
HTappsFC_plugin_active |
Browser metrics Passed 4 tests
This is an overview of browser requirements for HT Floating Contact
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲46 | 14.28 ▼0.08 | 1.85 ▲0.10 | 37.48 ▼6.82 |
Dashboard /wp-admin | 2,213 ▲36 | 5.63 ▼0.06 | 92.72 ▲2.81 | 39.94 ▼2.61 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 2.03 ▲0.06 | 39.16 ▼1.49 | 35.63 ▼5.90 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 23.72 ▲0.51 | 635.22 ▼51.04 | 53.70 ▼6.76 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.21 ▲0.06 | 103.06 ▲4.63 | 46.91 ▲4.89 |
HT Floating Contact /wp-admin/admin.php?page=ht-floating-contact | 879 | 2.04 | 23.25 | 26.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 10 options
- HTappsFC_whatsapp
- HTappsFC_facebook
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- HTappsFC_plugin_active
- db_upgraded
- HTappsFC_telegram
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ht-floating-contact/components/btnSplit.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/ht-floating-contact/settings/script.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/ht-floating-contact/settings/init.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/ht-floating-contact/settings/myOptions.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/ht-floating-contact/views/principal.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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
Please fix the following attributes:
- Screenshots: These screenshots lack descriptions #1, #2 in ht-floating-contact/assets to your readme.txt
ht-floating-contact/description.php 85% from 13 tests
The entry point to "HT Floating Contact" version 1.0.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("ht-floating-contact.php" instead of "description.php")
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected204 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 48 | 32 | 188 |
Markdown | 1 | 4 | 0 | 13 |
CSS | 2 | 0 | 0 | 2 |
JavaScript | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
This is a short overview 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.38 |
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 | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin