DecaLog

Capture and log events, metrics and traces on your site. Make WordPress observable - finally!

v4.6.0Pierre LannoyUpdated Added 1k+ installs96% rating
25
Score
943
Errors
236
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,179 findings

Security

777

6 issue groups

Maintainability

308

19 issue groups

ERRORSecurityException output is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"$name not found on class"'.530
Category
Security
Occurrences
530
Severity
error

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"$exception\n"'.134
Category
Security
Occurrences
134
Severity
error

Sample message

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

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

Sample message

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

ERRORMaintainabilitycurl curl setoptUsing cURL functions is highly discouraged. Use wp_remote_get() instead.49
Category
Maintainability
Occurrences
49
Severity
error

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_COOKIE[$this->cookieName]41
Category
Security
Occurrences
41
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_COOKIE[$this->cookieName]

WARNINGMaintainabilityNon-prefixed namespaceNamespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "Psr\Http\Client".33
Category
Maintainability
Occurrences
33
Severity
warning

Sample message

Namespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "Psr\Http\Client".

WARNINGSecurityRequest data is not unslashed$_COOKIE[$this->cookieName] not unslashed before sanitization. Use wp_unslash() or similar33
Category
Security
Occurrences
33
Severity
warning

Sample message

$_COOKIE[$this->cookieName] not unslashed before sanitization. Use wp_unslash() or similar

ERRORSecuritySetting is missing a sanitization callbackSanitization missing for register_setting().32
Category
Security
Occurrences
32
Severity
error

Sample message

Sanitization missing for register_setting().

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

Sample message

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

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

Sample message

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

Show 15 more
ERRORMaintainabilityfile system operations fopen12
Category
Maintainability
Occurrences
12
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations fwrite12
Category
Maintainability
Occurrences
12
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed constant10
Category
Maintainability
Occurrences
10
Severity
warning

Sample message

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

WARNINGMaintainabilityDiscouraged PHP function9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

The use of function ini_set() is discouraged

ERRORMaintainabilitydate date9
Category
Maintainability
Occurrences
9
Severity
error

Sample message

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

WARNINGMaintainabilityerror log var export9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

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

ERRORMaintainabilitycurl curl init9
Category
Maintainability
Occurrences
9
Severity
error

Sample message

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

ERRORMaintainabilityNot Allowed7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

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

WARNINGMaintainabilityerror log debug backtrace7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log trigger error7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

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

WARNINGSecurityNonce verification recommended7
Category
Security
Occurrences
7
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilitycurl curl close7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed function6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed hook name6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log set error handler6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

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

External Connections

Not analyzed yet.

Score History

First score snapshot

v4.6.0

25

Latest

Findings
1,179
Errors
943
Warnings
236
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins

Accessibility by AudioEye

1k+ active installs

95
The WP Remote WordPress Plugin

30k+ active installs

82
Debug

2k+ active installs

69
Stream

80k+ active installs

60