cnescatlab / cnescatlab/i-CodeCNES

False positives on SH.INST.Variables rule

Open
#185 0 comments 0 reactions 0 assignees View on GitHub
false positive shell to analyse
Dominant language
Fortran
Stars
63
Forks
18
PR merge metrics
No merged PRs in 30d

Description

### Expected behavior
For a awk syntax, we can not use {} or "" for the internal variables. A violation on SH.INST.Variables is not expected.

### Actual behavior
The following script
![image](https://user-images.githubusercontent.com/59566012/72166602-d7c9ef80-33c9-11ea-95d4-baf2a1f24bb2.png)

raises this i-Code result :
![image](https://user-images.githubusercontent.com/59566012/72166624-e1535780-33c9-11ea-9ceb-b70473898570.png)

### Steps to reproduce behavior

### Detection version
3.0

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.