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.04MB] [CPU: ▼6.91ms] Passed 4 tests
An overview of server-side resources used by Subiz - Live chat plugin on Wordpress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.04 | 39.52 ▼4.31 |
Dashboard /wp-admin | 3.39 ▲0.01 | 46.09 ▼21.29 |
Posts /wp-admin/edit.php | 3.44 ▲0.05 | 45.54 ▼1.57 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.05 | 93.41 ▼0.27 |
Media Library /wp-admin/upload.php | 3.31 ▲0.05 | 37.43 ▼0.48 |
Subiz /wp-admin/options-general.php?page=subiz_plugin | 3.39 | 31.70 |
Server storage [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: no files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
subiz_licence_id |
subiz-visibility-options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Subiz - Live chat plugin on Wordpress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲65 | 13.65 ▼0.78 | 2.37 ▲0.63 | 42.66 ▲0.13 |
Dashboard /wp-admin | 2,210 ▲24 | 5.84 ▲0.91 | 110.81 ▼8.25 | 56.11 ▲13.86 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.03 | 38.03 ▲0.86 | 31.77 ▼1.49 |
Add New Post /wp-admin/post-new.php | 1,541 ▲22 | 23.06 ▼0.04 | 646.59 ▼27.68 | 48.72 ▼8.90 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.23 ▲0.02 | 96.64 ▼8.81 | 44.62 ▲0.23 |
Subiz /wp-admin/options-general.php?page=subiz_plugin | 2,159 | 3.84 | 55.87 | 105.38 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > 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=subiz_plugin
- > 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/subiz-live-chat/subiz.php:256
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
wp-content/plugins/subiz-live-chat/templates/subiz-logo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
https://vcdn.subiz-cdn.com/file/bubble_lib_chat_box_10.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
https://vcdn.subiz-cdn.com/file/bubble_lib_chat_box_11.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
https://vcdn.subiz-cdn.com/file/bubble_event_a_new_year_03.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
https://vcdn.subiz-cdn.com/file/bubble_lib_chat_box_17.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
https://vcdn.subiz-cdn.com/file/bubble_lib_chat_box_04.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
https://vcdn.subiz-cdn.com/file/bubble_lib_11.svg - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
https://vcdn.subiz-cdn.com/file/bubble_lib_chat_box_07.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
https://vcdn.subiz-cdn.com/file/bubble_lib_chat_box_03.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
https://vcdn.subiz-cdn.com/file/bubble_lib_chat_box_05.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
https://vcdn.subiz-cdn.com/file/bubble_lib_chat_box_13.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
https://vcdn.subiz-cdn.com/file/bubble_lib_chat_box_02.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
https://vcdn.subiz-cdn.com/file/bubble_lib_chat_box_15.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
https://vcdn.subiz-cdn.com/file/bubble_lib_06.svg - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
https://vcdn.subiz-cdn.com/file/bubble_lib_chat_box_08.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
https://vcdn.subiz-cdn.com/file/bubble_lib_10.svg - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
https://vcdn.subiz-cdn.com/file/bubble_07.svg - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
https://vcdn.subiz-cdn.com/file/bubble_event_a_new_year_01.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
https://vcdn.subiz-cdn.com/file/bubble_lib_chat_box_18.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
https://vcdn.subiz-cdn.com/file/bubble_event_a_new_year_02.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
https://vcdn.subiz-cdn.com/file/bubble_event_a_new_year_04.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
https://vcdn.subiz-cdn.com/file/bubble_lib_08.svg - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
https://vcdn.subiz-cdn.com/file/bubble_lib_13.svg - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
https://vcdn.subiz-cdn.com/file/bubble_lib_chat_box_16.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=subiz_plugin
- > Network (severe)
https://vcdn.subiz-cdn.com/file/bubble_lib_chat_box_01.png - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Donate link: Please fix this invalid url: ""
subiz-live-chat/subiz.php 85% from 13 tests
The primary PHP file in "Subiz - Live chat plugin on Wordpress" version 4.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 213 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("subiz-live-chat.php" instead of "subiz.php")
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
No dangerous file extensions were detected2,628 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 77 | 64 | 692 |
PHP | 2 | 49 | 9 | 577 |
CSS | 6 | 65 | 15 | 538 |
HTML | 1 | 43 | 0 | 219 |
LESS | 2 | 18 | 9 | 216 |
Markdown | 2 | 104 | 0 | 215 |
JSON | 4 | 0 | 0 | 99 |
PO File | 1 | 29 | 29 | 72 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 10 | |
▷ Static methods | 2 | 20.00% |
▷ Public methods | 10 | 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 | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
89 PNG files occupy 0.29MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/buttons/left/default_2_en_GB.png | 4.60KB | 2.11KB | ▼ 54.09% |
assets/buttons/left/default_5_en_ZA.png | 2.38KB | 0.96KB | ▼ 59.73% |
assets/buttons/left/default_3_en_NZ.png | 3.21KB | 1.22KB | ▼ 61.96% |
assets/buttons/left/default_2_en_US.png | 4.60KB | 2.11KB | ▼ 54.09% |
assets/buttons/right/default_4_en.png | 2.10KB | 0.91KB | ▼ 56.56% |