SEMA API 5.19

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.121 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=8c3de53d0e
Aspect after-activation
HTTP status 200
Load time 0.659 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.504 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 5.897 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.895 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.423 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.404 s0.618 s+0.214 s3.44 MiB3.47 MiB+ 35.53 KiB
/wp-admin/edit.php0.221 s0.350 s+0.129 s3.46 MiB3.5 MiB+ 39.19 KiB
/wp-admin/post-new.php0.913 s1.176 s+0.263 s5.59 MiB5.63 MiB+ 38.79 KiB
/wp-admin/upload.php0.618 s0.536 s-0.082 s3.38 MiB3.4 MiB+ 18.58 KiB
/wp-admin/options-writing.php0.229 s0.290 s+0.061 s3.37 MiB3.39 MiB+ 13.86 KiB
/wp-admin/media-new.php0.315 s0.664 s+0.349 s3.35 MiB3.38 MiB+ 35.09 KiB
/wp-admin/edit-tags.php?taxonomy=category0.204 s0.318 s+0.114 s3.37 MiB3.41 MiB+ 38.69 KiB
/wp-admin/post-new.php?post_type=page0.621 s0.768 s+0.147 s5.59 MiB5.62 MiB+ 38.8 KiB
/wp-admin/options-discussion.php0.359 s0.464 s+0.105 s3.36 MiB3.38 MiB+ 20.72 KiB
/wp-admin/edit-comments.php0.265 s0.330 s+0.065 s3.39 MiB3.41 MiB+ 19.71 KiB
/0.316 s0.283 s-0.033 s3.42 MiB3.38 MiB- 33.37 KiB
Average 0.406 s0.527 s+0.121 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