Benchmarks
Plugin footprint 83% 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: ▲0.02MB] [CPU: ▼8.18ms] Passed 4 tests
An overview of server-side resources used by GoChat247 - Live Chat Outsourcing
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.03 | 40.98 ▼0.56 |
Dashboard /wp-admin | 3.38 ▼0.01 | 51.48 ▼15.71 |
Posts /wp-admin/edit.php | 3.43 ▲0.03 | 51.04 ▼2.78 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.03 | 85.79 ▼13.67 |
Media Library /wp-admin/upload.php | 3.30 ▲0.03 | 38.35 ▲2.79 |
Chat Code /wp-admin/options-general.php?page=wcc_config | 3.25 | 33.23 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
wcc_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for GoChat247 - Live Chat Outsourcing
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,892 ▲131 | 13.65 ▼0.94 | 9.79 ▲8.11 | 47.07 ▲7.06 |
Dashboard /wp-admin | 2,206 ▲32 | 5.60 ▼0.02 | 83.03 ▼10.98 | 40.88 ▼1.95 |
Posts /wp-admin/edit.php | 2,105 ▲5 | 2.00 ▼0.02 | 37.46 ▼0.50 | 34.46 ▼4.30 |
Add New Post /wp-admin/post-new.php | 1,535 ▼0 | 22.94 ▼0.39 | 692.78 ▲1.48 | 66.99 ▲0.18 |
Media Library /wp-admin/upload.php | 1,405 ▲5 | 4.20 ▼0.01 | 95.99 ▼3.82 | 41.04 ▼6.38 |
Chat Code /wp-admin/options-general.php?page=wcc_config | 810 | 2.03 | 23.24 | 28.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- wcc_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wcc_config
- > Notice in wp-content/plugins/gochat247-live-chat-outsourcing/modules/settings.php+27
Undefined index: _wpnonce
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wcc_config
- > Notice in wp-content/plugins/gochat247-live-chat-outsourcing/modules/settings.php+86
Undefined index: id
- > GET request to /wp-admin/options-general.php?page=wcc_config
- > Notice in wp-content/plugins/gochat247-live-chat-outsourcing/modules/settings.php+86
Undefined index: class
- > GET request to /wp-admin/options-general.php?page=wcc_config
- > Notice in wp-content/plugins/gochat247-live-chat-outsourcing/modules/settings.php+88
Undefined variable: out
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gochat247-live-chat-outsourcing/modules/settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gochat247-live-chat-outsourcing/modules/scripts.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gochat247-live-chat-outsourcing/modules/settings.php:3
- > 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 issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: Add an image for screenshot #1 (Live Chat software code in plugin)
gochat247-live-chat-outsourcing/gochat247.php 85% from 13 tests
The primary PHP file in "GoChat247 - Live Chat Outsourcing" version 1.1 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("gochat247-live-chat-outsourcing.php" instead of "gochat247.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 466 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected12,133 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 1,084 | 155 | 10,777 |
JavaScript | 3 | 497 | 327 | 1,194 |
PHP | 3 | 26 | 16 | 162 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
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 | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.13MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
modules/inc/assets/img/glyphicons-halflings-white.png | 8.57KB | 9.20KB | 0.00% |
screenshot-1.PNG | 92.39KB | 38.17KB | ▼ 58.69% |
modules/inc/assets/css/glyphicons-halflings-white.png | 8.57KB | 9.20KB | 0.00% |
modules/inc/assets/css/glyphicons-halflings.png | 12.50KB | 10.35KB | ▼ 17.19% |
modules/inc/assets/img/glyphicons-halflings.png | 12.50KB | 10.35KB | ▼ 17.19% |