SEMA API 5.21

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

Summary

Errors
No PHP errors, warnings or notices
1JavaScript exceptions
All test pages loaded successfully
1Resource error (CSS, JS, images, fonts and so on.)
  • 1 net::ERR_FAILED
Performance

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

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

Environment
WordPress version6.5.2
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 5

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=014f585304
Aspect after-activation
HTTP status 200
Load time 0.561 s
Memory usage 3.41 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 1.405 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Settings → SEMA Setting → Join SEMA Data Co-op

Page screenshot: Settings → SEMA Setting → Join SEMA Data Co-op
URL https://www.semadata.org/resellers
Aspect menu-item-tab
HTTP status 200
Load time 11.715 s
Memory usage N/A
JS errors
[
    {
        "message": "TypeError: $ is not a function\n    at https://www.semadata.org/sites/all/themes/bootstrap_sdc/js/scroll-more.js?s4wmvs:3:1",
        "trace": null,
        "code": null
    }
]
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "https://g003.enterprise.ipost.com/weh/handler/event_data/save/",
        "errorString": "net::ERR_FAILED"
    }
]

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.809 s
Memory usage 3.52 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.392 s
Memory usage 3.38 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.381 s0.579 s+0.198 s3.44 MiB3.47 MiB+ 35.52 KiB
/wp-admin/edit.php0.214 s0.346 s+0.132 s3.46 MiB3.5 MiB+ 39.19 KiB
/wp-admin/post-new.php0.964 s1.032 s+0.068 s5.59 MiB5.63 MiB+ 38.79 KiB
/wp-admin/upload.php0.627 s0.718 s+0.091 s3.38 MiB3.4 MiB+ 18.58 KiB
/wp-admin/options-writing.php0.237 s0.257 s+0.020 s3.37 MiB3.39 MiB+ 13.86 KiB
/wp-admin/media-new.php0.317 s0.474 s+0.157 s3.35 MiB3.38 MiB+ 35.09 KiB
/wp-admin/edit-tags.php?taxonomy=category0.203 s0.331 s+0.128 s3.37 MiB3.41 MiB+ 38.7 KiB
/wp-admin/post-new.php?post_type=page0.570 s0.738 s+0.168 s5.59 MiB5.62 MiB+ 38.8 KiB
/wp-admin/options-discussion.php0.306 s0.366 s+0.060 s3.36 MiB3.38 MiB+ 20.72 KiB
/wp-admin/edit-comments.php0.258 s0.276 s+0.018 s3.39 MiB3.41 MiB+ 19.71 KiB
/0.339 s0.244 s-0.095 s3.42 MiB3.38 MiB- 33.37 KiB
Average 0.401 s0.487 s+0.086 s3.79 MiB3.82 MiB+ 24.14 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,9671,06615
Total 31,593 6,231 27

PHP Code Analysis | More results »

Lines of code 4,513
Total complexity 868
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 4

Options wp_options 2

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide SEMA API Admin Menus