SquareOffs 2.3

Does SquareOffs work with WordPress 6.3.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 12.43 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.021 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.3.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/squareoffs/
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=squareoffs%2Fplugin.php&plugin_status=all&paged=1&s&_wpnonce=11577484a1
Aspect after-activation
HTTP status 200
Load time 0.314 s
Memory usage 2.8 MiB
JS errors None
Resource errors None

SquareOffs

Page screenshot: SquareOffs
URL /wp-admin/admin.php?page=squareoffs
Aspect menu-item
HTTP status 200
Load time 2.356 s
Memory usage 2.89 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'api_connected')\n    at Module.<anonymous> (/wp-content/plugins/squareoffs/build/index.js?ver=d65ff27ab158965a9eef462925ab3fbf:1:220641)\n    at n (/wp-content/plugins/squareoffs/build/index.js?ver=d65ff27ab158965a9eef462925ab3fbf:1:110)\n    at /wp-content/plugins/squareoffs/build/index.js?ver=d65ff27ab158965a9eef462925ab3fbf:1:902\n    at /wp-content/plugins/squareoffs/build/index.js?ver=d65ff27ab158965a9eef462925ab3fbf:1:912",
        "trace": null,
        "code": null
    }
]
Resource errors None

SquareOffs → Settings

Page screenshot: SquareOffs → Settings
URL /wp-admin/admin.php?page=squareoffs-options
Aspect menu-item
HTTP status 200
Load time 1.672 s
Memory usage 2.81 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'api_connected')\n    at Module.<anonymous> (/wp-content/plugins/squareoffs/build/index.js?ver=d65ff27ab158965a9eef462925ab3fbf:1:220641)\n    at n (/wp-content/plugins/squareoffs/build/index.js?ver=d65ff27ab158965a9eef462925ab3fbf:1:110)\n    at /wp-content/plugins/squareoffs/build/index.js?ver=d65ff27ab158965a9eef462925ab3fbf:1:902\n    at /wp-content/plugins/squareoffs/build/index.js?ver=d65ff27ab158965a9eef462925ab3fbf:1:912",
        "trace": null,
        "code": null
    }
]
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.442 s
Memory usage 3.09 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.352 s0.401 s+0.049 s2.82 MiB2.86 MiB+ 34.29 KiB
/wp-admin/edit.php0.198 s0.239 s+0.041 s2.85 MiB2.88 MiB+ 34.29 KiB
/wp-admin/post-new.php0.740 s0.848 s+0.108 s5.21 MiB5.16 MiB- 50.34 KiB
/wp-admin/upload.php0.601 s0.469 s-0.132 s2.77 MiB2.81 MiB+ 46.17 KiB
/wp-admin/options-writing.php0.242 s0.211 s-0.031 s2.76 MiB2.77 MiB+ 9.67 KiB
/wp-admin/media-new.php0.383 s0.362 s-0.021 s2.74 MiB2.77 MiB+ 29.9 KiB
/wp-admin/edit-tags.php?taxonomy=category0.189 s0.194 s+0.005 s2.76 MiB2.79 MiB+ 34.24 KiB
/wp-admin/post-new.php?post_type=page0.579 s1.031 s+0.452 s5.21 MiB5.15 MiB- 54.76 KiB
/wp-admin/options-discussion.php0.401 s0.226 s-0.175 s2.75 MiB2.76 MiB+ 18.2 KiB
/wp-admin/edit-comments.php0.245 s0.210 s-0.035 s2.78 MiB2.8 MiB+ 16.91 KiB
/0.269 s0.243 s-0.026 s3.13 MiB3.15 MiB+ 18.19 KiB
Average 0.382 s0.403 s+0.021 s3.25 MiB3.26 MiB+ 12.43 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
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP52.8%2,9691,10937
JavaScript25.7%1,4443747
CSS20.4%1,146427
Markdown1.2%6502
Total 5,624 1,525 53

PHP Code Analysis | More results »

Lines of code 2,132
Total complexity 425
Median class complexity 21.0
Median method complexity 2.0
Most complex class Squareoffs_Api
Most complex function squareoffs_handle_comment_actions()
Classes 6
Methods 67
Functions 69

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

[07-Sep-2023 11:48:13 UTC] PHP Deprecated:  str_starts_with(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/class-wp-styles.php on line 430
[07-Sep-2023 11:48:13 UTC] PHP Deprecated:  str_starts_with(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/class-wp-styles.php on line 430
[07-Sep-2023 11:48:16 UTC] PHP Deprecated:  str_starts_with(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/class-wp-styles.php on line 430
[07-Sep-2023 11:48:16 UTC] PHP Deprecated:  str_starts_with(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/class-wp-styles.php on line 430
[07-Sep-2023 11:48:20 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/squareoffs/php/admin/admin.php on line 129
[07-Sep-2023 11:48:20 UTC] PHP Deprecated:  str_starts_with(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/class-wp-styles.php on line 430
[07-Sep-2023 11:48:20 UTC] PHP Deprecated:  str_starts_with(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/class-wp-styles.php on line 430
[07-Sep-2023 11:48:23 UTC] PHP Deprecated:  str_starts_with(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/class-wp-styles.php on line 430
[07-Sep-2023 11:48:23 UTC] PHP Deprecated:  str_starts_with(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/class-wp-styles.php on line 430
[07-Sep-2023 11:48:24 UTC] PHP Warning:  Undefined array key "page" in /wp-content/plugins/squareoffs/php/admin/admin.php on line 129
[07-Sep-2023 11:48:24 UTC] PHP Deprecated:  str_starts_with(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/class-wp-styles.php on line 430
[07-Sep-2023 11:48:24 UTC] PHP Deprecated:  str_starts_with(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/class-wp-styles.php on line 430
See also: All tests for this plugin, How to Hide SquareOffs Admin Menus