VK AdNetwork 4.06

Does VK AdNetwork work with WordPress 6.7 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
13PHP warnings
5JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 230.28 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.7
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/vk-adnetwork/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

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=vk-adnetwork%2Fvk-adnetwork.php&plugin_status=all&paged=1&s&_wpnonce=d93b7765c5
Aspect after-activation
HTTP status 200
Load time 0.286 s
Memory usage 3.81 MiB
JS errors None
Resource errors None

VK AdNetwork

Page screenshot: VK AdNetwork
URL /wp-admin/admin.php?page=vk-adnetwork-settings
Aspect menu-item
HTTP status 200
Load time 0.191 s
Memory usage 3.98 MiB
JS errors
[
    {
        "message": "DOMException: Failed to execute 'insertBefore' on 'Node': The new child element contains the parent.\n    at HTMLHeadingElement.<anonymous> (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-dom-ready,wp-hooks&ver=6.7:2:48118)\n    at $e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-dom-ready,wp-hooks&ver=6.7:2:45988)\n    at e.<computed>.after (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-dom-ready,wp-hooks&ver=6.7:2:48055)\n    at e.<computed>.ce.fn.<computed> [as insertAfter] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-dom-ready,wp-hooks&ver=6.7:2:49175)\n    at HTMLDocument.<anonymous> (/wp-admin/js/common.min.js?ver=6.7:2:11412)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-dom-ready,wp-hooks&ver=6.7:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-dom-ready,wp-hooks&ver=6.7:2:27330)",
        "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 2.936 s
Memory usage 3.57 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.269 s
Memory usage 3.72 MiB
JS errors
[
    {
        "message": "DOMException: Failed to execute 'insertBefore' on 'Node': The new child element contains the parent.\n    at HTMLHeadingElement.<anonymous> (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.7:2:48118)\n    at $e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.7:2:45988)\n    at e.<computed>.after (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.7:2:48055)\n    at e.<computed>.ce.fn.<computed> [as insertAfter] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.7:2:49175)\n    at HTMLDocument.<anonymous> (/wp-admin/js/common.min.js?ver=6.7:2:11412)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.7:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.7:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.535 s
Memory usage 6.18 MiB
JS errors
[
    {
        "message": "DOMException: Failed to execute 'insertBefore' on 'Node': The new child element contains the parent.\n    at HTMLHeadingElement.<anonymous> (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.7:2:48118)\n    at $e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.7:2:45988)\n    at e.<computed>.after (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.7:2:48055)\n    at e.<computed>.ce.fn.<computed> [as insertAfter] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.7:2:49175)\n    at HTMLDocument.<anonymous> (/wp-admin/js/common.min.js?ver=6.7:2:11412)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.7:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.7:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.542 s
Memory usage 6.17 MiB
JS errors
[
    {
        "message": "DOMException: Failed to execute 'insertBefore' on 'Node': The new child element contains the parent.\n    at HTMLHeadingElement.<anonymous> (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.7:2:48118)\n    at $e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.7:2:45988)\n    at e.<computed>.after (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.7:2:48055)\n    at e.<computed>.ce.fn.<computed> [as insertAfter] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.7:2:49175)\n    at HTMLDocument.<anonymous> (/wp-admin/js/common.min.js?ver=6.7:2:11412)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.7:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.7:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.377 s
Memory usage 6 MiB
JS errors
[
    {
        "message": "DOMException: Failed to execute 'insertBefore' on 'Node': The new child element contains the parent.\n    at HTMLHeadingElement.<anonymous> (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-dom-ready,wp-hooks&ver=6.7:2:48118)\n    at $e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-dom-ready,wp-hooks&ver=6.7:2:45988)\n    at e.<computed>.after (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-dom-ready,wp-hooks&ver=6.7:2:48055)\n    at e.<computed>.ce.fn.<computed> [as insertAfter] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-dom-ready,wp-hooks&ver=6.7:2:49175)\n    at HTMLDocument.<anonymous> (/wp-admin/js/common.min.js?ver=6.7:2:11412)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-dom-ready,wp-hooks&ver=6.7:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-dom-ready,wp-hooks&ver=6.7:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.280 s0.248 s-0.032 s3.48 MiB3.72 MiB+ 248.14 KiB
/wp-admin/edit.php0.169 s0.175 s+0.006 s3.54 MiB3.82 MiB+ 281.7 KiB
/wp-admin/post-new.php0.746 s0.562 s-0.184 s5.92 MiB6.18 MiB+ 267.75 KiB
/wp-admin/upload.php0.492 s0.445 s-0.047 s3.49 MiB3.71 MiB+ 225.44 KiB
/wp-admin/options-writing.php0.181 s0.204 s+0.023 s3.47 MiB3.69 MiB+ 228.11 KiB
/wp-admin/media-new.php0.231 s0.213 s-0.018 s3.46 MiB3.69 MiB+ 236.3 KiB
/wp-admin/edit-tags.php?taxonomy=category0.153 s0.169 s+0.016 s3.47 MiB3.71 MiB+ 242.48 KiB
/wp-admin/post-new.php?post_type=page0.509 s0.555 s+0.046 s5.92 MiB6.17 MiB+ 258.66 KiB
/wp-admin/options-discussion.php0.240 s0.408 s+0.168 s3.47 MiB3.69 MiB+ 225.23 KiB
/wp-admin/edit-comments.php0.400 s0.191 s-0.209 s3.49 MiB3.71 MiB+ 224.8 KiB
/0.254 s0.389 s+0.135 s3.48 MiB3.57 MiB+ 94.44 KiB
Average 0.332 s0.324 s-0.009 s3.93 MiB4.15 MiB+ 230.28 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
PO File
JavaScript
Language % Lines of code Comment lines Files
PHP75.6%10,0465,471102
PO File10.5%1,3966621
JavaScript9.0%1,20345610
CSS3.4%451833
SVG0.8%109010
XML0.7%9003
Total 13,295 6,672 129

PHP Code Analysis | More results »

Lines of code 8,066
Total complexity 2,015
Median class complexity 32.0
Median method complexity 3.0
Most complex class VK_Adnetwork\VK_Adnetwork
Most complex function VK_Adnetwork_In_Content_Injector::inject_in_content()
Classes 41
Methods 459
Functions 10

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 4

Custom Post Types 1

ID Name
vk_adnetworkAds

Sidebar Widgets 1

ID Name
vk_adnetwork_ad_widgetVK AdNetwork

Meta Boxes

{
    "dashboard": {
        "vk_adnetwork_dashboard_widget": {
            "title": "Dashboard",
            "context": "side"
        }
    },
    "post": {
        "vk_adnetwork-ad-settings": {
            "title": "Ad Settings",
            "context": "side"
        }
    },
    "page": {
        "vk_adnetwork-ad-settings": {
            "title": "Ad Settings",
            "context": "side"
        }
    }
}

Capabilities 5

PHP Error Log 13 lines

[21-Nov-2024 05:07:03 UTC] PHP Warning:  Undefined variable $inpage_configs in /wp-content/plugins/vk-adnetwork/classes/plugin.php on line 281
[21-Nov-2024 05:07:12 UTC] PHP Warning:  Undefined variable $inpage_configs in /wp-content/plugins/vk-adnetwork/classes/plugin.php on line 281
[21-Nov-2024 05:07:21 UTC] PHP Warning:  Undefined variable $inpage_configs in /wp-content/plugins/vk-adnetwork/classes/plugin.php on line 281
[21-Nov-2024 05:07:21 UTC] PHP Warning:  Undefined variable $inpage_configs in /wp-content/plugins/vk-adnetwork/classes/plugin.php on line 281
[21-Nov-2024 05:07:21 UTC] PHP Warning:  Undefined variable $inpage_configs in /wp-content/plugins/vk-adnetwork/classes/plugin.php on line 281
[21-Nov-2024 05:07:21 UTC] PHP Warning:  Undefined variable $inpage_configs in /wp-content/plugins/vk-adnetwork/classes/plugin.php on line 281
[21-Nov-2024 05:07:21 UTC] PHP Warning:  Undefined variable $inpage_configs in /wp-content/plugins/vk-adnetwork/classes/plugin.php on line 281
[21-Nov-2024 05:07:21 UTC] PHP Warning:  Undefined variable $inpage_configs in /wp-content/plugins/vk-adnetwork/classes/plugin.php on line 281
[21-Nov-2024 05:07:21 UTC] PHP Warning:  Undefined variable $inpage_configs in /wp-content/plugins/vk-adnetwork/classes/plugin.php on line 281
[21-Nov-2024 05:07:22 UTC] PHP Warning:  Undefined variable $inpage_configs in /wp-content/plugins/vk-adnetwork/classes/plugin.php on line 281
[21-Nov-2024 05:07:22 UTC] PHP Warning:  Undefined variable $inpage_configs in /wp-content/plugins/vk-adnetwork/classes/plugin.php on line 281
[21-Nov-2024 05:07:22 UTC] PHP Warning:  Undefined variable $inpage_configs in /wp-content/plugins/vk-adnetwork/classes/plugin.php on line 281
[21-Nov-2024 05:07:22 UTC] PHP Warning:  Undefined variable $inpage_configs in /wp-content/plugins/vk-adnetwork/classes/plugin.php on line 281
See also: All tests for this plugin, How to Hide VK AdNetwork Admin Menus and More