Metadata Viewer 1.0.0

Does Metadata Viewer work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 29.35 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.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/metadata-viewer/
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=metadata-viewer%2Fmetadata-viewer.php&plugin_status=all&paged=1&s&_wpnonce=32a5c76653
Aspect after-activation
HTTP status 200
Load time 0.273 s
Memory usage 3.51 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.180 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

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

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.613 s
Memory usage 5.77 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.345 s0.311 s-0.034 s3.47 MiB3.5 MiB+ 22.44 KiB
/wp-admin/edit.php0.204 s0.222 s+0.018 s3.54 MiB3.56 MiB+ 22.75 KiB
/wp-admin/post-new.php0.789 s0.617 s-0.172 s5.75 MiB5.78 MiB+ 30.68 KiB
/wp-admin/upload.php0.673 s0.470 s-0.203 s3.49 MiB3.49 MiB+ 5.03 KiB
/wp-admin/options-writing.php0.220 s0.207 s-0.013 s3.41 MiB3.48 MiB+ 67.84 KiB
/wp-admin/media-new.php0.245 s0.241 s-0.004 s3.4 MiB3.48 MiB+ 81.22 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.202 s+0.007 s3.47 MiB3.5 MiB+ 28.2 KiB
/wp-admin/post-new.php?post_type=page0.587 s0.609 s+0.022 s5.75 MiB5.77 MiB+ 21.45 KiB
/wp-admin/options-discussion.php0.306 s0.244 s-0.062 s3.41 MiB3.48 MiB+ 69.52 KiB
/wp-admin/edit-comments.php0.227 s0.189 s-0.038 s3.49 MiB3.49 MiB+ 5.02 KiB
/0.295 s0.170 s-0.125 s3.45 MiB3.42 MiB- 31.27 KiB
Average 0.371 s0.317 s-0.055 s3.88 MiB3.9 MiB+ 29.35 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.

JavaScript
PHP
Language % Lines of code Comment lines Files
JavaScript81.6%1,9699432
PHP9.4%2282208
CSS7.2%17351
JSON1.8%4401
Total 2,414 1,168 12

PHP Code Analysis | More results »

Lines of code 186
Total complexity 37
Median class complexity 5.0
Median method complexity 1.0
Most complex class WeLabs\MetadataViewer\MetadataViewer
Most complex function WeLabs\MetadataViewer\Helpers::unserialize_metadata_recursive()
Classes 5
Methods 27
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.

Meta Boxes

{
    "post": {
        "post-metadata-viewer": {
            "title": "Post Metadata Viewer",
            "context": "normal"
        }
    },
    "page": {
        "post-metadata-viewer": {
            "title": "Post Metadata Viewer",
            "context": "normal"
        }
    }
}

PHP Error Log 17 lines

[21-Sep-2024 01:01:07 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 174
[21-Sep-2024 01:01:07 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 175
[21-Sep-2024 01:01:07 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 716
[21-Sep-2024 01:01:07 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 716
[21-Sep-2024 01:01:07 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 717
[21-Sep-2024 01:01:07 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 717
[21-Sep-2024 01:01:07 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 727
[21-Sep-2024 01:01:07 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 730
[21-Sep-2024 01:01:07 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 751
[21-Sep-2024 01:01:07 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 716
[21-Sep-2024 01:01:07 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 716
[21-Sep-2024 01:01:07 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 717
[21-Sep-2024 01:01:07 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 717
[21-Sep-2024 01:01:07 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 727
[21-Sep-2024 01:01:07 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 730
[21-Sep-2024 01:01:07 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 751
[21-Sep-2024 01:01:07 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/link-template.php on line 4803
See also: All tests for this plugin, How to Hide the "Post Metadata Viewer" Meta Box