PDF Generator For WP 1.2.9

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: 135.11 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=6444a981a6
Aspect after-activation
HTTP status 200
Load time 0.625 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.852 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.819 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.263 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.377 s0.333 s-0.044 s3.38 MiB3.52 MiB+ 142.08 KiB
/wp-admin/edit.php0.214 s0.205 s-0.009 s3.41 MiB3.61 MiB+ 214.2 KiB
/wp-admin/post-new.php1.091 s0.888 s-0.203 s5.46 MiB5.63 MiB+ 171.49 KiB
/wp-admin/upload.php0.680 s0.497 s-0.183 s3.32 MiB3.45 MiB+ 125.41 KiB
/wp-admin/options-writing.php0.223 s0.206 s-0.017 s3.32 MiB3.43 MiB+ 117.63 KiB
/wp-admin/media-new.php0.311 s0.248 s-0.063 s3.29 MiB3.43 MiB+ 137.85 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.216 s+0.019 s3.31 MiB3.45 MiB+ 142.4 KiB
/wp-admin/post-new.php?post_type=page0.616 s0.616 s+0.000 s5.45 MiB5.62 MiB+ 171.08 KiB
/wp-admin/options-discussion.php0.234 s0.258 s+0.024 s3.3 MiB3.43 MiB+ 127.82 KiB
/wp-admin/edit-comments.php0.219 s0.227 s+0.008 s3.33 MiB3.46 MiB+ 125.07 KiB
/0.293 s0.445 s+0.152 s3.36 MiB3.37 MiB+ 11.17 KiB
Average 0.405 s0.376 s-0.029 s3.72 MiB3.85 MiB+ 135.11 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.7%35,251019
PHP14.3%8,0251,89248
JavaScript13.4%7,5407,25516
CSS7.4%4,17518616
PO File2.2%1,2116861
XML0.0%2001
Total 56,222 10,019 101

PHP Code Analysis | More results »

Lines of code 6,945
Total complexity 1,150
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 26

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

[09-Dec-2023 12:07:28 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
[09-Dec-2023 12:07:28 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
[09-Dec-2023 12:07:28 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
[09-Dec-2023 12:07:28 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