eKMap Store Locator 0.0.1

Does eKMap Store Locator work with WordPress 6.0.1 and PHP 7.4.8? A smoke test was performed on .

Summary

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

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

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

Environment
WordPress version6.0.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=8660fb88e5
Aspect after-activation
HTTP status 200
Load time 1.943 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:373:45)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0.1:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0.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.395 s
Memory usage 3.75 MiB
JS errors None
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.184 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:446:45)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0.1:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0.1:2:30340)",
        "trace": null,
        "code": null
    },
    {
        "message": "Error: Parameter apiKey not valid\n    at new o (https://files.ekgis.vn/sdks/v1.0.0/ekmap-platform.min.js?ver=1:9:89438)\n    at changeStyleMap2 (/wp-content/plugins/ekmap-store-locator//assets/js/admin.js?ver=1:198:33)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/ekmap-store-locator//assets/js/admin.js?ver=1:969:9)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0.1:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0.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.283 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:188:45)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0.1:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0.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.425 s
Memory usage 3.75 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.279 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.361 s0.299 s-0.062 s3.72 MiB3.76 MiB+ 35.16 KiB
/wp-admin/edit.php0.213 s0.233 s+0.020 s3.75 MiB3.79 MiB+ 34.53 KiB
/wp-admin/post-new.php0.820 s1.742 s+0.922 s5.55 MiB5.59 MiB+ 42.16 KiB
/wp-admin/upload.php0.393 s0.543 s+0.150 s3.68 MiB3.72 MiB+ 33.82 KiB
/wp-admin/options-writing.php0.273 s0.181 s-0.092 s3.62 MiB3.69 MiB+ 78.45 KiB
/wp-admin/media-new.php0.325 s0.233 s-0.092 s3.66 MiB3.69 MiB+ 33.94 KiB
/wp-admin/edit-tags.php?taxonomy=category0.207 s0.219 s+0.012 s3.69 MiB3.72 MiB+ 35.16 KiB
/wp-admin/post-new.php?post_type=page0.738 s0.757 s+0.019 s5.54 MiB5.58 MiB+ 37.74 KiB
/wp-admin/options-discussion.php0.247 s0.290 s+0.043 s3.6 MiB3.66 MiB+ 61.74 KiB
/wp-admin/edit-comments.php0.218 s0.230 s+0.012 s3.69 MiB3.73 MiB+ 33.11 KiB
/0.507 s0.374 s-0.133 s3.6 MiB3.57 MiB- 33.85 KiB
Average 0.391 s0.464 s+0.073 s4.01 MiB4.04 MiB+ 35.63 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.

SVG
PHP
JavaScript
CSS
Language % Lines of code Comment lines Files
SVG37.5%2,67101
PHP27.3%1,9476712
JavaScript26.7%1,9031042
CSS8.5%602142
Total 7,123 185 17

PHP Code Analysis | More results »

Lines of code 484
Total complexity 58
Median class complexity 12.0
Median method complexity 1.0
Most complex class vnm_eKMap
Most complex function vnm_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.

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

[27-Aug-2022 08:09:24 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-admin/includes/plugin.php on line 1779
[27-Aug-2022 08:09:26 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-admin/includes/plugin.php on line 1779
[27-Aug-2022 08:09:27 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-admin/includes/plugin.php on line 1779
[27-Aug-2022 08:09:30 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