Awesome Post Images 1.0.0

Does Awesome Post Images work with WordPress 7.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
3JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 6.7 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.1
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/awesome-post-images/
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=awesome-post-images%2Fpost-images.php&plugin_status=all&paged=1&s&_wpnonce=26e3a72383
Aspect after-activation
HTTP status 200
Load time 0.745 s
Memory usage 4.25 MiB
JS errors
[
    {
        "message": "TypeError: $ is not a function\n    at /wp-content/plugins/awesome-post-images/assets/js/post-images.js?ver=0.0.1:15:21\n    at /wp-content/plugins/awesome-post-images/assets/js/post-images.js?ver=0.0.1:122:2",
        "trace": null,
        "code": null
    }
]
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.242 s
Memory usage 4.6 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.839 s
Memory usage 6.81 MiB
JS errors
[
    {
        "message": "TypeError: $ is not a function\n    at /wp-content/plugins/awesome-post-images/assets/js/post-images.js?ver=0.0.1:15:21\n    at /wp-content/plugins/awesome-post-images/assets/js/post-images.js?ver=0.0.1:122:2",
        "trace": null,
        "code": null
    }
]
Resource errors None

Add Page ‹ Test site — WordPress

Page screenshot: Add Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 1.874 s
Memory usage 6.79 MiB
JS errors
[
    {
        "message": "TypeError: $ is not a function\n    at /wp-content/plugins/awesome-post-images/assets/js/post-images.js?ver=0.0.1:15:21\n    at /wp-content/plugins/awesome-post-images/assets/js/post-images.js?ver=0.0.1:122:2",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.951 s0.752 s-0.199 s4.23 MiB4.23 MiB+ 6.61 KiB
/wp-admin/edit.php0.563 s0.563 s+0.000 s4.28 MiB4.29 MiB+ 11.84 KiB
/wp-admin/post-new.php1.898 s1.960 s+0.062 s6.78 MiB6.81 MiB+ 33.98 KiB
/wp-admin/upload.php1.010 s1.362 s+0.352 s4.25 MiB4.24 MiB- 7.05 KiB
/wp-admin/options-writing.php0.550 s0.565 s+0.015 s4.22 MiB4.22 MiB- 1.3 KiB
/wp-admin/media-new.php0.608 s0.581 s-0.027 s4.21 MiB4.22 MiB+ 6.89 KiB
/wp-admin/edit-tags.php?taxonomy=category0.797 s0.699 s-0.098 s4.22 MiB4.23 MiB+ 11.75 KiB
/wp-admin/post-new.php?post_type=page1.687 s1.962 s+0.275 s6.76 MiB6.79 MiB+ 29.51 KiB
/wp-admin/options-discussion.php1.005 s0.871 s-0.134 s4.23 MiB4.21 MiB- 14.62 KiB
/wp-admin/edit-comments.php0.544 s0.564 s+0.020 s4.24 MiB4.24 MiB- 5.3 KiB
/0.324 s0.235 s-0.089 s4.6 MiB4.6 MiB+ 1.45 KiB
Average 0.903 s0.919 s+0.016 s4.73 MiB4.73 MiB+ 6.7 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
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP47.6%81672
JavaScript41.2%70491
CSS11.2%19111
Total 170 127 4

PHP Code Analysis | More results »

Lines of code 83
Total complexity 18
Median class complexity 13.0
Median method complexity 1.5
Most complex class PostImages
Most complex function PostImages::save_post_images()
Classes 1
Methods 6
Functions 3

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_image_meta_box": {
            "title": "Post Images",
            "context": "advanced"
        }
    },
    "page": {
        "post_image_meta_box": {
            "title": "Post Images",
            "context": "advanced"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Post Images" Meta Box