eKMap StoreMap 0.4

Does eKMap StoreMap work with WordPress 6.0.2 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: 36.2 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.0.2
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=c7ded98257
Aspect after-activation
HTTP status 200
Load time 2.331 s
Memory usage 3.73 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:371:45)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0.2:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0.2: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:896518)\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.0.2:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0.2: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.563 s
Memory usage 3.75 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:896518)\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.0.2:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0.2: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 0.821 s
Memory usage 3.75 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'model')\n    at HTMLDocument.<anonymous> (/wp-admin/admin.php?page=add-ekmap-storelocator:443:45)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0.2:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0.2: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:896518)\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.0.2:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0.2: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.290 s
Memory usage 3.66 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:186:45)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0.2:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0.2: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:896518)\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.0.2:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0.2: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.443 s
Memory usage 3.75 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:896518)\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.0.2:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0.2: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.306 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.344 s0.311 s-0.033 s3.72 MiB3.76 MiB+ 33.79 KiB
/wp-admin/edit.php0.204 s0.240 s+0.036 s3.76 MiB3.79 MiB+ 33.79 KiB
/wp-admin/post-new.php0.794 s1.096 s+0.302 s5.55 MiB5.59 MiB+ 41.41 KiB
/wp-admin/upload.php0.431 s0.582 s+0.151 s3.69 MiB3.72 MiB+ 32.4 KiB
/wp-admin/options-writing.php0.162 s0.202 s+0.040 s3.62 MiB3.69 MiB+ 77.71 KiB
/wp-admin/media-new.php0.484 s0.229 s-0.255 s3.66 MiB3.7 MiB+ 32.88 KiB
/wp-admin/edit-tags.php?taxonomy=category0.245 s0.219 s-0.026 s3.69 MiB3.72 MiB+ 34.41 KiB
/wp-admin/post-new.php?post_type=page0.733 s0.694 s-0.039 s5.54 MiB5.58 MiB+ 37 KiB
/wp-admin/options-discussion.php0.250 s0.298 s+0.048 s3.6 MiB3.66 MiB+ 61 KiB
/wp-admin/edit-comments.php0.224 s0.245 s+0.021 s3.7 MiB3.73 MiB+ 32.37 KiB
/0.299 s0.251 s-0.048 s3.6 MiB3.59 MiB- 18.59 KiB
Average 0.379 s0.397 s+0.018 s4.01 MiB4.05 MiB+ 36.2 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 6.0
Median method complexity 1.0
Most complex class storelocator_eKMap
Most complex function vnm_ekmap_marker_save()
Classes 2
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.

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

[08-Oct-2022 04:42:27 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-admin/includes/plugin.php on line 1779
[08-Oct-2022 04:42:30 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-admin/includes/plugin.php on line 1779
[08-Oct-2022 04:42:30 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-admin/includes/plugin.php on line 1779
[08-Oct-2022 04:42:33 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-admin/includes/plugin.php on line 1779
See also: All tests for this plugin, How to Hide eKMap StoreMap Admin Menus and Meta Boxes