Cresta Social Share Counter 2.9.9.2

Does Cresta Social Share Counter work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 106.92 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 version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 4,000+
WordPress.org page https://wordpress.org/plugins/cresta-social-share-counter/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=cresta-social-share-counter%2Fcresta-social-share-counter.php&plugin_status=all&paged=1&s&_wpnonce=c36185a198
Aspect after-activation
HTTP status 200
Load time 0.279 s
Memory usage 3.12 MiB
JS errors None
Resource errors None

CSSC FREE

Page screenshot: CSSC FREE
URL /wp-admin/admin.php?page=cresta-social-share-counter.php
Aspect menu-item
HTTP status 200
Load time 0.287 s
Memory usage 3.1 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.175 s
Memory usage 2.96 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.625 s
Memory usage 5.08 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.611 s
Memory usage 5.07 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.273 s0.339 s+0.066 s3.05 MiB3.16 MiB+ 111.96 KiB
/wp-admin/edit.php0.186 s0.295 s+0.109 s3.07 MiB3.18 MiB+ 111.96 KiB
/wp-admin/post-new.php0.756 s0.906 s+0.150 s4.97 MiB5.08 MiB+ 117.76 KiB
/wp-admin/upload.php0.535 s0.246 s-0.289 s2.99 MiB3.1 MiB+ 115.38 KiB
/wp-admin/options-writing.php0.151 s0.140 s-0.011 s2.99 MiB3.09 MiB+ 102.03 KiB
/wp-admin/media-new.php0.257 s0.213 s-0.044 s2.97 MiB3.09 MiB+ 127.57 KiB
/wp-admin/edit-tags.php?taxonomy=category0.162 s0.158 s-0.004 s2.98 MiB3.11 MiB+ 131.91 KiB
/wp-admin/post-new.php?post_type=page0.627 s0.615 s-0.012 s4.96 MiB5.07 MiB+ 113.34 KiB
/wp-admin/options-discussion.php0.206 s0.295 s+0.089 s2.98 MiB3.09 MiB+ 115.88 KiB
/wp-admin/edit-comments.php0.181 s0.203 s+0.022 s3 MiB3.11 MiB+ 114.59 KiB
/0.272 s0.208 s-0.064 s2.94 MiB2.96 MiB+ 13.79 KiB
Average 0.328 s0.329 s+0.001 s3.35 MiB3.46 MiB+ 106.92 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
JavaScript
Language % Lines of code Comment lines Files
PHP54.6%1,406306
CSS26.4%678394
JavaScript13.4%345163
PO File4.2%109421
SVG1.2%3001
XML0.2%501
Total 2,573 127 16

PHP Code Analysis | More results »

Lines of code 1,385
Total complexity 221
Median class complexity 14.0
Median method complexity 14.0
Most complex class crestaShareSocialCount
Most complex function cresta_social_share_option()
Classes 2
Methods 2
Functions 50

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 35

Meta Boxes

{
    "post": {
        "cresta_sectionid": {
            "title": "Cresta Social Share Counter",
            "context": "side"
        }
    },
    "page": {
        "cresta_sectionid": {
            "title": "Cresta Social Share Counter",
            "context": "side"
        }
    }
}

PHP Error Log 4 lines

[21-Nov-2022 11:24:21 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/shortcodes.php on line 208
[21-Nov-2022 11:24:24 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/shortcodes.php on line 208
[21-Nov-2022 11:24:27 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/shortcodes.php on line 208
[21-Nov-2022 11:24:30 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/shortcodes.php on line 208
See also: All tests for this plugin, How to Hide Cresta Social Share Counter Admin Menus and Meta Boxes