Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.60ms] Passed 4 tests
An overview of server-side resources used by Time Tracker
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.87 ▼4.77 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.84 ▼7.62 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.54 ▼3.05 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.98 ▼14.95 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.01 ▲0.94 |
Server storage [IO: ▲0.56MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 121 new files
Database: no new tables, 9 new options
New WordPress options |
---|
time_tracker_admin_notices |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
time_tracker_version |
widget_recent-posts |
can_compress_scripts |
time_tracker_install_time |
widget_recent-comments |
Browser metrics Passed 4 tests
Time Tracker: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.27 ▼1.11 | 1.92 ▲0.16 | 44.26 ▲0.25 |
Dashboard /wp-admin | 2,209 ▲21 | 5.89 ▲0.04 | 100.14 ▼5.64 | 37.68 ▼2.52 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.03 ▲0.04 | 35.19 ▼1.38 | 34.58 ▲2.23 |
Add New Post /wp-admin/post-new.php | 1,534 ▲20 | 23.38 ▲5.80 | 637.01 ▼56.29 | 52.27 ▼15.88 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▲0.03 | 92.09 ▼10.53 | 40.59 ▼4.61 |
Uninstaller [IO: ▲0.56MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following itemsThis plugin does not fully uninstall, leaving 11 options in the database
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/time-tracker/admin/function-tt-export-tables.php+40
tempnam(): file created in the system's temporary directory
- Uninstaller has failed for this plugin, leaving 121 files (0.56MB) in the plugin directory
- (new file) .gitattributes
- (new file) admin/class-tt-display-message-check-task-added.php
- (new file) admin/class-tt-display-message-check-client-added.php
- (new file) admin/function-tt-export-tables.php
- (new file) LICENSE
- (new file) admin/class-tt-shortcode-error-alert.php
- (new file) admin/class-tt-sql-result-display-message.php
- (new file) admin/function-tt-delete-tables.php
- (new file) admin/function-tt-export-button.php
- (new file) admin/function-tt-admin-notice.php
- ...
- recovery_mode_email_last_sent
- widget_theysaidso_widget
- theysaidso_admin_options
- time_tracker_version
- widget_recent-posts
- time_tracker_admin_notices
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- time_tracker_install_time
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 43× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/time-tracker/inc/class-tt-shortcode-show-task-details.php
- > /wp-content/plugins/time-tracker/inc/class-tt-shortcode-time-log-table.php
- > /wp-content/plugins/time-tracker/admin/class-tt-sql-result-display-message.php
- > /wp-content/plugins/time-tracker/admin/class-tt-display-message-check-client-added.php
- > /wp-content/plugins/time-tracker/inc/class-tt-task-list.php
- > /wp-content/plugins/time-tracker/inc/class-tt-time-log.php
- > /wp-content/plugins/time-tracker/inc/class-time-tracker-updater.php
- > /wp-content/plugins/time-tracker/time-tracker.php
- > /wp-content/plugins/time-tracker/inc/class-tt-shortcode-open-task-list-table.php
- > /wp-content/plugins/time-tracker/inc/WPF/class-tt-hook-save-form-data-wpf.php
- 36× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function Logically_Tech\\Time_Tracker\\Inc\\CF7\\add_action() in wp-content/plugins/time-tracker/inc/CF7/function-tt-custom-cf7-field-categories-from-settings.php:17
- > PHP Warning
Use of undefined constant TT_HOME - assumed 'TT_HOME' (this will throw an Error in a future version of PHP) in wp-content/plugins/time-tracker/templates/tt-sidebar.php on line 32
- > PHP Warning
Use of undefined constant TT_HOME - assumed 'TT_HOME' (this will throw an Error in a future version of PHP) in wp-content/plugins/time-tracker/templates/tt-sidebar.php on line 30
- > PHP Warning
Use of undefined constant TT_HOME - assumed 'TT_HOME' (this will throw an Error in a future version of PHP) in wp-content/plugins/time-tracker/templates/tt-sidebar.php on line 44
- > PHP Fatal error
Uncaught Error: Call to undefined function Logically_Tech\\Time_Tracker\\Inc\\WPF\\add_action() in wp-content/plugins/time-tracker/inc/WPF/class-time-tracker-wpf-select-fields-dynamic-options.php:181
- > PHP Warning
Use of undefined constant TT_HOME - assumed 'TT_HOME' (this will throw an Error in a future version of PHP) in wp-content/plugins/time-tracker/templates/tt-sidebar.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/time-tracker/inc/CF7/function-tt-recaptcha-cf7.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function Logically_Tech\\Time_Tracker\\Inc\\add_action() in wp-content/plugins/time-tracker/inc/function-tt-custom-cf7-field-datetime.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function Logically_Tech\\Time_Tracker\\Inc\\add_action() in wp-content/plugins/time-tracker/inc/function-tt-custom-cf7-field-project-dropdown.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function Logically_Tech\\Time_Tracker\\Inc\\add_action() in wp-content/plugins/time-tracker/inc/function-tt-custom-cf7-field-client-dropdown.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
time-tracker/time-tracker.php Passed 13 tests
The main file in "Time Tracker" v. 3.0.10 serves as a complement to information provided in readme.txt and as the entry point to the plugin
140 characters long description:
A task and time tracking program. Perfect for freelancers or indivdiuals keeping track of to do lists and time worked and billed to clients.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin9,234 lines of code in 117 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 89 | 2,102 | 3,843 | 8,686 |
JavaScript | 28 | 32 | 52 | 548 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 14.23 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 2.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 53 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 53 | 100.00% |
▷ Final classes | 1 | 1.89% |
Methods | 407 | |
▷ Static methods | 127 | 31.20% |
▷ Public methods | 204 | 50.12% |
▷ Protected methods | 2 | 0.49% |
▷ Private methods | 201 | 49.39% |
Functions | 129 | |
▷ Named functions | 129 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/img/recurring-task-icon-150sq-blue.png | 2.74KB | 1.34KB | ▼ 50.95% |