Skip to content

dnsdist: Format code #1865

dnsdist: Format code

dnsdist: Format code #1865

Triggered via push January 29, 2024 15:47
Status Failure
Total duration 49m 31s
Artifacts
Matrix: Analyze
Force failure in case there are binaries present in a pull request
0s
Force failure in case there are binaries present in a pull request
Check whether clang-tidy succeeded
0s
Check whether clang-tidy succeeded
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
Check whether clang-tidy succeeded
DNSdist clang-tidy failed
Check whether clang-tidy succeeded
Process completed with exit code 1.
Analyze (cpp, dnsdist): pdns/dnsdistdist/test-dnsdistpacketcache_cc.cc#L40
variable name 'a' is too short, expected at least 3 characters (readability-identifier-length - Level=Warning)
Analyze (cpp, dnsdist): pdns/dnsdistdist/test-dnsdistpacketcache_cc.cc#L752
'push_back' is called inside a loop; consider pre-allocating the container capacity before the loop (performance-inefficient-vector-operation - Level=Warning)
Analyze (cpp, dnsdist): pdns/dnsdistdist/test-dnsdistpacketcache_cc.cc#L752
use emplace_back instead of push_back (modernize-use-emplace - Level=Warning)
Analyze (cpp, dnsdist): pdns/dnsdistdist/test-dnsdistpacketcache_cc.cc#L765
use emplace_back instead of push_back (modernize-use-emplace - Level=Warning)
Analyze (cpp, dnsdist): pdns/dnsdistdist/test-dnsdist_cc.cc#L376
do not use reinterpret_cast (cppcoreguidelines-pro-type-reinterpret-cast - Level=Warning)
Analyze (cpp, dnsdist): pdns/dnsdistdist/test-dnsdist_cc.cc#L1041
do not use C-style cast to convert between unrelated types (cppcoreguidelines-pro-type-cstyle-cast - Level=Warning)
Analyze (cpp, dnsdist): pdns/dnsdistdist/test-dnsdist_cc.cc#L1074
do not use C-style cast to convert between unrelated types (cppcoreguidelines-pro-type-cstyle-cast - Level=Warning)
Analyze (cpp, dnsdist): pdns/dnsdistdist/test-dnsdist_cc.cc#L1106
do not use C-style cast to convert between unrelated types (cppcoreguidelines-pro-type-cstyle-cast - Level=Warning)
Analyze (cpp, dnsdist): pdns/dnsdistdist/test-dnsdist_cc.cc#L1149
do not use reinterpret_cast (cppcoreguidelines-pro-type-reinterpret-cast - Level=Warning)
Analyze (cpp, dnsdist): pdns/dnsdistdist/test-dnsdist_cc.cc#L1149
do not use pointer arithmetic (cppcoreguidelines-pro-bounds-pointer-arithmetic - Level=Warning)