PDF Generator For WP 1.2.2

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: 107.52 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=9cb518ab0a
Aspect after-activation
HTTP status 200
Load time 0.607 s
Memory usage 3.16 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.841 s
Memory usage 3.15 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.657 s
Memory usage 3.17 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.293 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.296 s0.233 s-0.063 s3.07 MiB3.18 MiB+ 108.04 KiB
/wp-admin/edit.php0.187 s0.191 s+0.004 s3.1 MiB3.27 MiB+ 178.19 KiB
/wp-admin/post-new.php0.734 s0.984 s+0.250 s5.02 MiB5.13 MiB+ 111.33 KiB
/wp-admin/upload.php0.534 s0.433 s-0.101 s3.02 MiB3.11 MiB+ 90.63 KiB
/wp-admin/options-writing.php0.180 s0.161 s-0.019 s3.01 MiB3.09 MiB+ 77.39 KiB
/wp-admin/media-new.php0.269 s0.245 s-0.024 s2.99 MiB3.09 MiB+ 102.82 KiB
/wp-admin/edit-tags.php?taxonomy=category0.208 s0.182 s-0.026 s3.01 MiB3.11 MiB+ 107.99 KiB
/wp-admin/post-new.php?post_type=page0.588 s0.553 s-0.035 s5.01 MiB5.12 MiB+ 106.91 KiB
/wp-admin/options-discussion.php0.211 s0.226 s+0.015 s3 MiB3.09 MiB+ 91.13 KiB
/wp-admin/edit-comments.php0.209 s0.206 s-0.003 s3.03 MiB3.12 MiB+ 90.66 KiB
/0.292 s0.243 s-0.049 s2.97 MiB3.08 MiB+ 117.63 KiB
Average 0.337 s0.332 s-0.005 s3.38 MiB3.49 MiB+ 107.52 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
SVG65.5%35,247018
JavaScript13.9%7,4837,25415
PHP11.9%6,4191,71340
CSS7.0%3,74317916
PO File1.6%8684781
XML0.0%2001
Total 53,780 9,624 91

PHP Code Analysis | More results »

Lines of code 5,713
Total complexity 1,014
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 107
Functions 22

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

[05-Jun-2023 11:33:49 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
[05-Jun-2023 11:33:49 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
[05-Jun-2023 11:33:49 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
[05-Jun-2023 11:33:49 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