84% wikimotive-clickup-task-forms-free

Code Review | Wikimotive's Task Forms for ClickUp - Free

WordPress plugin Wikimotive's Task Forms for ClickUp - Free scored84%from 54 tests.

About plugin

  • Plugin page: wikimotive-clicku...
  • Plugin version: 1.0.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-5.4
  • WordPress version: 6.3.1
  • First release: Jul 10, 2020
  • Latest release: Sep 1, 2020
  • Number of updates: 12
  • Update frequency: every 4.6 days
  • Top authors: wikimotivedev (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /1,017 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.67MB] [CPU: ▼2.38ms] Passed 4 tests

Server-side resources used by Wikimotive's Task Forms for ClickUp - Free
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /4.11 ▲0.6546.08 ▼1.08
Dashboard /wp-admin3.98 ▲0.6756.63 ▼0.36
Posts /wp-admin/edit.php4.03 ▲0.6756.90 ▲4.31
Add New Post /wp-admin/post-new.php6.56 ▲0.6789.61 ▼12.36
Media Library /wp-admin/upload.php3.90 ▲0.6741.63 ▲4.27
Install Plugins /wp-admin/admin.php?page=ctf-req-plugins3.9036.52
ClickUp Forms /wp-admin/edit.php?post_type=ctf_form3.9441.83
API Integration /wp-admin/admin.php?page=ctf_options3.8037.04
Help /wp-admin/admin.php?page=ctf_help3.8141.89

Server storage [IO: ▲1.71MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 102 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
db_upgraded
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by Wikimotive's Task Forms for ClickUp - Free
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,143 ▲39713.63 ▼0.808.79 ▲7.1238.54 ▼3.60
Dashboard /wp-admin2,457 ▲2725.77 ▼0.05106.19 ▲2.7144.60 ▲1.24
Posts /wp-admin/edit.php2,303 ▲2142.08 ▼0.1042.53 ▲1.1140.62 ▲3.72
Add New Post /wp-admin/post-new.php1,571 ▲4823.57 ▲0.28653.08 ▼25.0953.37 ▼5.85
Media Library /wp-admin/upload.php1,672 ▲2844.27 ▼0.0098.05 ▼18.7747.11 ▼1.19
Install Plugins /wp-admin/admin.php?page=ctf-req-plugins1,1342.2226.3852.55
ClickUp Forms /wp-admin/edit.php?post_type=ctf_form1,2882.0035.9937.45
API Integration /wp-admin/admin.php?page=ctf_options1,0482.2226.1638.78
Help /wp-admin/admin.php?page=ctf_help1,1392.2130.5935.98

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
  • 24× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'ctfConfig' not found in wp-content/plugins/wikimotive-clickup-task-forms-free/includes/class-ctf-post-task.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'ctfConfig' not found in wp-content/plugins/wikimotive-clickup-task-forms-free/trunk/includes/class-ctf-api-call.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'ctfConfig' not found in wp-content/plugins/wikimotive-clickup-task-forms-free/includes/class-ctf-api-call.php:13
    • > PHP Fatal error
      Uncaught Error: Call to undefined function did_action() in wp-content/plugins/wikimotive-clickup-task-forms-free/trunk/includes/class-tgm-plugin-activation.php:2109
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wikimotive-clickup-task-forms-free/trunk/admin/partials/setup-wizard.php:97
    • > PHP Fatal error
      Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/wikimotive-clickup-task-forms-free/libs/meta-box-group/group-field.php:15
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wikimotive-clickup-task-forms-free/admin/partials/admin-messages.php:23
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wikimotive-clickup-task-forms-free/admin/partials/forms-cpt-fields.php:26
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wikimotive-clickup-task-forms-free/trunk/admin/partials/forms-cpt-fields.php:26
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wikimotive-clickup-task-forms-free/trunk/public/partials/shortcode.php:16

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

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
4 plugin tags: clickup, task management, forms, api integration

wikimotive-clickup-task-forms-free/wikimotive-clickup-task-forms-free.php 92% from 13 tests

The main PHP script in "Wikimotive's Task Forms for ClickUp - Free" version 1.0.1 is automatically included on every request by WordPress
The following require your attention:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 151 characters long)

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
Good job! No executable or dangerous file extensions detected3,803 lines of code in 33 files:
LanguageFilesBlank linesComment linesLines of code
PHP258402,5143,107
CSS48932492
JavaScript250102192
SVG10011
JSON1001

PHP code Passed 2 tests

An overview 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 code0.45
Average class complexity23.58
▷ Minimum class complexity1.00
▷ Maximum class complexity206.00
Average method complexity3.68
▷ Minimum method complexity1.00
▷ Maximum method complexity34.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes38
▷ Abstract classes00.00%
▷ Concrete classes38100.00%
▷ Final classes00.00%
Methods318
▷ Static methods4614.47%
▷ Public methods24276.10%
▷ Protected methods6420.13%
▷ Private methods123.77%
Functions62
▷ Named functions5893.55%
▷ Anonymous functions46.45%
Constants8
▷ Global constants225.00%
▷ Class constants675.00%
▷ Public constants6100.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
16 PNG files occupy 1.10MB with 0.78MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
trunk/admin/images/help-cloud_api.png110.63KB37.98KB▼ 65.67%
admin/images/help-integrations.png71.84KB22.41KB▼ 68.81%
trunk/admin/images/help-api-integrations-settings.png212.74KB52.83KB▼ 75.17%
admin/images/help-api-integrations-settings.png212.74KB52.83KB▼ 75.17%
admin/images/help-menu.png20.44KB5.95KB▼ 70.87%