Amplitude 0.1.8

Does Amplitude work with WordPress 6.6 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
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=84ff921c15
Aspect after-activation
HTTP status 200
Load time 0.256 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.264 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.298 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.330 s0.346 s+0.016 s3.47 MiB3.5 MiB+ 26.28 KiB
/wp-admin/edit.php0.216 s0.233 s+0.017 s3.54 MiB3.56 MiB+ 26.17 KiB
/wp-admin/post-new.php0.822 s0.649 s-0.173 s5.75 MiB5.78 MiB+ 29.86 KiB
/wp-admin/upload.php0.710 s0.519 s-0.191 s3.49 MiB3.5 MiB+ 8.77 KiB
/wp-admin/options-writing.php0.208 s0.213 s+0.005 s3.41 MiB3.48 MiB+ 71.57 KiB
/wp-admin/media-new.php0.244 s0.271 s+0.027 s3.4 MiB3.48 MiB+ 84.95 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.235 s+0.043 s3.47 MiB3.5 MiB+ 31.63 KiB
/wp-admin/post-new.php?post_type=page0.616 s0.599 s-0.017 s5.75 MiB5.77 MiB+ 25.44 KiB
/wp-admin/options-discussion.php0.248 s0.486 s+0.238 s3.41 MiB3.48 MiB+ 73.26 KiB
/wp-admin/edit-comments.php0.219 s0.246 s+0.027 s3.49 MiB3.5 MiB+ 8.76 KiB
/0.329 s0.219 s-0.110 s3.45 MiB3.42 MiB- 39.27 KiB
Average 0.376 s0.365 s-0.011 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.7%4101212
JavaScript6.8%3101
CSS3.5%1601
Total 457 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