dnsdist: Format code #1865
codeql-analysis.yml
on: push
Matrix: Analyze
Force failure in case there are binaries present in a pull request
0s
Check whether clang-tidy succeeded
0s
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)
|