Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▲10.02ms] Passed 4 tests
A check of server-side resources used by All in One Time Clock Lite - Tracking Employee Time Has Never Been Easier
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 55.77 ▲10.52 |
Dashboard /wp-admin | 3.43 ▲0.13 | 63.96 ▲14.95 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 61.92 ▲10.72 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 102.15 ▲4.79 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 49.39 ▲14.04 |
Settings /wp-admin/admin.php?page=aio-tc-lite | 3.46 | 51.40 |
Reports /wp-admin/admin.php?page=aio-reports-sub | 3.36 | 49.17 |
Shifts /wp-admin/admin.php?page=aio-shifts-sub | 3.30 | 42.74 |
Departments /wp-admin/edit-tags.php?taxonomy=department | 3.44 | 49.24 |
Employees /wp-admin/admin.php?page=aio-employees-sub | 3.38 | 49.14 |
Real Time Monitoring /wp-admin/admin.php?page=aio-monitoring-sub | 3.38 | 49.01 |
Departments /wp-admin/admin.php?page=aio-department-sub | 3.30 | 45.60 |
Server storage [IO: ▲2.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 100 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_aio_time_clock_lite_widgets |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for All in One Time Clock Lite - Tracking Employee Time Has Never Been Easier
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,945 ▲183 | 13.90 ▼0.45 | 9.80 ▲8.14 | 41.53 ▼2.55 |
Dashboard /wp-admin | 2,260 ▲86 | 5.71 ▲0.09 | 85.11 ▼14.56 | 38.67 ▼6.77 |
Posts /wp-admin/edit.php | 2,168 ▲71 | 2.22 ▲0.28 | 37.83 ▲1.74 | 34.75 ▼4.63 |
Add New Post /wp-admin/post-new.php | 1,581 ▲54 | 23.26 ▲0.01 | 680.20 ▼31.33 | 35.45 ▼19.36 |
Media Library /wp-admin/upload.php | 1,462 ▲62 | 4.30 ▲0.11 | 100.15 ▼11.33 | 43.84 ▼2.01 |
Settings /wp-admin/admin.php?page=aio-tc-lite | 3,236 | 1.75 | 27.54 | 40.67 |
Reports /wp-admin/admin.php?page=aio-reports-sub | 1,395 | 2.03 | 33.52 | 30.10 |
Shifts /wp-admin/admin.php?page=aio-shifts-sub | 1,843 | 2.82 | 37.52 | 39.01 |
Departments /wp-admin/edit-tags.php?taxonomy=department | 1,314 | 2.25 | 28.42 | 31.39 |
Employees /wp-admin/admin.php?page=aio-employees-sub | 941 | 1.75 | 27.00 | 31.94 |
Real Time Monitoring /wp-admin/admin.php?page=aio-monitoring-sub | 928 | 1.71 | 25.54 | 30.08 |
Departments /wp-admin/admin.php?page=aio-department-sub | 2,008 | 2.60 | 35.27 | 37.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- widget_aio_time_clock_lite_widgets
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=aio-department-sub
- > Warning in wp-includes/pluggable.php+1438
Cannot modify header information - headers already sent by (output started at wp-includes/script-loader.php:2838)
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 15× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/aio-time-clock-lite/aio-settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/aio-time-clock-lite/aio-monitoring.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_x() in wp-content/plugins/aio-time-clock-lite/aio-report-wizard.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/aio-time-clock-lite/aio-employee-profile.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_x() in wp-content/plugins/aio-time-clock-lite/aio-get-pro.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_custom() in wp-content/plugins/aio-time-clock-lite/aio-time-clock-box-content.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/aio-time-clock-lite/aio-reports.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/aio-time-clock-lite/aio-employees.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/aio-time-clock-lite/aio-time-clock-lite-widgets.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/aio-time-clock-lite/templates/time-clock-style1.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
aio-time-clock-lite/aio-time-clock-lite.php 92% from 13 tests
Analyzing the main PHP file in "All in One Time Clock Lite - Tracking Employee Time Has Never Been Easier" version 1.3.323
Please take the time to fix the following:
- Plugin Name: Please shorten the plugin name (currently 73 characters long instead of max. 70)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected7,575 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 7 | 1,291 | 1,526 | 2,768 |
PHP | 17 | 178 | 46 | 2,190 |
CSS | 5 | 293 | 66 | 1,682 |
JavaScript | 4 | 37 | 40 | 935 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 43.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 120.00 |
Average method complexity | 2.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 82 | |
▷ Static methods | 1 | 1.22% |
▷ Public methods | 82 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
46 PNG files occupy 1.09MB with 0.32MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/pro/4-reports.png | 50.24KB | 26.22KB | ▼ 47.80% |
images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
images/graph-sample.png | 9.52KB | 5.02KB | ▼ 47.33% |
images/pro/11-extendable.png | 58.65KB | 29.35KB | ▼ 49.96% |
images/sort_both.png | 0.20KB | 0.29KB | 0.00% |