MasOffer Promotion 2.1.1

Does MasOffer Promotion work with WordPress 5.7 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
3PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 19.51 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.7
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 40+
WordPress.org page https://wordpress.org/plugins/masoffer-promotion/
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=masoffer-promotion%2Fmasoffer-promotion.php&plugin_status=all&paged=1&s&_wpnonce=114058b4b1
Aspect after-activation
HTTP status 200
Load time 1.190 s
Memory usage 2.73 MiB
JS errors None
Resource errors None

Settings → MasOffer Promotion

Page screenshot: Settings → MasOffer Promotion
URL /wp-admin/options-general.php?page=masoffer-promotion-official
Aspect menu-item
HTTP status 200
Load time 0.161 s
Memory usage 2.74 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.228 s
Memory usage 2.66 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.287 s0.262 s-0.025 s2.82 MiB2.84 MiB+ 18.73 KiB
/wp-admin/edit.php0.256 s0.191 s-0.065 s2.86 MiB2.88 MiB+ 18.73 KiB
/wp-admin/post-new.php0.961 s1.118 s+0.157 s5.04 MiB5.09 MiB+ 52.63 KiB
/wp-admin/upload.php0.596 s0.304 s-0.292 s2.7 MiB2.71 MiB+ 13.59 KiB
/wp-admin/options-writing.php0.234 s0.146 s-0.088 s2.71 MiB2.69 MiB- 18.43 KiB
/wp-admin/media-new.php0.230 s0.259 s+0.029 s2.67 MiB2.69 MiB+ 13.77 KiB
/wp-admin/edit-tags.php?taxonomy=category0.193 s0.250 s+0.057 s2.77 MiB2.79 MiB+ 14.67 KiB
/wp-admin/post-new.php?post_type=page1.536 s0.833 s-0.703 s5.01 MiB5.07 MiB+ 60.63 KiB
/wp-admin/options-discussion.php0.292 s0.293 s+0.001 s2.67 MiB2.69 MiB+ 14.08 KiB
/wp-admin/edit-comments.php0.241 s0.222 s-0.019 s2.78 MiB2.79 MiB+ 13.58 KiB
/0.260 s0.212 s-0.048 s2.65 MiB2.67 MiB+ 12.59 KiB
Average 0.462 s0.372 s-0.091 s3.15 MiB3.17 MiB+ 19.51 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
Sass
Language % Lines of code Comment lines Files
PHP34.0%334284
JavaScript27.8%27322
CSS21.4%21011
Sass16.9%16601
Total 983 31 8

PHP Code Analysis | More results »

Lines of code 252
Total complexity 50
Median class complexity 0.0
Median method complexity 4.0
Most complex class MasOfferPromotionAPI
Most complex function MasOfferPromotionAPI::masoffer_promotion_plugin_form()
Classes 1
Methods 13
Functions 0

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 1

PHP Error Log 3 lines

[14-Mar-2021 13:43:47 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/masoffer-promotion/masoffer-promotion.php on line 106
[14-Mar-2021 13:43:47 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/masoffer-promotion/masoffer-promotion.php on line 107
[14-Mar-2021 13:43:47 UTC] PHP Notice:  Undefined index: data in /wp-content/plugins/masoffer-promotion/masoffer-promotion.php on line 112
See also: All tests for this plugin, How to Hide the "MasOffer Promotion" Admin Menu