Amplitude 0.1.9

Does Amplitude work with WordPress 6.6.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: 31.58 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.6.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=4f790d9778
Aspect after-activation
HTTP status 200
Load time 0.251 s
Memory usage 3.51 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.265 s
Memory usage 3.5 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.290 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.412 s0.339 s-0.073 s3.47 MiB3.5 MiB+ 26.29 KiB
/wp-admin/edit.php0.274 s0.220 s-0.054 s3.54 MiB3.56 MiB+ 26.17 KiB
/wp-admin/post-new.php0.791 s1.064 s+0.273 s5.75 MiB5.78 MiB+ 29.85 KiB
/wp-admin/upload.php0.574 s0.554 s-0.020 s3.49 MiB3.5 MiB+ 8.77 KiB
/wp-admin/options-writing.php0.222 s0.274 s+0.052 s3.41 MiB3.48 MiB+ 71.57 KiB
/wp-admin/media-new.php0.277 s0.273 s-0.004 s3.4 MiB3.48 MiB+ 84.95 KiB
/wp-admin/edit-tags.php?taxonomy=category0.212 s0.200 s-0.012 s3.47 MiB3.5 MiB+ 31.63 KiB
/wp-admin/post-new.php?post_type=page1.128 s0.695 s-0.433 s5.75 MiB5.77 MiB+ 25.44 KiB
/wp-admin/options-discussion.php0.229 s0.303 s+0.074 s3.41 MiB3.48 MiB+ 73.26 KiB
/wp-admin/edit-comments.php0.262 s0.245 s-0.017 s3.49 MiB3.5 MiB+ 8.76 KiB
/0.344 s0.242 s-0.102 s3.45 MiB3.42 MiB- 39.27 KiB
Average 0.430 s0.401 s-0.029 s3.88 MiB3.91 MiB+ 31.58 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
PHP89.1%4101212
JavaScript7.4%3401
CSS3.5%1601
Total 460 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