PDF Generator For WP 1.1.1

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=1bc492861f
Aspect after-activation
HTTP status 200
Load time 0.594 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.021 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.729 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.317 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.301 s0.268 s-0.033 s3.05 MiB3.15 MiB+ 103.8 KiB
/wp-admin/edit.php0.192 s0.224 s+0.032 s3.07 MiB3.21 MiB+ 138.77 KiB
/wp-admin/post-new.php0.823 s0.918 s+0.095 s4.97 MiB5.08 MiB+ 112.59 KiB
/wp-admin/upload.php0.575 s0.290 s-0.285 s2.99 MiB3.08 MiB+ 86.38 KiB
/wp-admin/options-writing.php0.172 s0.152 s-0.020 s2.99 MiB3.06 MiB+ 73.04 KiB
/wp-admin/media-new.php0.270 s0.415 s+0.145 s2.97 MiB3.06 MiB+ 98.58 KiB
/wp-admin/edit-tags.php?taxonomy=category0.314 s0.172 s-0.142 s2.98 MiB3.08 MiB+ 103.75 KiB
/wp-admin/post-new.php?post_type=page0.630 s0.922 s+0.292 s4.96 MiB5.07 MiB+ 108.17 KiB
/wp-admin/options-discussion.php0.199 s0.191 s-0.008 s2.98 MiB3.06 MiB+ 86.88 KiB
/wp-admin/edit-comments.php0.204 s0.199 s-0.005 s3 MiB3.09 MiB+ 86.42 KiB
/0.282 s0.252 s-0.030 s2.94 MiB3.06 MiB+ 119.2 KiB
Average 0.360 s0.364 s+0.004 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.8%35,226016
JavaScript14.2%7,4737,25215
PHP10.5%5,5161,62238
CSS7.1%3,74317916
PO File1.5%7874171
XML0.0%2001
Total 52,765 9,470 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

[23-Nov-2022 10:05:00 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
[23-Nov-2022 10:05:00 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
[23-Nov-2022 10:05:00 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
[23-Nov-2022 10:05:00 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