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
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▲3.86ms] Passed 4 tests
This is a short check of server-side resources used by Provide Support Live Chat
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 47.38 ▲8.35 |
Dashboard /wp-admin | 3.41 ▲0.11 | 55.88 ▲4.35 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 50.74 ▲0.49 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 99.15 ▲2.26 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 49.66 ▲15.00 |
Server storage [IO: ▲0.13MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
ProvideSupport plugin version |
widget_theysaidso_widget |
theysaidso_admin_options |
f7jsFile |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Provide Support Live Chat
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,896 ▲150 | 13.63 ▼0.72 | 8.26 ▲6.47 | 44.19 ▲0.62 |
Dashboard /wp-admin | 2,211 ▲23 | 4.93 ▲0.04 | 99.61 ▼18.13 | 71.34 ▲24.96 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 2.01 ▼0.03 | 38.41 ▲0.04 | 40.00 ▲2.25 |
Add New Post /wp-admin/post-new.php | 1,692 ▲159 | 24.67 ▲1.65 | 729.11 ▲57.64 | 55.55 ▼6.51 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.18 ▼0.10 | 100.56 ▼7.46 | 77.98 ▲36.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- ProvideSupport plugin version
- db_upgraded
- widget_recent-posts
- f7jsFile
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/provide-support-live-chat/plugin.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 20 tag instead of maximum 10
provide-support-live-chat/plugin.php 85% from 13 tests
The main PHP script in "Provide Support Live Chat" version 5.0.0 is automatically included on every request by WordPress
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 260 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("provide-support-live-chat.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin1,581 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 105 | 88 | 770 |
PHP | 1 | 48 | 24 | 487 |
CSS | 1 | 2 | 42 | 324 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
etc/img/wp_ps_icon.png | 1.11KB | 1.07KB | ▼ 3.34% |
etc/img/provide-support_logo.png | 4.58KB | 2.45KB | ▼ 46.45% |
etc/img/display_template.png | 19.85KB | 20.58KB | 0.00% |