WP Adsterra Dashboard 1.2.2

Does WP Adsterra Dashboard work with WordPress 5.9 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 18.8 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.9
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 600+
WordPress.org page https://wordpress.org/plugins/wp-adsterra-dashboard/
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=wp-adsterra-dashboard%2Findex.php&plugin_status=all&paged=1&s&_wpnonce=b178d4691a
Aspect after-activation
HTTP status 200
Load time 0.234 s
Memory usage 3.28 MiB
JS errors None
Resource errors None

Settings → Adsterra Settings

Page screenshot: Settings → Adsterra Settings
URL /wp-admin/options-general.php?page=wp-adsterra-dashboard%2Findex.php
Requested URL /wp-admin/options-general.php?page=wp-adsterra-dashboard/index.php
Aspect menu-item
HTTP status 200
Load time 0.240 s
Memory usage 3.24 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.242 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.263 s
Memory usage 3.38 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.323 s0.261 s-0.062 s3.36 MiB3.38 MiB+ 20.51 KiB
/wp-admin/edit.php0.172 s0.178 s+0.006 s3.39 MiB3.41 MiB+ 17.05 KiB
/wp-admin/post-new.php0.784 s0.954 s+0.170 s6.14 MiB6.17 MiB+ 20.93 KiB
/wp-admin/upload.php0.339 s0.299 s-0.040 s3.24 MiB3.26 MiB+ 18.05 KiB
/wp-admin/options-writing.php0.221 s0.138 s-0.083 s3.24 MiB3.25 MiB+ 9.91 KiB
/wp-admin/media-new.php0.278 s0.181 s-0.097 s3.22 MiB3.25 MiB+ 26.23 KiB
/wp-admin/edit-tags.php?taxonomy=category0.182 s0.172 s-0.010 s3.25 MiB3.28 MiB+ 25 KiB
/wp-admin/post-new.php?post_type=page0.887 s0.643 s-0.244 s6.14 MiB6.16 MiB+ 16.52 KiB
/wp-admin/options-discussion.php0.260 s0.266 s+0.006 s3.22 MiB3.24 MiB+ 26.54 KiB
/wp-admin/edit-comments.php0.292 s0.184 s-0.108 s3.26 MiB3.28 MiB+ 15.91 KiB
/0.259 s0.199 s-0.060 s3.35 MiB3.36 MiB+ 10.18 KiB
Average 0.363 s0.316 s-0.047 s3.8 MiB3.82 MiB+ 18.8 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
Language % Lines of code Comment lines Files
PHP88.0%411232
CSS7.7%3621
JavaScript4.3%2062
Total 467 31 5

PHP Code Analysis | More results »

Lines of code 432
Total complexity 60
Median class complexity 30.0
Median method complexity 2.0
Most complex class WPAdsterraDashboard
Most complex function WPAdsterraDashboard::adsterra_dashboard_widget()
Classes 2
Methods 16
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.

Meta Boxes

{
    "dashboard": {
        "adsterra_dashboard_widget": {
            "title": "Earnings Dashboard for Adsterra",
            "context": "normal"
        }
    }
}

PHP Error Log 4 lines

[30-Jan-2022 11:42:01 UTC] PHP Notice:  WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 5768
[30-Jan-2022 11:42:02 UTC] PHP Notice:  WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 5768
[30-Jan-2022 11:42:09 UTC] PHP Notice:  WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 5768
[30-Jan-2022 11:42:09 UTC] PHP Notice:  WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 5768
See also: All tests for this plugin, How to Hide WP Adsterra Dashboard Admin Menus and Widgets