GTM4Publishers 1.0.0

Does GTM4Publishers work with WordPress 7.0.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: 37.54 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 version7.0.2
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/gtm4publishers/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=gtm4publishers%2Fgtm4publishers.php&plugin_status=all&paged=1&s&_wpnonce=6df738af08
Aspect after-activation
HTTP status 200
Load time 0.984 s
Memory usage 3.93 MiB
JS errors None
Resource errors None

Settings → GTM4Publishers

Page screenshot: Settings → GTM4Publishers
URL /wp-admin/options-general.php?page=gtm4publishers
Aspect menu-item
HTTP status 200
Load time 0.559 s
Memory usage 3.92 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.234 s
Memory usage 4.24 MiB
JS errors None
Resource errors None

Add Post ‹ Test site — WordPress

Page screenshot: Add Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 1.531 s
Memory usage 6.61 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.702 s0.602 s-0.100 s3.93 MiB3.97 MiB+ 45.76 KiB
/wp-admin/edit.php0.552 s0.754 s+0.202 s3.98 MiB4.03 MiB+ 45.75 KiB
/wp-admin/post-new.php2.332 s1.860 s-0.472 s6.56 MiB6.61 MiB+ 52.59 KiB
/wp-admin/upload.php0.813 s0.722 s-0.091 s3.89 MiB3.92 MiB+ 28.34 KiB
/wp-admin/options-writing.php0.571 s0.565 s-0.006 s3.86 MiB3.89 MiB+ 32.34 KiB
/wp-admin/media-new.php0.615 s1.034 s+0.419 s3.85 MiB3.89 MiB+ 40.53 KiB
/wp-admin/edit-tags.php?taxonomy=category0.538 s0.582 s+0.044 s3.86 MiB3.91 MiB+ 45.7 KiB
/wp-admin/post-new.php?post_type=page1.829 s1.493 s-0.336 s6.55 MiB6.6 MiB+ 49.02 KiB
/wp-admin/options-discussion.php0.703 s0.663 s-0.040 s3.86 MiB3.89 MiB+ 28.84 KiB
/wp-admin/edit-comments.php0.571 s0.562 s-0.009 s3.89 MiB3.91 MiB+ 28.34 KiB
/0.328 s0.226 s-0.102 s4.23 MiB4.24 MiB+ 15.72 KiB
Average 0.869 s0.824 s-0.045 s4.41 MiB4.44 MiB+ 37.54 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.

JSON
PHP
PO File
Language % Lines of code Comment lines Files
JSON39.8%1,29601
PHP28.5%9292413
PO File27.9%9087203
Markdown2.0%6601
CSS1.9%6111
Total 3,260 962 9

PHP Code Analysis | More results »

Lines of code 951
Total complexity 163
Median class complexity 151.0
Median method complexity 2.0
Most complex class GTM4Publishers
Most complex function GTM4Publishers::generate_datalayer_script()
Classes 1
Methods 40
Functions 7

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

Meta Boxes

{
    "post": {
        "gtm4pubs_post_settings": {
            "title": "GTM4Publishers",
            "context": "side"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide GTM4Publishers Admin Menus and Meta Boxes