Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼1.40ms] Passed 4 tests
A check of server-side resources used by Comm100 Live Chat & Chatbot
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 46.76 ▲9.79 |
Dashboard /wp-admin | 3.40 ▲0.10 | 45.90 ▼4.04 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 46.92 ▼0.59 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 78.87 ▼4.77 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.11 ▲3.81 |
Account Setup /wp-admin/admin.php?page=comm100livechat_settings | 3.29 | 31.72 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_comm100livechat_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Comm100 Live Chat & Chatbot: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲50 | 14.35 ▼0.10 | 1.82 ▲0.26 | 43.02 ▼1.90 |
Dashboard /wp-admin | 2,220 ▲40 | 5.56 ▼0.06 | 81.35 ▼6.82 | 74.63 ▲32.86 |
Posts /wp-admin/edit.php | 2,122 ▲22 | 1.99 ▼0.01 | 37.35 ▲0.24 | 35.09 ▼0.16 |
Add New Post /wp-admin/post-new.php | 1,559 ▲24 | 23.36 ▲5.06 | 745.66 ▲80.00 | 52.82 ▼11.74 |
Media Library /wp-admin/upload.php | 1,422 ▲22 | 4.11 ▼0.09 | 104.04 ▲3.26 | 77.90 ▲34.87 |
Account Setup /wp-admin/admin.php?page=comm100livechat_settings | 1,625 | 4.55 | 56.62 | 45.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_comm100livechat_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 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 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
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/comm100-live-chat/plugin_files/Comm100LiveChat.class.php:237
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/comm100-live-chat/comm100livechat.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/comm100-live-chat/plugin_files/Comm100LiveChat.class.php:237
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
comm100-live-chat/comm100livechat.php 92% from 13 tests
The entry point to "Comm100 Live Chat & Chatbot" version 2.9 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("comm100-live-chat.php" instead of "comm100livechat.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin986 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 98 | 55 | 603 |
JavaScript | 2 | 48 | 5 | 383 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 1.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 45 | |
▷ Static methods | 3 | 6.67% |
▷ Public methods | 32 | 71.11% |
▷ Protected methods | 12 | 26.67% |
▷ Private methods | 1 | 2.22% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
plugin_files/images/favicon.png | 3.07KB | 0.47KB | ▼ 84.56% |
plugin_files/images/logo.png | 6.90KB | 3.05KB | ▼ 55.85% |