Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/kb-support/includes/tickets/ticket-actions.php+28
Undefined index: open
Server metrics [RAM: ▲1.17MB] [CPU: ▲12.65ms] Passed 4 tests
Server-side resources used by KB Support - WordPress Help Desk and Knowledge Base
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.17 ▲0.72 | 56.52 ▲12.46 |
Dashboard /wp-admin | 4.66 ▲1.36 | 92.97 ▲43.95 |
Posts /wp-admin/edit.php | 4.68 ▲1.33 | 62.19 ▲11.02 |
Add New Post /wp-admin/post-new.php | 7.59 ▲1.70 | 106.69 ▲13.99 |
Media Library /wp-admin/upload.php | 4.51 ▲1.28 | 48.55 ▲13.14 |
Getting Started with KB Support /wp-admin/index.php?page=kbs-getting-started | 4.46 | 45.00 |
Categories /wp-admin/edit-tags.php?taxonomy=ticket_category&post_type=kbs_ticket | 4.50 | 44.74 |
KBS Upgrades /wp-admin/admin.php?page=kbs-upgrades | 4.44 | 46.48 |
Tags /wp-admin/edit-tags.php?taxonomy=article_tag&post_type=article | 4.50 | 46.22 |
Companies /wp-admin/edit.php?post_type=kbs_company | 4.65 | 54.81 |
LITE vs Premium /wp-admin/edit.php?post_type=kbs_ticket&page=kbs-lite-vs-pro | 4.57 | 49.50 |
Welcome to KB Support /wp-admin/index.php?page=kbs-about | 4.45 | 43.34 |
Tickets /wp-admin/edit.php?post_type=kbs_ticket | 4.66 | 55.31 |
KB Articles /wp-admin/edit.php?post_type=article | 4.66 | 55.71 |
Submission Forms /wp-admin/edit.php?post_type=kbs_form | 4.73 | 60.05 |
Server storage [IO: ▲6.28MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 216 new files
Database: 2 new tables, 15 new options
New tables |
---|
wp_kbs_customermeta |
wp_kbs_customers |
New WordPress options |
---|
kbs_version |
wp_kbs_customers_db_version |
widget_theysaidso_widget |
widget_recent-posts |
kbs_settings |
widget_kbs_popular_articles_widget |
theysaidso_admin_options |
can_compress_scripts |
_kbs_table_check |
kbs_completed_upgrades |
... |
Browser metrics Passed 4 tests
KB Support - WordPress Help Desk and Knowledge Base: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,241 ▲506 | 13.70 ▼0.97 | 6.51 ▲4.55 | 43.63 ▼6.80 |
Dashboard /wp-admin | 2,536 ▲348 | 5.04 ▼0.84 | 109.73 ▼5.16 | 78.56 ▲32.87 |
Posts /wp-admin/edit.php | 2,194 ▲108 | 2.08 ▲0.07 | 36.23 ▼1.99 | 33.44 ▼1.22 |
Add New Post /wp-admin/post-new.php | 1,608 ▲75 | 23.69 ▲0.52 | 593.55 ▼92.20 | 60.77 ▲4.31 |
Media Library /wp-admin/upload.php | 1,490 ▲105 | 4.28 ▲0.12 | 97.51 ▼5.01 | 42.68 ▼2.64 |
Getting Started with KB Support /wp-admin/index.php?page=kbs-getting-started | 1,209 | 1.79 | 24.66 | 53.36 |
Categories /wp-admin/edit-tags.php?taxonomy=ticket_category&post_type=kbs_ticket | 1,367 | 2.22 | 31.70 | 27.37 |
KBS Upgrades /wp-admin/admin.php?page=kbs-upgrades | 2,107 | 3.16 | 50.82 | 46.38 |
Tags /wp-admin/edit-tags.php?taxonomy=article_tag&post_type=article | 1,346 | 2.36 | 30.60 | 29.84 |
Companies /wp-admin/edit.php?post_type=kbs_company | 1,592 | 4.78 | 62.07 | 28.47 |
LITE vs Premium /wp-admin/edit.php?post_type=kbs_ticket&page=kbs-lite-vs-pro | 1,662 | 4.60 | 56.53 | 70.35 |
Welcome to KB Support /wp-admin/index.php?page=kbs-about | 1,247 | 2.00 | 31.59 | 47.50 |
Tickets /wp-admin/edit.php?post_type=kbs_ticket | 1,684 | 4.76 | 69.36 | 91.31 |
KB Articles /wp-admin/edit.php?post_type=article | 1,641 | 4.94 | 58.87 | 30.46 |
Submission Forms /wp-admin/edit.php?post_type=kbs_form | 2,101 | 4.87 | 61.67 | 30.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie tables detected upon uninstall: 2 tables
- wp_kbs_customermeta
- wp_kbs_customers
- The uninstall procedure has failed, leaving 15 options in the database
- widget_recent-posts
- kbs_completed_upgrades
- widget_kbs_article_categories_tags_widget
- kbs_doing_upgrade
- widget_theysaidso_widget
- _kbs_table_check
- can_compress_scripts
- kbs_version
- wp_kbs_customers_db_version
- widget_kbs_popular_articles_widget
- ...
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/kb-support/includes/admin/forms/forms.php
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/kb-support/templates/ticket-history.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/kb-support/templates/shortcode-profile-editor.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function kbs_get_ticket_label_singular() in wp-content/plugins/kb-support/templates/view-ticket.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function kbs_get_article_label_singular() in wp-content/plugins/kb-support/templates/shortcode-search.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/kb-support/templates/shortcode-login.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/kb-support/templates/shortcode-form.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/kb-support/includes/admin/upsells/class-kbs-admin-upsells.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/kb-support/templates/shortcode-register.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/kb-support/includes/admin/upsells/lite-vs-pro-page.php:5
- > 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 user-side errors
- 11 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=kbs_form
- > Javascript (severe) in unknown
/wp-content/plugins/kb-support/assets/js/admin-conditions-scripts.min.js?ver=1.5.90 0:1380 Uncaught TypeError: $ is not a function
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: support ticket, ticket system, help desk, helpdesk, knowledge base
kb-support/kb-support.php Passed 13 tests
"KB Support - WordPress Help Desk and Knowledge Base" version 1.5.91's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
74 characters long description:
The best help desk tool for WordPress. Simple yet effective. Feature rich.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin48,258 lines of code in 169 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 135 | 8,861 | 13,973 | 31,337 |
PO File | 2 | 2,464 | 3,022 | 7,918 |
CSS | 15 | 563 | 475 | 4,599 |
JavaScript | 14 | 384 | 142 | 2,693 |
SVG | 2 | 0 | 2 | 1,685 |
Markdown | 1 | 11 | 0 | 26 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 35.72 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 244.00 |
Average method complexity | 4.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 59.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 50 | |
▷ Abstract classes | 1 | 2.00% |
▷ Concrete classes | 49 | 98.00% |
▷ Final classes | 1 | 2.04% |
Methods | 570 | |
▷ Static methods | 8 | 1.40% |
▷ Public methods | 504 | 88.42% |
▷ Protected methods | 25 | 4.39% |
▷ Private methods | 41 | 7.19% |
Functions | 788 | |
▷ Named functions | 774 | 98.22% |
▷ Anonymous functions | 14 | 1.78% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
30 PNG files occupy 1.13MB with 0.63MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/ui-icons_ffffff_256x240.png | 6.33KB | 4.18KB | ▼ 33.99% |
assets/images/screenshots/11-data-export.png | 41.20KB | 14.21KB | ▼ 65.50% |
assets/images/icon-256x256.png | 6.98KB | 3.16KB | ▼ 54.73% |
assets/images/screenshots/11-additional-agents-metabox.png | 36.69KB | 12.72KB | ▼ 65.33% |
assets/css/images/ui-bg_highlight-hard_65_fee4bd_1x100.png | 0.36KB | 0.15KB | ▼ 58.33% |