AweBooking – Hotel Booking System

Awebooking helps you to setup hotel booking system quickly, pleasantly and easily.

v3.2.26awethemesUpdated Added 1k+ installs60% rating
20
Score
309
Errors
514
Warnings
+0
Change

Category Scores

Security0
Repo72
Performance95
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

823 findings

Maintainability

583

17 issue groups

Security

196

7 issue groups

I18n

13

1 issue group

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

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$args['after_title']'.132
Category
Security
Occurrences
132
Severity
error

Sample message

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

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

Sample message

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

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

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityDynamic hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$action".40
Category
Maintainability
Occurrences
40
Severity
warning

Sample message

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

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

Sample message

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

ERRORSecurityException output is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Driver [$driver] not supported."'.29
Category
Security
Occurrences
29
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Driver [$driver] not supported."'.

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

Sample message

Processing form data without nonce verification.

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.13
Category
I18n
Occurrences
13
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.

WARNINGMaintainabilityslow db query meta queryDetected usage of meta_query, possible slow query.9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

Show 15 more
WARNINGMaintainabilityNon-prefixed function9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

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

WARNINGMaintainabilitySchema Change8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGSecurityInput is not sanitized5
Category
Security
Occurrences
5
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET['s']

WARNINGMaintainabilityNot In Footer5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_register_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.

WARNINGMaintainabilityNo PHP code found4
Category
Maintainability
Occurrences
4
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.

WARNINGMaintainabilityslow db query meta key4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

ERRORMaintainabilitytimezone change date default timezone set4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

Using date_default_timezone_set() and similar isn't allowed, instead use WP internal timezone support.

WARNINGMaintainabilityNon-prefixed hook name4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

ERRORMaintainabilityapplication detected4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

Application files are not permitted.

WARNINGSecurityInterpolated SQL is not prepared3
Category
Security
Occurrences
3
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable {$from} at "INSERT INTO `{$wpdb->p2p_relationships}` (`rel_from`, `rel_to`, `type`) VALUES ('{$from}', '{$from}', 'demo');"

WARNINGMaintainabilityNon-prefixed constant3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGSecurityRequest data is not unslashed3
Category
Security
Occurrences
3
Severity
warning

Sample message

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

ERRORMaintainabilitywp function not compatible with requires wp3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

Function "get_user_locale()" requires WordPress 4.7.0, but your plugin minimum supported version is WordPress 4.6.0.

ERRORMaintainabilityScanner exception2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

An error occurred during processing; checking has been aborted. The error message was: PHPCSUtils\Utils\PassedParameters::hasParameters(): Argument #2 ($stackPtr) must be of type function call, array, isset, unset or exit; T_THROW given.\nThe error originated in the WordPress.Security.EscapeOutput sniff on line 270.

ERRORSecurityDatabase parameter is not escaped2
Category
Security
Occurrences
2
Severity
error

Sample message

Unescaped parameter $from used in $wpdb->query()\n$from used without escaping.

External Connections

Potential connections found in static code analysis.

47 domains

Outbound calls

300

External assets

0

Incoming endpoints

0

Notable Domains

awethemes.com30 · outbound
momentjs.com26 · outbound
imakewebthings.com19 · outbound
stackoverflow.com12 · outbound
reactjs.org11 · outbound
bugs.chromium.org10 · outbound

Platform / Reference Domains

github.com87 · platform/reference
w3.org17 · platform/reference
wordpress.org4 · platform/reference
codex.wordpress.org3 · platform/reference
opensource.org3 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v3.2.26

20

Latest

Findings
823
Errors
309
Warnings
514
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins

Jobber

1k+ active installs

99
Shore Booking Widget

1k+ active installs

99
Zenchef widget integration

1k+ active installs

98
Booking.com Product Helper

1k+ active installs

97