AUTOSAR C++ 14 是基于MISRA C++ 2008 进行补充完善的一套适用于汽车软件的编码规范。虽然AUTOSAR 官方发布了GuideLine文档,但是在使用工具执行静态检查时,并不清楚哪些规则是Required的,哪些规则是Advisory的。下面对AUTOSAR C++ 14的规则进行了整理:
Rule M0-1-1 (required, implementation, automated)
Rule M0-1-2 (required, implementation, automated)
Rule M0-1-3 (required, implementation, automated)
Rule M0-1-4 (required, implementation, automated)
Rule A0-1-1 (required, implementation, automated)
Rule A0-1-2 (required, implementation, automated)
Rule M0-1-8 (required, implementation, automated)
Rule M0-1-9 (required, implementation, automated)
Rule M0-1-10 (advisory, implementation, automated)
Rule A0-1-3 (required, implementation, automated)
Rule A0-1-4 (required, implementation, automated)
Rule A0-1-5 (required, implementation, automated)
Rule A0-1-6 (advisory, implementation, automated)
Rule M0-2-1 (required, implementation, automated)
Rule M0-3-1 (required, implementation / verification, non-automated)
Rule M0-3-2 (required, implementation, non-automated)
Rule M0-4-1 (required, implementation, non-automated)
Rule M0-4-2 (required, implementation, non-automated)
Rule A0-4-1 (required, infrastructure / toolchain, non-automated)
Rule A0-4-2 (required, implementation, automated)
Rule A0-4-3 (required, toolchain, automated)
Rule A0-4-4 (required, implementation, partially automated)
Rule A1-1-1 (required, implementation, automated)
Rule M1-0-2 (required, toolchain, non-automated)
Rule A1-1-2 (required, implementation / toolchain, non-automated)
Rule A1-1-3 (required, toolchain, non-automated)
Rule A1-2-1 (required, toolchain, non-automated)
Rule A1-4-1 (required, implementation / verification, non-automated)
Rule A1-4-3 (advisory, implementation, automated)
Rule A2-3-1 (required, architecture / design / implementation, automated)
Rule A2-5-1 (required, implementation, automated)
Rule A2-5-2 (required, implementation, automated)
Rule M2-7-1 (required, implementation, automated)
Rule A2-7-1 (required, implementation, automated)
Rule A2-7-2 (required, implementation, non-automated)
Rule A2-7-3 (required, implementation, automated)
Rule A2-7-5 (required, implementation, non-automated)
Rule A2-8-1 (required, architecture / design / implementation, non-automated)
Rule A2-8-2 (advisory, architecture / design / implementation, non-automated)
Rule M2-10-1 (required, architecture / design / implementation, automated)
Rule A2-10-1 (required, architecture / design / implementation, automated)
Rule A2-10-6 (required, implementation, automated)
Rule A2-10-4 (required, implementation, automated)
Rule A2-11-1 (required, design / implementation, automated)
Rule A2-13-1 (required, architecture / design / implementation, automated)
Rule A2-13-6 (required, architecture / design / implementation, automated)
Rule A2-13-5 (advisory, implementation, automated)
Rule M2-13-2 (required, architecture / design / implementation, automated)
Rule M2-13-3 (required, architecture / design / implementation, automated)
Rule M2-13-4 (required, architecture / design / implementation, automated)
Rule A2-13-2 (required, implementation, automated)
Rule A2-13-3 (required, architecture / design / implementation, automated)
Rule A2-13-4 (required, architecture / design / implementation, automated)
Rule A3-1-1 (required, architecture / design / implementation, automated)
Rule A3-1-2 (required, architecture / design / implementation, automated)
Rule A3-1-3 (advisory, architecture / design / implementation, automated)
Rule M3-1-2 (required, implementation, automated)
Rule A3-1-4 (required, design / implementation, automated)
Rule A3-1-5 (required, design, partially-automated)
Rule A3-1-6 (advisory, design, automated)
Rule M3-2-1 (required, implementation, automated)
Rule M3-2-2 (required, implementation, automated)
Rule M3-2-3 (required, implementation, automated)
Rule M3-2-4 (required, implementation, automated)
Rule A3-3-1 (required, implementation, automated)
Rule A3-3-2 (required, implementation, automated)
Rule M3-3-2 (required, implementation, automated)
Rule M3-4-1 (required, implementation, automated)
Rule A3-8-1 (required, implementation, not automated)
Rule M3-9-1 (required, implementation, automated)
Rule A3-9-1 (required, implementation, automated)
Rule M3-9-3 (required, implementation, automated)
Rule M4-5-1 (required, implementation, automated)
Rule A4-5-1 (required, implementation, automated)
Rule M4-5-3 (required, implementation, automated)
Rule A4-7-1 (required, implementation, automated)
Rule M4-10-1 (required, implementation, automated)
Rule A4-10-1 (required, architecture / design / implementation, automated)
Rule M4-10-2 (required, implementation, automated)
Rule A5-0-1 (required, implementation, automated)
Rule M5-0-2 (advisory, implementation, partially automated)
Rule M5-0-3 (required, implementation, automated)
Rule M5-0-4 (required, implementation, automated)
Rule M5-0-5 (required, implementation, automated)
Rule M5-0-6 (required, implementation, automated)
Rule M5-0-7 (required, implementation, automated)
Rule M5-0-8 (required, implementation, automated)
Rule M5-0-9 (required, implementation, automated)
Rule M5-0-10 (required, implementation, automated)
Rule M5-0-11 (required, implementation, automated)
Rule M5-0-12 (required, implementation, automated)
Rule A5-0-2 (required, implementation, automated)
Rule M5-0-14 (required, implementation, automated)
Rule M5-0-15 (required, implementation, automated)
Rule M5-0-16 (required, implementation, automated)
Rule M5-0-17 (required, implementation, automated)
Rule A5-0-4 (required, implementation, automated)
Rule M5-0-18 (required, implementation, automated)
Rule A5-0-3 (required, implementation, automated)
Rule M5-0-20 (required, implementation, automated)
Rule M5-0-21 (required, implementation, automated)
Rule A5-1-1 (required, implementation, partially automated)
Rule A5-1-2 (required, implementation, automated)
Rule A5-1-3 (required, implementation, automated)
Rule A5-1-4 (required, implementation, automated)
Rule A5-1-6 (advisory, implementation, automated)
Rule A5-1-7 (required, implementation, automated)
Rule A5-1-8 (advisory, implementation, automated)
Rule A5-1-9 (advisory, implementation, automated)
Rule M5-2-2 (required, implementation, automated)
Rule M5-2-3 (advisory, implementation, automated)
Rule A5-2-1 (advisory, implementation, automated)
Rule A5-2-2 (required, implementation, automated)
Rule A5-2-3 (required, implementation, automated)
Rule M5-2-6 (required, implementation, automated)
Rule A5-2-4 (required, implementation, automated)
Rule A5-2-6 (required, implementation, automated)
Rule M5-2-8 (required, implementation, automated)
Rule M5-2-9 (required, implementation, automated)
Rule M5-2-10 (required, implementation, automated)
Rule M5-2-11 (required, implementation, automated)
Rule A5-2-5 (required, implementation, automated)
Rule M5-2-12 (required, implementation, automated)
Rule M5-3-1 (required, implementation, automated)
Rule M5-3-2 (required, implementation, automated)
Rule M5-3-3 (required, implementation, automated)
Rule M5-3-4 (required, implementation, automated)
Rule A5-3-1 (required, implementation, non-automated)
Rule A5-3-2 (required, implementation, partially automated)
Rule A5-3-3 (required, implementation, automated)
Rule A5-5-1 (required, implementation, automated)
Rule A5-6-1 (required, implementation, automated)
Rule M5-8-1 (required, implementation, partially automated)
Rule A5-10-1 (required, implementation, automated)
Rule M5-14-1 (required, implementation, automated)
Rule A5-16-1 (required, implementation, automated)
Rule M5-17-1 (required, implementation, non-automated)
Rule M5-18-1 (required, implementation, automated)
Rule M5-19-1 (required, implementation, automated)
Rule M6-2-1 (required, implementation, automated)
Rule A6-2-1 (required, implementation, automated)
Rule A6-2-2 (required, implementation, automated)
Rule M6-2-2 (required, implementation, partially automated)
Rule M6-2-3 (required, implementation, automated)
Rule M6-3-1 (required, implementation, automated)
Rule M6-4-1 (required, implementation, automated)
Rule M6-4-2 (required, implementation, automated)
Rule M6-4-3 (required, implementation, automated)
Rule M6-4-4 (required, implementation, automated)
Rule M6-4-5 (required, implementation, automated)
Rule M6-4-6 (required, implementation, automated)
Rule M6-4-7 (required, implementation, automated)
Rule A6-4-1 (required, implementation, automated)
Rule A6-5-1 (required, implementation, automated)
Rule A6-5-2 (required, implementation, automated)
Rule M6-5-2 (required, implementation, automated)
Rule M6-5-3 (required, implementation, automated)
Rule M6-5-4 (required, implementation, automated)
Rule M6-5-5 (required, implementation, automated)
Rule M6-5-6 (required, implementation, automated)
Rule A6-5-3 (advisory, implementation, automated)
Rule A6-5-4 (advisory, implementation, automated)
Rule A6-6-1 (required, implementation, automated)
Rule M6-6-1 (required, implementation, automated)
Rule M6-6-2 (required, implementation, automated)
Rule M6-6-3 (required, implementation, automated)
Rule A7-1-1 (required, implementation, automated)
Rule A7-1-2 (required, implementation, automated)
Rule M7-1-2 (required, implementation, automated)
Rule A7-1-3 (required, implementation, automated)
Rule A7-1-4 (required, implementation, automated)
Rule A7-1-5 (required, implementation, automated)
Rule A7-1-6 (required, implementation, automated)
Rule A7-1-7 (required, implementation, automated)
Rule A7-1-8 (required, implementation, automated)
Rule A7-1-9 (required, implementation, automated)
Rule A7-2-1 (required, implementation, automated)
Rule A7-2-2 (required, implementation, automated)
Rule A7-2-3 (required, implementation, automated)
Rule A7-2-4 (required, implementation, automated)
Rule A7-2-5 (advisory, design, non-automated)
Rule M7-3-1 (required, implementation, automated)
Rule M7-3-2 (required, implementation, automated)
Rule M7-3-3 (required, implementation, automated)
Rule M7-3-4 (required, implementation, automated)
Rule A7-3-1 (required, implementation, automated)
Rule M7-3-6 (required, implementation, automated)
Rule A7-4-1 (required, implementation, automated)
Rule M7-4-1 (required, implementation, non-automated)
Rule M7-4-2 (required, implementation, automated)
Rule M7-4-3 (required, implementation, automated)
Rule M7-5-1 (required, implementation, non-automated)
Rule M7-5-2 (required, implementation, non-automated)
Rule A7-5-1 (required, implementation, automated)
Rule A7-5-2 (required, implementation, automated)
Rule A7-6-1 (required, implementation, automated)
Rule M8-0-1 (required, implementation, automated)
Rule A8-2-1 (required, implementation, automated)
Rule M8-3-1 (required, implementation, automated)
Rule A8-4-1 (required, implementation, automated)
Rule M8-4-2 (required, implementation, automated)
Rule A8-4-2 (required, implementation, automated)
Rule M8-4-4 (required, implementation, automated)
Rule A8-4-3 (advisory, design, non-automated)
Rule A8-4-4 (advisory, design, automated)
Rule A8-4-5 (required, design, automated)
Rule A8-4-6 (required, design, automated)
Rule A8-4-7 (required, design, automated)
Rule A8-4-8 (required, design, automated)
Rule A8-4-9 (required, design, automated)
Rule A8-4-10 (required, design, automated)
Rule A8-4-11 (required, design, automated)
Rule A8-4-12 (required, design, automated)
Rule A8-4-13 (required, design, automated)
Rule A8-4-14 (required, design, non-automated)
Rule A8-5-0 (required, implementation, automated)
Rule A8-5-1 (required, implementation, automated)
Rule M8-5-2 (required, implementation, automated)
Rule A8-5-2 (required, implementation, automated)
Rule A8-5-3 (required, implementation, automated)
Rule A8-5-4 (advisory, implementation, automated)
Rule M9-3-1 (required, implementation, automated)
Rule A9-3-1 (required, implementation, partially automated)
Rule M9-3-3 (required, implementation, automated)
Rule A9-5-1 (required, implementation, automated)
Rule M9-6-1 (required, implementation, non-automated)
Rule A9-6-1 (required, design, partially automated)
Rule A9-6-2 (required, design, non-automated)
Rule M9-6-4 (required, implementation, automated)
Rule A10-0-1 (required, design, non-automated)
Rule A10-0-2 (required, design, non-automated)
Rule A10-1-1 (required, implementation, automated)
Rule M10-1-1 (advisory, implementation, automated)
Rule M10-1-2 (required, implementation, automated)
Rule M10-1-3 (required, implementation, automated)
Rule M10-2-1 (advisory, implementation, automated)
Rule A10-2-1 (required, implementation, automated)
Rule A10-3-1 (required, implementation, automated)
Rule A10-3-2 (required, implementation, automated)
Rule A10-3-3 (required, implementation, automated)
Rule A10-3-5 (required, implementation, automated)
Rule M10-3-3 (required, implementation, automated)
Rule A10-4-1 (advisory, design, non-automated)
Rule M11-0-1 (required, implementation, automated)
Rule A11-0-1 (advisory, implementation, automated)
Rule A11-0-2 (required, implementation, automated)
Rule A11-3-1 (required, implementation, automated)
Rule A12-0-1 (required, implementation, automated)
Rule A12-0-2 (required, implementation, partially automated)
Rule A12-1-1 (required, implementation, automated)
Rule M12-1-1 (required, implementation, automated)
Rule A12-1-2 (required, implementation, automated)
Rule A12-1-3 (required, implementation, automated)
Rule A12-1-4 (required, implementation, automated)
Rule A12-1-5 (required, implementation, partially automated)
Rule A12-1-6 (required, implementation, automated)
Rule A12-4-1 (required, implementation, automated)
Rule A12-4-2 (advisory, implementation, automated)
Rule A12-6-1 (required, implementation, automated)
Rule A12-7-1 (required, implementation, automated)
Rule A12-8-1 (required, implementation, automated)
Rule A12-8-2 (advisory, implementation, automated)
Rule A12-8-3 (required, implementation, partially automated)
Rule A12-8-4 (required, implementation, automated)
Rule A12-8-5 (required, implementation, automated)
Rule A12-8-6 (required, implementation, automated)
Rule A12-8-7 (advisory, implementation, automated)
Rule A13-1-2 (required, implementation, automated)
Rule A13-1-3 (required, implementation, automated)
Rule A13-2-1 (required, implementation, automated)
Rule A13-2-2 (required, implementation, automated)
Rule A13-2-3 (required, implementation, automated)
Rule A13-3-1 (required, implementation, automated)
Rule A13-5-1 (required, implementation, automated)
Rule A13-5-2 (required, implementation, automated)
Rule A13-5-3 (advisory, implementation, automated)
Rule A13-5-4 (required, implementation, automated)
Rule A13-5-5 (required, implementation, automated)
Rule A13-6-1 (required, implementation, automated)
Rule A14-1-1 (advisory, implementation, non-automated)
Rule A14-5-1 (required, implementation, automated)
Rule A14-5-2 (advisory, design, partially-automated)
Rule A14-5-3 (advisory, design, automated)
Rule M14-5-3 (required, implementation, automated)
Rule M14-6-1 (required, implementation, automated)
Rule A14-7-1 (required, implementation, automated)
Rule A14-7-2 (required, implementation, automated)
Rule A14-8-2 (required, implementation, automated)
Rule A15-0-1 (required, architecture / design / implementation, non-automated)
Rule A15-0-2 (required, architecture / design / implementation, partially automated)
Rule A15-0-3 (required, implementation, non-automated)
Rule A15-0-4 (required, architecture / design / implementation, non-automated)
Rule A15-0-5 (required, architecture / design / implementation, non-automated)
Rule A15-0-6 (required, verification / toolchain, non-automated)
Rule A15-0-7 (required, verification / toolchain, partially automated)
Rule A15-0-8 (required, verification / toolchain, non-automated)
Rule A15-1-1 (advisory, implementation, automated)
Rule A15-1-2 (required, implementation, automated)
Rule M15-0-3 (required, implementation, automated)
Rule M15-1-1 (required, implementation, automated)
Rule M15-1-2 (required, implementation, automated)
Rule M15-1-3 (required, implementation, automated)
Rule A15-1-3 (advisory, implementation, automated)
Rule A15-1-4 (required, implementation, partially automated)
Rule A15-1-5 (required, implementation, non-automated)
Rule A15-2-1 (required, implementation, automated)
Rule A15-2-2 (required, implementation, partially automated)
Rule M15-3-1 (required, implementation, automated)
Rule A15-3-2 (required, implementation, non-automated)
Rule A15-3-3 (required, implementation, partially-automated)
Rule A15-3-4 (required, implementation, non-automated)
Rule M15-3-3 (required, implementation, automated)
Rule M15-3-4 (required, implementation, automated)
Rule A15-3-5 (required, implementation, automated)
Rule M15-3-6 (required, implementation, automated)
Rule M15-3-7 (required, implementation, automated)
Rule A15-4-1 (required, implementation, automated)
Rule A15-4-2 (required, implementation, automated)
Rule A15-4-3 (required, implementation, automated)
Rule A15-4-4 (required, implementation, automated)
Rule A15-4-5 (required, implementation, automated)
Rule A15-5-1 (required, implementation, automated)
Rule A15-5-2 (required, implementation, partially automated)
Rule A15-5-3 (required, implementation, automated)
Rule A16-0-1 (required, implementation, automated)
Rule M16-0-1 (required, implementation, automated)
Rule M16-0-2 (required, implementation, automated)
Rule M16-0-5 (required, implementation, automated)
Rule M16-0-6 (required, implementation, automated)
Rule M16-0-7 (required, implementation, automated)
Rule M16-0-8 (required, implementation, automated)
Rule M16-1-1 (required, implementation, automated)
Rule M16-1-2 (required, implementation, automated)
Rule M16-2-3 (required, implementation, automated)
Rule A16-2-1 (required, implementation, automated)
Rule A16-2-2 (required, implementation, automated)
Rule A16-2-3 (required, implementation, non-automated)
Rule M16-3-1 (required, implementation, automated)
Rule M16-3-2 (advisory, implementation, automated)
Rule A16-6-1 (required, implementation, automated)
Rule A16-7-1 (required, implementation, automated)
Rule A17-0-1 (required, implementation, automated)
Rule M17-0-2 (required, implementation, automated)
Rule M17-0-3 (required, implementation, automated)
Rule A17-0-2 (required, implementation, non-automated)
Rule M17-0-5 (required, implementation, automated)
Rule A17-1-1 (required, implementation, non-automated)
Rule A17-6-1 (required, implementation, automated)
Rule A18-0-1 (required, implementation, automated)
Rule A18-0-2 (required, implementation, automated)
Rule M18-0-3 (required, implementation, automated)
Rule M18-0-4 (required, implementation, automated)
Rule M18-0-5 (required, implementation, automated)
Rule A18-0-3 (required, implementation, automated)
Rule A18-1-1 (required, implementation, automated)
Rule A18-1-2 (required, implementation, automated)
Rule A18-1-3 (required, implementation, automated)
Rule A18-1-4 (required, implementation, automated)
Rule A18-1-6 (required, implementation, automated)
Rule M18-2-1 (required, implementation, automated)
Rule A18-5-1 (required, implementation, automated)
Rule A18-5-2 (required, implementation, partially automated)
Rule A18-5-3 (required, implementation, automated)
Rule A18-5-4 (required, implementation, automated)
Rule A18-5-5 (required, toolchain, partially automated)
Rule A18-5-6 (required, verification / toolchain, non-automated)
Rule A18-5-7 (required, implementation, non-automated)
Rule A18-5-8 (required, implementation, partially automated)
Rule A18-5-9 (required, implementation, automated)
Rule A18-5-10 (required, implementation, automated)
Rule A18-5-11 (required, implementation, automated)
Rule M18-7-1 (required, implementation, automated)
Rule A18-9-1 (required, implementation, automated)
Rule A18-9-2 (required, implementation, automated)
Rule A18-9-3 (required, implementation, automated)
Rule A18-9-4 (required, implementation, automated)
Rule M19-3-1 (required, implementation, automated)
Rule A20-8-1 (required, implementation, automated)
Rule A20-8-2 (required, implementation, automated)
Rule A20-8-3 (required, implementation, automated)
Rule A20-8-4 (required, implementation, automated)
Rule A20-8-5 (required, implementation, automated)
Rule A20-8-6 (required, implementation, automated)
Rule A20-8-7 (required, implementation, non-automated)
Rule A21-8-1 (required, implementation, automated)
Rule A23-0-1 (required, implementation, automated)
Rule A23-0-2 (required, implementation, automated)
Rule A25-1-1 (required, implementation, automated)
Rule A25-4-1 (required, implementation, non-automated)
Rule A26-5-1 (required, implementation, automated)
Rule A26-5-2 (required, implementation, automated)
Rule M27-0-1 (required, implementation, automated)
Rule A27-0-1 (required, implementation, non-automated)
Rule A27-0-4 (required, implementation, automated)
Rule A27-0-2 (advisory, implementation, automated)
Rule A27-0-3 (required, implementation, automated)