Social Warfare 4.4.8

Does Social Warfare work with WordPress 6.6.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

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

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=social-warfare%2Fsocial-warfare.php&plugin_status=all&paged=1&s&_wpnonce=4309068294
Aspect after-activation
HTTP status 200
Load time 0.626 s
Memory usage 4.06 MiB
JS errors None
Resource errors None

Social Warfare

Page screenshot: Social Warfare
URL /wp-admin/admin.php?page=social-warfare
Aspect menu-item
HTTP status 200
Load time 0.510 s
Memory usage 4.47 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.247 s
Memory usage 4.16 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 2.821 s
Memory usage 6.28 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.356 s0.349 s-0.007 s3.47 MiB4.09 MiB+ 635.09 KiB
/wp-admin/edit.php0.220 s0.217 s-0.003 s3.54 MiB4.18 MiB+ 659.05 KiB
/wp-admin/post-new.php0.825 s0.673 s-0.152 s5.75 MiB6.46 MiB+ 720.45 KiB
/wp-admin/upload.php0.585 s0.427 s-0.158 s3.49 MiB4.1 MiB+ 622.05 KiB
/wp-admin/options-writing.php0.219 s0.238 s+0.019 s3.41 MiB4.08 MiB+ 684.23 KiB
/wp-admin/media-new.php0.251 s0.371 s+0.120 s3.4 MiB4.08 MiB+ 697.62 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.217 s+0.020 s3.47 MiB4.09 MiB+ 639.1 KiB
/wp-admin/post-new.php?post_type=page0.627 s1.016 s+0.389 s5.75 MiB6.45 MiB+ 716.09 KiB
/wp-admin/options-discussion.php0.253 s0.310 s+0.057 s3.41 MiB4.08 MiB+ 685.92 KiB
/wp-admin/edit-comments.php0.246 s0.230 s-0.016 s3.49 MiB4.1 MiB+ 621.42 KiB
/0.332 s0.278 s-0.054 s3.45 MiB3.94 MiB+ 501.8 KiB
Average 0.374 s0.393 s+0.020 s3.88 MiB4.51 MiB+ 652.99 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
Sass
JavaScript
Language % Lines of code Comment lines Files
PHP36.8%6,6588,22464
CSS30.9%5,6029710
Sass17.3%3,1356519
JavaScript12.9%2,3421,22510
JSON1.1%20502
Markdown0.5%9502
SVG0.4%6711
Total 18,104 9,612 108

PHP Code Analysis | More results »

Lines of code 6,664
Total complexity 1,395
Median class complexity 15.0
Median method complexity 2.0
Most complex class SWP_Post_Cache
Most complex function SWP_Permalink::get_alt_permalink()
Classes 62
Methods 422
Functions 7

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 5

Sidebar Widgets 1

ID Name
swp_popular_posts_widgetSocial Warfare: Popular Posts

PHP Error Log 5 lines

[24-Jul-2024 00:25:17 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6085
[24-Jul-2024 00:25:17 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6085
[24-Jul-2024 00:25:22 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6085
[24-Jul-2024 00:25:22 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6085
[24-Jul-2024 00:25:26 UTC] PHP Notice:  Function wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 6085
See also: All tests for this plugin, How to Hide the "Social Warfare" Admin Menu