Ganohrs Toggle Shortcode 0.0.3

Does Ganohr's Toggle Shortcode work with WordPress 6.1 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: 6.03 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
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 100+
WordPress.org page https://wordpress.org/plugins/ganohrs-toggle-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=ganohrs-toggle-shortcode%2Fganohrs-toggle-shortcode.php&plugin_status=all&paged=1&s&_wpnonce=6eb0924c84
Aspect after-activation
HTTP status 200
Load time 0.271 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Settings → Ganohr’s Toggle Shortcode

Page screenshot: Settings → Ganohr’s Toggle Shortcode
URL /wp-admin/options-general.php?page=ganohrs-toggle-shortcode-options
Aspect menu-item
HTTP status 200
Load time 0.346 s
Memory usage 3.48 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.224 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.288 s0.259 s-0.029 s3.55 MiB3.56 MiB+ 13.71 KiB
/wp-admin/edit.php0.184 s0.191 s+0.007 s3.58 MiB3.6 MiB+ 13.71 KiB
/wp-admin/post-new.php0.799 s0.658 s-0.141 s5.48 MiB5.5 MiB+ 21.27 KiB
/wp-admin/upload.php0.651 s0.295 s-0.356 s3.49 MiB3.5 MiB+ 12.55 KiB
/wp-admin/options-writing.php0.251 s0.159 s-0.092 s3.49 MiB3.48 MiB- 6.4 KiB
/wp-admin/media-new.php0.256 s0.374 s+0.118 s3.47 MiB3.48 MiB+ 12.72 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.246 s+0.048 s3.5 MiB3.51 MiB+ 11.91 KiB
/wp-admin/post-new.php?post_type=page0.620 s0.614 s-0.006 s5.47 MiB5.49 MiB+ 12.83 KiB
/wp-admin/options-discussion.php0.214 s0.243 s+0.029 s3.47 MiB3.48 MiB+ 12.97 KiB
/wp-admin/edit-comments.php0.220 s0.218 s-0.002 s3.5 MiB3.51 MiB+ 12.53 KiB
/0.280 s0.244 s-0.036 s3.47 MiB3.42 MiB- 51.46 KiB
Average 0.360 s0.318 s-0.042 s3.86 MiB3.87 MiB+ 6.03 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.

CSS
Language % Lines of code Comment lines Files
CSS97.9%11,41519143
PHP2.1%2501122
Total 11,665 303 45

PHP Code Analysis | More results »

Lines of code 252
Total complexity 74
Median class complexity 52.0
Median method complexity 1.0
Most complex class ganohrs_toggle_shortcode_Options
Most complex function ganohrs_toggle_shortcode_Options::style_callback()
Classes 1
Methods 7
Functions 4

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.

User Metadata wp_usermeta 1

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Ganohrs Toggle Shortcode" Admin Menu