A Random Number

A WordPress plugin that displays a random number on each page load via shortcode. It truly is magic.

v1.2James HarrisonUpdated Added 800 installs74% rating0% support resolved
89
Score
3
Errors
5
Warnings
+0
Change

Category Scores

Security82
Repo100
Performance100
Maintainability92

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

8 findings

Maintainability

5

4 issue groups

Security

3

3 issue groups

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "arn_quicktags".2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_SERVER['REQUEST_URI']1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_SERVER['REQUEST_URI']

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_SERVER['REQUEST_URI']. Check that the array index exists before using it.1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_SERVER['REQUEST_URI']. Check that the array index exists before using it.

WARNINGSecurityRequest data is not unslashed$_SERVER['REQUEST_URI'] not unslashed before sanitization. Use wp_unslash() or similar1
Category
Security
Occurrences
1
Severity
warning

Sample message

$_SERVER['REQUEST_URI'] not unslashed before sanitization. Use wp_unslash() or similar

ERRORMaintainabilityrand mt randmt_rand() is discouraged. Use the far less predictable wp_rand() instead.1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

ERRORMaintainabilityrand randrand() is discouraged. Use the far less predictable wp_rand() instead.1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

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

Sample message

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

External Connections

Potential connections found in static code analysis.

1 domains

Outbound calls

2

External assets

0

Incoming endpoints

0

Notable Domains

calculator.io2 · outbound

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v1.2

89

Latest

Findings
8
Errors
3
Warnings
5
Check
2.0.0

Relationship Map

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

28 nodes

Related Plugins

Random Post for Widget

2k+ active installs

58
Easy Quotes

700 active installs

55
Better Random Redirect

700 active installs

39