Time Clock – A WordPress Employee & Volunteer Time Clock Plugin

An employee / volunteer time clock for WordPress

v1.3.2Scott PatersonUpdated Added 500 installs98% rating
37
Score
166
Errors
107
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability65

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

273 findings

Security

229

7 issue groups

Maintainability

43

14 issue groups

Repo Compliance

1

1 issue group

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" <span alt='f223' class='etimeclockwp-help-tip dashicons dashicons-editor-help' title='$help'></span>"'.147
Category
Security
Occurrences
147
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" <span alt='f223' class='etimeclockwp-help-tip dashicons dashicons-editor-help' title='$help'></span>"'.

WARNINGSecurityRequest data is not unslashed$_GET[&#039;post_type&#039;] not unslashed before sanitization. Use wp_unslash() or similar32
Category
Security
Occurrences
32
Severity
warning

Sample message

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

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST[&#039;data&#039;]. Check that the array index exists before using it.18
Category
Security
Occurrences
18
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST[&#039;data&#039;]. Check that the array index exists before using it.

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

Sample message

Detected usage of meta_query, possible slow query.

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

Sample message

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

WARNINGMaintainabilityNot In FooterIn footer ($in_footer) is not set explicitly wp_enqueue_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.7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

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

WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.6
Category
Security
Occurrences
6
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;codex_etimeclockwp_clock_updated_messages&quot;.5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET[&#039;post_type&#039;]4
Category
Security
Occurrences
4
Severity
warning

Sample message

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

Show 12 more
ERRORSecurityUnsafe printing function3
Category
Security
Occurrences
3
Severity
error

Sample message

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

WARNINGMaintainabilityMissing Version3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.

ERRORMaintainabilityForbidden PHP function found2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

The use of function create_function() is forbidden

WARNINGMaintainabilityDirect Query2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

ERRORMaintainabilityrand mt rand2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

ERRORMaintainabilitylibrary core files2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Library files that are already in the WordPress core are not permitted.

ERRORMaintainabilityOffloaded Content1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Found call to wp_register_style() with external resource. Offloading styles to your servers or any remote service is disallowed.

WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Time Clock - A WordPress Employee & Volunteer Time Clock Plugin" is different from the name declared in plugin header "Time Clock".

ERRORRepo Complianceplugin header no license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.

WARNINGMaintainabilitytrademarked term1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "Time Clock - A WordPress Employee &amp; Volunteer Time Clock Plugin" - contains the restricted term "plugin" which cannot be used at all in your plugin name.

ERRORMaintainabilitywp function not compatible with requires wp1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

External Connections

Potential connections found in static code analysis.

12 domains

Outbound calls

38

External assets

1

Incoming endpoints

6

Notable Domains

momentjs.com14 · outbound
wpplugin.org7 · outbound
stackoverflow.com3 · outbound
trentrichardson.com2 · outbound
en.wikipedia.org1 · outbound

Platform / Reference Domains

github.com5 · platform/reference

External Asset Domains

ajax.googleapis.com2 · asset + outbound

Incoming Endpoints

wp_ajax_nopriv_etimeclockwp_timeclock_actionpublic

wp_ajax

Admin AJAX endpoints5
wp_ajax_etimeclockwp_date_deleteauthenticated

wp_ajax

wp_ajax_etimeclockwp_date_editauthenticated

wp_ajax

wp_ajax_etimeclockwp_date_newauthenticated

wp_ajax

wp_ajax_etimeclockwp_deactivate_surveyauthenticated

wp_ajax

wp_ajax_etimeclockwp_timeclock_actionauthenticated

wp_ajax

Score History

First score snapshot

v1.3.2

37

Latest

Findings
273
Errors
166
Warnings
107
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins

Simple Digital Clock 🕒

500 active installs

100
Seed Buddhist Year

3k+ active installs

98
Last Updated Shortcode

800 active installs

97
Bulk Datetime Change

6k+ active installs

96
Change Empty Trash Time

1k+ active installs

91