PDF Generator For WP 1.5.0

Does PDF Generator For WP work with WordPress 6.8.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: 170.22 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.8.1
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=a25b54c9a6
Aspect after-activation
HTTP status 200
Load time 0.631 s
Memory usage 3.71 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.69 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.795 s
Memory usage 3.7 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.266 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.363 s0.307 s-0.056 s3.51 MiB3.68 MiB+ 179.78 KiB
/wp-admin/edit.php0.199 s0.197 s-0.002 s3.57 MiB3.78 MiB+ 210.9 KiB
/wp-admin/post-new.php0.815 s0.681 s-0.134 s6.06 MiB6.25 MiB+ 196.93 KiB
/wp-admin/upload.php0.754 s0.659 s-0.095 s3.52 MiB3.69 MiB+ 164.97 KiB
/wp-admin/options-writing.php0.231 s0.199 s-0.032 s3.5 MiB3.67 MiB+ 168.34 KiB
/wp-admin/media-new.php0.281 s0.165 s-0.116 s3.49 MiB3.66 MiB+ 176.53 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.193 s-0.001 s3.5 MiB3.69 MiB+ 187.2 KiB
/wp-admin/post-new.php?post_type=page0.608 s0.634 s+0.026 s6.05 MiB6.24 MiB+ 191.83 KiB
/wp-admin/options-discussion.php0.313 s0.323 s+0.010 s3.5 MiB3.66 MiB+ 164.84 KiB
/wp-admin/edit-comments.php0.489 s0.316 s-0.173 s3.52 MiB3.68 MiB+ 164.34 KiB
/0.304 s0.274 s-0.030 s3.43 MiB3.5 MiB+ 66.74 KiB
Average 0.414 s0.359 s-0.055 s3.97 MiB4.14 MiB+ 170.22 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
SVG59.9%35,246017
PHP16.0%9,4022,15051
JavaScript14.5%8,5547,27017
CSS7.3%4,29819316
PO File2.2%1,2957461
XML0.0%2001
Total 58,815 10,359 103

PHP Code Analysis | More results »

Lines of code 8,309
Total complexity 1,275
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 124
Functions 34

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

[02-May-2025 14:43:09 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:3015) in /wp-includes/functions.php on line 7168
[02-May-2025 14:43:09 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:3015) in /wp-includes/functions.php on line 7144
[02-May-2025 14:43:09 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:3015) in /wp-includes/functions.php on line 7168
[02-May-2025 14:43:09 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:3015) in /wp-includes/functions.php on line 7144
See also: All tests for this plugin, How to Hide PDF Generator For WP Admin Menus