PDF Generator For WP 1.2.4

Does PDF Generator For WP work with WordPress 6.2.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: 111.31 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.2.2
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=01df258b2e
Aspect after-activation
HTTP status 200
Load time 0.601 s
Memory usage 3.17 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.769 s
Memory usage 3.16 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.638 s
Memory usage 3.18 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.299 s
Memory usage 3.09 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.276 s0.232 s-0.044 s3.07 MiB3.19 MiB+ 118.38 KiB
/wp-admin/edit.php0.179 s0.203 s+0.024 s3.1 MiB3.28 MiB+ 188.52 KiB
/wp-admin/post-new.php0.726 s0.609 s-0.117 s5.02 MiB5.14 MiB+ 121.66 KiB
/wp-admin/upload.php0.530 s0.429 s-0.101 s3.02 MiB3.12 MiB+ 100.96 KiB
/wp-admin/options-writing.php0.142 s0.152 s+0.010 s3.01 MiB3.1 MiB+ 87.73 KiB
/wp-admin/media-new.php0.274 s0.224 s-0.050 s2.99 MiB3.1 MiB+ 113.16 KiB
/wp-admin/edit-tags.php?taxonomy=category0.168 s0.172 s+0.004 s3.01 MiB3.12 MiB+ 118.33 KiB
/wp-admin/post-new.php?post_type=page0.600 s0.557 s-0.043 s5.01 MiB5.13 MiB+ 117.25 KiB
/wp-admin/options-discussion.php0.203 s0.237 s+0.034 s3 MiB3.1 MiB+ 101.46 KiB
/wp-admin/edit-comments.php0.181 s0.194 s+0.013 s3.03 MiB3.13 MiB+ 101 KiB
/0.283 s0.235 s-0.048 s3.03 MiB3.08 MiB+ 55.95 KiB
Average 0.324 s0.295 s-0.029 s3.39 MiB3.5 MiB+ 111.31 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
SVG63.1%35,251019
PHP13.9%7,7581,85548
JavaScript13.4%7,5077,25515
CSS7.4%4,14818616
PO File2.1%1,1966761
XML0.0%2001
Total 55,880 9,972 100

PHP Code Analysis | More results »

Lines of code 6,675
Total complexity 1,091
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 113
Functions 23

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

[21-Jul-2023 07:48:38 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:2845) in /wp-admin/includes/misc.php on line 1431
[21-Jul-2023 07:48:38 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:2845) in /wp-includes/functions.php on line 6896
[21-Jul-2023 07:48:38 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:2845) in /wp-admin/includes/misc.php on line 1431
[21-Jul-2023 07:48:38 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:2845) in /wp-includes/functions.php on line 6896
See also: All tests for this plugin, How to Hide PDF Generator For WP Admin Menus