Plugin Detective - Troubleshooting 1.2.1

Does "Plugin Detective - Troubleshooting" work with WordPress 6.1.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 9.12 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 version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 5,000+
WordPress.org page https://wordpress.org/plugins/plugin-detective/
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=plugin-detective%2Fplugin-detective.php&plugin_status=all&paged=1&s&_wpnonce=76002945ba
Aspect after-activation
HTTP status 200
Load time 0.433 s
Memory usage 3.5 MiB
JS errors None
Resource errors None

Tools → Plugin Detective

Page screenshot: Tools → Plugin Detective
URL /wp-content/plugins/plugin-detective/troubleshoot/?session=1&nonce=7c2f01a71e
Requested URL /wp-admin/tools.php?page=plugin-detective
Aspect menu-item
HTTP status 500
Load time 0.103 s
Memory usage N/A
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.216 s
Memory usage 3.43 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.787 s0.308 s-0.479 s3.54 MiB3.56 MiB+ 16.55 KiB
/wp-admin/edit.php0.184 s0.202 s+0.018 s3.57 MiB3.59 MiB+ 15.25 KiB
/wp-admin/post-new.php1.070 s1.261 s+0.191 s5.46 MiB5.48 MiB+ 20.91 KiB
/wp-admin/upload.php0.755 s0.293 s-0.462 s3.41 MiB3.42 MiB+ 14.09 KiB
/wp-admin/options-writing.php0.181 s0.149 s-0.032 s3.4 MiB3.4 MiB- 3.41 KiB
/wp-admin/media-new.php0.246 s0.207 s-0.039 s3.39 MiB3.4 MiB+ 14.26 KiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s0.288 s+0.103 s3.48 MiB3.49 MiB+ 15.2 KiB
/wp-admin/post-new.php?post_type=page0.959 s0.978 s+0.019 s5.46 MiB5.47 MiB+ 16.5 KiB
/wp-admin/options-discussion.php0.209 s0.203 s-0.006 s3.38 MiB3.4 MiB+ 14.6 KiB
/wp-admin/edit-comments.php0.221 s0.222 s+0.001 s3.48 MiB3.5 MiB+ 15.41 KiB
/0.320 s0.238 s-0.082 s3.47 MiB3.43 MiB- 39.01 KiB
Average 0.465 s0.395 s-0.070 s3.82 MiB3.83 MiB+ 9.12 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
Vuejs Component
JavaScript
Sass
Language % Lines of code Comment lines Files
PHP46.9%2,4831,50021
Vuejs Component22.3%1,1791016
JavaScript19.5%1,0335519
Sass9.0%474013
JSON1.4%7501
SVG0.4%1918
HTML0.2%1311
Bourne Shell0.2%1101
CSS0.1%401
Total 5,291 1,567 81

PHP Code Analysis | More results »

Lines of code 2,382
Total complexity 524
Median class complexity 21.0
Median method complexity 2.0
Most complex class PDT_String
Most complex function PDT_Constants::define_constants()
Classes 18
Methods 171
Functions 5

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 2

User Metadata wp_usermeta 1

PHP Error Log 10 lines

[16-Nov-2022 23:55:42 UTC] PHP Fatal error:  Uncaught Error: Class 'WP_Theme_JSON_Data' not found in /wp-includes/class-wp-theme-json-resolver.php:183
Stack trace:
#0 /wp-includes/class-wp-theme-json-resolver.php(559): WP_Theme_JSON_Resolver::get_core_data()
#1 /wp-includes/script-loader.php(3205): WP_Theme_JSON_Resolver::get_merged_data()
#2 /wp-includes/script-loader.php(3401): {closure}()
#3 /wp-includes/class-wp-hook.php(308): {closure}()
#4 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#5 /wp-includes/plugin.php(517): WP_Hook->do_action()
#6 /wp-content/plugins/plugin-detective/troubleshoot/includes/class-settings.php(629): do_action()
#7 /wp-content/plugins/plugin-detective/troubleshoot/troubleshoot.php(399): include_once('/opt/bit in /wp-includes/class-wp-theme-json-resolver.php on line 183
See also: All tests for this plugin, How to Hide the "Plugin Detective" Admin Menu