Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.17MB] [CPU: ▲0.52ms] Passed 4 tests
An overview of server-side resources used by Clockinator Lite
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 36.64 ▼10.03 |
Dashboard /wp-admin | 3.51 ▲0.21 | 62.17 ▲13.79 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 60.34 ▲6.83 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.21 | 95.34 ▼8.51 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 50.97 ▲17.31 |
Go Pro /wp-admin/admin.php?page=clockify-lite-help | 3.50 | 53.44 |
Dashboard /wp-admin/admin.php?page=clockify-lite-panel | 3.53 | 56.24 |
Targets /wp-admin/admin.php?page=clockify-lite-target | 3.50 | 50.39 |
Departments /wp-admin/admin.php?page=clockify-lite-department | 3.51 | 50.77 |
Holidays /wp-admin/admin.php?page=clockify-lite-holidays | 3.52 | 47.99 |
Settings /wp-admin/admin.php?page=clockify-lite-settings | 4.89 | 52.57 |
Leaves /wp-admin/admin.php?page=clockify-lite-leaves | 3.51 | 47.86 |
Events /wp-admin/admin.php?page=clockify-lite-events | 3.51 | 51.01 |
Our Products /wp-admin/admin.php?page=clockify-lite-products | 3.47 | 46.93 |
Shifts /wp-admin/admin.php?page=clockify-lite-shift | 3.54 | 50.64 |
Server storage [IO: ▲9.27MB] [DB: ▲0.02MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 1,733 new files
Database: 10 new tables, 12 new options
New tables |
---|
wp_btcl_requests |
wp_btcl_reports |
wp_btcl_shifts |
wp_btcl_departments |
wp_btcl_targets |
wp_btcl_holidays |
wp_btcl_events |
wp_btcl_leaves |
wp_btcl_notices |
wp_btcl_employees |
New WordPress options |
---|
btcl_settings |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
btcl_sms_templates |
clockify_dashboard |
db_upgraded |
widget_recent-posts |
btcl_string_translation |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Clockinator Lite
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,038 ▲292 | 15.12 ▲0.81 | 17.01 ▲15.15 | 32.65 ▼10.01 |
Dashboard /wp-admin | 2,311 ▲123 | 5.89 ▲0.94 | 102.74 ▲0.22 | 42.77 ▼3.76 |
Posts /wp-admin/edit.php | 2,191 ▲102 | 2.18 ▲0.15 | 38.10 ▼2.98 | 35.14 ▼1.52 |
Add New Post /wp-admin/post-new.php | 1,611 ▲98 | 22.97 ▲5.47 | 638.33 ▲44.02 | 51.07 ▲4.62 |
Media Library /wp-admin/upload.php | 1,493 ▲102 | 4.19 ▲0.01 | 103.33 ▼2.27 | 55.33 ▲11.26 |
Go Pro /wp-admin/admin.php?page=clockify-lite-help | 2,020 | 4.16 | 58.32 | 114.75 |
Dashboard /wp-admin/admin.php?page=clockify-lite-panel | 2,198 | 4.70 | 68.31 | 87.83 |
Targets /wp-admin/admin.php?page=clockify-lite-target | 1,925 | 4.24 | 50.60 | 81.15 |
Departments /wp-admin/admin.php?page=clockify-lite-department | 2,463 | 5.41 | 79.31 | 69.60 |
Holidays /wp-admin/admin.php?page=clockify-lite-holidays | 2,364 | 4.94 | 67.19 | 88.15 |
Settings /wp-admin/admin.php?page=clockify-lite-settings | 5,386 | 4.41 | 55.81 | 83.40 |
Leaves /wp-admin/admin.php?page=clockify-lite-leaves | 2,180 | 4.85 | 62.60 | 71.74 |
Events /wp-admin/admin.php?page=clockify-lite-events | 2,154 | 4.30 | 61.66 | 75.74 |
Our Products /wp-admin/admin.php?page=clockify-lite-products | 1,950 | 4.13 | 50.81 | 77.66 |
Shifts /wp-admin/admin.php?page=clockify-lite-shift | 2,238 | 4.51 | 58.17 | 72.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie tables detected upon uninstall: 10 tables
- wp_btcl_reports
- wp_btcl_holidays
- wp_btcl_departments
- wp_btcl_employees
- wp_btcl_shifts
- wp_btcl_events
- wp_btcl_requests
- wp_btcl_targets
- wp_btcl_leaves
- wp_btcl_notices
- Zombie WordPress options were found after uninstall: 12 options
- clockify_dashboard
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- btcl_sms_templates
- widget_recent-posts
- db_upgraded
- btcl_settings
- btcl_email_templates
- btcl_string_translation
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 29× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_sql() in wp-content/plugins/clockify-lite/public/inc/views/clock-profile.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/clockify-lite/admin/inc/settings/clock-general-settings.php:2
- > PHP Fatal error
require_once(): Failed opening required 'BTCLite_PLUGIN_DIR_PATH/admin/inc/views/nav/nav.php' (include_path='.:/usr/share/php') in wp-content/plugins/clockify-lite/admin/inc/controllers/clock-help-panel.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'BTCLite_Helper' not found in wp-content/plugins/clockify-lite/public/inc/views/clock-reports.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/clockify-lite/admin/inc/views/nav/nav.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/clockify-lite/public/inc/templates/dashboard-template.php:2
- > PHP Warning
Use of undefined constant BTCLite_PLUGIN_DIR_PATH - assumed 'BTCLite_PLUGIN_DIR_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/clockify-lite/admin/inc/controllers/clock-help-panel.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/clockify-lite/public/inc/views/targets/target.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/clockify-lite/uninstall.php:3
- > PHP Fatal error
require_once(): Failed opening required 'BTCLite_PLUGIN_DIR_PATH/admin/inc/views/nav/nav.php' (include_path='.:/usr/share/php') in wp-content/plugins/clockify-lite/admin/inc/controllers/clock-products-panel.php on line 2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5, #6, #7, #8, #9 in clockify-lite/assets to your readme.txt
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
clockify-lite/clockify-lite.php 85% from 13 tests
The primary PHP file in "Clockinator Lite" version 1.0.7 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 247 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected64,307 lines of code in 1,706 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 24 | 7,034 | 329 | 36,121 |
SVG | 1,615 | 0 | 12 | 16,000 |
PHP | 54 | 742 | 255 | 9,359 |
JavaScript | 12 | 201 | 116 | 2,041 |
PO File | 1 | 372 | 820 | 786 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 30.24 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 243.00 |
Average method complexity | 4.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 1 | 4.76% |
Methods | 169 | |
▷ Static methods | 167 | 98.82% |
▷ Public methods | 166 | 98.22% |
▷ Protected methods | 1 | 0.59% |
▷ Private methods | 2 | 1.18% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.40MB with 0.31MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/clockify-lite.png | 6.83KB | 1.66KB | ▼ 75.73% |
assets/images/projectify.png | 403.94KB | 92.00KB | ▼ 77.22% |