PDF Generator For WP 1.4.0

Does PDF Generator For WP work with WordPress 6.7.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: 150.64 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.7.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 2,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=0f36496316
Aspect after-activation
HTTP status 200
Load time 0.942 s
Memory usage 3.66 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.861 s
Memory usage 3.65 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.856 s
Memory usage 3.65 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.306 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.351 s0.316 s-0.035 s3.48 MiB3.64 MiB+ 163.6 KiB
/wp-admin/edit.php0.225 s0.234 s+0.009 s3.54 MiB3.74 MiB+ 198.15 KiB
/wp-admin/post-new.php0.855 s0.678 s-0.177 s5.93 MiB6.11 MiB+ 193.13 KiB
/wp-admin/upload.php0.734 s0.322 s-0.412 s3.5 MiB3.64 MiB+ 147.06 KiB
/wp-admin/options-writing.php0.223 s0.212 s-0.011 s3.47 MiB3.62 MiB+ 150.43 KiB
/wp-admin/media-new.php0.278 s0.460 s+0.182 s3.46 MiB3.62 MiB+ 158.63 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.283 s+0.092 s3.48 MiB3.64 MiB+ 169.3 KiB
/wp-admin/post-new.php?post_type=page0.706 s0.641 s-0.065 s5.92 MiB6.1 MiB+ 188.66 KiB
/wp-admin/options-discussion.php0.314 s0.280 s-0.034 s3.48 MiB3.62 MiB+ 146.93 KiB
/wp-admin/edit-comments.php0.211 s0.215 s+0.004 s3.5 MiB3.64 MiB+ 146.43 KiB
/0.339 s0.245 s-0.094 s3.48 MiB3.47 MiB- 5.26 KiB
Average 0.402 s0.353 s-0.049 s3.93 MiB4.08 MiB+ 150.64 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
SVG61.6%35,246017
PHP15.5%8,8742,01449
JavaScript13.2%7,5767,25916
CSS7.5%4,29019316
PO File2.2%1,2567301
XML0.0%2001
Total 57,262 10,196 100

PHP Code Analysis | More results »

Lines of code 7,826
Total complexity 1,243
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 121
Functions 28

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

[14-Feb-2025 09:16:40 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:2938) in /wp-admin/includes/misc.php on line 1438
[14-Feb-2025 09:16:40 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:2938) in /wp-includes/functions.php on line 7137
[14-Feb-2025 09:16:40 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:2938) in /wp-admin/includes/misc.php on line 1438
[14-Feb-2025 09:16:40 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:2938) in /wp-includes/functions.php on line 7137
See also: All tests for this plugin, How to Hide PDF Generator For WP Admin Menus