Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲1.70MB] [CPU: ▲2.71ms] Passed 4 tests
Analyzing server-side resources used by Live Chat by Supsystic
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.08 ▲1.61 | 43.61 ▲3.06 |
Dashboard /wp-admin | 5.04 ▲1.70 | 61.33 ▼1.99 |
Posts /wp-admin/edit.php | 5.10 ▲1.74 | 61.24 ▲11.35 |
Add New Post /wp-admin/post-new.php | 7.62 ▲1.74 | 97.12 ▼1.59 |
Media Library /wp-admin/upload.php | 4.97 ▲1.74 | 55.22 ▲19.94 |
Live Chat by Supsystic /wp-admin/admin.php?page=chat-wp-supsystic | 5.47 | 50.28 |
StatisticsPro /wp-admin/admin.php?page=chat-wp-supsystic&tab=statistics | 5.03 | 44.46 |
Overview /wp-admin/admin.php?page=chat-wp-supsystic&tab=overview | 5.43 | 336.51 |
Settings /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings | 5.47 | 54.40 |
Featured Plugins /wp-admin/admin.php?page=chat-wp-supsystic&tab=featured-plugins | 5.19 | 45.33 |
Server storage [IO: ▲2.56MB] [DB: ▲0.10MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 372 new files
Database: 13 new tables, 10 new options
New tables |
---|
wp_lcs_chat_engines_show_pages |
wp_lcs_chat_templates |
wp_lcs_chat_triggers_conditions |
wp_lcs_usage_stat |
wp_lcs_chat_messages |
wp_lcs_statistics |
wp_lcs_countries |
wp_lcs_modules_type |
wp_lcs_chat_triggers |
wp_lcs_chat_sessions |
... |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
lcs_opts_data |
can_compress_scripts |
lcs_plugin_activation_errors |
wp_lcs_db_installed |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
wp_lcs_db_version |
Browser metrics Passed 4 tests
Live Chat by Supsystic: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,289 ▲528 | 14.10 ▼0.10 | 22.53 ▲20.71 | 56.75 ▲12.53 |
Dashboard /wp-admin | 2,275 ▲69 | 4.89 ▲0.00 | 106.91 ▼7.12 | 44.40 ▲1.91 |
Posts /wp-admin/edit.php | 2,157 ▲54 | 2.01 ▲0.03 | 36.99 ▲2.04 | 37.48 ▲0.02 |
Add New Post /wp-admin/post-new.php | 1,588 ▲39 | 23.25 ▲0.02 | 649.56 ▼5.53 | 54.02 ▼4.83 |
Media Library /wp-admin/upload.php | 1,457 ▲54 | 4.24 ▲0.03 | 98.08 ▼10.88 | 46.36 ▼0.71 |
Live Chat by Supsystic /wp-admin/admin.php?page=chat-wp-supsystic | 9,773 | 9.59 | 363.64 | 142.19 |
StatisticsPro /wp-admin/admin.php?page=chat-wp-supsystic&tab=statistics | 1,204 | 3.58 | 49.09 | 66.43 |
Overview /wp-admin/admin.php?page=chat-wp-supsystic&tab=overview | 1,530 | 3.61 | 45.56 | 103.01 |
Settings /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings | 9,776 | 9.67 | 387.73 | 146.11 |
Featured Plugins /wp-admin/admin.php?page=chat-wp-supsystic&tab=featured-plugins | 1,748 | 3.60 | 48.48 | 126.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.10MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie tables were found after uninstall: 9 tables
- wp_lcs_chat_triggers
- wp_lcs_chat_templates
- wp_lcs_chat_engines_show_pages
- wp_lcs_chat_engines
- wp_lcs_chat_sessions
- wp_lcs_countries
- wp_lcs_chat_triggers_conditions
- wp_lcs_chat_messages
- wp_lcs_chat_users
- This plugin does not fully uninstall, leaving 8 options in the database
- db_upgraded
- lcs_plugin_activation_errors
- widget_recent-comments
- widget_theysaidso_widget
- lcs_opts_data
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=featured-plugins
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Deprecated in wp-content/plugins/live-chat-by-supsystic/classes/helpers/SxGeo.php+248
Array and string offset access syntax with curly braces is deprecated
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
- 228× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node_Expression_Binary' not found in wp-content/plugins/live-chat-by-supsystic/classes/Twig/Node/Expression/Binary/Concat.php:12
- > PHP Fatal error
Uncaught Error: Class 'Twig_Extension' not found in wp-content/plugins/live-chat-by-supsystic/classes/Twig/Extension/StringLoader.php:11
- > PHP Fatal error
Uncaught Error: Class 'Twig_TokenParser' not found in wp-content/plugins/live-chat-by-supsystic/classes/Twig/TokenParser/Import.php:19
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node' not found in wp-content/plugins/live-chat-by-supsystic/classes/Twig/Node/Macro.php:17
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/live-chat-by-supsystic/modules/chat/views/tpl/chatSettingsAdmin.php:5
- > PHP Fatal error
Uncaught Error: Class 'controllerLcs' not found in wp-content/plugins/live-chat-by-supsystic/modules/registration/controller.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/live-chat-by-supsystic/modules/supsystic_promo/views/tpl/adminFooter.php:4
- > PHP Fatal error
Uncaught Error: Class 'moduleLcs' not found in wp-content/plugins/live-chat-by-supsystic/modules/chat/mod.php:2
- > PHP Fatal error
Uncaught Error: Class 'Twig_TokenParser' not found in wp-content/plugins/live-chat-by-supsystic/classes/Twig/TokenParser/Sandbox.php:23
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node_Expression_Call' not found in wp-content/plugins/live-chat-by-supsystic/classes/Twig/Node/Expression/Test.php:11
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=featured-plugins
- > Network (severe)
http://supsystic-42d7.kxcdn.com/lib/tooltipster/tooltipster.css?ver=1.5.3 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=featured-plugins
- > Network (severe)
http://supsystic-42d7.kxcdn.com/lib/chosen/chosen.min.css?ver=1.5.3 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Network (severe)
http://supsystic-42d7.kxcdn.com/lib/tooltipster/jquery.tooltipster.min.js?ver=1.5.3 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Network (severe)
http://supsystic-42d7.kxcdn.com/lib/chosen/chosen.jquery.min.js?ver=1.5.3 - Failed to load resource: net::ERR_CONNECTION_RESET
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Network (severe)
http://supsystic-42d7.kxcdn.com/lib/jqgrid/ui.jqgrid.css?ver=1.5.3 - Failed to load resource: net::ERR_CONNECTION_RESET
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Network (severe)
http://supsystic-42d7.kxcdn.com/lib/codemirror/codemirror.css?ver=1.5.3 - Failed to load resource: net::ERR_CONNECTION_RESET
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Network (severe)
http://supsystic-42d7.kxcdn.com/lib/codemirror/addon/hint/show-hint.css?ver=1.5.3 - Failed to load resource: net::ERR_CONNECTION_RESET
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Network (severe)
http://supsystic-42d7.kxcdn.com/lib/bootstrap-partial/bootstrap.partial.min.css?ver=1.5.3 - Failed to load resource: net::ERR_CONNECTION_RESET
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Network (severe)
http://supsystic-42d7.kxcdn.com/_assets/live-chat/img/preview/primary.jpg - Failed to load resource: net::ERR_CONNECTION_RESET
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Network (severe)
http://supsystic-42d7.kxcdn.com/_assets/live-chat/img/preview/standard.jpg - Failed to load resource: net::ERR_CONNECTION_RESET
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Network (severe)
http://supsystic-42d7.kxcdn.com/_assets/live-chat/promo/img/reg-fields-edit.jpg - Failed to load resource: net::ERR_CONNECTION_RESET
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Network (severe)
http://supsystic-42d7.kxcdn.com/lib/jqgrid/jquery.jqGrid.min.js?ver=1.5.3 - Failed to load resource: net::ERR_CONNECTION_RESET
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Network (severe)
http://supsystic-42d7.kxcdn.com/lib/jqgrid/i18n/grid.locale-en.js?ver=1.5.3 - Failed to load resource: net::ERR_CONNECTION_RESET
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Network (severe)
http://supsystic-42d7.kxcdn.com/lib/codemirror/codemirror.js?ver=1.5.3 - Failed to load resource: net::ERR_CONNECTION_RESET
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Network (severe)
http://supsystic-42d7.kxcdn.com/lib/codemirror/addon/hint/show-hint.js?ver=1.5.3 - Failed to load resource: net::ERR_CONNECTION_RESET
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Network (severe)
http://supsystic-42d7.kxcdn.com/lib/codemirror/addon/hint/xml-hint.js?ver=1.5.3 - Failed to load resource: net::ERR_CONNECTION_RESET
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Network (severe)
http://supsystic-42d7.kxcdn.com/lib/codemirror/addon/hint/html-hint.js?ver=1.5.3 - Failed to load resource: net::ERR_CONNECTION_RESET
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Network (severe)
http://supsystic-42d7.kxcdn.com/lib/codemirror/mode/xml/xml.js?ver=1.5.3 - Failed to load resource: net::ERR_CONNECTION_RESET
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Network (severe)
http://supsystic-42d7.kxcdn.com/lib/codemirror/mode/javascript/javascript.js?ver=1.5.3 - Failed to load resource: net::ERR_CONNECTION_RESET
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Network (severe)
http://supsystic-42d7.kxcdn.com/lib/codemirror/mode/css/css.js?ver=1.5.3 - Failed to load resource: net::ERR_CONNECTION_RESET
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Network (severe)
http://supsystic-42d7.kxcdn.com/lib/codemirror/mode/htmlmixed/htmlmixed.js?ver=1.5.3 - Failed to load resource: net::ERR_CONNECTION_RESET
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).tooltipster is not a function" "TypeError: jQuery(...).tooltipster is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/live-chat-by-supsystic/js/admin.options.js?ver=1.5.3:94:32)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: CodeMirror is not defined" "ReferenceError: CodeMirror is not defined\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/live-chat-by-supsystic/modules/chat/js/admin.chat.js?ver=1.5.3:83:18)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).jqGrid is not a function" "TypeError: jQuery(...).jqGrid is not a function\n at lcsTriggersBuildTable (/wp-content/plugins/live-chat-by-supsystic/modules/chat/js/admin.chat.triggers.js?ver=1.5.3:425:44)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/live-chat-by-supsystic/modules/chat/js/admin.chat.triggers.js?ver=1.5.3:26:2)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).jqGrid is not a function" "TypeError: jQuery(...).jqGrid is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/live-chat-by-supsystic/modules/chat/js/admin.chat.agents.js?ver=1.5.3:3:21)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).tooltipster is not a function
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28721 Uncaught ReferenceError: CodeMirror is not defined
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=chat-settings
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).jqGrid is not a function
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=statistics
- > Network (severe)
http://supsystic-42d7.kxcdn.com/_assets/live-chat/promo/img/statistics.jpg - Failed to load resource: net::ERR_CONNECTION_RESET
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=featured-plugins
- > Network (severe)
http://supsystic-42d7.kxcdn.com/lib/chosen/chosen.jquery.min.js?ver=1.5.3 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=overview
- > Network (severe)
http://supsystic-42d7.kxcdn.com/lib/chosen/chosen.min.css?ver=1.5.3 - Failed to load resource: net::ERR_CONNECTION_RESET
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=overview
- > Network (severe)
http://supsystic-42d7.kxcdn.com/js/jquery.slimscroll.js?ver=1.5.3 - Failed to load resource: net::ERR_CONNECTION_RESET
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=overview
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).slimScroll is not a function" "TypeError: jQuery(...).slimScroll is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/live-chat-by-supsystic/modules/supsystic_promo/js/admin.overview.js?ver=1.5.3:14:45)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=overview
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).slimScroll is not a function
- > GET request to /wp-admin/admin.php?page=chat-wp-supsystic&tab=featured-plugins
- > Network (severe)
http://supsystic-42d7.kxcdn.com/lib/tooltipster/jquery.tooltipster.min.js?ver=1.5.3 - Failed to load resource: net::ERR_CONNECTION_RESET
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #2 (Online Live Chat Options. Let you support be effective with Live Chat triggers, which help you to set Whom, When and Where show live chat bar.), #3 (Live chat example.)
live-chat-by-supsystic/lcs.php 85% from 13 tests
"Live Chat by Supsystic" version 1.5.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("live-chat-by-supsystic.php" instead of "lcs.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 149 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected36,102 lines of code in 321 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 276 | 2,215 | 6,442 | 20,813 |
PO File | 6 | 3,445 | 4,729 | 8,438 |
JavaScript | 20 | 174 | 370 | 4,787 |
CSS | 19 | 94 | 207 | 2,064 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
These items need your attention
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 103)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 13.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 198.00 |
Average method complexity | 2.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 103.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 19 | |
Traits | 0 | |
Classes | 228 | |
▷ Abstract classes | 19 | 8.33% |
▷ Concrete classes | 209 | 91.67% |
▷ Final classes | 0 | 0.00% |
Methods | 1,625 | |
▷ Static methods | 262 | 16.12% |
▷ Public methods | 1,434 | 88.25% |
▷ Protected methods | 159 | 9.78% |
▷ Private methods | 32 | 1.97% |
Functions | 66 | |
▷ Named functions | 66 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 149 | |
▷ Global constants | 99 | 66.44% |
▷ Class constants | 50 | 33.56% |
▷ Public constants | 50 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
39 PNG files occupy 0.18MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_inset-soft_15_121212_1x100.png | 0.27KB | 0.17KB | ▼ 35.74% |
css/images/ui-bg_glass_95_fef1ec_1x400.png | 0.32KB | 0.15KB | ▼ 54.82% |
css/images/minimal@2x.png | 3.38KB | 2.56KB | ▼ 24.15% |
modules/chat/img/assets/close_btns/sqr-close.png | 0.98KB | 0.55KB | ▼ 43.97% |
modules/chat/img/assets/close_btns/close-red.png | 1.25KB | 0.38KB | ▼ 69.92% |