DB Share Count 0.2.6

Does DB Share Count work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 2.1 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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/db-share-count/
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=db-share-count%2Fdb_share_count.php&plugin_status=all&paged=1&s&_wpnonce=3222c61578
Aspect after-activation
HTTP status 200
Load time 0.246 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Settings → DB Share Count

Page screenshot: Settings → DB Share Count
URL /wp-admin/options-general.php?page=dbsc_admin_options
Aspect menu-item
HTTP status 200
Load time 0.152 s
Memory usage 3.52 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.230 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.364 s0.298 s-0.066 s3.51 MiB3.52 MiB+ 14.34 KiB
/wp-admin/edit.php0.213 s0.204 s-0.009 s3.57 MiB3.58 MiB+ 14.88 KiB
/wp-admin/post-new.php0.861 s0.667 s-0.194 s6.06 MiB6.08 MiB+ 17.94 KiB
/wp-admin/upload.php0.769 s0.314 s-0.455 s3.52 MiB3.52 MiB- 3.09 KiB
/wp-admin/options-writing.php0.210 s0.201 s-0.009 s3.5 MiB3.5 MiB+ 920 bytes
/wp-admin/media-new.php0.273 s0.250 s-0.023 s3.49 MiB3.5 MiB+ 9.09 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.401 s+0.210 s3.5 MiB3.52 MiB+ 19.77 KiB
/wp-admin/post-new.php?post_type=page0.771 s0.653 s-0.118 s6.05 MiB6.06 MiB+ 13.47 KiB
/wp-admin/options-discussion.php0.271 s0.270 s-0.001 s3.5 MiB3.5 MiB- 2.6 KiB
/wp-admin/edit-comments.php0.235 s0.212 s-0.023 s3.52 MiB3.52 MiB- 3.1 KiB
/0.325 s0.241 s-0.084 s3.5 MiB3.44 MiB- 58.46 KiB
Average 0.408 s0.337 s-0.070 s3.97 MiB3.98 MiB+ 2.1 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
CSS
Language % Lines of code Comment lines Files
PHP66.3%195312
CSS26.5%7821
JavaScript7.1%2101
Total 294 33 4

PHP Code Analysis | More results »

Lines of code 197
Total complexity 41
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function dbsc_getCounts()
Classes 0
Methods 0
Functions 15

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 6 lines

[07-May-2025 17:12:06 UTC] PHP Warning:  file_get_contents(https://graph.facebook.com/?id=http://127.0.0.1/2022/11/15/hello-world/): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
 in /wp-content/plugins/db-share-count/db_share_count.php on line 97
[07-May-2025 17:12:06 UTC] PHP Warning:  Undefined variable $post_data in /wp-content/plugins/db-share-count/db_share_count.php on line 130
[07-May-2025 17:12:06 UTC] PHP Warning:  file_get_contents(https://graph.facebook.com/?id=https://127.0.0.1/2022/11/15/hello-world/): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
 in /wp-content/plugins/db-share-count/db_share_count.php on line 97
[07-May-2025 17:12:06 UTC] PHP Warning:  Undefined variable $post_data in /wp-content/plugins/db-share-count/db_share_count.php on line 130
See also: All tests for this plugin, How to Hide the "DB Share Count" Admin Menu