PDF Generator For WP 1.3.2

Does PDF Generator For WP work with WordPress 6.4.3 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: 135.11 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.3
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=f109333b41
Aspect after-activation
HTTP status 200
Load time 0.676 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.850 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.836 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.287 s
Memory usage 3.38 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.363 s0.371 s+0.008 s3.38 MiB3.52 MiB+ 142.08 KiB
/wp-admin/edit.php0.333 s0.244 s-0.089 s3.41 MiB3.62 MiB+ 214.2 KiB
/wp-admin/post-new.php0.804 s0.660 s-0.144 s5.46 MiB5.63 MiB+ 171.49 KiB
/wp-admin/upload.php0.680 s0.327 s-0.353 s3.32 MiB3.45 MiB+ 125.41 KiB
/wp-admin/options-writing.php0.216 s0.192 s-0.024 s3.32 MiB3.43 MiB+ 117.63 KiB
/wp-admin/media-new.php0.299 s0.375 s+0.076 s3.3 MiB3.43 MiB+ 137.85 KiB
/wp-admin/edit-tags.php?taxonomy=category0.211 s0.240 s+0.029 s3.31 MiB3.45 MiB+ 142.4 KiB
/wp-admin/post-new.php?post_type=page0.799 s0.589 s-0.210 s5.45 MiB5.62 MiB+ 171.08 KiB
/wp-admin/options-discussion.php0.276 s0.259 s-0.017 s3.3 MiB3.43 MiB+ 127.82 KiB
/wp-admin/edit-comments.php0.220 s0.228 s+0.008 s3.34 MiB3.46 MiB+ 125.07 KiB
/0.271 s0.229 s-0.042 s3.36 MiB3.37 MiB+ 11.17 KiB
Average 0.407 s0.338 s-0.069 s3.72 MiB3.85 MiB+ 135.11 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.1%35,246017
PHP14.9%8,4421,92649
JavaScript13.3%7,5477,25516
CSS7.5%4,28319316
PO File2.1%1,2187021
XML0.0%2001
Total 56,756 10,076 100

PHP Code Analysis | More results »

Lines of code 7,410
Total complexity 1,189
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 119
Functions 27

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-Feb-2024 10:12:01 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
[21-Feb-2024 10:12:01 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
[21-Feb-2024 10:12:01 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
[21-Feb-2024 10:12:01 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