UPC/EAN/GTIN Barcode Generator/Importer

Generate UPC/EAN/GTIN codes or import them from CSV/Spreadsheet file into WooCommerce products

v2.0.4Dmitry V. (CEO of "UKR Solution")Updated Added 500 installs100% rating
21
Score
776
Errors
311
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance73
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,087 findings

Maintainability

517

16 issue groups

Security

321

7 issue groups

I18n

106

1 issue group

Performance

31

1 issue group

ERRORSecurityException output is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"$bitmap doesn't appear to be a valid bitmap image.\n"'.217
Category
Security
Occurrences
217
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"$bitmap doesn't appear to be a valid bitmap image.\n"'.

ERRORI18nText Domain MismatchMismatched text domain. Expected 'upc-ean-barcode-generator' but got "upc-ean-generator".106
Category
I18n
Occurrences
106
Severity
error

Sample message

Mismatched text domain. Expected 'upc-ean-barcode-generator' but got "upc-ean-generator".

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

Sample message

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

ERRORMaintainabilityfile system operations fwriteFile operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fwrite().58
Category
Maintainability
Occurrences
58
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fwrite().

ERRORMaintainabilityfile system operations freadFile operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fread().56
Category
Maintainability
Occurrences
56
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fread().

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

Sample message

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

ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.47
Category
Maintainability
Occurrences
47
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

ERRORMaintainabilityfile system operations fcloseFile operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().47
Category
Maintainability
Occurrences
47
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().

ERRORMaintainabilityfile system operations fopenFile operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().34
Category
Maintainability
Occurrences
34
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().

WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.32
Category
Security
Occurrences
32
Severity
warning

Sample message

Processing form data without nonce verification.

Show 15 more
ERRORPerformanceSuppress Filters suppress filters31
Category
Performance
Occurrences
31
Severity
error

Sample message

Setting `suppress_filters` to `true` is prohibited.

WARNINGMaintainabilityDirect Query23
Category
Maintainability
Occurrences
23
Severity
warning

Sample message

Use of a direct database call is discouraged.

ERRORMaintainabilityunlink unlink23
Category
Maintainability
Occurrences
23
Severity
error

Sample message

unlink() is discouraged. Use wp_delete_file() to delete a file.

WARNINGMaintainabilityNo Caching21
Category
Maintainability
Occurrences
21
Severity
warning

Sample message

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

ERRORSecuritySQL query is not prepared20
Category
Security
Occurrences
20
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $fileId

WARNINGSecurityRequest data is not unslashed20
Category
Security
Occurrences
20
Severity
warning

Sample message

$_POST[$key] not unslashed before sanitization. Use wp_unslash() or similar

ERRORSecurityOutput is not escaped13
Category
Security
Occurrences
13
Severity
error

Sample message

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

WARNINGMaintainabilityslow db query meta query12
Category
Maintainability
Occurrences
12
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

WARNINGMaintainabilityslow db query tax query11
Category
Maintainability
Occurrences
11
Severity
warning

Sample message

Detected usage of tax_query, possible slow query.

WARNINGMaintainabilityNon-prefixed hook name11
Category
Maintainability
Occurrences
11
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "uegen_add_search_query_params".

WARNINGMaintainabilityNon-prefixed function10
Category
Maintainability
Occurrences
10
Severity
warning

Sample message

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

WARNINGSecurityInput is not validated10
Category
Security
Occurrences
10
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_FILES['spreadsheetFile']. Check that the array index exists before using it.

ERRORMaintainabilitywp function not compatible with requires wp10
Category
Maintainability
Occurrences
10
Severity
error

Sample message

Function "mb_strlen()" requires WordPress 4.2.0, but your plugin minimum supported version is WordPress 4.0.1.

WARNINGSecurityInterpolated SQL is not prepared9
Category
Security
Occurrences
9
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $postTypes at AND p.`post_type` IN ($postTypes)\n

ERRORMaintainabilityfile system operations fputs9
Category
Maintainability
Occurrences
9
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fputs().

External Connections

Potential connections found in static code analysis.

11 domains

Outbound calls

161

External assets

0

Incoming endpoints

10

Notable Domains

openoffice.org12 · outbound
ukrsolution.com10 · outbound
purl.org8 · outbound
momentjs.com6 · outbound

Platform / Reference Domains

w3.org22 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints10
wp_ajax_uegen_check_custom_fieldauthenticated

wp_ajax

wp_ajax_uegen_delete_imported_file_dataauthenticated

wp_ajax

wp_ajax_uegen_generate_products_codesauthenticated

wp_ajax

wp_ajax_uegen_get_imported_files_infoauthenticated

wp_ajax

wp_ajax_uegen_get_products_count_infoauthenticated

wp_ajax

wp_ajax_uegen_import_data_from_fileauthenticated

wp_ajax

wp_ajax_uegen_regenerate_codeauthenticated

wp_ajax

wp_ajax_uegen_save_settingsauthenticated

wp_ajax

wp_ajax_uegen_unassign_imported_file_dataauthenticated

wp_ajax

wp_ajax_uegen_upload_spreadsheet_fileauthenticated

wp_ajax

Score History

First score snapshot

v2.0.4

21

Latest

Findings
1,087
Errors
776
Warnings
311
Check
2.0.0

Relationship Map

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

36 nodes

Related Plugins