Custom Post Type Attachment 3.4.3

Does Custom Post Type Attachment work with WordPress 5.6.1 and PHP 7.4.8? 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.76 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 version5.6.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/custom-post-type-pdf-attachment/
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=custom-post-type-pdf-attachment%2Fcustom-pdf-attachment.php&plugin_status=all&paged=1&s&_wpnonce=c8d3974c3d
Aspect after-activation
HTTP status 200
Load time 0.273 s
Memory usage 2.72 MiB
JS errors None
Resource errors None

Settings → Custom Post Type Attachment

Page screenshot: Settings → Custom Post Type Attachment
URL /wp-admin/options-general.php?page=custom_pdf_attachment
Aspect menu-item
HTTP status 200
Load time 0.167 s
Memory usage 2.74 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.183 s
Memory usage 2.64 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 0.968 s
Memory usage 2.79 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.266 s0.259 s-0.007 s2.79 MiB2.83 MiB+ 34.54 KiB
/wp-admin/edit.php0.179 s0.212 s+0.033 s2.84 MiB2.87 MiB+ 35.75 KiB
/wp-admin/post-new.php0.893 s1.012 s+0.119 s4.93 MiB4.99 MiB+ 55.01 KiB
/wp-admin/upload.php0.487 s0.500 s+0.013 s2.67 MiB2.7 MiB+ 29.46 KiB
/wp-admin/options-writing.php0.155 s0.165 s+0.010 s2.68 MiB2.68 MiB- 1.68 KiB
/wp-admin/media-new.php0.317 s0.189 s-0.128 s2.65 MiB2.67 MiB+ 29.58 KiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s0.189 s+0.004 s2.68 MiB2.77 MiB+ 95.42 KiB
/wp-admin/post-new.php?post_type=page0.668 s0.703 s+0.035 s4.92 MiB4.97 MiB+ 46.59 KiB
/wp-admin/options-discussion.php0.258 s0.212 s-0.046 s2.65 MiB2.68 MiB+ 30.83 KiB
/wp-admin/edit-comments.php0.225 s0.227 s+0.002 s2.75 MiB2.78 MiB+ 28.77 KiB
/0.254 s0.227 s-0.027 s2.61 MiB2.64 MiB+ 31.13 KiB
Average 0.353 s0.354 s+0.001 s3.11 MiB3.14 MiB+ 37.76 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
Language % Lines of code Comment lines Files
PHP85.5%88911521
JavaScript7.2%7513
CSS6.0%6242
PO File1.3%1401
Total 1,040 120 27

PHP Code Analysis | More results »

Lines of code 691
Total complexity 191
Median class complexity 12.0
Median method complexity 2.0
Most complex class Form_Class
Most complex function CPTA_Attachments_Init::save_custom_pdf_attachment_meta_data()
Classes 9
Methods 48
Functions 10

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

Sidebar Widgets 1

ID Name
pdf_attachment_widLatest Attachment Widget

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Custom Post Type Attachment" Admin Menu