Skip to content

SonarCloud: shell script hygiene #349

Description

@don-petry

SonarCloud: shell script hygiene

5 open SonarCloud finding(s) in petry-projects/TalkTerm, worst severity MAJOR. Generated by the org SonarCloud Audit.

View in SonarCloud →

Findings

Rule Count Representative message
shelldre:S7682 4 Add an explicit return statement at the end of the function.
shelldre:S1192 1 Define a constant instead of using the literal 'missing' 6 times.

Affected files

  • scripts/apply-repo-settings.test.sh (4)
  • scripts/apply-repo-settings.sh (1)

Priority

Labeled priority:major — mapped from this bucket's worst SonarCloud severity (MAJOR).

Acceptance

  • All findings in this workstream resolved to zero in SonarCloud
  • No behavior change; CI green
  • Real fixes (no blanket NOSONAR unless a confirmed false positive, noted inline)

Idempotent issue — updated automatically each audit run; auto-closed when the finding count reaches zero.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dev-leadFor dev-lead agent pickuppriority:majorSonarCloud MAJOR severitysonarcloud-auditSonarCloud audit finding (idempotent marker)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions