APAR status
Closed as program error.
Error description
As per the description of the rule from the MISRA_14_3.rl rule file, it states that ?A null statements shall only occur on a line by itself, and shall not have any other text on the same line? Hence I understand that no text is allowed on the same line after the null statement. I think the rule works are designed when checked for violations against the attached code. However, I do understand that as per the MISRA guidelines, MISRA rule 14.3 states that: Before preprocessing, a null statement shall only occur on a line by itself; it may be followed by a comment, provided that the first character following the null statement is a whitespace character. When the rule is checked for violations against the attached code, it does not report violations as expected.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** As per the description of the rule from the MISRA_14_3.rl rule file, it states that ?A null statements shall only occur on a line by itself, and shall not have any other text on the same line? Hence I understand that no text is allowed on the same line after the null statement. I think the rule works are designed when checked for violations against the attached code. However, I do understand that as per the MISRA guidelines, MISRA rule 14.3 states that: Before preprocessing, a null statement shall only occur on a line by itself; it may be followed by a comment, provided that the first character following the null statement is a whitespace character. When the rule is checked for violations against the attached code, it does not report violations as expected.
Problem conclusion
Fixed in Rational Logiscope 6.6.3 iFix2.
Temporary fix
Comments
APAR Information
APAR number
PM31547
Reported component name
TLOGIC LOGISCOP
Reported component ID
5724V81LS
Reported release
660
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-01-30
Closed date
2011-03-30
Last modified date
2011-03-30
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
TLOGIC LOGISCOP
Fixed component ID
5724V81LS
Applicable component levels
R660 PSN
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYQHS","label":"Rational Logiscope"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.6","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
30 March 2011