DB Share Count 0.2.6

Does DB Share Count work with WordPress 6.5.3 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: 967.27 bytes
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.5.3
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=807cba3187
Aspect after-activation
HTTP status 200
Load time 0.414 s
Memory usage 3.39 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.150 s
Memory usage 3.37 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.258 s
Memory usage 3.37 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.373 s0.341 s-0.032 s3.43 MiB3.45 MiB+ 13.45 KiB
/wp-admin/edit.php0.211 s0.225 s+0.014 s3.46 MiB3.47 MiB+ 14.01 KiB
/wp-admin/post-new.php0.964 s0.605 s-0.359 s5.59 MiB5.61 MiB+ 17.02 KiB
/wp-admin/upload.php0.590 s0.439 s-0.151 s3.38 MiB3.38 MiB- 3.96 KiB
/wp-admin/options-writing.php0.209 s0.380 s+0.171 s3.37 MiB3.36 MiB- 12.06 KiB
/wp-admin/media-new.php0.298 s0.272 s-0.026 s3.35 MiB3.36 MiB+ 8.23 KiB
/wp-admin/edit-tags.php?taxonomy=category0.184 s0.208 s+0.024 s3.37 MiB3.38 MiB+ 13.4 KiB
/wp-admin/post-new.php?post_type=page0.547 s0.584 s+0.037 s5.58 MiB5.6 MiB+ 12.6 KiB
/wp-admin/options-discussion.php0.365 s0.253 s-0.112 s3.36 MiB3.35 MiB- 3.53 KiB
/wp-admin/edit-comments.php0.242 s0.233 s-0.009 s3.39 MiB3.39 MiB- 3.97 KiB
/0.316 s0.228 s-0.088 s3.42 MiB3.37 MiB- 44.78 KiB
Average 0.391 s0.343 s-0.048 s3.79 MiB3.79 MiB+ 967.27 bytes

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

[15-May-2024 03:15:34 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
[15-May-2024 03:15:34 UTC] PHP Warning:  Undefined variable $post_data in /wp-content/plugins/db-share-count/db_share_count.php on line 130
[15-May-2024 03:15:34 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
[15-May-2024 03:15:34 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