Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.51ms] Passed 4 tests
A check of server-side resources used by Userlike – WordPress Live Chat plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.90 ▼10.38 |
Dashboard /wp-admin | 3.33 ▼0.02 | 52.52 ▼11.78 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.20 ▼0.33 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 95.39 ▼7.56 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.03 ▲1.36 |
Userlike /wp-admin/options-general.php?page=userlike | 3.21 | 28.29 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
userlike_secret |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Userlike – WordPress Live Chat plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲91 | 14.43 ▲0.03 | 2.19 ▲0.38 | 43.27 ▲0.62 |
Dashboard /wp-admin | 2,209 ▲27 | 5.82 ▼0.03 | 103.12 ▼7.09 | 41.42 ▲0.74 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.01 ▲0.01 | 40.04 ▼0.47 | 36.82 ▼1.32 |
Add New Post /wp-admin/post-new.php | 1,540 ▲26 | 18.37 ▲0.90 | 639.67 ▼47.39 | 66.89 ▲13.87 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.21 ▼0.07 | 97.15 ▼16.17 | 43.97 ▼3.25 |
Userlike /wp-admin/options-general.php?page=userlike | 834 | 2.08 | 25.12 | 30.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- userlike_secret
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
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
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=userlike
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=userlike
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined variable: in_userlike in wp-content/plugins/userlike/userlike.admin.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/userlike/userlike.php:93
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please a description for screenshot #7 in userlike/assets to your readme.txt
- Tags: There are too many tags (11 tag instead of maximum 10)
userlike/userlike.php Passed 13 tests
The entry point to "Userlike – WordPress Live Chat plugin" version 2.3 is a PHP file that has certain tags in its header comment area
44 characters long description:
Userlike Live Chat integration for Wordpress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin84 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 17 | 21 | 84 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 7 | |
▷ Static methods | 7 | 100.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
userlike.png | 4.86KB | 3.10KB | ▼ 36.25% |