74% taskbuilder

Code Review | Taskbuilder - WordPress Project & Task Management plugin

WordPress plugin Taskbuilder - WordPress Project & Task Management plugin scored74%from 54 tests.

About plugin

  • Plugin page: taskbuilder
  • Plugin version: 2.0.6
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-6.3.2
  • WordPress version: 6.3.1
  • First release: Oct 8, 2021
  • Latest release: Oct 19, 2023
  • Number of updates: 26
  • Update frequency: every 28.5 days
  • Top authors: taskbuilder (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

400+ active /8,819 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.53MB] [CPU: ▼11.13ms] Passed 4 tests

An overview of server-side resources used by Taskbuilder - WordPress Project & Task Management plugin
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.80 ▲0.3439.62 ▼3.05
Dashboard /wp-admin3.92 ▲0.5749.67 ▼14.33
Posts /wp-admin/edit.php3.97 ▲0.6148.76 ▼0.84
Add New Post /wp-admin/post-new.php6.50 ▲0.6185.47 ▼26.30
Media Library /wp-admin/upload.php3.84 ▲0.6137.44 ▲2.98
Addons /wp-admin/admin.php?page=wppm-addons3.8234.24
Settings /wp-admin/admin.php?page=wppm-settings3.7833.73
License /wp-admin/admin.php?page=wppm-license3.7834.53
Email Notifications /wp-admin/admin.php?page=wppm-email-notifications3.7837.81
Tasks /wp-admin/admin.php?page=wppm-tasks3.7833.98
Projects /wp-admin/admin.php?page=wppm-projects3.7840.32

Server storage [IO: ▲1.48MB] [DB: ▲0.02MB] Passed 3 tests

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 228 new files
Database: 13 new tables, 16 new options
New tables
wp_wppm_task
wp_wppm_project_categories
wp_wppm_project_meta
wp_wppm_project_users
wp_wppm_attachments
wp_wppm_project
wp_wppm_project_statuses
wp_wppm_task_comment
wp_wppm_task_priorities
wp_wppm_checklist_items
...
New WordPress options
wppm_project_time
wppm_version
widget_theysaidso_widget
wppm_default_task_date
theysaidso_admin_options
wppm_public_projects_permission
wppm_default_project_date
db_upgraded
widget_recent-comments
wppm_default_edit_tasks_permission
...

Browser metrics Passed 4 tests

Taskbuilder - WordPress Project & Task Management plugin: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,865 ▲11914.15 ▼0.111.82 ▲0.0139.89 ▼3.54
Dashboard /wp-admin2,249 ▲755.60 ▲0.0581.21 ▼3.7464.09 ▲20.96
Posts /wp-admin/edit.php2,148 ▲481.95 ▼0.0534.10 ▼2.9137.91 ▲2.55
Add New Post /wp-admin/post-new.php1,594 ▲6823.11 ▲0.00729.74 ▲85.3469.80 ▲4.53
Media Library /wp-admin/upload.php1,451 ▲574.18 ▼0.0697.80 ▲4.0272.82 ▲29.90
Addons /wp-admin/admin.php?page=wppm-addons1,5153.8557.1476.72
Settings /wp-admin/admin.php?page=wppm-settings1,3853.9158.5472.70
License /wp-admin/admin.php?page=wppm-license1,1483.8949.3367.77
Email Notifications /wp-admin/admin.php?page=wppm-email-notifications1,2633.9247.5169.98
Tasks /wp-admin/admin.php?page=wppm-tasks1,4313.8950.1840.77
Projects /wp-admin/admin.php?page=wppm-projects1,3893.8951.3064.63

Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • The plugin did not uninstall successfully, leaving 13 tables in the database
    • wp_wppm_project_categories
    • wp_wppm_project_meta
    • wp_wppm_task_meta
    • wp_wppm_task_statuses
    • wp_wppm_task_comment
    • wp_wppm_attachments
    • wp_wppm_project_statuses
    • wp_wppm_task
    • wp_wppm_checklist_items
    • wp_wppm_project_users
    • ...
  • This plugin does not fully uninstall, leaving 16 options in the database
    • db_upgraded
    • wppm_version
    • wppm_project_time
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • wppm_default_edit_tasks_permission
    • theysaidso_admin_options
    • wppm_default_task_list_view
    • wppm_default_task_date
    • ...

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/taskbuilder/includes/admin/tasks/wppm_create_task.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
  • Tags: Please delete some tags, you are using 12 tag instead of maximum 10
The official readme.txt is a good inspiration

taskbuilder/taskbuilder.php Passed 13 tests

"Taskbuilder - WordPress Project & Task Management plugin" version 2.0.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
83 characters long description:
Wordpress Project & Task Management plugin. Easy to keep track of projects & tasks!

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 detected19,593 lines of code in 203 files:
LanguageFilesBlank linesComment linesLines of code
PHP1186712979,674
CSS944578,105
JavaScript8160681,528
SVG6603233
Markdown226053

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.49
Average class complexity30.75
▷ Minimum class complexity1.00
▷ Maximum class complexity125.00
Average method complexity2.14
▷ Minimum method complexity1.00
▷ Maximum method complexity26.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes8
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes787.50%
Methods208
▷ Static methods136.25%
▷ Public methods20297.12%
▷ Protected methods00.00%
▷ Private methods62.88%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants8
▷ Global constants8100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
12 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
asset/lib/DataTables/DataTables-1.10.25/images/sort_asc_disabled.png0.14KB0.25KB0.00%
asset/lib/DataTables/DataTables-1.10.25/images/sort_desc.png0.15KB0.25KB0.00%
asset/images/task1.png8.65KB5.38KB▼ 37.85%
asset/lib/DataTables/DataTables-1.10.25/images/sort_desc_disabled.png0.14KB0.25KB0.00%
asset/lib/DataTables/DataTables-1.10.25/images/sort_both.png0.20KB0.29KB0.00%