PDF Generator For WP 1.1.2

Does PDF Generator For WP work with WordPress 6.1.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: 101.6 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.1.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=2c2a546c58
Aspect after-activation
HTTP status 200
Load time 0.854 s
Memory usage 3.14 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 1.054 s
Memory usage 3.13 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.758 s
Memory usage 3.15 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.355 s
Memory usage 3.06 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.342 s0.272 s-0.070 s3.05 MiB3.15 MiB+ 103.8 KiB
/wp-admin/edit.php0.235 s0.213 s-0.022 s3.07 MiB3.21 MiB+ 138.77 KiB
/wp-admin/post-new.php0.921 s0.988 s+0.067 s4.97 MiB5.08 MiB+ 112.59 KiB
/wp-admin/upload.php0.723 s0.508 s-0.215 s2.99 MiB3.08 MiB+ 86.39 KiB
/wp-admin/options-writing.php0.182 s0.196 s+0.014 s2.99 MiB3.06 MiB+ 73.04 KiB
/wp-admin/media-new.php0.309 s0.283 s-0.026 s2.97 MiB3.06 MiB+ 98.58 KiB
/wp-admin/edit-tags.php?taxonomy=category0.242 s0.211 s-0.031 s2.98 MiB3.08 MiB+ 103.75 KiB
/wp-admin/post-new.php?post_type=page0.732 s0.711 s-0.021 s4.96 MiB5.07 MiB+ 108.17 KiB
/wp-admin/options-discussion.php0.257 s0.249 s-0.008 s2.98 MiB3.06 MiB+ 86.88 KiB
/wp-admin/edit-comments.php0.256 s0.259 s+0.003 s3 MiB3.08 MiB+ 86.42 KiB
/0.356 s0.331 s-0.025 s2.94 MiB3.06 MiB+ 119.2 KiB
Average 0.414 s0.384 s-0.030 s3.35 MiB3.45 MiB+ 101.6 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
JavaScript
PHP
Language % Lines of code Comment lines Files
SVG66.7%35,226016
JavaScript14.2%7,4737,25215
PHP10.5%5,5161,62238
CSS7.1%3,74317916
PO File1.5%8044361
XML0.0%2001
Total 52,782 9,489 87

PHP Code Analysis | More results »

Lines of code 4,791
Total complexity 883
Median class complexity 7.0
Median method complexity 2.0
Most complex class Pdf_Generator_For_Wp_Admin
Most complex function Pdf_Generator_For_Wp::wps_pgfw_plug_generate_html()
Classes 11
Methods 100
Functions 20

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

[13-Jan-2023 13:43:27 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:2810) in /wp-admin/includes/misc.php on line 1416
[13-Jan-2023 13:43:27 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:2810) in /wp-includes/functions.php on line 6865
[13-Jan-2023 13:43:27 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:2810) in /wp-admin/includes/misc.php on line 1416
[13-Jan-2023 13:43:27 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:2810) in /wp-includes/functions.php on line 6865
See also: All tests for this plugin, How to Hide PDF Generator For WP Admin Menus