Amplitude 0.1.3

Does Amplitude 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
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

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

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

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

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=amplitude%2Famplitude.php&plugin_status=all&paged=1&s&_wpnonce=5a717a46de
Aspect after-activation
HTTP status 200
Load time 0.419 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Settings → Amplitude

Page screenshot: Settings → Amplitude
URL /wp-admin/options-general.php?page=amplitude
Aspect menu-item
HTTP status 200
Load time 0.253 s
Memory usage 3.41 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.264 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.374 s0.308 s-0.066 s3.44 MiB3.46 MiB+ 25.97 KiB
/wp-admin/edit.php0.217 s0.208 s-0.009 s3.46 MiB3.49 MiB+ 25.98 KiB
/wp-admin/post-new.php0.940 s0.610 s-0.330 s5.59 MiB5.62 MiB+ 29.54 KiB
/wp-admin/upload.php0.588 s0.431 s-0.157 s3.38 MiB3.39 MiB+ 8.55 KiB
/wp-admin/options-writing.php0.213 s0.200 s-0.013 s3.37 MiB3.37 MiB+ 472 bytes
/wp-admin/media-new.php0.288 s0.237 s-0.051 s3.35 MiB3.37 MiB+ 20.75 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.206 s+0.014 s3.37 MiB3.39 MiB+ 25.92 KiB
/wp-admin/post-new.php?post_type=page0.564 s0.568 s+0.004 s5.59 MiB5.61 MiB+ 25.13 KiB
/wp-admin/options-discussion.php0.299 s0.294 s-0.005 s3.36 MiB3.37 MiB+ 8.99 KiB
/wp-admin/edit-comments.php0.280 s0.231 s-0.049 s3.39 MiB3.4 MiB+ 8.55 KiB
/0.297 s0.204 s-0.093 s3.42 MiB3.38 MiB- 39.44 KiB
Average 0.387 s0.318 s-0.069 s3.79 MiB3.8 MiB+ 12.76 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
PHP91.7%4101212
JavaScript4.7%2101
CSS3.6%1601
Total 447 12 14

PHP Code Analysis | More results »

Lines of code 314
Total complexity 66
Median class complexity 66.0
Median method complexity 2.0
Most complex class Amplitude\Analytics\WP\PLG\Amplitude
Most complex function Amplitude\Analytics\WP\PLG\Amplitude::sanitize_settings()
Classes 1
Methods 38
Functions 0

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.

Options wp_options 1

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Amplitude" Admin Menu