leducp / KickCAT

A C++ open source EtherCAT master stack
Other
58 stars 12 forks source link

Shorten path for debug and error traces #117

Closed Rdk-T closed 1 year ago

Rdk-T commented 1 year ago

Previous display:

DEBUG: /home/theo/wdc_workspace/src/KickCAT/src/Frame.cc:221: read() failed
DEBUG: /home/theo/wdc_workspace/src/KickCAT/src/Link.cc:263: redundancy read fail
/home/theo/wdc_workspace/src/KickCAT/examples/easycat/easycat_example.cc:112: something bad happened at 2534 delta: 1

New display:

DEBUG: Frame.cc:221 read() failed
DEBUG: Link.cc:263 redundancy read fail
easycat_example.cc:112: something bad happened at 14601 delta: 1
github-actions[bot] commented 1 year ago

File Coverage Lines Branches
All files 74% 78% 69% :x:
include/kickcat/Bus.h 63% 100% 27% :x:
include/kickcat/DebugHelpers.h 83% 100% 66% :white_check_mark:
include/kickcat/Error.h 91% 100% 83% :white_check_mark:
include/kickcat/Gateway.h 75% 100% 50% :white_check_mark:
include/kickcat/Link.h 92% 85% 100% :white_check_mark:
include/kickcat/Mailbox.h 92% 100% 85% :white_check_mark:
include/kickcat/protocol.h 66% 66% 0% :x:
simulation/ESC.cc 0% 0% 0% :x:
simulation/ESC.h 0% 0% 0% :x:
simulation/network_simulator.cc 0% 0% 0% :x:
src/Bus.cc 90% 92% 89% :white_check_mark:
src/CoE.cc 84% 95% 74% :white_check_mark:
src/Frame.cc 85% 92% 77% :white_check_mark:
src/Link.cc 96% 99% 94% :white_check_mark:
src/Mailbox.cc 85% 88% 81% :white_check_mark:
src/Prints.cc 93% 93% 93% :white_check_mark:
src/Slave.cc 82% 81% 84% :white_check_mark:
src/Time.cc 28% 28% 0% :x:
src/protocol.cc 79% 83% 76% :white_check_mark:

Minimum allowed coverage is 75%

Generated by :monkey: cobertura-action against 54290547d1639cc18cad2d57b1562c79a20d94a7