Skip to content

Feature #853 direct traffic to pcap #126

Feature #853 direct traffic to pcap

Feature #853 direct traffic to pcap #126

Triggered via pull request June 29, 2024 17:56
Status Success
Total duration 51s
Artifacts

c-linter.yml

on: pull_request
cpp-linter
41s
cpp-linter
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
src/common/sendpacket.c:237:45 [readability-identifier-length]: src/common/sendpacket.c#L237
parameter name 'sp' is too short, expected at least 3 characters
src/common/sendpacket.c:467:5 [bugprone-branch-clone]: src/common/sendpacket.c#L467
switch has 2 consecutive identical branches
src/common/sendpacket.c:543:14 [performance-no-int-to-ptr]: src/common/sendpacket.c#L543
integer to pointer cast pessimizes optimization opportunities
src/common/sendpacket.c:548:22 [performance-no-int-to-ptr]: src/common/sendpacket.c#L548
integer to pointer cast pessimizes optimization opportunities
src/common/sendpacket.c:843:19 [readability-identifier-length]: src/common/sendpacket.c#L843
variable name 'sp' is too short, expected at least 3 characters
src/common/sendpacket.c:858:10 [performance-no-int-to-ptr]: src/common/sendpacket.c#L858
integer to pointer cast pessimizes optimization opportunities
src/tcpreplay_api.c:144:1 [readability-function-cognitive-complexity]: src/tcpreplay_api.c#L144
function 'tcpreplay_post_args' has cognitive complexity of 93 (threshold 25)
src/tcpreplay_api.c:358:13 [bugprone-branch-clone]: src/tcpreplay_api.c#L358
if with identical then and else branches