SquareOffs 2.4.2

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

Summary

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

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

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

Environment
WordPress version6.7.2
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=f925a7e9b8
Aspect after-activation
HTTP status 200
Load time 0.248 s
Memory usage 3.55 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.458 s
Memory usage 3.56 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'api_connected')\n    at Module../src/index.js (/wp-content/plugins/squareoffs/build/index.js?ver=990ea6e32208db570c843d3ec9db0c96:95570:30)\n    at __webpack_require__ (/wp-content/plugins/squareoffs/build/index.js?ver=990ea6e32208db570c843d3ec9db0c96:20:30)\n    at /wp-content/plugins/squareoffs/build/index.js?ver=990ea6e32208db570c843d3ec9db0c96:84:18\n    at /wp-content/plugins/squareoffs/build/index.js?ver=990ea6e32208db570c843d3ec9db0c96:87:10",
        "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 0.916 s
Memory usage 3.53 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'api_connected')\n    at Module../src/index.js (/wp-content/plugins/squareoffs/build/index.js?ver=990ea6e32208db570c843d3ec9db0c96:95570:30)\n    at __webpack_require__ (/wp-content/plugins/squareoffs/build/index.js?ver=990ea6e32208db570c843d3ec9db0c96:20:30)\n    at /wp-content/plugins/squareoffs/build/index.js?ver=990ea6e32208db570c843d3ec9db0c96:84:18\n    at /wp-content/plugins/squareoffs/build/index.js?ver=990ea6e32208db570c843d3ec9db0c96:87:10",
        "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.758 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.298 s0.385 s+0.087 s3.48 MiB3.53 MiB+ 44.85 KiB
/wp-admin/edit.php0.179 s0.228 s+0.049 s3.54 MiB3.59 MiB+ 45.57 KiB
/wp-admin/post-new.php0.724 s1.280 s+0.556 s5.93 MiB5.94 MiB+ 15.13 KiB
/wp-admin/upload.php0.491 s0.458 s-0.033 s3.5 MiB3.54 MiB+ 43.66 KiB
/wp-admin/options-writing.php0.186 s0.177 s-0.009 s3.47 MiB3.5 MiB+ 32.47 KiB
/wp-admin/media-new.php0.252 s0.174 s-0.078 s3.46 MiB3.5 MiB+ 40.66 KiB
/wp-admin/edit-tags.php?taxonomy=category0.155 s0.386 s+0.231 s3.48 MiB3.53 MiB+ 51.34 KiB
/wp-admin/post-new.php?post_type=page0.568 s0.717 s+0.149 s5.92 MiB5.93 MiB+ 11.02 KiB
/wp-admin/options-discussion.php0.268 s0.224 s-0.044 s3.47 MiB3.5 MiB+ 28.97 KiB
/wp-admin/edit-comments.php0.180 s0.180 s+0.000 s3.49 MiB3.52 MiB+ 28.47 KiB
/0.271 s0.196 s-0.075 s3.48 MiB3.44 MiB- 42.88 KiB
Average 0.325 s0.400 s+0.076 s3.93 MiB3.96 MiB+ 27.2 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.

JavaScript
Language % Lines of code Comment lines Files
JavaScript94.5%71,2379,0757
PHP3.9%2,9711,13037
CSS1.5%1,144447
Markdown0.1%6502
Total 75,417 10,249 53

PHP Code Analysis | More results »

Lines of code 2,123
Total complexity 423
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 70

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

[19-Feb-2025 01:22:50 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
[19-Feb-2025 01:22:50 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
[19-Feb-2025 01:22:53 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
[19-Feb-2025 01:22:53 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
[19-Feb-2025 01:22:58 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
[19-Feb-2025 01:22:58 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
[19-Feb-2025 01:23:00 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
[19-Feb-2025 01:23:00 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
[19-Feb-2025 01:23:02 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
[19-Feb-2025 01:23:02 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