PDF Generator For WP 1.2.8

Does PDF Generator For WP work with WordPress 6.4.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: 134.55 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.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=7272f11f73
Aspect after-activation
HTTP status 200
Load time 0.674 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.897 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.822 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.254 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.387 s0.528 s+0.141 s3.38 MiB3.52 MiB+ 141.52 KiB
/wp-admin/edit.php0.221 s0.325 s+0.104 s3.41 MiB3.61 MiB+ 213.64 KiB
/wp-admin/post-new.php1.033 s0.643 s-0.390 s5.46 MiB5.63 MiB+ 170.94 KiB
/wp-admin/upload.php0.728 s0.327 s-0.401 s3.32 MiB3.45 MiB+ 124.85 KiB
/wp-admin/options-writing.php0.247 s0.201 s-0.046 s3.32 MiB3.43 MiB+ 117.07 KiB
/wp-admin/media-new.php0.332 s0.275 s-0.057 s3.29 MiB3.43 MiB+ 137.3 KiB
/wp-admin/edit-tags.php?taxonomy=category0.217 s0.202 s-0.015 s3.31 MiB3.45 MiB+ 141.84 KiB
/wp-admin/post-new.php?post_type=page0.634 s0.808 s+0.174 s5.45 MiB5.62 MiB+ 170.52 KiB
/wp-admin/options-discussion.php0.356 s0.267 s-0.089 s3.3 MiB3.43 MiB+ 127.27 KiB
/wp-admin/edit-comments.php0.257 s0.220 s-0.037 s3.34 MiB3.46 MiB+ 124.52 KiB
/0.324 s0.242 s-0.082 s3.36 MiB3.37 MiB+ 10.62 KiB
Average 0.431 s0.367 s-0.063 s3.72 MiB3.85 MiB+ 134.55 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,0221,89248
JavaScript13.4%7,5407,25516
CSS7.4%4,17518616
PO File2.2%1,2116861
XML0.0%2001
Total 56,219 10,019 101

PHP Code Analysis | More results »

Lines of code 6,942
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

[11-Nov-2023 19:39:36 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
[11-Nov-2023 19:39:36 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
[11-Nov-2023 19:39:36 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
[11-Nov-2023 19:39:36 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