temi54c1l8
|
7d1da22c82
|
CO_SDOclient: static analysis: essential type of condition of 'if' statement is 'unsigned8' but should be boolean [MISRA 2012 Rule 14.4, required]
|
2024-06-26 16:42:19 +02:00 |
|
temi54c1l8
|
c41d5b7cad
|
CO_SDOclient: static analysis: statement or comment should appear in default case [MISRA 2012 Rule 16.1, required], [MISRA 2012 Rule 16.4, required]
|
2024-06-26 16:38:28 +02:00 |
|
temi54c1l8
|
56466169cb
|
CO_SDOclient: static analysis: conditional of #if does not evaluate to 0 or 1 [MISRA 2012 Rule 20.8, required]
|
2024-06-26 16:35:59 +02:00 |
|
temi54c1l8
|
be69c270c3
|
CO_SDOclient: static analysis: the name 'abort' is reserved to the compiler [MISRA 2012 Rule 21.2, required]
|
2024-06-26 16:34:07 +02:00 |
|
temi54c1l8
|
d8811edba3
|
CO_SDOclient: static analysis: increment/decrement operation combined with other operation with side-effects [MISRA 2012 Rule 13.3, advisory]
|
2024-06-26 16:27:08 +02:00 |
|
temi54c1l8
|
340ba3f84e
|
CO_SDOclient: static analysis: departure from MISRA switch syntax: missing break or throw from switch-case [MISRA 2012 Rule 16.1, required]
|
2024-06-26 16:25:01 +02:00 |
|
temi54c1l8
|
41e637cb42
|
CO_SDOclient: static analysis: ignoring return value of function 'CO_SDOclient_setup' [MISRA 2012 Directive 4.7, required], [MISRA 2012 Rule 17.7, required]
|
2024-06-26 16:22:45 +02:00 |
|
temi54c1l8
|
022e1e0d75
|
CO_SDOclient: static analysis: enum constant case not used within default switch
|
2024-06-26 16:20:11 +02:00 |
|
temi54c1l8
|
40917a870e
|
CO_SDOclient: static analysis: no 'else' at end of 'if ... else if' chain [MISRA 2012 Rule 15.7, required]
|
2024-06-26 16:06:09 +02:00 |
|
temi54c1l8
|
4a8c750cbf
|
CO_fifo: static analysis: repeated include file 'string.h'
|
2024-06-26 15:40:05 +02:00 |
|
temi54c1l8
|
5749014c16
|
CO_fifo: static analysis: pointer subtraction [MISRA 2012 Rule 18.2, required]
|
2024-06-26 15:36:31 +02:00 |
|
temi54c1l8
|
36f7481778
|
CO_fifo: static analysis: no 'else' at end of 'if ... else if' chain [MISRA 2012 Rule 15.7, required]
|
2024-06-26 13:38:38 +02:00 |
|
temi54c1l8
|
8c36f03fc6
|
CO_fifo: static analysis: cannot assign value to different essential type [MISRA 2012 Rule 10.3, required]
|
2024-06-26 13:35:26 +02:00 |
|
temi54c1l8
|
a5004f4649
|
CO_fifo: static analysis: result of assignment operator used in right operand to '=' operator [MISRA 2012 Rule 13.4, advisory]
|
2024-06-26 13:14:11 +02:00 |
|
temi54c1l8
|
f6535def56
|
CO_fifo: static analysis: increment/decrement operation combined with other operation with side-effects [MISRA 2012 Rule 13.3, advisory]
|
2024-06-26 13:13:54 +02:00 |
|
temi54c1l8
|
376d86a5a4
|
CO_fifo: static analysis: side effects on right hand of logical operator, '||' [MISRA 2012 Rule 13.5, required]
(cherry picked from commit ea89548ebae934dc3acbcfd6fea15107389f8fd7)
|
2024-06-26 13:02:51 +02:00 |
|
temi54c1l8
|
c46bb96292
|
CO_fifo: static analysis: side effects on right hand of logical operator, '&&' [MISRA 2012 Rule 13.5, required]
(cherry picked from commit bd20c9d7dcf935bc81fb70d0a82df14f9c4442d5)
|
2024-06-26 13:02:36 +02:00 |
|
Janez
|
7850623700
|
Update CO_PDO.c: make eventTime, inhibitTime and syncStartValue optional in object dictionary.
|
2024-06-26 12:40:17 +02:00 |
|
Janez
|
3e08dd45d5
|
Update CO_Emergency.h: fix doxygen documentation comments
|
2024-06-26 12:27:02 +02:00 |
|
Janez
|
c643683b24
|
Update CO_ODinterface.c: fix memcpy boundary verification
|
2024-06-26 12:15:30 +02:00 |
|
temi54c1l8
|
11771f889c
|
CO_fifo: fix doxygen documentation comments
|
2024-06-26 11:45:23 +02:00 |
|
temi54c1l8
|
4bef46fb46
|
CO_fifo: static analysis: refactoring CO_fifo_readToken for loss of sign
|
2024-06-26 11:43:41 +02:00 |
|
temi54c1l8
|
d96ac7719e
|
CO_fifo: static analysis: body should be a compound statement [MISRA 2012 Rule 15.6, required]
|
2024-06-26 11:00:19 +02:00 |
|
temi54c1l8
|
29156e8ed7
|
CO_fifo: static analysis: refactoring changed enum with define to be able to use bitwise operators
|
2024-06-26 10:48:52 +02:00 |
|
temi54c1l8
|
1e9b6da4f3
|
CO_fifo: static analysis: ignoring return value of functions [MISRA 2012 Directive 4.7, required], [MISRA 2012 Rule 17.7, required]
|
2024-06-26 10:33:50 +02:00 |
|
temi54c1l8
|
5cf08656e1
|
Fix commit 29bb7992d2 won't respond with abort message, if segmented transfer is not supported
|
2024-06-26 08:50:45 +02:00 |
|
temi54c1l8
|
f7c7f9c104
|
Add more static analysis and MISRA.md
(cherry picked from commit ad337c3e9c4e879721ec432bc9a5d9a84a53c573)
# Conflicts:
# CANopen.c
|
2024-06-24 17:46:34 +02:00 |
|
temi54c1l8
|
8cccf6f379
|
minor fix after static analysis
|
2024-06-14 13:46:21 +02:00 |
|
temi54c1l8
|
f9d8bdeff3
|
static analysys: local variable 'data' could be pointer to const [MISRA 2012 Rule 8.13, advisory]
refactory CO_CANrxMsg_readData return const
|
2024-06-14 11:27:22 +02:00 |
|
temi54c1l8
|
d2770c4917
|
CO_SDOserver: static analysis: named parameter 'calculateCrc' of 'non-virtual' function 'readFromOd' not subsequently referenced [MISRA 2012 Rule 2.7, advisory]
|
2024-06-14 11:15:41 +02:00 |
|
temi54c1l8
|
c41aa14680
|
CO_PDO: static analysis: named parameter 'timerNext_us' of 'non-virtual' function 'CO_RPDO_process' not subsequently referenced [MISRA 2012 Rule 2.7, advisory]
|
2024-06-14 11:09:31 +02:00 |
|
temi54c1l8
|
8cc4dc1601
|
CO_HBconsumer: static analysis: local variable 'data' could be pointer to const [MISRA 2012 Rule 8.13, advisory]
|
2024-06-14 11:03:51 +02:00 |
|
temi54c1l8
|
41c9e742f8
|
CO_Emergency: static analysis: named parameter 'timeDifference_us' of 'non-virtual' function 'CO_EM_process' not subsequently referenced [MISRA 2012 Rule 2.7, advisory]
|
2024-06-14 10:59:43 +02:00 |
|
temi54c1l8
|
cac0f78b10
|
CO_LSSslave: static analysis: ANSI/ISO minimum translation limit of 31 'significant characters in an external identifier' exceeded, processing is unaffected
|
2024-06-14 10:42:39 +02:00 |
|
temi54c1l8
|
29bb7992d2
|
CO_SDOserver: static analysis: enum constants not used within default switch
|
2024-06-14 09:49:21 +02:00 |
|
temi54c1l8
|
cbf3df74e9
|
CO_SDOserver: static analysis: result of assignment operator used in right operand to '=' operator [MISRA 2012 Rule 13.4, advisory]
|
2024-06-14 09:47:16 +02:00 |
|
temi54c1l8
|
42cea36f3b
|
CO_LSSmaster and CO_LSSslave: static analysis: repeated include file 'string.h'
|
2024-06-14 09:12:52 +02:00 |
|
temi54c1l8
|
06834c1d14
|
O_SDOserver: static analysis: side effects on right hand of logical operator, '&&' [MISRA 2012 Rule 13.5, required]
because SDO->state is volatile
|
2024-06-14 09:02:17 +02:00 |
|
temi54c1l8
|
ab26145597
|
CO_Emergency: static analysis: side effects on right hand of logical operator, '&&' [MISRA 2012 Rule 13.5, required]
because em->CANtxBuff->bufferFull is volatile
|
2024-06-14 08:56:03 +02:00 |
|
temi54c1l8
|
35cefe09c3
|
CO_SDOserver: static analysis: cannot cast 'unsigned8' to wider essential type 'unsigned32' [MISRA 2012 Rule 10.8, required]
|
2024-06-14 08:52:07 +02:00 |
|
temi54c1l8
|
4cef8205c8
|
CO_ODinterface: static analysis: fix cast to correct address assignment and 'OD_IO_t::write' is potentially uninitialized [MISRA 2012 Rule 9.1, mandatory]
|
2024-06-14 08:43:01 +02:00 |
|
temi54c1l8
|
75909f4fa2
|
CO_ODinterface: static analysis: implicit conversion of enum 'ODR_t' to integral type 'int'
|
2024-06-14 08:29:04 +02:00 |
|
temi54c1l8
|
8af3ef3c6b
|
CO_SDOserver: static analysis: taking address of array
|
2024-06-14 08:26:34 +02:00 |
|
temi54c1l8
|
284ba1a41f
|
CO_LSSslave: static analysis: remove cast unnecessary
|
2024-06-14 08:20:26 +02:00 |
|
temi54c1l8
|
6990e11e7f
|
CO_LSSslave: static analysis: an unsigned value and a signed value cannot be used together as operands to - [MISRA 2012 Rule 10.4, required]
|
2024-06-14 08:13:08 +02:00 |
|
temi54c1l8
|
d4b4d29f0b
|
CO_LSSmaster and CO_LSSslave: static analysis: cannot assign 'enum' to different essential type [MISRA 2012 Rule 10.3, required]
refactoring convert enum to macro
|
2024-06-14 08:12:08 +02:00 |
|
temi54c1l8
|
47461cf08a
|
CO_LSSmaster: static analysis: cannot assign 'enum' to different essential type [MISRA 2012 Rule 10.3, required]
refactoring convert enum to macro
|
2024-06-13 16:30:10 +02:00 |
|
temi54c1l8
|
79aa366627
|
CO_LSSmaster: style changed , add space on if condition
|
2024-06-13 16:21:12 +02:00 |
|
temi54c1l8
|
22fe7b9bc6
|
CO_LSSmaster: static analysis: statement or comment should appear in default case [MISRA 2012 Rule 16.1, required], [MISRA 2012 Rule 16.4, required]
|
2024-06-13 16:12:13 +02:00 |
|
temi54c1l8
|
6ebd390160
|
CO_LSSmaster: departure from MISRA switch syntax: missing break or throw from switch-case [MISRA 2012 Rule 16.1, required]
refactoring change switch to if condition
|
2024-06-13 16:10:56 +02:00 |
|