Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.28MB] [CPU: ▼146.58ms] Passed 4 tests
A check of server-side resources used by TaskBreaker - Group Project Management
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.10 ▲0.38 | 40.21 ▲16.68 |
Dashboard /wp-admin | 3.37 ▲0.32 | 45.76 ▼2.60 |
Posts /wp-admin/edit.php | 3.43 ▲0.32 | 47.28 ▼2.54 |
Add New Post /wp-admin/post-new.php | 5.67 ▲0.24 | 98.92 ▼577.16 |
Media Library /wp-admin/upload.php | 3.25 ▲0.25 | 31.23 ▼4.00 |
All Projects /wp-admin/edit.php?post_type=project | 3.30 | 39.34 |
Add New /wp-admin/post-new.php?post_type=project | 3.40 | 55.49 |
Server storage [IO: ▲0.67MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 112 new files
Database: 4 new tables, 3 new options
New tables |
---|
task_breaker_task_meta |
task_breaker_comments |
task_breaker_tasks |
task_breaker_tasks_user_assignment |
New WordPress options |
---|
task_breaker_tasks_table_version |
widget_taskbreaker_user_recent_tasks |
task_breaker_comments_table_version |
Browser metrics Passed 4 tests
Checking browser requirements for TaskBreaker - Group Project Management
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,858 ▲262 | 16.22 ▲0.27 | 17.64 ▲7.54 | 50.48 ▼4.63 |
Dashboard /wp-admin | 3,002 ▲68 | 5.87 ▼0.11 | 143.61 ▼13.10 | 113.29 ▼8.56 |
Posts /wp-admin/edit.php | 2,774 ▲35 | 2.70 ▲0.01 | 67.88 ▼2.52 | 94.49 ▲1.03 |
Add New Post /wp-admin/post-new.php | 1,706 ▲23 | 18.81 ▲0.07 | 381.54 ▼7.32 | 110.34 ▼7.25 |
Media Library /wp-admin/upload.php | 1,842 ▲35 | 5.02 ▲0.02 | 160.21 ▲7.49 | 125.22 ▲10.33 |
All Projects /wp-admin/edit.php?post_type=project | 1,431 | 2.62 | 63.70 | 77.48 |
Add New /wp-admin/post-new.php?post_type=project | 3,031 | 8.90 | 217.63 | 158.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie tables detected upon uninstall: 4 tables
- task_breaker_tasks
- task_breaker_tasks_user_assignment
- task_breaker_task_meta
- task_breaker_comments
- Zombie WordPress options were found after uninstall: 3 options
- widget_taskbreaker_user_recent_tasks
- task_breaker_tasks_table_version
- task_breaker_comments_table_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Almost there! Just fix the following items
- 12× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/taskbreaker-project-management/includes/project-dashboard.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function bp_is_active() in wp-content/plugins/taskbreaker-project-management/templates/project-add.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function absint() in wp-content/plugins/taskbreaker-project-management/templates/task-meta.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/taskbreaker-project-management/actions/actions.php:12
- > PHP Fatal error
Uncaught Error: Class 'TaskBreakerTasksController' not found in wp-content/plugins/taskbreaker-project-management/templates/task-loop.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/taskbreaker-project-management/templates/project-loop.php:7
- > PHP Fatal error
Uncaught Error: Class 'TaskBreakerTemplate' not found in wp-content/plugins/taskbreaker-project-management/templates/project-loop-content.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/taskbreaker-project-management/templates/email-notifications-settings.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_userdata() in wp-content/plugins/taskbreaker-project-management/templates/task-comment-item.php:1
- > PHP Fatal error
Uncaught Error: Class 'TaskBreakerTasksController' not found in wp-content/plugins/taskbreaker-project-management/transactions/routes/renew-task.php:9
- > 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 96% from 29 tests
readme.txt Passed 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
6 plugin tags: buddypress, collaboration, project management, project, task...
taskbreaker-project-management/task-breaker.php 92% from 13 tests
The main PHP file in "TaskBreaker - Group Project Management" ver. 1.5.1 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("taskbreaker-project-management.php" instead of "task-breaker.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin12,093 lines of code in 87 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 54 | 2,198 | 1,700 | 4,840 |
CSS | 4 | 288 | 115 | 2,971 |
JavaScript | 21 | 899 | 221 | 2,414 |
PO File | 4 | 746 | 889 | 1,792 |
Markdown | 1 | 25 | 0 | 44 |
JSON | 1 | 0 | 0 | 15 |
YAML | 1 | 1 | 0 | 9 |
XML | 1 | 2 | 0 | 8 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 17.35 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 2.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 6 | 30.00% |
Methods | 178 | |
▷ Static methods | 15 | 8.43% |
▷ Public methods | 175 | 98.31% |
▷ Protected methods | 1 | 0.56% |
▷ Private methods | 2 | 1.12% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 16 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
16 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/ui-bg_glass_70_ede4d4_1x400.png | 0.40KB | 0.16KB | ▼ 60.88% |
assets/images/ic_attach_file_black_48dp_2x.png | 0.78KB | 1.22KB | 0.00% |
assets/css/images/ui-icons_f08000_256x240.png | 4.57KB | 4.18KB | ▼ 8.43% |
assets/css/images/ui-bg_highlight-hard_100_f4f0ec_1x100.png | 0.38KB | 0.15KB | ▼ 60.78% |
assets/css/images/ui-icons_c47a23_256x240.png | 4.57KB | 4.18KB | ▼ 8.43% |