SEMA API 5.15

Does SEMA API work with WordPress 6.4.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1Database errors
No JavaScript exceptions
2Pages failed to load
  • 2 0
No resource errors
Performance

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

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

Environment
WordPress version6.4.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20+
WordPress.org page https://wordpress.org/plugins/sema-api/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=sema-api%2Fsema-api.php&plugin_status=all&paged=1&s&_wpnonce=211746406e
Aspect after-activation
HTTP status 200
Load time 0.745 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Settings → SEMA Setting

Page screenshot: Settings → SEMA Setting
URL /wp-admin/options-general.php?page=sema_setting
Aspect menu-item
HTTP status 200
Load time 0.544 s
Memory usage 3.39 MiB
JS errors None
Resource errors None

Settings → SEMA Setting → Join SEMA Data Co-op

Screenshot not available
URL
Aspect menu-item-tab
HTTP status 0
Load time -0.001 s
Memory usage N/A
JS errors None
Resource errors None

Settings → SEMA Import

Page screenshot: Settings → SEMA Import
URL /wp-admin/options-general.php?page=sema_import
Aspect menu-item
HTTP status 200
Load time 0.661 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Settings → SEMA Import → Join SEMA Data Co-op

Screenshot not available
URL
Aspect menu-item-tab
HTTP status 0
Load time -0.001 s
Memory usage N/A
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.541 s
Memory usage 3.32 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.445 s0.646 s+0.201 s3.38 MiB3.42 MiB+ 35.2 KiB
/wp-admin/edit.php0.243 s0.346 s+0.103 s3.41 MiB3.44 MiB+ 38.86 KiB
/wp-admin/post-new.php0.957 s1.606 s+0.649 s5.46 MiB5.5 MiB+ 38.46 KiB
/wp-admin/upload.php0.654 s0.582 s-0.072 s3.32 MiB3.34 MiB+ 18.25 KiB
/wp-admin/options-writing.php0.224 s0.279 s+0.055 s3.32 MiB3.33 MiB+ 14.16 KiB
/wp-admin/media-new.php0.332 s0.288 s-0.044 s3.3 MiB3.33 MiB+ 34.76 KiB
/wp-admin/edit-tags.php?taxonomy=category0.224 s0.478 s+0.254 s3.31 MiB3.35 MiB+ 38.37 KiB
/wp-admin/post-new.php?post_type=page1.041 s1.123 s+0.082 s5.45 MiB5.49 MiB+ 38.47 KiB
/wp-admin/options-discussion.php0.339 s0.436 s+0.097 s3.3 MiB3.32 MiB+ 20.39 KiB
/wp-admin/edit-comments.php0.300 s0.304 s+0.004 s3.34 MiB3.36 MiB+ 19.38 KiB
/0.300 s0.303 s+0.003 s3.36 MiB3.32 MiB- 39.18 KiB
Average 0.460 s0.581 s+0.121 s3.72 MiB3.75 MiB+ 23.37 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.

JavaScript
CSS
PHP
Language % Lines of code Comment lines Files
JavaScript57.0%18,0144,8485
CSS24.1%7,6123177
PHP18.9%5,9861,07415
Total 31,612 6,239 27

PHP Code Analysis | More results »

Lines of code 4,536
Total complexity 869
Median class complexity 12.0
Median method complexity 2.0
Most complex class SEMA_Product_Import
Most complex function sema_getdata_callback()
Classes 5
Methods 49
Functions 33

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 3

Options wp_options 2

PHP Error Log 11 lines

[07-Mar-2024 23:59:04 UTC] WordPress database error Key column 'id' doesn't exist in table for query CREATE TABLE wp_sema_products (
			`productid` int(11) NOT NULL,
			`brandid` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
			`partno` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
			`status` int(11) DEFAULT NULL,
			`wpid` int(11) DEFAULT NULL,
			PRIMARY KEY (`id`),
			KEY `idx_wpid` (`wpid`) USING BTREE,
			KEY `idx_brandid` (`brandid`) USING BTREE,
  			KEY `idx_brandidpartno` (`brandid`,`partno`) USING BTREE
		  ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci made by activate_plugin, do_action('activate_sema-api/sema-api.php'), WP_Hook->do_action, WP_Hook->apply_filters, sema_activation, sema_create_tables, dbDelta
See also: All tests for this plugin, How to Hide SEMA API Admin Menus