Emergency Contact Button 1.0.1

Does Emergency Contact Button work with WordPress 6.8 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
No resource errors
Performance

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

Page speed impact: 0.029 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.8
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/emergency-contact-button/
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=emergency-contact-button%2Femergency-contact-button.php&plugin_status=all&paged=1&s&_wpnonce=c533b5e60a
Aspect after-activation
HTTP status 200
Load time 0.671 s
Memory usage 3.67 MiB
JS errors None
Resource errors None

Emergency Contact

Page screenshot: Emergency Contact
URL /wp-admin/admin.php?page=webellio_emergency_contact_button_settings
Aspect menu-item
HTTP status 200
Load time 0.282 s
Memory usage 3.56 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.184 s
Memory usage 3.45 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading '__')\n    at HTMLDocument.<anonymous> (/wp-content/plugins/emergency-contact-button/assets/js/script.js?ver=1.0.0:69:31)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.440 s0.351 s-0.089 s3.51 MiB3.58 MiB+ 75.65 KiB
/wp-admin/edit.php0.196 s0.317 s+0.121 s3.57 MiB3.64 MiB+ 74.71 KiB
/wp-admin/post-new.php0.760 s0.630 s-0.130 s6.06 MiB6.12 MiB+ 62.01 KiB
/wp-admin/upload.php0.561 s0.702 s+0.141 s3.52 MiB3.56 MiB+ 42.09 KiB
/wp-admin/options-writing.php0.217 s0.348 s+0.131 s3.5 MiB3.56 MiB+ 61.61 KiB
/wp-admin/media-new.php0.289 s0.267 s-0.022 s3.49 MiB3.56 MiB+ 69.8 KiB
/wp-admin/edit-tags.php?taxonomy=category0.238 s0.301 s+0.063 s3.5 MiB3.58 MiB+ 80.57 KiB
/wp-admin/post-new.php?post_type=page0.602 s0.600 s-0.002 s6.05 MiB6.11 MiB+ 57.53 KiB
/wp-admin/options-discussion.php0.264 s0.346 s+0.082 s3.5 MiB3.56 MiB+ 58.73 KiB
/wp-admin/edit-comments.php0.422 s0.541 s+0.119 s3.52 MiB3.58 MiB+ 57.77 KiB
/0.301 s0.210 s-0.091 s3.43 MiB3.45 MiB+ 21.04 KiB
Average 0.390 s0.419 s+0.029 s3.97 MiB4.03 MiB+ 60.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.

PHP
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP56.3%451324
CSS26.6%21372
JavaScript15.1%121182
JSON2.0%1601
Total 801 57 9

PHP Code Analysis | More results »

Lines of code 455
Total complexity 42
Median class complexity 13.0
Median method complexity 1.0
Most complex class Webellio\EmergencyContactButton\Frontend\FloatingButton
Most complex function Webellio\EmergencyContactButton\Admin\AdminMenu::settings_page()
Classes 3
Methods 21
Functions 1

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 5

PHP Error Log

The log file is empty.

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