Push notification for Mobile and Web app

Push notification for Android, iOS and the Web

v2.0.4App CheapUpdated Added 400 installs0% rating
31
Score
87
Errors
83
Warnings
+0
Change

Category Scores

Security0
Repo76
Performance100
Maintainability49

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

170 findings

Maintainability

82

15 issue groups

Security

47

5 issue groups

I18n

36

4 issue groups

Supply Chain

1

1 issue group

ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: $this->domain23
Category
I18n
Occurrences
23
Severity
error

Sample message

The $domain parameter must be a single text string literal. Found: $this->domain

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.18
Category
Maintainability
Occurrences
18
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().18
Category
Maintainability
Occurrences
18
Severity
warning

Sample message

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

WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $table used in $wpdb->get_results()\n$table assigned unsafely at line 192.14
Category
Security
Occurrences
14
Severity
warning

Sample message

Unescaped parameter $table used in $wpdb->get_results()\n$table assigned unsafely at line 192.

ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $ids13
Category
Security
Occurrences
13
Severity
error

Sample message

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

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

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$code'.13
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 '$code'.

ERRORI18nText Domain MismatchMismatched text domain. Expected 'push-notification-mobile-and-web-app' but got 'push-notify'.10
Category
I18n
Occurrences
10
Severity
error

Sample message

Mismatched text domain. Expected 'push-notification-mobile-and-web-app' but got 'push-notify'.

ERRORMaintainabilityShort PHP open tag foundShort PHP opening tag used with echo; expected "<?php echo $code ..." but found "<?= $code ..."9
Category
Maintainability
Occurrences
9
Severity
error

Sample message

Short PHP opening tag used with echo; expected "<?php echo $code ..." but found "<?= $code ..."

WARNINGMaintainabilityerror log error logerror_log() found. Debug code should not normally be used in production.7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

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

Show 15 more
ERRORMaintainabilitycurl curl setopt5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

WARNINGSecurityNonce verification recommended4
Category
Security
Occurrences
4
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInterpolated SQL is not prepared3
Category
Security
Occurrences
3
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $table at &quot;SELECT COUNT(*) FROM $table WHERE seen = 0 AND user_id = %d&quot;

ERRORMaintainabilityMissing direct file access protection3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

ERRORI18nNon Singular String Literal Text2
Category
I18n
Occurrences
2
Severity
error

Sample message

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

ERRORMaintainabilitywp function not compatible with requires wp2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Function "str_contains()" requires WordPress 5.9.0, but your plugin minimum supported version is WordPress 5.8.0.

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 global variable1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

ERRORMaintainabilitycurl curl close1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

ERRORMaintainabilitycurl curl error1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

ERRORMaintainabilitycurl curl exec1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

ERRORMaintainabilitycurl curl init1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

WARNINGMaintainabilitygithub directory1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

GitHub workflow directory ".github" detected. This directory should not be included in production plugins.

ERRORSupply ChainHidden files included1
Category
Supply Chain
Occurrences
1
Severity
error

Sample message

Hidden files are not permitted.

WARNINGMaintainabilitymissing composer json file1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The &quot;/vendor&quot; directory using composer exists, but &quot;composer.json&quot; file is missing.

External Connections

Potential connections found in static code analysis.

18 domains

Outbound calls

61

External assets

0

Incoming endpoints

0

Notable Domains

appcheap.io32 · outbound
ant.design3 · outbound
fcm.googleapis.com2 · outbound
php-fig.org2 · outbound
reactjs.org2 · outbound

Platform / Reference Domains

w3.org5 · platform/reference
developer.wordpress.org3 · platform/reference
github.com2 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v2.0.4

31

Latest

Findings
170
Errors
87
Warnings
83
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins