SEMA API 5.20

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.061 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=da089ba881
Aspect after-activation
HTTP status 200
Load time 0.649 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.460 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 6.508 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.909 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.398 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.364 s0.567 s+0.203 s3.44 MiB3.47 MiB+ 35.52 KiB
/wp-admin/edit.php0.208 s0.342 s+0.134 s3.46 MiB3.5 MiB+ 39.19 KiB
/wp-admin/post-new.php1.008 s1.096 s+0.088 s5.59 MiB5.63 MiB+ 38.79 KiB
/wp-admin/upload.php0.587 s0.474 s-0.113 s3.38 MiB3.4 MiB+ 18.58 KiB
/wp-admin/options-writing.php0.236 s0.264 s+0.028 s3.37 MiB3.39 MiB+ 13.86 KiB
/wp-admin/media-new.php0.305 s0.621 s+0.316 s3.35 MiB3.38 MiB+ 35.09 KiB
/wp-admin/edit-tags.php?taxonomy=category0.211 s0.306 s+0.095 s3.37 MiB3.41 MiB+ 38.7 KiB
/wp-admin/post-new.php?post_type=page0.593 s0.746 s+0.153 s5.59 MiB5.62 MiB+ 38.8 KiB
/wp-admin/options-discussion.php0.270 s0.420 s+0.150 s3.36 MiB3.38 MiB+ 20.72 KiB
/wp-admin/edit-comments.php0.542 s0.304 s-0.238 s3.39 MiB3.41 MiB+ 19.71 KiB
/0.392 s0.248 s-0.144 s3.42 MiB3.38 MiB- 33.38 KiB
Average 0.429 s0.490 s+0.061 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,9891,06615
Total 31,615 6,231 27

PHP Code Analysis | More results »

Lines of code 4,535
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 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