PDF Generator For WP 1.4.0

Does PDF Generator For WP work with WordPress 6.7.1 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: 152.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.7.1
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=72125de872
Aspect after-activation
HTTP status 200
Load time 0.678 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.853 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.868 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.283 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.352 s0.313 s-0.039 s3.48 MiB3.64 MiB+ 164.66 KiB
/wp-admin/edit.php0.214 s0.224 s+0.010 s3.54 MiB3.74 MiB+ 199.2 KiB
/wp-admin/post-new.php0.854 s0.712 s-0.142 s5.92 MiB6.11 MiB+ 194.18 KiB
/wp-admin/upload.php0.783 s0.819 s+0.036 s3.49 MiB3.64 MiB+ 148.12 KiB
/wp-admin/options-writing.php0.209 s0.192 s-0.017 s3.47 MiB3.62 MiB+ 151.48 KiB
/wp-admin/media-new.php0.289 s0.254 s-0.035 s3.46 MiB3.62 MiB+ 159.68 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.203 s+0.020 s3.47 MiB3.64 MiB+ 170.35 KiB
/wp-admin/post-new.php?post_type=page0.694 s0.671 s-0.023 s5.92 MiB6.1 MiB+ 189.71 KiB
/wp-admin/options-discussion.php0.318 s0.279 s-0.039 s3.47 MiB3.62 MiB+ 147.98 KiB
/wp-admin/edit-comments.php0.211 s0.189 s-0.022 s3.49 MiB3.64 MiB+ 147.48 KiB
/0.347 s0.217 s-0.130 s3.47 MiB3.47 MiB+ 312 bytes
Average 0.405 s0.370 s-0.035 s3.93 MiB4.08 MiB+ 152.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
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

[03-Jan-2025 09:38:13 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
[03-Jan-2025 09:38:13 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
[03-Jan-2025 09:38:13 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
[03-Jan-2025 09:38:13 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