PDF Generator For WP 1.3.0

Does PDF Generator For WP work with WordPress 6.4.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 139.34 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.4.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/pdf-generator-for-wp/
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=pdf-generator-for-wp%2Fpdf-generator-for-wp.php&plugin_status=all&paged=1&s&_wpnonce=7bd7506422
Aspect after-activation
HTTP status 200
Load time 0.666 s
Memory usage 3.5 MiB
JS errors None
Resource errors None

WP Swings

Page screenshot: WP Swings
URL /wp-admin/admin.php?page=home
Aspect menu-item
HTTP status 200
Load time 0.915 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

WP Swings → PDF Generator For WP

Page screenshot: WP Swings → PDF Generator For WP
URL /wp-admin/admin.php?page=pdf_generator_for_wp_menu
Aspect menu-item
HTTP status 200
Load time 0.757 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.274 s
Memory usage 3.37 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.405 s0.373 s-0.032 s3.38 MiB3.52 MiB+ 141.52 KiB
/wp-admin/edit.php0.227 s0.258 s+0.031 s3.41 MiB3.61 MiB+ 213.64 KiB
/wp-admin/post-new.php1.124 s0.940 s-0.184 s5.46 MiB5.62 MiB+ 170.95 KiB
/wp-admin/upload.php0.751 s0.502 s-0.249 s3.32 MiB3.45 MiB+ 124.85 KiB
/wp-admin/options-writing.php0.234 s0.238 s+0.004 s3.32 MiB3.43 MiB+ 117.07 KiB
/wp-admin/media-new.php0.344 s0.303 s-0.041 s3.29 MiB3.43 MiB+ 137.3 KiB
/wp-admin/edit-tags.php?taxonomy=category0.211 s0.226 s+0.015 s3.31 MiB3.45 MiB+ 141.84 KiB
/wp-admin/post-new.php?post_type=page0.665 s0.641 s-0.024 s5.45 MiB5.62 MiB+ 170.52 KiB
/wp-admin/options-discussion.php0.261 s0.345 s+0.084 s3.3 MiB3.43 MiB+ 127.26 KiB
/wp-admin/edit-comments.php0.231 s0.247 s+0.016 s3.34 MiB3.46 MiB+ 124.52 KiB
/0.303 s0.286 s-0.017 s3.31 MiB3.37 MiB+ 63.24 KiB
Average 0.432 s0.396 s-0.036 s3.72 MiB3.85 MiB+ 139.34 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.

SVG
PHP
JavaScript
Language % Lines of code Comment lines Files
SVG62.3%35,250018
PHP14.8%8,3411,91949
JavaScript13.3%7,5407,25516
CSS7.4%4,17818616
PO File2.1%1,2136981
XML0.0%2001
Total 56,542 10,058 101

PHP Code Analysis | More results »

Lines of code 7,321
Total complexity 1,166
Median class complexity 7.0
Median method complexity 3.0
Most complex class Pdf_Generator_For_Wp_Admin
Most complex function Pdf_Generator_For_Wp::wps_pgfw_plug_generate_html()
Classes 11
Methods 118
Functions 27

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 9

PHP Error Log 4 lines

[21-Dec-2023 11:06:29 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:2925) in /wp-admin/includes/misc.php on line 1431
[21-Dec-2023 11:06:29 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:2925) in /wp-includes/functions.php on line 7049
[21-Dec-2023 11:06:29 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:2925) in /wp-admin/includes/misc.php on line 1431
[21-Dec-2023 11:06:29 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:2925) in /wp-includes/functions.php on line 7049
See also: All tests for this plugin, How to Hide PDF Generator For WP Admin Menus