Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼10.76ms] Passed 4 tests
Server-side resources used by Onlim Livechat and Chatbot Integration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 44.39 ▼24.15 |
Dashboard /wp-admin | 3.50 ▲0.19 | 54.13 ▲1.80 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 54.39 ▲3.14 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.32 | 84.20 ▼17.79 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 39.03 ▼2.89 |
Onlim /wp-admin/admin.php?page=onlim | 3.36 | 33.82 |
Settings /wp-admin/admin.php?page=onlim_settings | 3.36 | 44.79 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 29 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
onlim_version |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Onlim Livechat and Chatbot Integration
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲47 | 14.73 ▲0.36 | 1.79 ▼0.86 | 44.06 ▼19.20 |
Dashboard /wp-admin | 2,242 ▲62 | 5.58 ▼0.08 | 88.84 ▼10.21 | 40.02 ▼2.88 |
Posts /wp-admin/edit.php | 2,144 ▲44 | 2.02 ▲0.04 | 40.48 ▼1.19 | 35.89 ▼1.29 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 23.25 ▲1.90 | 637.42 ▼110.25 | 50.41 ▼4.17 |
Media Library /wp-admin/upload.php | 1,447 ▲47 | 4.21 ▲0.07 | 100.00 ▼9.58 | 44.55 ▼8.36 |
Onlim /wp-admin/admin.php?page=onlim | 908 | 1.99 | 24.43 | 28.46 |
Settings /wp-admin/admin.php?page=onlim_settings | 906 | 2.16 | 22.42 | 30.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, cannot access private method Onlim::deactivate()
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- onlim_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/onlim/includes/shortcodes/onlim-widget.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: There are too many tags (12 tag instead of maximum 10)
onlim/onlim.php Passed 13 tests
The primary PHP file in "Onlim Livechat and Chatbot Integration" version 1.0.0 is used by WordPress to initiate all plugin functionality
87 characters long description:
Onlim Livechat and Chatbot plugin. Awesome and free Livechat in Wordpress for everyone.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin856 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 198 | 402 | 662 |
PO File | 1 | 25 | 28 | 95 |
CSS | 4 | 0 | 0 | 65 |
SVG | 1 | 0 | 1 | 34 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 14.60 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 56 | |
▷ Static methods | 19 | 33.93% |
▷ Public methods | 39 | 69.64% |
▷ Protected methods | 3 | 5.36% |
▷ Private methods | 14 | 25.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin