Product Options and Price Calculation Formulas for WooCommerce – Uni CPO

Offers the ability to add extra product options and calculate the price dynamically based on the selected options using custom mathematical formulas!

v4.9.62moomooagencyUpdated Added 1k+ installs92% rating0% support resolved
23
Score
2,514
Errors
1,929
Warnings
+0
Change

Category Scores

Security0
Repo86
Performance97
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

4,443 findings

Maintainability

1,790

13 issue groups

Security

1,368

8 issue groups

I18n

1,242

4 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" <a href='{$skip_url}' class='button button-small button-secondary'>{$use_plugin_anonymously_text}</a>"'.1,216
Category
Security
Occurrences
1,216
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" <a href='{$skip_url}' class='button button-small button-secondary'>{$use_plugin_anonymously_text}</a>"'.

ERRORI18nText Domain MismatchMismatched text domain. Expected 'uni-woo-custom-product-options' but got 'builderius'.1,107
Category
I18n
Occurrences
1,107
Severity
error

Sample message

Mismatched text domain. Expected 'uni-woo-custom-product-options' but got 'builderius'.

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$account_addon_ids&quot;.1,087
Category
Maintainability
Occurrences
1,087
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$account_addon_ids&quot;.

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;EvalMath&quot;.225
Category
Maintainability
Occurrences
225
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;EvalMath&quot;.

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;UniCpo&quot;.206
Category
Maintainability
Occurrences
206
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;UniCpo&quot;.

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;&#039;cpo_ajax_&#039; . sanitize_text_field( $action )&quot;.121
Category
Maintainability
Occurrences
121
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;&#039;cpo_ajax_&#039; . sanitize_text_field( $action )&quot;.

WARNINGMaintainabilityAlternative PHP tag foundPossible use of ASP style opening tags detected; found: &lt;%row-count%&gt;&quot; type=&quot;button&quot;\n82
Category
Maintainability
Occurrences
82
Severity
warning

Sample message

Possible use of ASP style opening tags detected; found: &lt;%row-count%&gt;&quot; type=&quot;button&quot;\n

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().70
Category
I18n
Occurrences
70
Severity
error

Sample message

Missing $domain parameter in function call to __().

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $content41
Category
I18n
Occurrences
41
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $content

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.38
Category
Security
Occurrences
38
Severity
warning

Sample message

Processing form data without nonce verification.

Show 15 more
WARNINGMaintainabilityNon-prefixed constant28
Category
Maintainability
Occurrences
28
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;CPO_DOING_AJAX&quot;.

ERRORSecurityException output is not escaped26
Category
Security
Occurrences
26
Severity
error

Sample message

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

WARNINGSecurityRequest data is not unslashed24
Category
Security
Occurrences
24
Severity
warning

Sample message

$_COOKIE[&#039;cpo_upload_session&#039;] not unslashed before sanitization. Use wp_unslash() or similar

ERRORI18nMissing Translators Comment24
Category
I18n
Occurrences
24
Severity
error

Sample message

A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.

WARNINGSecurityInput is not validated21
Category
Security
Occurrences
21
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_GET[&#039;cpo_cart_item_edit&#039;]. Check that the array index exists before using it.

WARNINGSecurityInput is not sanitized19
Category
Security
Occurrences
19
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET[&#039;code&#039;]

WARNINGSecuritywp redirect wp redirect16
Category
Security
Occurrences
16
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the &quot;allowed_redirect_hosts&quot; 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.

WARNINGMaintainabilityNot In Footer9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.

WARNINGMaintainabilityNon-prefixed interface8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

Interfaces declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;FS_I_Garbage_Collector&quot;.

WARNINGSecurityMissing nonce verification8
Category
Security
Occurrences
8
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityNo Explicit Version6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

Version parameter is not explicitly set or has been set to an equivalent of "false" for wp_enqueue_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development.

WARNINGMaintainabilityDirect Query5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityerror log error log5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

error_log() found. Debug code should not normally be used in production.

WARNINGMaintainabilityNo Caching4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

WARNINGMaintainabilityMissing Version4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.

External Connections

Potential connections found in static code analysis.

75 domains

Outbound calls

276

External assets

6

Incoming endpoints

9

Notable Domains

freemius.com8 · outbound
momentjs.com7 · outbound
php.net6 · outbound
brett-zamir.me5 · outbound
googleapis.com5 · outbound

Platform / Reference Domains

gnu.org112 · platform/reference
github.com16 · platform/reference
w3.org13 · platform/reference
wordpress.org7 · platform/reference
opensource.org4 · platform/reference
api.wordpress.org2 · platform/reference
codex.wordpress.org2 · platform/reference
make.wordpress.org2 · platform/reference
core.trac.wordpress.org1 · platform/reference
schema.org1 · platform/reference

External Asset Domains

maps.googleapis.com4 · asset + outbound

Incoming Endpoints

wp_ajax_nopriv_public

wp_ajax

Admin AJAX endpoints8
admin_post_fs_clone_resolutionauthenticated

admin_post

admin_post_uni_cpo_dropbox_authauthenticated

admin_post

admin_post_uni_cpo_dropbox_callbackauthenticated

admin_post

admin_post_uni_cpo_dropbox_revokeauthenticated

admin_post

admin_post_uni_cpo_gdrive_authorizeauthenticated

admin_post

admin_post_uni_cpo_gdrive_revokeauthenticated

admin_post

wp_ajax_fs_dismiss_notice_action_{$ajax_action_suffix}authenticated

wp_ajax

wp_ajax_fs_toggle_debug_modeauthenticated

wp_ajax

Score History

First score snapshot

v4.9.62

23

Latest

Findings
4,443
Errors
2,514
Warnings
1,929
Check
2.0.0

Relationship Map

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

33 nodes