TotalRating 1.5.4

Does TotalRating work with WordPress 6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 311.87 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.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 300+
WordPress.org page https://wordpress.org/plugins/totalrating/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=totalrating%2Fplugin.php&plugin_status=all&paged=1&s&_wpnonce=286de4b41b
Aspect after-activation
HTTP status 200
Load time 0.460 s
Memory usage 3.43 MiB
JS errors None
Resource errors None

TotalRating

Page screenshot: TotalRating
URL /wp-admin/admin.php?page=totalrating#/dashboard(overlay:onboarding)
Requested URL /wp-admin/admin.php?page=totalrating
Aspect menu-item
HTTP status 200
Load time 1.306 s
Memory usage 3.36 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.209 s
Memory usage 3.29 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.293 s0.261 s-0.032 s3.07 MiB3.37 MiB+ 304.5 KiB
/wp-admin/edit.php0.195 s0.204 s+0.009 s3.1 MiB3.45 MiB+ 357.1 KiB
/wp-admin/post-new.php0.755 s0.656 s-0.099 s5.02 MiB5.39 MiB+ 373.48 KiB
/wp-admin/upload.php0.587 s0.498 s-0.089 s3.02 MiB3.29 MiB+ 279.12 KiB
/wp-admin/options-writing.php0.177 s0.160 s-0.017 s3.01 MiB3.27 MiB+ 265.88 KiB
/wp-admin/media-new.php0.296 s0.215 s-0.081 s2.99 MiB3.28 MiB+ 291.3 KiB
/wp-admin/edit-tags.php?taxonomy=category0.208 s0.202 s-0.006 s3.01 MiB3.3 MiB+ 296.48 KiB
/wp-admin/post-new.php?post_type=page0.598 s0.666 s+0.068 s5.01 MiB5.38 MiB+ 372.48 KiB
/wp-admin/options-discussion.php0.230 s0.256 s+0.026 s3 MiB3.27 MiB+ 279.94 KiB
/wp-admin/edit-comments.php0.221 s0.205 s-0.016 s3.03 MiB3.3 MiB+ 279.13 KiB
/0.321 s0.211 s-0.110 s2.97 MiB3.29 MiB+ 331.17 KiB
Average 0.353 s0.321 s-0.032 s3.38 MiB3.69 MiB+ 311.87 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
PHP
Language % Lines of code Comment lines Files
JavaScript54.0%11,0763,13610
PHP37.5%7,6832,984191
CSS3.5%7251504
SVG3.5%716018
PO File0.6%130671
JSON0.5%9503
SQL0.4%7503
Total 20,500 6,337 230

PHP Code Analysis | More results »

Lines of code 6,638
Total complexity 700
Median class complexity 3.0
Median method complexity 1.0
Most complex class TotalRating\Models\Attribute
Most complex function TotalRating\Pages\Dashboard::getConfig()
Classes 162
Methods 429
Functions 2

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.

Database Tables 2

Options wp_options 4

Capabilities 8

PHP Error Log 16 lines

[08-Apr-2023 08:20:59 UTC] PHP Deprecated:  version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in /wp-content/plugins/totalrating/vendor/totalsuite/foundation/src/Migration/Concerns/MigrationQueue.php on line 26
[08-Apr-2023 08:21:03 UTC] PHP Deprecated:  Return type of TotalRating\Entities\Entity::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/totalrating/src/Entities/Entity.php on line 114
[08-Apr-2023 08:21:03 UTC] PHP Deprecated:  Return type of TotalRating\Entities\Entity::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/totalrating/src/Entities/Entity.php on line 127
[08-Apr-2023 08:21:03 UTC] PHP Deprecated:  Return type of TotalRating\Entities\Entity::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/totalrating/src/Entities/Entity.php on line 132
[08-Apr-2023 08:21:03 UTC] PHP Deprecated:  Return type of TotalRating\Entities\Entity::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/totalrating/src/Entities/Entity.php on line 137
[08-Apr-2023 08:21:03 UTC] PHP Deprecated:  Return type of TotalRating\Entities\Entity::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/totalrating/src/Entities/Entity.php on line 142
[08-Apr-2023 08:21:04 UTC] PHP Deprecated:  Return type of TotalRating\Entities\Entity::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/totalrating/src/Entities/Entity.php on line 114
[08-Apr-2023 08:21:04 UTC] PHP Deprecated:  Return type of TotalRating\Entities\Entity::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/totalrating/src/Entities/Entity.php on line 127
[08-Apr-2023 08:21:04 UTC] PHP Deprecated:  Return type of TotalRating\Entities\Entity::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/totalrating/src/Entities/Entity.php on line 132
[08-Apr-2023 08:21:04 UTC] PHP Deprecated:  Return type of TotalRating\Entities\Entity::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/totalrating/src/Entities/Entity.php on line 137
[08-Apr-2023 08:21:04 UTC] PHP Deprecated:  Return type of TotalRating\Entities\Entity::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/totalrating/src/Entities/Entity.php on line 142
[08-Apr-2023 08:21:07 UTC] PHP Deprecated:  Return type of TotalRating\Entities\Entity::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/totalrating/src/Entities/Entity.php on line 114
[08-Apr-2023 08:21:07 UTC] PHP Deprecated:  Return type of TotalRating\Entities\Entity::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/totalrating/src/Entities/Entity.php on line 127
[08-Apr-2023 08:21:07 UTC] PHP Deprecated:  Return type of TotalRating\Entities\Entity::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/totalrating/src/Entities/Entity.php on line 132
[08-Apr-2023 08:21:07 UTC] PHP Deprecated:  Return type of TotalRating\Entities\Entity::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/totalrating/src/Entities/Entity.php on line 137
[08-Apr-2023 08:21:07 UTC] PHP Deprecated:  Return type of TotalRating\Entities\Entity::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/totalrating/src/Entities/Entity.php on line 142
See also: All tests for this plugin, How to Hide TotalRating Pro Admin Menus