Amplitude 0.1.6

Does Amplitude work with WordPress 6.5.3 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.3
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=874b37b57d
Aspect after-activation
HTTP status 200
Load time 0.244 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.269 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.224 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.394 s0.317 s-0.077 s3.44 MiB3.46 MiB+ 25.97 KiB
/wp-admin/edit.php0.267 s0.210 s-0.057 s3.46 MiB3.49 MiB+ 25.97 KiB
/wp-admin/post-new.php0.982 s0.647 s-0.335 s5.59 MiB5.62 MiB+ 29.54 KiB
/wp-admin/upload.php0.607 s0.526 s-0.081 s3.38 MiB3.39 MiB+ 8.56 KiB
/wp-admin/options-writing.php0.216 s0.221 s+0.005 s3.37 MiB3.37 MiB+ 472 bytes
/wp-admin/media-new.php0.292 s0.231 s-0.061 s3.35 MiB3.37 MiB+ 20.75 KiB
/wp-admin/edit-tags.php?taxonomy=category0.184 s0.227 s+0.043 s3.37 MiB3.39 MiB+ 25.92 KiB
/wp-admin/post-new.php?post_type=page0.601 s0.610 s+0.009 s5.59 MiB5.61 MiB+ 25.13 KiB
/wp-admin/options-discussion.php0.356 s0.327 s-0.029 s3.36 MiB3.37 MiB+ 8.99 KiB
/wp-admin/edit-comments.php0.269 s0.241 s-0.028 s3.39 MiB3.4 MiB+ 8.55 KiB
/0.308 s0.257 s-0.051 s3.42 MiB3.38 MiB- 39.44 KiB
Average 0.407 s0.347 s-0.060 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