eKMap StoreMap 0.5

Does eKMap StoreMap work with WordPress 6.1 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 30.92 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.076 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/ekmap-store-locator/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?charsout=1&plugin=ekmap-store-locator%2Fekmap-storelocator.php&plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=ekmap-store-locator%2Fekmap-storelocator.php&plugin_status=all&paged=1&s&_wpnonce=acedabb70c
Aspect after-activation
HTTP status 200
Load time 2.566 s
Memory usage 3.54 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'model')\n    at HTMLDocument.<anonymous> (/wp-admin/plugins.php?charsout=1&plugin=ekmap-store-locator%2Fekmap-storelocator.php&plugin_status=all&paged=1&s:370:45)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1:2:30340)",
        "trace": null,
        "code": null
    },
    {
        "message": "Error: Parameter apiKey not valid\n    at new n (https://files.ekgis.vn/sdks/v2.0.0/ekmap-platform.min.js?ver=1:1:897220)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/ekmap-store-locator//assets/js/admin.js?ver=1:2474:25)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1:2:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

eKMap Store Locator

Page screenshot: eKMap Store Locator
URL /wp-admin/admin.php?page=ekmap-storelocator
Aspect menu-item
HTTP status 200
Load time 0.376 s
Memory usage 3.56 MiB
JS errors
[
    {
        "message": "Error: Parameter apiKey not valid\n    at new n (https://files.ekgis.vn/sdks/v2.0.0/ekmap-platform.min.js?ver=1:1:897220)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/ekmap-store-locator//assets/js/admin.js?ver=1:2474:25)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1:2:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

eKMap Store Locator → Thêm

Page screenshot: eKMap Store Locator → Thêm
URL /wp-admin/admin.php?page=add-ekmap-storelocator
Aspect menu-item
HTTP status 200
Load time 1.041 s
Memory usage 3.61 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'model')\n    at HTMLDocument.<anonymous> (/wp-admin/admin.php?page=add-ekmap-storelocator:442:45)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1:2:30340)",
        "trace": null,
        "code": null
    },
    {
        "message": "Error: Parameter apiKey not valid\n    at new n (https://files.ekgis.vn/sdks/v2.0.0/ekmap-platform.min.js?ver=1:1:897220)\n    at changeStyleMap2 (/wp-content/plugins/ekmap-store-locator//assets/js/admin.js?ver=1:363:33)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/ekmap-store-locator//assets/js/admin.js?ver=1:1302:9)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1:2:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

eKMap Store Locator → Api Key

Page screenshot: eKMap Store Locator → Api Key
URL /wp-admin/admin.php?page=ekmap-storelocator-api-key
Aspect menu-item
HTTP status 200
Load time 0.334 s
Memory usage 3.52 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'model')\n    at HTMLDocument.<anonymous> (/wp-admin/admin.php?page=ekmap-storelocator-api-key:185:45)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1:2:30340)",
        "trace": null,
        "code": null
    },
    {
        "message": "Error: Parameter apiKey not valid\n    at new n (https://files.ekgis.vn/sdks/v2.0.0/ekmap-platform.min.js?ver=1:1:897220)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/ekmap-store-locator//assets/js/admin.js?ver=1:2474:25)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1:2:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

eKMap Store Locator → Sửa

Page screenshot: eKMap Store Locator → Sửa
URL /wp-admin//admin.php?page=ekmap-storelocator
Requested URL /wp-admin/admin.php?page=edit-ekmap-storelocator
Aspect menu-item
HTTP status 200
Load time 0.450 s
Memory usage 3.55 MiB
JS errors
[
    {
        "message": "Error: Parameter apiKey not valid\n    at new n (https://files.ekgis.vn/sdks/v2.0.0/ekmap-platform.min.js?ver=1:1:897220)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/ekmap-store-locator//assets/js/admin.js?ver=1:2474:25)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1:2:30340)",
        "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.359 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.326 s0.340 s+0.014 s3.55 MiB3.58 MiB+ 34.18 KiB
/wp-admin/edit.php0.215 s0.362 s+0.147 s3.58 MiB3.62 MiB+ 34.04 KiB
/wp-admin/post-new.php0.879 s1.223 s+0.344 s5.48 MiB5.52 MiB+ 41.8 KiB
/wp-admin/upload.php0.623 s0.362 s-0.261 s3.49 MiB3.52 MiB+ 32.8 KiB
/wp-admin/options-writing.php0.169 s0.193 s+0.024 s3.48 MiB3.5 MiB+ 15.32 KiB
/wp-admin/media-new.php0.344 s0.268 s-0.076 s3.47 MiB3.5 MiB+ 33.28 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.268 s+0.069 s3.5 MiB3.55 MiB+ 50.35 KiB
/wp-admin/post-new.php?post_type=page0.684 s0.863 s+0.179 s5.47 MiB5.51 MiB+ 37.36 KiB
/wp-admin/options-discussion.php0.254 s0.490 s+0.236 s3.47 MiB3.5 MiB+ 33.73 KiB
/wp-admin/edit-comments.php0.218 s0.296 s+0.078 s3.5 MiB3.55 MiB+ 52.77 KiB
/0.305 s0.386 s+0.081 s3.47 MiB3.45 MiB- 25.54 KiB
Average 0.383 s0.459 s+0.076 s3.86 MiB3.89 MiB+ 30.92 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
SVG
PHP
CSS
Language % Lines of code Comment lines Files
JavaScript32.8%2,870782
SVG30.5%2,67101
PHP26.4%2,3136112
CSS10.3%898162
Total 8,752 155 17

PHP Code Analysis | More results »

Lines of code 480
Total complexity 58
Median class complexity 12.0
Median method complexity 1.0
Most complex class storelocator_eKMap
Most complex function storelocator_ekmap_marker_save()
Classes 1
Methods 9
Functions 19

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.

User Metadata wp_usermeta 1

Meta Boxes

{
    "ekmap-storelocator": {
        "ekmap_data_metabox": {
            "title": "Infomation",
            "context": "advanced"
        }
    },
    "ekmap_marker": {
        "ekmap_marker_data_metabox": {
            "title": "Infomation",
            "context": "advanced"
        }
    }
}

PHP Error Log 4 lines

[12-Nov-2022 14:04:22 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-admin/includes/plugin.php on line 1780
[12-Nov-2022 14:04:25 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-admin/includes/plugin.php on line 1780
[12-Nov-2022 14:04:25 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-admin/includes/plugin.php on line 1780
[12-Nov-2022 14:04:28 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-admin/includes/plugin.php on line 1780
See also: All tests for this plugin, How to Hide eKMap StoreMap Admin Menus and Meta Boxes