In misra.py, the 17 Misra rules that CPPCheck already checks for are listed. None of these rules, except for 12.2 and 13.6, are defined in the MisraChecker class following it. However, both misra_12_2 and misra_13_6 are being called in parseDump, while Rule 22.4 is commented as being covered by CPPCheck when misra_22_4 is not defined. Wouldn't commenting out the calls for 12.2 and 13.6 (not deleting) make the parsing faster for very large code bases?
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In misra.py, the 17 Misra rules that CPPCheck already checks for are listed. None of these rules, except for 12.2 and 13.6, are defined in the MisraChecker class following it. However, both misra_12_2 and misra_13_6 are being called in parseDump, while Rule 22.4 is commented as being covered by CPPCheck when misra_22_4 is not defined. Wouldn't commenting out the calls for 12.2 and 13.6 (not deleting) make the parsing faster for very large code bases?
Thanks!