KiotViet Sync 1.6.56

Does KiotViet Sync work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 116.59 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.020 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 800+
WordPress.org page https://wordpress.org/plugins/kiotvietsync/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 9

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=kiotvietsync%2Fkiotviet-sync.php&plugin_status=all&paged=1&s&_wpnonce=38daa027f4
Aspect after-activation
HTTP status 200
Load time 0.626 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

KiotViet Sync

Page screenshot: KiotViet Sync
URL /wp-admin/admin.php?page=plugin-kiotviet-sync#/login
Requested URL /wp-admin/admin.php?page=plugin-kiotviet-sync
Aspect menu-item
HTTP status 200
Load time 1.057 s
Memory usage 3.1 MiB
JS errors None
Resource errors None

KiotViet Sync → Danh sách sản phẩm đồng bộ

Page screenshot: KiotViet Sync → Danh sách sản phẩm đồng bộ
URL /wp-admin/admin.php?page=plugin-kiotviet-sync-product#/
Requested URL /wp-admin/admin.php?page=plugin-kiotviet-sync-product
Aspect menu-item
HTTP status 200
Load time 0.370 s
Memory usage 3.14 MiB
JS errors None
Resource errors None

KiotViet Sync → Danh sách đơn đặt hàng

Page screenshot: KiotViet Sync → Danh sách đơn đặt hàng
URL /wp-admin/admin.php?page=plugin-kiotviet-sync-order
Aspect menu-item
HTTP status 200
Load time 0.183 s
Memory usage N/A
JS errors None
Resource errors None

KiotViet Sync → Lịch sử đồng bộ

Page screenshot: KiotViet Sync → Lịch sử đồng bộ
URL /wp-admin/admin.php?page=plugin-kiotviet-sync-history#/
Requested URL /wp-admin/admin.php?page=plugin-kiotviet-sync-history
Aspect menu-item
HTTP status 200
Load time 0.315 s
Memory usage 3.12 MiB
JS errors None
Resource errors None

KiotViet Sync → Danh sách webhook

Page screenshot: KiotViet Sync → Danh sách webhook
URL /wp-admin/admin.php?page=plugin-kiotviet-sync-webhook#/
Requested URL /wp-admin/admin.php?page=plugin-kiotviet-sync-webhook
Aspect menu-item
HTTP status 200
Load time 0.329 s
Memory usage 3.12 MiB
JS errors None
Resource errors None

KiotViet Sync → Cài đặt

Page screenshot: KiotViet Sync → Cài đặt
URL /wp-admin/admin.php?page=plugin-kiotviet-sync-options#/
Requested URL /wp-admin/admin.php?page=plugin-kiotviet-sync-options
Aspect menu-item
HTTP status 200
Load time 0.366 s
Memory usage 3.27 MiB
JS errors None
Resource errors None

Plugins → Cài đặt plugin

Page screenshot: Plugins  → Cài đặt plugin
URL /wp-admin/plugins.php?page=tgmpa-install-plugins
Aspect menu-item
HTTP status 200
Load time 0.161 s
Memory usage 3.08 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.253 s
Memory usage 3.02 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.282 s0.286 s+0.004 s3.05 MiB3.16 MiB+ 120.45 KiB
/wp-admin/edit.php0.185 s0.418 s+0.233 s3.08 MiB3.19 MiB+ 118.98 KiB
/wp-admin/post-new.php0.795 s1.068 s+0.273 s4.97 MiB5.1 MiB+ 137.12 KiB
/wp-admin/upload.php0.565 s0.322 s-0.243 s2.99 MiB3.09 MiB+ 103.6 KiB
/wp-admin/options-writing.php0.156 s0.151 s-0.005 s2.99 MiB3.08 MiB+ 90.59 KiB
/wp-admin/media-new.php0.320 s0.245 s-0.075 s2.97 MiB3.08 MiB+ 115.79 KiB
/wp-admin/edit-tags.php?taxonomy=category0.177 s0.190 s+0.013 s2.98 MiB3.1 MiB+ 120.76 KiB
/wp-admin/post-new.php?post_type=page0.624 s0.676 s+0.052 s4.96 MiB5.09 MiB+ 128.7 KiB
/wp-admin/options-discussion.php0.214 s0.282 s+0.068 s2.98 MiB3.08 MiB+ 104.43 KiB
/wp-admin/edit-comments.php0.210 s0.203 s-0.007 s3 MiB3.1 MiB+ 102.8 KiB
/0.291 s0.203 s-0.088 s2.95 MiB3.08 MiB+ 139.27 KiB
Average 0.347 s0.368 s+0.020 s3.35 MiB3.47 MiB+ 116.59 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
Language % Lines of code Comment lines Files
PHP95.8%6,0441,88541
Sass2.0%12641
CSS2.0%125121
JSON0.1%801
JavaScript0.0%3271
Total 6,306 1,928 45

PHP Code Analysis | More results »

Lines of code 5,788
Total complexity 1,224
Median class complexity 17.0
Median method complexity 2.0
Most complex class TGM-Plugin-Activation\TGM_Plugin_Activation
Most complex function TGMPA_List_Table::process_bulk_actions()
Classes 35
Methods 328
Functions 10

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 4

PHP Error Log 10 lines

[27-Feb-2023 08:53:52 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_orders_count() in /wp-content/plugins/kiotvietsync/admin/list_table/order.php:88
Stack trace:
#0 /wp-content/plugins/kiotvietsync/admin/views/order.php(6): Kv_Orders_List->prepare_items()
#1 /wp-content/plugins/kiotvietsync/admin/class-kiotviet-sync-admin.php(114): include_once('...')
#2 /wp-includes/class-wp-hook.php(308): Kiotviet_Sync_Admin->action_kiotvietsync_order()
#3 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-admin/admin.php(259): do_action()
#6 {main}
  thrown in /wp-content/plugins/kiotvietsync/admin/list_table/order.php on line 88
See also: All tests for this plugin