WPCode Content Ratio 2.0

Does WPCode Content Ratio work with WordPress 7.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 21.35 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 version7.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100+
WordPress.org page https://wordpress.org/plugins/wpcode-content-ratio/
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=wpcode-content-ratio%2Findex.php&plugin_status=all&paged=1&s&_wpnonce=c3b0ce31da
Aspect after-activation
HTTP status 200
Load time 0.767 s
Memory usage 4.27 MiB
JS errors None
Resource errors None

Content Ratio

Page screenshot: Content Ratio
URL /wp-admin/admin.php?page=wpcode-content-ratio
Aspect menu-item
HTTP status 200
Load time 0.275 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.254 s
Memory usage 4.62 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php1.151 s0.859 s-0.292 s4.23 MiB4.25 MiB+ 23.6 KiB
/wp-admin/edit.php0.565 s0.651 s+0.086 s4.28 MiB4.3 MiB+ 22.99 KiB
/wp-admin/post-new.php2.355 s2.097 s-0.258 s6.78 MiB6.83 MiB+ 48.64 KiB
/wp-admin/upload.php1.436 s1.019 s-0.417 s4.25 MiB4.25 MiB+ 6.55 KiB
/wp-admin/options-writing.php0.940 s0.577 s-0.363 s4.22 MiB4.23 MiB+ 10.55 KiB
/wp-admin/media-new.php0.613 s1.027 s+0.414 s4.21 MiB4.23 MiB+ 18.74 KiB
/wp-admin/edit-tags.php?taxonomy=category0.563 s0.557 s-0.006 s4.22 MiB4.25 MiB+ 23.91 KiB
/wp-admin/post-new.php?post_type=page1.802 s1.529 s-0.273 s6.76 MiB6.8 MiB+ 48.51 KiB
/wp-admin/options-discussion.php1.064 s1.407 s+0.343 s4.23 MiB4.23 MiB+ 3.05 KiB
/wp-admin/edit-comments.php0.578 s0.732 s+0.154 s4.24 MiB4.25 MiB+ 6.55 KiB
/0.326 s0.207 s-0.119 s4.6 MiB4.62 MiB+ 21.81 KiB
Average 1.036 s0.969 s-0.066 s4.73 MiB4.75 MiB+ 21.35 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
PO File
Language % Lines of code Comment lines Files
PHP63.2%9801561
PO File36.1%5604632
CSS0.3%501
JavaScript0.3%501
Total 1,550 619 5

PHP Code Analysis | More results »

Lines of code 981
Total complexity 171
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function jja_wpcode_content_ratio_page()
Classes 0
Methods 0
Functions 40

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

PHP Error Log 9 lines

[11-Sep-2026 09:28:53 UTC] PHP Fatal error:  Uncaught Error: Undefined constant "TSC_MEDIA_URI" in /wp-content/plugins/wpcode-content-ratio/index.php:664
Stack trace:
#0 /wp-content/plugins/wpcode-content-ratio/index.php(202): jja_print_sidebar_left()
#1 /wp-includes/class-wp-hook.php(353): jja_wpcode_content_ratio_page()
#2 /wp-includes/class-wp-hook.php(377): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(523): WP_Hook->do_action()
#4 /wp-admin/admin.php(264): do_action()
#5 {main}
  thrown in /wp-content/plugins/wpcode-content-ratio/index.php on line 664
See also: All tests for this plugin