Ukrposhta

Створюйте експрес-накладні автоматично, на сторінці замовлення. 10% знижка на відправлення, створені онлайн за допомогою API Ukrposhta.

v1.18.1Ihor KitUpdated Added 500 installs64% rating
75
Score
24
Errors
226
Warnings
+0
Change

Category Scores

Security80
Repo83
Performance100
Maintainability43

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

250 findings

Maintainability

243

13 issue groups

Security

3

2 issue groups

Repo Compliance

3

3 issue groups

I18n

1

1 issue group

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$Weight_object".104
Category
Maintainability
Occurrences
104
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$Weight_object".

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.38
Category
Maintainability
Occurrences
38
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().29
Category
Maintainability
Occurrences
29
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "FunctionDecode".18
Category
Maintainability
Occurrences
18
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "FunctionDecode".

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;18
Category
Maintainability
Occurrences
18
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

WARNINGMaintainabilitySchema ChangeAttempting a database schema change is discouraged.12
Category
Maintainability
Occurrences
12
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "MUP_Plugin".12
Category
Maintainability
Occurrences
12
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "MUP_Plugin".

WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "MUP_PLUGIN_NAME".5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "MUP_PLUGIN_NAME".

WARNINGMaintainabilityNo PHP code foundNo PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.

WARNINGSecuritywp redirect wp redirectwp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.2
Category
Security
Occurrences
2
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.

Show 9 more
ERRORMaintainabilityByte order mark found1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

File contains UTF-8 byte order mark, which may corrupt your application

WARNINGI18nDiscouraged text-domain loading1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

WARNINGMaintainabilityNon-prefixed hook name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "bulk_actions-{$this->screen->id}".

ERRORSecurityOutput is not escaped1
Category
Security
Occurrences
1
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'wp_remote_retrieve_body'.

ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.7 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

ERRORRepo Compliancereadme description non official language1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

The readme description contains unofficial language. It must be written in standard English.

ERRORRepo Compliancereadme short description non official language1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

The readme short description contains unofficial language. It must be written in standard English.

WARNINGMaintainabilitytrademarked term1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The plugin slug includes a restricted term. Your plugin slug - "woo-ukrposhta" - contains the restricted term "woo" and cannot be used to begin your plugin slug. We disallow the use of certain terms in ways that are abused, or potentially infringe on and/or are misleading with regards to trademarks. You may use the term "woo" elsewhere in your plugin slug, such as "... for woo".

ERRORMaintainabilityuninstall missing constant check1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Check for WP_UNINSTALL_PLUGIN constant missing.

External Connections

Potential connections found in static code analysis.

7 domains

Outbound calls

30

External assets

1

Incoming endpoints

13

Notable Domains

ukrposhta.ua17 · outbound
morkva.co.ua8 · outbound
api.ukrposhta.ua1 · outbound

Platform / Reference Domains

wordpress.org2 · platform/reference
github.com1 · platform/reference
gnu.org1 · platform/reference

External Asset Domains

Incoming Endpoints

/wp-json/morkva_ukrposhta/v1/ukrposhta/areaREST

register_rest_route

/wp-json/morkva_ukrposhta/v1/ukrposhta/cities/(?P<ref>[^\/]*)REST

register_rest_route

/wp-json/morkva_ukrposhta/v1/ukrposhta/warehouses/(?P<ref>[^\/]*)REST

register_rest_route

wp_ajax_nopriv_city_autocompletepublic

wp_ajax

wp_ajax_nopriv_morkva_ukrposhta_load_postcodespublic

wp_ajax

wp_ajax_nopriv_morkva_ukrposhta_up_load_areaspublic

wp_ajax

Admin AJAX endpoints5
wp_ajax_city_autocompleteauthenticated

wp_ajax

wp_ajax_morkva_ukrposhta_load_postcodesauthenticated

wp_ajax

wp_ajax_morkva_ukrposhta_up_load_areasauthenticated

wp_ajax

wp_ajax_morkva_ukrposhta_up_load_citiesauthenticated

wp_ajax

wp_ajax_morkva_ukrposhta_up_load_warehousesauthenticated

wp_ajax

Score History

First score snapshot

v1.18.1

75

Latest

Findings
250
Errors
24
Warnings
226
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

25 nodes

Related Plugins