Cresta Social Share Counter 2.9.9.3

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.8 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=d638358e0c
Aspect after-activation
HTTP status 200
Load time 0.281 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.411 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.224 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.620 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.598 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.295 s0.227 s-0.068 s3.05 MiB3.16 MiB+ 111.84 KiB
/wp-admin/edit.php0.198 s0.190 s-0.008 s3.07 MiB3.18 MiB+ 111.84 KiB
/wp-admin/post-new.php0.783 s0.962 s+0.179 s4.97 MiB5.08 MiB+ 117.63 KiB
/wp-admin/upload.php0.628 s0.293 s-0.335 s2.99 MiB3.1 MiB+ 115.26 KiB
/wp-admin/options-writing.php0.178 s0.134 s-0.044 s2.99 MiB3.09 MiB+ 101.91 KiB
/wp-admin/media-new.php0.287 s0.191 s-0.096 s2.97 MiB3.09 MiB+ 127.45 KiB
/wp-admin/edit-tags.php?taxonomy=category0.224 s0.176 s-0.048 s2.98 MiB3.11 MiB+ 131.79 KiB
/wp-admin/post-new.php?post_type=page0.626 s0.735 s+0.109 s4.96 MiB5.07 MiB+ 113.22 KiB
/wp-admin/options-discussion.php0.210 s0.223 s+0.013 s2.98 MiB3.09 MiB+ 115.75 KiB
/wp-admin/edit-comments.php0.215 s0.196 s-0.019 s3 MiB3.11 MiB+ 114.46 KiB
/0.294 s0.213 s-0.081 s2.94 MiB2.96 MiB+ 13.66 KiB
Average 0.358 s0.322 s-0.036 s3.35 MiB3.46 MiB+ 106.8 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
PHP55.1%1,430306
CSS26.1%678394
JavaScript13.3%345163
PO File4.2%109421
SVG1.2%3001
XML0.2%501
Total 2,597 127 16

PHP Code Analysis | More results »

Lines of code 1,409
Total complexity 245
Median class complexity 17.0
Median method complexity 17.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

[03-Feb-2023 17:49:48 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/shortcodes.php on line 208
[03-Feb-2023 17:49:52 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/shortcodes.php on line 208
[03-Feb-2023 17:49:55 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/shortcodes.php on line 208
[03-Feb-2023 17:49:57 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