VikRestaurants Table Reservations and Take-Away

The all-in-one solution to manage your restaurant reservations and take-away or delivery orders.

v1.5.4e4jvikwpUpdated Added 600 installs96% rating
25
Score
11,644
Errors
4,932
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

16,576 findings

Security

10,663

5 issue groups

Maintainability

5,313

17 issue groups

I18n

475

3 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<link href=\"{$href}\" {$relType}=\"$relation\" "'.10,247
Category
Security
Occurrences
10,247
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<link href=\"{$href}\" {$relType}=\"$relation\" "'.

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

Sample message

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

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

Sample message

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

ERRORSecurityException output is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Missing XML [{$data->type}] view type."'.265
Category
Security
Occurrences
265
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Missing XML [{$data->type}] view type."'.

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

Sample message

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

ERRORI18nMissing Translators CommentA 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.219
Category
I18n
Occurrences
219
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.

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

Sample message

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

WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;DATAMATRIXDEFS&quot;.163
Category
Maintainability
Occurrences
163
Severity
warning

Sample message

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

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.101
Category
Security
Occurrences
101
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

ERRORMaintainabilitystrip tags strip tagsstrip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.63
Category
Maintainability
Occurrences
63
Severity
error

Sample message

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

Show 15 more
ERRORMaintainabilityNot Allowed57
Category
Maintainability
Occurrences
57
Severity
error

Sample message

Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead

WARNINGMaintainabilityDynamic hook name32
Category
Maintainability
Occurrences
32
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$bc&quot;.

WARNINGMaintainabilityNon-prefixed hook name31
Category
Maintainability
Occurrences
31
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;&#039;get_supported_payments_&#039; . $plugin&quot;.

ERRORMaintainabilityrand rand30
Category
Maintainability
Occurrences
30
Severity
error

Sample message

rand() is discouraged. Use the far less predictable wp_rand() instead.

ERRORI18nUnordered Placeholders Text30
Category
I18n
Occurrences
30
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$d", but got "%d, %d" in '%d item out of %d'.

ERRORMaintainabilityfile system operations fclose29
Category
Maintainability
Occurrences
29
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations fread27
Category
Maintainability
Occurrences
27
Severity
error

Sample message

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

WARNINGSecurityInput is not sanitized25
Category
Security
Occurrences
25
Severity
warning

Sample message

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

WARNINGSecurityRequest data is not unslashed25
Category
Security
Occurrences
25
Severity
warning

Sample message

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

ERRORMaintainabilitycurl curl setopt23
Category
Maintainability
Occurrences
23
Severity
error

Sample message

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

ERRORMaintainabilityMissing direct file access protection22
Category
Maintainability
Occurrences
22
Severity
error

Sample message

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

WARNINGMaintainabilityerror log print r19
Category
Maintainability
Occurrences
19
Severity
warning

Sample message

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

ERRORMaintainabilityfile system operations fopen14
Category
Maintainability
Occurrences
14
Severity
error

Sample message

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

ERRORMaintainabilityunlink unlink13
Category
Maintainability
Occurrences
13
Severity
error

Sample message

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

WARNINGMaintainabilityDiscouraged PHP function11
Category
Maintainability
Occurrences
11
Severity
warning

Sample message

The use of function ini_set() is discouraged

External Connections

Potential connections found in static code analysis.

6 domains

Outbound calls

300

External assets

0

Incoming endpoints

0

Notable Domains

vikwp.com138 · outbound
chartjs.org1 · outbound
e4j.com1 · outbound

Platform / Reference Domains

gnu.org138 · platform/reference
w3.org20 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v1.5.4

25

Latest

Findings
16,576
Errors
11,644
Warnings
4,932
Check
2.0.0

Relationship Map

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

33 nodes

Related Plugins

Hide Drafts in Menus

1k+ active installs

100
Better Aria Label Support

5k+ active installs

99
99
Responsive Navigation Block

1k+ active installs

99
Admin Toolbar Menus

1k+ active installs

98
Shortcode in Menus

50k+ active installs

98