Maxim Integrated's IoT development kit
Dependencies: MAX30101 MAX30003 MAX113XX_Pixi MAX30205 max32630fthr USBDevice
tools/VisualCodeGrepper-2.1.0/cobolfunctions.conf@1:efe9cad8942f, 2018-03-13 (annotated)
- Committer:
- Mahir Ozturk
- Date:
- Tue Mar 13 14:52:59 2018 +0300
- Revision:
- 1:efe9cad8942f
Commit project files
Change-Id: I2188228f2a27e9a13e2407846e48b38c2596caa0
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Mahir Ozturk |
1:efe9cad8942f | 1 | // Functions known to cause issues in COBOL code. |
| Mahir Ozturk |
1:efe9cad8942f | 2 | // To add new issues use the format: function name[=>][[N]][description] |
| Mahir Ozturk |
1:efe9cad8942f | 3 | // (where N is a severity rating of 1 (Critical) to 3 (Medium) (or optionally, 0 for 'normal')) |
| Mahir Ozturk |
1:efe9cad8942f | 4 | // |
| Mahir Ozturk |
1:efe9cad8942f | 5 | // NB - function names are case-sensitive for this file |
| Mahir Ozturk |
1:efe9cad8942f | 6 | // |
| Mahir Ozturk |
1:efe9cad8942f | 7 | // Dangerous functionality |
| Mahir Ozturk |
1:efe9cad8942f | 8 | ALTER =>[3]This verb changes the behaviour of the program during execution. This results in difficulties testing, maintaining and ultimately ensuring correct execution. |
| Mahir Ozturk |
1:efe9cad8942f | 9 | ENTRY POINT=>[3]This statement is used to customize a function's behaviour but cause difficulties in understanding/reading the code. Treat it with the same caution as 'goto'. |
| Mahir Ozturk |
1:efe9cad8942f | 10 | |
| Mahir Ozturk |
1:efe9cad8942f | 11 | // 'considered harmful' |
| Mahir Ozturk |
1:efe9cad8942f | 12 | GOTO =>[3]Use of 'GOTO' function. The GOTO function can result in unstructured code which is difficult to maintain and can result in failures to initialise or de-allocate memory. |