Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▲0.54ms] Passed 4 tests
A check of server-side resources used by EchBay Live Chat
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 41.27 ▼3.93 |
Dashboard /wp-admin | 3.40 ▲0.09 | 51.98 ▲2.63 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 49.64 ▲5.04 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 95.74 ▲0.23 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.16 ▲3.24 |
Live Chat /wp-admin/admin.php?page=echbay-live-chat | 3.29 | 30.61 |
Webgiare Plugins /wp-admin/admin.php?page=echbay-plugins-menu | 3.29 | 37.91 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for EchBay Live Chat
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲84 | 13.29 ▼1.30 | 1.75 ▲0.02 | 42.83 ▲1.68 |
Dashboard /wp-admin | 2,233 ▲48 | 4.85 ▼0.97 | 106.86 ▲4.17 | 41.76 ▼3.39 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 1.99 ▼0.04 | 39.21 ▼2.01 | 38.61 ▲0.73 |
Add New Post /wp-admin/post-new.php | 1,564 ▲45 | 18.50 ▼4.39 | 594.77 ▼63.07 | 63.72 ▲5.10 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.23 ▼0.04 | 98.09 ▼2.12 | 44.72 ▼2.05 |
Live Chat /wp-admin/admin.php?page=echbay-live-chat | 2,003 | 10.82 | 288.15 | 35.89 |
Webgiare Plugins /wp-admin/admin.php?page=echbay-plugins-menu | 1,988 | 9.73 | 287.17 | 35.79 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Box chat close.), #2 (Box chat open.), #3 (Box chat setting in admin.)
echbay-facebook-messenger/efm.php 77% from 13 tests
The entry point to "EchBay Live Chat" version 1.2.7 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("echbay-facebook-messenger.php" instead of "efm.php")
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected446 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 0 | 81 | 420 |
SVG | 1 | 0 | 1 | 14 |
HTML | 6 | 0 | 1 | 5 |
JavaScript | 5 | 0 | 0 | 5 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 62.00 |
▷ Minimum class complexity | 62.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 7.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
No PNG files were detected