InsightSoftwareConsortium / InsightSoftwareConsortium/ITK

Add a GHA workflow to perform static code analysis

Open
#4,243 0 comments 1 reaction 0 assignees View on GitHub
type:Infrastructure
Dominant language
C++
Stars
1.7k
Forks
748
Avg merge
1d 1h
Merged PRs (30d)
64

Description

### Description

Add a GHA workflow to perform static code analysis, using e.g. `cppcheck` or clang tools.

### Impact analysis

A static code analysis tools would allow to e.g. identify dangerous patterns, unreachable code, etc.

### Expected behavior

Improve the code base by passing all static syntax checks.

### Actual behavior

No static analysis is performed other than the analysis done locally by some maintainers and contributors.

### Versions

`master`.

### Environment

Any.

### Additional Information

N/A.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.