PDF Generator For WP 1.3.1

Does PDF Generator For WP work with WordPress 6.4.3 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: 134.61 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.3
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=30b83bed55
Aspect after-activation
HTTP status 200
Load time 0.659 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.876 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.860 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.246 s
Memory usage 3.38 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.651 s+0.300 s3.38 MiB3.52 MiB+ 141.58 KiB
/wp-admin/edit.php0.332 s0.247 s-0.085 s3.41 MiB3.62 MiB+ 213.7 KiB
/wp-admin/post-new.php0.878 s0.695 s-0.183 s5.46 MiB5.63 MiB+ 170.99 KiB
/wp-admin/upload.php0.592 s0.362 s-0.230 s3.33 MiB3.45 MiB+ 124.91 KiB
/wp-admin/options-writing.php0.237 s0.206 s-0.031 s3.32 MiB3.43 MiB+ 117.13 KiB
/wp-admin/media-new.php0.318 s0.284 s-0.034 s3.3 MiB3.43 MiB+ 137.35 KiB
/wp-admin/edit-tags.php?taxonomy=category0.219 s0.363 s+0.144 s3.31 MiB3.45 MiB+ 141.9 KiB
/wp-admin/post-new.php?post_type=page0.808 s0.621 s-0.187 s5.45 MiB5.62 MiB+ 170.58 KiB
/wp-admin/options-discussion.php0.314 s0.284 s-0.030 s3.3 MiB3.43 MiB+ 127.32 KiB
/wp-admin/edit-comments.php0.317 s0.231 s-0.086 s3.34 MiB3.46 MiB+ 124.57 KiB
/0.291 s0.249 s-0.042 s3.36 MiB3.37 MiB+ 10.67 KiB
Average 0.423 s0.381 s-0.042 s3.72 MiB3.85 MiB+ 134.61 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.2%35,246017
PHP14.9%8,4221,92649
JavaScript13.3%7,5407,25516
CSS7.4%4,20318616
PO File2.2%1,2197001
XML0.0%2001
Total 56,650 10,067 100

PHP Code Analysis | More results »

Lines of code 7,390
Total complexity 1,189
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 119
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

[02-Feb-2024 18:52:17 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
[02-Feb-2024 18:52:17 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
[02-Feb-2024 18:52:17 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
[02-Feb-2024 18:52:17 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