DK PDF 1.9.6

Does DK PDF work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 85.97 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.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 3,000+
WordPress.org page https://wordpress.org/plugins/dk-pdf/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

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=dk-pdf%2Fdk-pdf.php&plugin_status=all&paged=1&s&_wpnonce=bcda8af55e
Aspect after-activation
HTTP status 200
Load time 0.250 s
Memory usage 3.56 MiB
JS errors None
Resource errors None

DK PDF

Page screenshot: DK PDF
URL /wp-admin/admin.php?page=dkpdf_settings
Aspect menu-item
HTTP status 200
Load time 0.489 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

DK PDF → PDF Setup

Page screenshot: DK PDF → PDF Setup
URL /wp-admin/admin.php?page=dkpdf_settings&tab=dkpdf_setup
Aspect menu-item-tab
HTTP status 200
Load time 0.337 s
Memory usage 3.56 MiB
JS errors None
Resource errors None

DK PDF → PDF Header & Footer

Page screenshot: DK PDF → PDF Header & Footer
URL /wp-admin/admin.php?page=dkpdf_settings&tab=pdf_header_footer
Aspect menu-item-tab
HTTP status 200
Load time 0.280 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

DK PDF → PDF CSS

Page screenshot: DK PDF → PDF CSS
URL /wp-admin/admin.php?page=dkpdf_settings&tab=pdf_css
Aspect menu-item-tab
HTTP status 200
Load time 0.385 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

DK PDF → Addons

Page screenshot: DK PDF → Addons
URL /wp-admin/admin.php?page=dkpdf-addons
Aspect menu-item
HTTP status 200
Load time 0.190 s
Memory usage 3.53 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.243 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.385 s0.351 s-0.034 s3.47 MiB3.55 MiB+ 82.8 KiB
/wp-admin/edit.php0.222 s0.208 s-0.014 s3.54 MiB3.62 MiB+ 84.45 KiB
/wp-admin/post-new.php0.834 s0.594 s-0.240 s5.75 MiB5.83 MiB+ 83.41 KiB
/wp-admin/upload.php0.582 s0.469 s-0.113 s3.49 MiB3.55 MiB+ 65.58 KiB
/wp-admin/options-writing.php0.210 s0.204 s-0.006 s3.41 MiB3.54 MiB+ 128.38 KiB
/wp-admin/media-new.php0.256 s0.262 s+0.006 s3.4 MiB3.53 MiB+ 141.77 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.221 s+0.022 s3.47 MiB3.56 MiB+ 88.44 KiB
/wp-admin/post-new.php?post_type=page0.614 s0.669 s+0.055 s5.75 MiB5.83 MiB+ 82.99 KiB
/wp-admin/options-discussion.php0.243 s0.281 s+0.038 s3.41 MiB3.53 MiB+ 130.07 KiB
/wp-admin/edit-comments.php0.233 s0.205 s-0.028 s3.49 MiB3.55 MiB+ 65.57 KiB
/0.336 s0.230 s-0.106 s3.45 MiB3.45 MiB- 7.78 KiB
Average 0.374 s0.336 s-0.038 s3.88 MiB3.96 MiB+ 85.97 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.

PHP
Language % Lines of code Comment lines Files
PHP86.5%1,35635513
JavaScript6.1%96147
PO File4.2%66271
CSS3.1%4902
Total 1,567 396 23

PHP Code Analysis | More results »

Lines of code 1,187
Total complexity 225
Median class complexity 24.5
Median method complexity 1.0
Most complex class DKPDF_Admin_API
Most complex function DKPDF_Admin_API::display_field()
Classes 4
Methods 31
Functions 44

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.

No new entries found.

PHP Error Log 1 lines

[12-Sep-2024 01:39:02 UTC] PHP Deprecated:  Optional parameter $field declared before required parameter $post is implicitly treated as a required parameter in /wp-content/plugins/dk-pdf/includes/class-dkpdf-admin-api.php on line 287
See also: All tests for this plugin, How to Hide the "DK PDF" Admin Menu