Skip to content

additions - #41

Merged
cB-Abhinav-Gautam merged 1 commit into
mainfrom
feature/additions
Mar 11, 2026
Merged

cB-Abhinav-Gautam merged 1 commit into
mainfrom
feature/additions

additions

42d04fb
Select commit
Loading
Failed to load commit list.
Codebucket-SonarQube / SonarQube Code Analysis failed Mar 11, 2026 in 33s

Quality Gate failed

Failed Quality Gate failed

  • 0.00% Security Hotspots Reviewed on New Code (is less than 100.00%)
  • 25 New Issues (is greater than 0)

Project ID: Codebucket-Solutions_node-template_f63a063e-1f88-4da3-b0be-b4fb5a006098

View in SonarQube

Annotations

Check notice on line 1 in models/workflow_escalation_matrix.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

models/workflow_escalation_matrix.js#L1

The function should be named.

Check notice on line 1 in models/workflow_application_registry.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

models/workflow_application_registry.js#L1

The function should be named.

Check notice on line 1 in models/workflow_action.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

models/workflow_action.js#L1

The function should be named.

Check notice on line 1 in models/assigner_rule.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

models/assigner_rule.js#L1

The function should be named.

Check notice on line 1 in models/assignment.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

models/assignment.js#L1

The function should be named.

Check warning on line 2 in utils/upload.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

utils/upload.js#L2

Prefer `node:path` over `path`.

Check notice on line 39 in utils/upload.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

utils/upload.js#L39

Prefer `String#replaceAll()` over `String#replace()`.

Check notice on line 40 in utils/upload.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

utils/upload.js#L40

Prefer `String#replaceAll()` over `String#replace()`.

Check notice on line 71 in utils/upload.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

utils/upload.js#L71

Prefer `String#replaceAll()` over `String#replace()`.

Check notice on line 82 in utils/upload.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

utils/upload.js#L82

Prefer `String#replaceAll()` over `String#replace()`.

Check notice on line 118 in utils/upload.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

utils/upload.js#L118

Unexpected negated condition.

Check warning on line 1 in scripts/score-quality.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

scripts/score-quality.js#L1

Prefer `node:fs` over `fs`.

Check warning on line 2 in scripts/score-quality.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

scripts/score-quality.js#L2

Prefer `node:path` over `path`.

Check warning on line 1 in scripts/validate-docs.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

scripts/validate-docs.js#L1

Prefer `node:fs` over `fs`.

Check warning on line 2 in scripts/validate-docs.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

scripts/validate-docs.js#L2

Prefer `node:path` over `path`.

Check warning on line 1 in scripts/new-plan.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

scripts/new-plan.js#L1

Prefer `node:fs` over `fs`.

Check warning on line 2 in scripts/new-plan.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

scripts/new-plan.js#L2

Prefer `node:path` over `path`.

Check notice on line 130 in service/v1/workflow-engine/workflow-support.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

service/v1/workflow-engine/workflow-support.js#L130

Use 'Object.hasOwn()' instead of 'Object.prototype.hasOwnProperty.call()'.

Check notice on line 134 in service/v1/workflow-engine/workflow-support.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

service/v1/workflow-engine/workflow-support.js#L134

Prefer `String#replaceAll()` over `String#replace()`.

Check notice on line 139 in service/v1/workflow-engine/workflow-support.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

service/v1/workflow-engine/workflow-support.js#L139

Use 'Object.hasOwn()' instead of 'Object.prototype.hasOwnProperty.call()'.

Check warning on line 12 in service/v1/workflow-engine/workflow-actions.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

service/v1/workflow-engine/workflow-actions.js#L12

Prefer using an optional chain expression instead, as it's more concise and easier to read.

Check warning on line 19 in service/v1/workflow-engine/workflow.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

service/v1/workflow-engine/workflow.js#L19

Prefer using an optional chain expression instead, as it's more concise and easier to read.

Check failure on line 66 in service/v1/workflow-engine/workflow.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

service/v1/workflow-engine/workflow.js#L66

Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.

Check warning on line 86 in service/v1/workflow-engine/workflow.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

service/v1/workflow-engine/workflow.js#L86

Prefer using an optional chain expression instead, as it's more concise and easier to read.

Check warning on line 118 in service/v1/workflow-engine/workflow.js

See this annotation in the file changed.

@codebucket-sonarqube codebucket-sonarqube / SonarQube Code Analysis

service/v1/workflow-engine/workflow.js#L118

Remove this useless assignment to variable "assignmentId".