Floating TikTok Button 1.0.7

Does Floating TikTok Button work with WordPress 6.7.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 115.8 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.7.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 200+
WordPress.org page https://wordpress.org/plugins/floating-tiktok-button/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

Floating TikTok Button Settings ‹ Test site — WordPress

Page screenshot: Floating TikTok Button Settings ‹ Test site — WordPress
URL /wp-admin/admin.php?page=floating-tiktok-button
Requested URL /wp-admin/plugins.php?action=activate&plugin=floating-tiktok-button%2Ffloating-tiktok-button.php&plugin_status=all&paged=1&s&_wpnonce=2b444d4a99
Aspect after-activation
HTTP status 200
Load time 0.613 s
Memory usage 3.77 MiB
JS errors None
Resource errors None

Floating TikTok Button

Page screenshot: Floating TikTok Button
URL /wp-admin/admin.php?page=floating-tiktok-button
Aspect menu-item
HTTP status 200
Load time 0.405 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

Floating TikTok Button → FAQ

Page screenshot: Floating TikTok Button → FAQ
URL /wp-admin/admin.php?page=floating-tiktok-button&tab=ftb-faq
Aspect menu-item-tab
HTTP status 200
Load time 0.422 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

Floating TikTok Button → Contact Us

Page screenshot: Floating TikTok Button → Contact Us
URL /wp-admin/admin.php?page=floating-tiktok-button-contact
Aspect menu-item
HTTP status 200
Load time 0.826 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

Floating TikTok Button → Upgrade  ➤

Page screenshot: Floating TikTok Button → Upgrade  ➤
URL /wp-admin/admin.php?page=floating-tiktok-button-pricing
Aspect menu-item
HTTP status 200
Load time 1.171 s
Memory usage 3.58 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.312 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.309 s0.419 s+0.110 s3.48 MiB3.66 MiB+ 184.52 KiB
/wp-admin/edit.php0.164 s0.198 s+0.034 s3.54 MiB3.69 MiB+ 147.14 KiB
/wp-admin/post-new.php0.690 s0.826 s+0.136 s5.92 MiB6.05 MiB+ 129.57 KiB
/wp-admin/upload.php0.497 s0.299 s-0.198 s3.49 MiB3.6 MiB+ 108.67 KiB
/wp-admin/options-writing.php0.192 s0.175 s-0.017 s3.47 MiB3.58 MiB+ 112.66 KiB
/wp-admin/media-new.php0.250 s0.220 s-0.030 s3.46 MiB3.58 MiB+ 120.86 KiB
/wp-admin/edit-tags.php?taxonomy=category0.167 s0.203 s+0.036 s3.48 MiB3.6 MiB+ 126.04 KiB
/wp-admin/post-new.php?post_type=page0.512 s0.729 s+0.217 s5.92 MiB6.04 MiB+ 121.1 KiB
/wp-admin/options-discussion.php0.444 s0.229 s-0.215 s3.47 MiB3.58 MiB+ 109.16 KiB
/wp-admin/edit-comments.php0.203 s0.189 s-0.014 s3.49 MiB3.6 MiB+ 108.66 KiB
/0.270 s0.179 s-0.091 s3.48 MiB3.48 MiB+ 5.45 KiB
Average 0.336 s0.333 s-0.003 s3.93 MiB4.04 MiB+ 115.8 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
Language % Lines of code Comment lines Files
PHP66.3%1,4163522
CSS26.3%562521
JavaScript6.3%13422
SVG0.7%1602
JSON0.3%701
Total 2,135 89 28

PHP Code Analysis | More results »

Lines of code 460
Total complexity 74
Median class complexity 8.0
Median method complexity 1.5
Most complex class Pagup\TikTokButton\Core\Option
Most complex function Pagup\TikTokButton\Controllers\SettingsController::page()
Classes 8
Methods 32
Functions 4

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 1 lines

[26-Nov-2024 05:38:28 UTC] PHP Deprecated:  Optional parameter $data declared before required parameter $safe is implicitly treated as a required parameter in /wp-content/plugins/floating-tiktok-button/admin/core/Plugin.php on line 8
See also: All tests for this plugin, How to Hide Floating TikTok Button Admin Menus