PDFjs Viewer 1.5.9

Does PDFjs Viewer work with WordPress 5.6.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: -3.93 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 version5.6.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/pdfjs-viewer-shortcode/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=pdfjs-viewer-shortcode%2Fpdfjs-viewer.php&plugin_status=all&paged=1&s&_wpnonce=f253032c48
Aspect after-activation
HTTP status 200
Load time 0.226 s
Memory usage 2.7 MiB
JS errors None
Resource errors None

Settings → PDFjs Viewer

Page screenshot: Settings → PDFjs Viewer
URL /wp-admin/options-general.php?page=pdfjs
Aspect menu-item
HTTP status 200
Load time 0.163 s
Memory usage 2.66 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.171 s
Memory usage 2.62 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.270 s0.280 s+0.010 s2.79 MiB2.81 MiB+ 14.8 KiB
/wp-admin/edit.php0.186 s0.189 s+0.003 s2.84 MiB2.85 MiB+ 14.8 KiB
/wp-admin/post-new.php0.905 s0.952 s+0.047 s4.93 MiB4.9 MiB- 35.98 KiB
/wp-admin/upload.php0.506 s0.452 s-0.054 s2.67 MiB2.68 MiB+ 15.12 KiB
/wp-admin/options-writing.php0.237 s0.140 s-0.097 s2.68 MiB2.66 MiB- 18.98 KiB
/wp-admin/media-new.php0.211 s0.165 s-0.046 s2.65 MiB2.66 MiB+ 13.84 KiB
/wp-admin/edit-tags.php?taxonomy=category0.189 s0.196 s+0.007 s2.68 MiB2.69 MiB+ 14.12 KiB
/wp-admin/post-new.php?post_type=page1.417 s0.683 s-0.734 s4.92 MiB4.88 MiB- 40.98 KiB
/wp-admin/options-discussion.php0.292 s0.325 s+0.033 s2.65 MiB2.66 MiB+ 14.15 KiB
/wp-admin/edit-comments.php0.221 s0.225 s+0.004 s2.75 MiB2.76 MiB+ 13.02 KiB
/0.258 s0.214 s-0.044 s2.67 MiB2.62 MiB- 47.09 KiB
Average 0.427 s0.347 s-0.079 s3.11 MiB3.11 MiB- 3.93 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.

JavaScript
Language % Lines of code Comment lines Files
JavaScript91.4%35,9407388
CSS5.2%2,062381
PHP1.7%658748
HTML0.8%331161
SVG0.4%15009
Markdown0.3%10501
JSON0.1%4401
Sass0.0%1702
Total 39,307 866 31

PHP Code Analysis | More results »

Lines of code 304
Total complexity 62
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function pdfjs_options_page()
Classes 0
Methods 0
Functions 9

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

The log file is empty.

See also: All tests for this plugin, How to Hide the "PDFjs Viewer" Admin Menu