master
1# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
2#
3# SPDX-License-Identifier: curl
4---
5# https://clang.llvm.org/extra/clang-tidy/
7# https://clang.llvm.org/extra/clang-tidy/checks/list.html
8Checks:
9 - clang-analyzer-*
10 - -clang-analyzer-optin.performance.Padding
11 - -clang-analyzer-security.ArrayBound # due to false positives with clang-tidy 21.1.0+
12 - -clang-analyzer-security.insecureAPI.bzero # for FD_ZERO() (seen on macOS)
13 - -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling
14 - -clang-diagnostic-nullability-extension
15 - bugprone-assert-side-effect
16 - bugprone-assignment-in-if-condition
17 - bugprone-assignment-in-selection-statement
18 - bugprone-chained-comparison
19 - bugprone-dynamic-static-initializers
20 - bugprone-invalid-enum-default-initialization
21 - bugprone-macro-parentheses
22 - bugprone-macro-repeated-side-effects
23 - bugprone-misplaced-operator-in-strlen-in-alloc
24 - bugprone-misplaced-pointer-arithmetic-in-alloc
25 - bugprone-not-null-terminated-result
26 - bugprone-posix-return
27 - bugprone-redundant-branch-condition
28 - bugprone-signed-char-misuse
29 - bugprone-sizeof-expression
30 - bugprone-suspicious-enum-usage
31 - bugprone-suspicious-memset-usage
32 - bugprone-suspicious-missing-comma
33 - bugprone-suspicious-realloc-usage
34 - bugprone-suspicious-semicolon
35 # bugprone-unchecked-string-to-number-conversion # needs converting sscanf to strtol or curlx_str_*
36 - misc-const-correctness
37 - misc-header-include-cycle
38 # misc-redundant-expression # undesired hits due to system macros, e.g. due to POLLIN == POLLRDNORM | POLLRDBAND, then or-ing all three
39 - portability-*
40 - readability-duplicate-include
41 # readability-else-after-return
42 # readability-enum-initial-value
43 # readability-function-cognitive-complexity
44 - readability-inconsistent-declaration-parameter-name
45 # readability-misleading-indentation # too many false positives in oddball/conditional source
46 - readability-named-parameter
47 # readability-redundant-casting # false positives in types that change from platform to platform, even with IgnoreTypeAliases: true
48 - readability-redundant-control-flow
49 - readability-redundant-declaration
50 - readability-redundant-function-ptr-dereference
51 # readability-redundant-nested-if # would need local suppression in a handful of cases
52 # - readability-redundant-parentheses
53 - readability-redundant-preprocessor
54 - readability-suspicious-call-argument
55 - readability-uppercase-literal-suffix
57CheckOptions:
58 misc-header-include-cycle.IgnoredFilesList: 'curl/curl.h'
59 readability-inconsistent-declaration-parameter-name.Strict: true
61HeaderFilterRegex: '.*' # Default in 22.1.0+
Diagnostics4 git calls · 338 ms
CallStatusSizeTime0338 ms
discover200152 B3 ms
git.upload-pack discover http.response.status_code=200 git.upstream.cf_ray=- git.upstream.phase=fetch git.upstream.dur_ms=2 git.response.bytes=152 git.server.agent=gitty/1.0 git.server.object_format=sha1 git.server.caps=agent ls-refs fetch object-format git.server.fetch=shallow filter sideband-all git.protocol.version=2 git.pkt.frames=8 git.pkt.data=6 git.pkt.flush=2 git.pkt.delim=0 git.pkt.bytes=152 git.pkt.payload.max=34
ls-refs200149 B · hit3 ms
git.upload-pack ls-refs http.response.status_code=200 git.upstream.cf_ray=- git.upstream.phase=ls-refs git.upstream.dur_ms=3 git.response.bytes=149 git.response.cache=HIT git.response.duration_ms=3 git.protocol.version=2 git.pkt.frames=3 git.pkt.data=2 git.pkt.flush=1 git.pkt.delim=0 git.pkt.bytes=149 git.pkt.payload.max=78 git.ls_refs.count=2 git.ls_refs.head=refs/heads/master
fetchblob:none · deepen 10200287 KiB · hit6 ms
git.upload-pack fetch http.response.status_code=200 git.upstream.cf_ray=- git.upstream.phase=fetch git.upstream.dur_ms=329 git.response.bytes=293470 git.response.cache=HIT git.response.duration_ms=6 git.fetch.filter=blob:none git.fetch.filter.requested=tree:0 git.fetch.filter.fallback=blob:none git.fetch.filter.learned=false git.fetch.wants=31c911efe5652725e930f4d2e60c9060e5f6646d git.fetch.haves.count=0 git.fetch.deepen=10 git.fetch.thin_pack=false git.fetch.ofs_delta=true git.protocol.version=2 git.pkt.frames=10 git.pkt.data=8 git.pkt.flush=1 git.pkt.delim=1 git.pkt.bytes=293470 git.pkt.payload.max=65516 git.sideband.band1.bytes=293354 git.sideband.band2.bytes=0 git.sideband.band3.bytes=0 git.pack.objects=87 git.pack.bytes=293354 git.pack.ofs_delta=0 git.pack.ref_delta=1 git.pack.chain.max=1 git.pack.trailer=6a646bcda6740bab42e321b51998b52ea15146c0 git.pack.full=86Open pack map
fetch2001.2 KiB329 ms
git.upload-pack fetch http.response.status_code=200 git.response.bytes=1187 git.response.cache=MISS git.response.duration_ms=329 git.fetch.wants=6685094fd333641f105e982c027eb93a60d79dfa git.fetch.haves.count=0 git.fetch.deepen=0 git.fetch.thin_pack=false git.fetch.ofs_delta=true git.protocol.version=2 git.pkt.frames=3 git.pkt.data=2 git.pkt.flush=1 git.pkt.delim=0 git.pkt.bytes=1187 git.pkt.payload.max=1166 git.sideband.band1.bytes=1165 git.sideband.band2.bytes=0 git.sideband.band3.bytes=0
Each row is one HTTP round trip ply made to the git server for this page, on one timeline. discover asks what the server speaks, ls-refs lists branch tips, fetch brings objects by id. A hit was served by Workers Cache. Tap a row for its wire details.
- Remote
- https://5ad2236b39de4c8bd8f6270ea63f3ea9.artifacts.cloudflare.net/git/public-v0/curl.git
- Ref
- refs/heads/master
- Commit
- 31c911efe5652725e930f4d2e60c9060e5f6646d
- cf-ray
- a5e39f7dfcbe689d
- Request
- e6b7aedb…
- Protocol
- v2 · sha1
- Agent
- gitty/1.0
- Filter
- advertised
- Fetch
- shallow filter sideband-all
- Capabilities
- agent ls-refs fetch object-format