Time Clock 1.2.1

Does Time Clock work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
3PHP warnings
1PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 90.12 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.039 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 600+
WordPress.org page https://wordpress.org/plugins/time-clock/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

Settings ‹ Test site — WordPress

Page screenshot: Settings ‹ Test site — WordPress
URL /wp-admin/admin.php?page=etimeclockwp_settings_page
Requested URL /wp-admin/plugins.php?action=activate&plugin=time-clock%2Ftimeclock.php&plugin_status=all&paged=1&s&_wpnonce=d0eb187b3a
Aspect after-activation
HTTP status 200
Load time 0.498 s
Memory usage 3.08 MiB
JS errors None
Resource errors None

Time Clock

Page screenshot: Time Clock
URL /wp-admin/edit.php?post_type=etimeclockwp_clock
Aspect menu-item
HTTP status 200
Load time 0.205 s
Memory usage 3.15 MiB
JS errors None
Resource errors None

Time Clock → Users

Page screenshot: Time Clock → Users
URL /wp-admin/edit.php?post_type=etimeclockwp_users
Aspect menu-item
HTTP status 200
Load time 0.175 s
Memory usage 3.15 MiB
JS errors None
Resource errors None

Time Clock → Settings

Page screenshot: Time Clock → Settings
URL /wp-admin/admin.php?page=etimeclockwp_settings_page
Aspect menu-item
HTTP status 200
Load time 0.180 s
Memory usage 3.08 MiB
JS errors None
Resource errors None

Time Clock → Settings → General

Screenshot not available
URL /wp-admin/admin.php?page=etimeclockwp_settings_page
Aspect menu-item-tab
HTTP status 200
Load time 0.172 s
Memory usage 3.08 MiB
JS errors None
Resource errors None

Time Clock → Plugins

Page screenshot: Time Clock → Plugins
URL /wp-admin/admin.php?page=etimeclockwp_extensions_page
Aspect menu-item
HTTP status 200
Load time 0.974 s
Memory usage 5.04 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.275 s
Memory usage 3.01 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.295 s0.274 s-0.021 s3.07 MiB3.17 MiB+ 102.52 KiB
/wp-admin/edit.php0.180 s0.213 s+0.033 s3.1 MiB3.2 MiB+ 107.82 KiB
/wp-admin/post-new.php0.747 s1.122 s+0.375 s5.02 MiB5.12 MiB+ 101.77 KiB
/wp-admin/upload.php0.541 s0.466 s-0.075 s3.02 MiB3.1 MiB+ 85.09 KiB
/wp-admin/options-writing.php0.189 s0.168 s-0.021 s3.01 MiB3.08 MiB+ 73.9 KiB
/wp-admin/media-new.php0.292 s0.269 s-0.023 s2.99 MiB3.09 MiB+ 100.32 KiB
/wp-admin/edit-tags.php?taxonomy=category0.208 s0.207 s-0.001 s3.01 MiB3.11 MiB+ 105.05 KiB
/wp-admin/post-new.php?post_type=page0.579 s0.611 s+0.032 s5.01 MiB5.11 MiB+ 97.39 KiB
/wp-admin/options-discussion.php0.215 s0.262 s+0.047 s3 MiB3.09 MiB+ 87.95 KiB
/wp-admin/edit-comments.php0.212 s0.236 s+0.024 s3.03 MiB3.11 MiB+ 85.42 KiB
/0.297 s0.360 s+0.063 s2.97 MiB3.01 MiB+ 44.09 KiB
Average 0.341 s0.381 s+0.039 s3.38 MiB3.47 MiB+ 90.12 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

JavaScript
PHP
Language % Lines of code Comment lines Files
JavaScript69.8%5,6096587
PHP24.7%1,98628216
CSS5.4%43763
Total 8,032 946 26

PHP Code Analysis | More results »

Lines of code 2,017
Total complexity 307
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function etimeclockwp_settings_render_option()
Classes 0
Methods 0
Functions 68

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 3

Custom Post Types 2

ID Name
etimeclockwp_clockActivity
etimeclockwp_usersUsers

Meta Boxes

{
    "etimeclockwp_users": {
        "meta-box-id-order": {
            "title": "Save",
            "context": "side"
        },
        "meta-box-id-general": {
            "title": "User Information",
            "context": "normal"
        }
    },
    "etimeclockwp_clock": {
        "meta-box-id-status": {
            "title": "Details",
            "context": "side"
        },
        "meta-box-id-activity": {
            "title": "Day Details",
            "context": "normal"
        }
    }
}

PHP Error Log 4 lines

[24-May-2023 00:41:40 UTC] PHP Warning:  Undefined array key "default" in /wp-content/plugins/time-clock/includes/functions.php on line 59
[24-May-2023 00:41:40 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/time-clock/includes/functions.php on line 59
[24-May-2023 00:41:42 UTC] PHP Warning:  Undefined variable $values in /wp-content/plugins/time-clock/includes/admin/activity.php on line 444
[24-May-2023 00:41:42 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/time-clock/includes/admin/activity.php on line 444
See also: All tests for this plugin, How to Hide Time Clock Admin Menus and Meta Boxes