Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼141.16ms] Passed 4 tests
Server-side resources used by Jitbit Live Chat for Wordpress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.01 | 35.69 ▼1.11 |
Dashboard /wp-admin | 3.07 ▲0.01 | 55.01 ▲7.34 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 49.43 ▼8.36 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 87.63 ▼562.52 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 35.77 ▲7.53 |
Jitbit Livechat /wp-admin/plugins.php?page=livecaht-elements | 3.06 | 27.69 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Jitbit Live Chat for Wordpress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲88 | 15.69 ▲0.17 | 10.50 ▲2.74 | 50.84 ▼1.70 |
Dashboard /wp-admin | 2,972 ▲41 | 5.93 ▼0.08 | 171.79 ▼40.17 | 115.42 ▼26.92 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.69 ▼0.01 | 66.91 ▼39.79 | 96.80 ▼10.63 |
Add New Post /wp-admin/post-new.php | 1,594 ▲13 | 18.81 ▼1.79 | 401.91 ▲20.78 | 112.93 ▼2.39 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 4.99 ▼0.06 | 161.92 ▼0.53 | 124.45 ▼7.13 |
Jitbit Livechat /wp-admin/plugins.php?page=livecaht-elements | 1,068 | 2.05 | 58.94 | 74.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/plugins.php?page=livecaht-elements
- > User deprecated in wp-includes/functions.php+5221
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/plugins.php?page=livecaht-elements
- > User deprecated in wp-includes/functions.php+5221
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jitbit-live-chat/livechat.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
1 plugin tags: live chat
jitbit-live-chat/livechat.php 92% from 13 tests
"Jitbit Live Chat for Wordpress" version 0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("jitbit-live-chat.php" instead of "livechat.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin54 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 12 | 17 | 54 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 3 | |
▷ Named functions | 3 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin