Trustpilot-reviews 2.5.886

Does Trustpilot-reviews work with WordPress 5.8 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 29.3 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 version5.8
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 30,000+
WordPress.org page https://wordpress.org/plugins/trustpilot-reviews/
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=trustpilot-reviews%2Fwc_trustpilot.php&plugin_status=all&paged=1&s&_wpnonce=996ea0294f
Aspect after-activation
HTTP status 200
Load time 0.751 s
Memory usage 3.07 MiB
JS errors None
Resource errors None

Trustpilot

Page screenshot: Trustpilot
URL /wp-admin/admin.php?page=woocommerce-trustpilot-settings-page
Aspect menu-item
HTTP status 200
Load time 1.764 s
Memory usage 3.06 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read property 'analyze' of undefined\n    at t.receiveSettings (http://ecommscript-integrationapp.trustpilot.com/static/js/main.cfad80f3.js:1:672412)",
        "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.349 s
Memory usage 2.94 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.542 s0.242 s-0.300 s3.08 MiB3.11 MiB+ 30.34 KiB
/wp-admin/edit.php0.202 s0.192 s-0.010 s3.11 MiB3.14 MiB+ 30.34 KiB
/wp-admin/post-new.php0.915 s0.898 s-0.017 s5.27 MiB5.3 MiB+ 39.47 KiB
/wp-admin/upload.php0.778 s0.452 s-0.326 s3.03 MiB3.06 MiB+ 28.48 KiB
/wp-admin/options-writing.php0.164 s0.173 s+0.009 s3.02 MiB3.04 MiB+ 12.45 KiB
/wp-admin/media-new.php0.263 s0.218 s-0.045 s3.01 MiB3.03 MiB+ 28.65 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.201 s-0.001 s3.04 MiB3.07 MiB+ 29.55 KiB
/wp-admin/post-new.php?post_type=page0.673 s1.065 s+0.392 s5.26 MiB5.29 MiB+ 35.05 KiB
/wp-admin/options-discussion.php0.246 s0.309 s+0.063 s3 MiB3.03 MiB+ 28.96 KiB
/wp-admin/edit-comments.php0.211 s0.262 s+0.051 s3.04 MiB3.07 MiB+ 28.5 KiB
/0.392 s0.303 s-0.089 s2.91 MiB2.94 MiB+ 30.55 KiB
Average 0.417 s0.392 s-0.025 s3.43 MiB3.46 MiB+ 29.3 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
Language % Lines of code Comment lines Files
PHP83.3%2,00128415
JavaScript15.1%364104
CSS1.0%2301
SVG0.6%1511
Total 2,403 295 21

PHP Code Analysis | More results »

Lines of code 1,967
Total complexity 374
Median class complexity 21.0
Median method complexity 2.0
Most complex class Trustpilot\Review\Admin
Most complex function Trustpilot\Review\Admin::wc_display_trustpilot_settings()
Classes 10
Methods 96
Functions 22

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 7

PHP Error Log 3 lines

[24-Aug-2021 13:53:29 UTC] PHP Notice:  Undefined index: HTTPS in /wp-content/plugins/trustpilot-reviews/review/Admin.php on line 413
[24-Aug-2021 13:53:29 UTC] PHP Notice:  Undefined index: HTTPS in /wp-content/plugins/trustpilot-reviews/review/Admin.php on line 413
[24-Aug-2021 13:53:29 UTC] PHP Warning:  Creating default object from empty value in /wp-content/plugins/trustpilot-reviews/review/Admin.php on line 608
See also: All tests for this plugin, How to Hide the "Trustpilot" Admin Menu