facebookincubator / katran
File Size

The distribution of size of files (measured in lines of code).

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 200 files with 26,706 lines of code.
    • 1 very long files (2,056 lines of code)
    • 10 long files (6,886 lines of code)
    • 26 medium size files (7,814 lines of codeclsfd_ftr_w_mp_ins)
    • 36 small files (4,902 lines of code)
    • 127 very small files (5,048 lines of code)
7% | 25% | 29% | 18% | 18%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
cpp25% | 9% | 35% | 18% | 12%
py0% | 49% | 27% | 18% | 4%
h0% | 20% | 27% | 16% | 35%
c0% | 52% | 16% | 8% | 21%
cmake0% | 29% | 24% | 14% | 31%
go0% | 0% | 41% | 38% | 20%
proto0% | 0% | 0% | 100% | 0%
thrift0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
lua0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
katran/lib15% | 21% | 23% | 18% | 21%
build/fbcode_builder0% | 46% | 27% | 13% | 11%
tools/xdpdump0% | 0% | 59% | 13% | 27%
example_grpc/goclient0% | 0% | 82% | 17% | 0%
example/client0% | 0% | 70% | 20% | 9%
example_grpc0% | 0% | 58% | 32% | 8%
example0% | 0% | 50% | 0% | 49%
katran/decap0% | 0% | 34% | 18% | 47%
tools/start_katran0% | 0% | 0% | 59% | 40%
tools/tcpdump_encap_helper0% | 0% | 0% | 100% | 0%
example_grpc/protos0% | 0% | 0% | 100% | 0%
cmake0% | 0% | 0% | 0% | 100%
tools/wireshark0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
KatranLb.cpp
in katran/lib
2056 91
getdeps.py
in build/fbcode_builder
993 41
bpf.h
in katran/lib/linux_includes
851 -
builder.py
in build/fbcode_builder/getdeps
822 48
BpfAdapter.cpp
in katran/lib
741 51
balancer_kern.c
in katran/lib/bpf
648 1
cmake
FBPythonBinary.cmake
in build/fbcode_builder/CMake
646 -
fb_py_test_main.py
in build/fbcode_builder/CMake
566 60
fetcher.py
in build/fbcode_builder/getdeps
550 59
manifest.py
in build/fbcode_builder/getdeps
548 29
bpf_helpers.h
in katran/lib/linux_includes
521 -
katranc.go
in example_grpc/goclient/src/katranc/katranc
485 31
KatranSimpleClient.cpp
in example/client
473 27
buildopts.py
in build/fbcode_builder/getdeps
434 20
katran_tester.cpp
in katran/lib/testing
426 13
fbcode_builder.py
in build/fbcode_builder
391 36
KatranGrpcService.cpp
in example_grpc
372 23
pckt_encap.h
in katran/lib/bpf
355 -
dyndeps.py
in build/fbcode_builder/getdeps
309 34
BpfLoader.cpp
in katran/lib
305 13
cargo.py
in build/fbcode_builder/getdeps
295 17
287 22
csum_helpers.h
in katran/lib/bpf
284 -
XdpDump.cpp
in tools/xdpdump
280 18
BpfTester.cpp
in katran/lib/testing
273 9
cmake
RustStaticLibrary.cmake
in build/fbcode_builder/CMake
267 -
cmake
FindSodium.cmake
in build/fbcode_builder/CMake
265 -
pckt_parsing.h
in katran/lib/bpf
252 1
KatranLb.h
in katran/lib
245 5
handle_icmp.h
in katran/lib/bpf
245 -
make_fbpy_archive.py
in build/fbcode_builder/CMake
243 13
KatranTestProvision.cpp
in katran/lib/testing
234 29
load.py
in build/fbcode_builder/getdeps
228 28
XdpDumpKern.h
in tools/xdpdump
227 5
KatranSimulator.cpp
in katran/lib
219 10
KatranGueTestFixtures.h
in katran/lib/testing
214 -
decap_kern.c
in katran/decap/bpf
206 1
tcpdump_encap_helper.py
in tools/tcpdump_encap_helper
196 7
BpfAdapter.h
in katran/lib
191 -
platform.py
in build/fbcode_builder/getdeps
187 17
PcapWriter.cpp
in katran/lib
186 8
cmake
FBThriftCppLibrary.cmake
in build/fbcode_builder/CMake
180 -
healthchecking_helpers.h
in katran/lib/bpf
177 -
fplane_testing.py
in katran/lib/testing
176 9
balancer_consts.h
in katran/lib/bpf
166 -
163 8
KatranMonitor.cpp
in katran/lib
159 9
KatranTestUtil.cpp
in katran/lib/testing
154 3
KatranLbStructs.h
in katran/lib
152 1
PcapParser.cpp
in katran/lib/testing
152 5
Files With Most Units (Top 50)
File# lines# units
KatranLb.cpp
in katran/lib
2056 91
fb_py_test_main.py
in build/fbcode_builder/CMake
566 60
fetcher.py
in build/fbcode_builder/getdeps
550 59
BpfAdapter.cpp
in katran/lib
741 51
builder.py
in build/fbcode_builder/getdeps
822 48
getdeps.py
in build/fbcode_builder
993 41
fbcode_builder.py
in build/fbcode_builder
391 36
dyndeps.py
in build/fbcode_builder/getdeps
309 34
katranc.go
in example_grpc/goclient/src/katranc/katranc
485 31
manifest.py
in build/fbcode_builder/getdeps
548 29
KatranTestProvision.cpp
in katran/lib/testing
234 29
load.py
in build/fbcode_builder/getdeps
228 28
KatranSimpleClient.cpp
in example/client
473 27
KatranGrpcService.cpp
in example_grpc
372 23
expr.py
in build/fbcode_builder/getdeps
120 23
287 22
envfuncs.py
in build/fbcode_builder/getdeps
110 21
buildopts.py
in build/fbcode_builder/getdeps
434 20
XdpDump.cpp
in tools/xdpdump
280 18
cargo.py
in build/fbcode_builder/getdeps
295 17
platform.py
in build/fbcode_builder/getdeps
187 17
make_fbpy_archive.py
in build/fbcode_builder/CMake
243 13
BpfLoader.cpp
in katran/lib
305 13
katran_tester.cpp
in katran/lib/testing
426 13
docker_builder.py
in build/fbcode_builder
111 12
EventPipeCallback.h
in katran/lib
77 12
shell_builder.py
in build/fbcode_builder
73 10
Vip.cpp
in katran/lib
112 10
KatranSimulator.cpp
in katran/lib
219 10
PcapMsgMeta.h
in katran/lib
55 10
shell_quoting.py
in build/fbcode_builder
48 9
KatranMonitor.cpp
in katran/lib
159 9
fplane_testing.py
in katran/lib/testing
176 9
BpfTester.cpp
in katran/lib/testing
273 9
py_wheel_builder.py
in build/fbcode_builder/getdeps
146 8
PcapWriter.cpp
in katran/lib
186 8
163 8
PipeWriter.h
in katran/lib
56 8
tcpdump_encap_helper.py
in tools/tcpdump_encap_helper
196 7
affinitize.go
in tools/start_katran/start_katran/src/start_katran/affinitize
128 7
utils.py
in build/fbcode_builder
54 7
default_watcher.go
in tools/start_katran/start_katran/src/start_katran/default_watcher
70 6
irq_parser.go
in tools/start_katran/start_katran/src/start_katran/irq_parser
101 6
PcapWriter.h
in katran/lib
72 6
Vip.h
in katran/lib
66 6
90 6
PcapMsg.h
in katran/lib
43 6
XdpDumpKern.h
in tools/xdpdump
227 5
runcmd.py
in build/fbcode_builder/getdeps
106 5
KatranLb.h
in katran/lib
245 5
Files With Long Lines (Top 8)

There are 8 files with lines longer than 120 characters. In total, there are 103 long lines.

File# lines# units# long lines
KatranGueTestFixtures.h
in katran/lib/testing
214 - 42
KatranTPRTestFixtures.h
in katran/lib/testing
115 - 33
XdpDecapGueTestFixtures.h
in katran/decap/testing
77 - 11
XdpDecapTestFixtures.h
in katran/decap/testing
71 - 9
KatranHCTestFixtures.h
in katran/lib/testing
45 1 4
getdeps.py
in build/fbcode_builder
993 41 2
cmake
FindGMock.cmake
in build/fbcode_builder/CMake
71 - 1
cmake
FindGlog.cmake
in build/fbcode_builder/CMake
29 - 1
Correlations

File Size vs. Commits (all time): 197 points

build/fbcode_builder/getdeps/dyndeps.py x: 15 commits (all time) y: 309 lines of code katran/lib/BpfAdapter.cpp x: 26 commits (all time) y: 741 lines of code build/fbcode_builder/getdeps.py x: 68 commits (all time) y: 993 lines of code build/fbcode_builder/getdeps/manifest.py x: 44 commits (all time) y: 548 lines of code build/fbcode_builder/getdeps/fetcher.py x: 31 commits (all time) y: 550 lines of code build/fbcode_builder/getdeps/builder.py x: 89 commits (all time) y: 822 lines of code katran/lib/testing/BpfTester.cpp x: 9 commits (all time) y: 273 lines of code katran/lib/testing/BpfTester.h x: 5 commits (all time) y: 47 lines of code katran/lib/testing/PacketAttributes.h x: 2 commits (all time) y: 12 lines of code katran/decap/testing/XdpDecapGueTestFixtures.h x: 2 commits (all time) y: 77 lines of code katran/decap/testing/XdpDecapTestFixtures.h x: 2 commits (all time) y: 71 lines of code katran/decap/testing/xdpdecap_tester.cpp x: 6 commits (all time) y: 73 lines of code katran/lib/testing/KatranGueTestFixtures.h x: 12 commits (all time) y: 214 lines of code katran/lib/testing/KatranHCTestFixtures.h x: 4 commits (all time) y: 45 lines of code katran/lib/testing/KatranTPRTestFixtures.h x: 5 commits (all time) y: 115 lines of code katran/lib/testing/KatranTestProvision.h x: 6 commits (all time) y: 103 lines of code katran/lib/testing/KatranTestUtil.cpp x: 3 commits (all time) y: 154 lines of code katran/lib/testing/katran_tester.cpp x: 41 commits (all time) y: 426 lines of code katran/lib/KatranLb.cpp x: 59 commits (all time) y: 2056 lines of code katran/lib/KatranLb.h x: 44 commits (all time) y: 245 lines of code build/fbcode_builder/getdeps/envfuncs.py x: 11 commits (all time) y: 110 lines of code katran/lib/BpfAdapter.h x: 23 commits (all time) y: 191 lines of code katran/lib/BpfLoader.cpp x: 15 commits (all time) y: 305 lines of code katran/lib/BpfLoader.h x: 9 commits (all time) y: 47 lines of code build/fbcode_builder/getdeps/buildopts.py x: 51 commits (all time) y: 434 lines of code build/fbcode_builder/getdeps/cargo.py x: 5 commits (all time) y: 295 lines of code build/fbcode_builder/getdeps/py_wheel_builder.py x: 11 commits (all time) y: 146 lines of code build/fbcode_builder/getdeps/runcmd.py x: 15 commits (all time) y: 106 lines of code build/fbcode_builder/shell_quoting.py x: 7 commits (all time) y: 48 lines of code build/fbcode_builder/CMake/RustStaticLibrary.cmake x: 3 commits (all time) y: 267 lines of code build/fbcode_builder/getdeps/cache.py x: 6 commits (all time) y: 7 lines of code build/fbcode_builder/getdeps/copytree.py x: 12 commits (all time) y: 42 lines of code build/fbcode_builder/getdeps/errors.py x: 8 commits (all time) y: 5 lines of code build/fbcode_builder/getdeps/expr.py x: 9 commits (all time) y: 120 lines of code build/fbcode_builder/getdeps/load.py x: 19 commits (all time) y: 228 lines of code build/fbcode_builder/getdeps/platform.py x: 17 commits (all time) y: 187 lines of code build/fbcode_builder/getdeps/subcmd.py x: 7 commits (all time) y: 24 lines of code katran/lib/KatranLbStructs.h x: 28 commits (all time) y: 152 lines of code katran/lib/bpf/balancer_consts.h x: 29 commits (all time) y: 166 lines of code katran/lib/bpf/balancer_kern.c x: 34 commits (all time) y: 648 lines of code katran/lib/bpf/balancer_maps.h x: 16 commits (all time) y: 88 lines of code build/fbcode_builder/CMake/fb_py_test_main.py x: 4 commits (all time) y: 566 lines of code build/fbcode_builder/docker_builder.py x: 6 commits (all time) y: 111 lines of code build/fbcode_builder/fbcode_builder.py x: 7 commits (all time) y: 391 lines of code build/fbcode_builder/fbcode_builder_config.py x: 4 commits (all time) y: 8 lines of code build/fbcode_builder/make_docker_context.py x: 4 commits (all time) y: 132 lines of code build/fbcode_builder/parse_args.py x: 4 commits (all time) y: 54 lines of code build/fbcode_builder/shell_builder.py x: 8 commits (all time) y: 73 lines of code katran/lib/BalancerStructs.h x: 6 commits (all time) y: 72 lines of code katran/lib/bpf/healthchecking_helpers.h x: 7 commits (all time) y: 177 lines of code katran/lib/bpf/healthchecking_maps.h x: 5 commits (all time) y: 55 lines of code katran/lib/bpf/healthchecking_structs.h x: 3 commits (all time) y: 27 lines of code example/KatranSimpleServer.cpp x: 2 commits (all time) y: 95 lines of code example/KatranSimpleServiceHandler.cpp x: 3 commits (all time) y: 287 lines of code example/KatranSimpleServiceHandler.h x: 3 commits (all time) y: 54 lines of code example/client/KatranSimpleClient.cpp x: 8 commits (all time) y: 473 lines of code example/client/KatranSimpleClient.h x: 3 commits (all time) y: 61 lines of code example/client/Main.cpp x: 3 commits (all time) y: 137 lines of code example_grpc/GrpcSignalHandler.cpp x: 2 commits (all time) y: 32 lines of code example_grpc/KatranGrpcService.cpp x: 3 commits (all time) y: 372 lines of code example_grpc/KatranGrpcService.h x: 3 commits (all time) y: 104 lines of code example_grpc/katran_server.cpp x: 4 commits (all time) y: 104 lines of code example_grpc/protos/katran.proto x: 5 commits (all time) y: 123 lines of code katran/decap/XdpDecapStructs.h x: 3 commits (all time) y: 21 lines of code katran/decap/bpf/decap_kern.c x: 6 commits (all time) y: 206 lines of code katran/lib/ByteRangeWriter.h x: 2 commits (all time) y: 20 lines of code katran/lib/EventPipeCallback.cpp x: 3 commits (all time) y: 74 lines of code katran/lib/IOBufWriter.cpp x: 3 commits (all time) y: 16 lines of code katran/lib/IpHelpers.cpp x: 2 commits (all time) y: 43 lines of code katran/lib/KatranMonitor.cpp x: 10 commits (all time) y: 159 lines of code katran/lib/MurmurHash3.cpp x: 1 commits (all time) y: 45 lines of code katran/lib/MurmurHash3.h x: 1 commits (all time) y: 6 lines of code katran/lib/PipeWriter.cpp x: 4 commits (all time) y: 30 lines of code katran/lib/bpf/adapter_integration_test_kern.c x: 3 commits (all time) y: 38 lines of code katran/lib/bpf/balancer_helpers.h x: 12 commits (all time) y: 80 lines of code katran/lib/bpf/balancer_structs.h x: 7 commits (all time) y: 91 lines of code katran/lib/bpf/csum_helpers.h x: 7 commits (all time) y: 284 lines of code katran/lib/bpf/encap_helpers.h x: 3 commits (all time) y: 69 lines of code katran/lib/bpf/flow_debug_helpers.h x: 5 commits (all time) y: 100 lines of code katran/lib/bpf/flow_debug_maps.h x: 5 commits (all time) y: 14 lines of code katran/lib/bpf/handle_icmp.h x: 6 commits (all time) y: 245 lines of code katran/lib/bpf/healthchecking_ipip.c x: 7 commits (all time) y: 105 lines of code katran/lib/bpf/introspection.h x: 5 commits (all time) y: 21 lines of code katran/lib/bpf/pckt_encap.h x: 15 commits (all time) y: 355 lines of code katran/lib/bpf/pckt_parsing.h x: 13 commits (all time) y: 252 lines of code katran/lib/linux_includes/bpf.h x: 4 commits (all time) y: 851 lines of code katran/lib/linux_includes/bpf_endian.h x: 2 commits (all time) y: 33 lines of code katran/lib/linux_includes/bpf_helpers.h x: 8 commits (all time) y: 521 lines of code katran/lib/testing/KatranTestProvision.cpp x: 8 commits (all time) y: 234 lines of code katran/lib/testing/fplane_testing.py x: 1 commits (all time) y: 176 lines of code tools/tcpdump_encap_helper/tcpdump_encap_helper.py x: 2 commits (all time) y: 196 lines of code tools/xdpdump/XdpDump.cpp x: 7 commits (all time) y: 280 lines of code tools/xdpdump/XdpDump.h x: 4 commits (all time) y: 70 lines of code tools/xdpdump/XdpDumpKern.h x: 2 commits (all time) y: 227 lines of code tools/xdpdump/XdpEventReader.cpp x: 6 commits (all time) y: 21 lines of code tools/xdpdump/xdpdump_tool.cpp x: 4 commits (all time) y: 114 lines of code example_grpc/goclient/src/katranc/katranc/katranc.go x: 6 commits (all time) y: 485 lines of code katran/decap/bpf/decap_maps.h x: 4 commits (all time) y: 20 lines of code katran/lib/bpf/control_data_maps.h x: 3 commits (all time) y: 47 lines of code build/fbcode_builder/CMake/FindZstd.cmake x: 1 commits (all time) y: 34 lines of code build/fbcode_builder/CMake/make_fbpy_archive.py x: 3 commits (all time) y: 243 lines of code katran/lib/testing/KatranTestUtil.h x: 1 commits (all time) y: 12 lines of code build/fbcode_builder/CMake/FindSodium.cmake x: 2 commits (all time) y: 265 lines of code build/fbcode_builder/CMake/FBCompilerSettingsUnix.cmake x: 2 commits (all time) y: 7 lines of code example_grpc/goclient/src/katranc/main/main.go x: 4 commits (all time) y: 106 lines of code katran/decap/XdpDecap.cpp x: 3 commits (all time) y: 114 lines of code build/fbcode_builder/CMake/FBThriftCppLibrary.cmake x: 7 commits (all time) y: 180 lines of code katran/lib/MonitoringStructs.h x: 6 commits (all time) y: 41 lines of code katran/lib/KatranMonitor.h x: 7 commits (all time) y: 55 lines of code katran/lib/MaglevHashV2.cpp x: 2 commits (all time) y: 50 lines of code katran/lib/MonitoringServiceCore.cpp x: 3 commits (all time) y: 163 lines of code katran/lib/MonitoringServiceCore.h x: 3 commits (all time) y: 90 lines of code katran/lib/PcapWriter.cpp x: 10 commits (all time) y: 186 lines of code katran/lib/PcapWriter.h x: 7 commits (all time) y: 72 lines of code build/fbcode_builder/CMake/FindLibUnwind.cmake x: 1 commits (all time) y: 25 lines of code katran/lib/Vip.cpp x: 1 commits (all time) y: 112 lines of code katran/lib/Vip.h x: 1 commits (all time) y: 66 lines of code katran/lib/KatranSimulator.cpp x: 4 commits (all time) y: 219 lines of code katran/lib/Netlink.cpp x: 3 commits (all time) y: 129 lines of code build/fbcode_builder/CMake/FBPythonBinary.cmake x: 9 commits (all time) y: 646 lines of code build/fbcode_builder/CMake/FBPythonTestAddTests.cmake x: 1 commits (all time) y: 54 lines of code build/fbcode_builder/CMake/FBThriftPyLibrary.cmake x: 2 commits (all time) y: 100 lines of code build/fbcode_builder/CMake/FBCMakeParseArgs.cmake x: 1 commits (all time) y: 135 lines of code katran/lib/testing/PcapParser.cpp x: 1 commits (all time) y: 152 lines of code katran/lib/PcapMsg.cpp x: 1 commits (all time) y: 23 lines of code tools/start_katran/start_katran/src/start_katran/affinitize/affinitize.go x: 1 commits (all time) y: 128 lines of code tools/start_katran/start_katran/src/start_katran/irq_parser/irq_parser.go x: 1 commits (all time) y: 101 lines of code tools/start_katran/start_katran/src/start_katran/start_binary/start_binary.go x: 1 commits (all time) y: 61 lines of code
2056.0
lines of code
  min: 1.0
  average: 135.23
  25th percentile: 26.5
  median: 69.0
  75th percentile: 152.0
  max: 2056.0
0 89.0
commits (all time)
min: 1.0 | average: 6.8 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 6.0 | max: 89.0

File Size vs. Contributors (all time): 197 points

build/fbcode_builder/getdeps/dyndeps.py x: 7 contributors (all time) y: 309 lines of code katran/lib/BpfAdapter.cpp x: 9 contributors (all time) y: 741 lines of code build/fbcode_builder/getdeps.py x: 21 contributors (all time) y: 993 lines of code build/fbcode_builder/getdeps/manifest.py x: 19 contributors (all time) y: 548 lines of code build/fbcode_builder/getdeps/fetcher.py x: 12 contributors (all time) y: 550 lines of code build/fbcode_builder/getdeps/builder.py x: 23 contributors (all time) y: 822 lines of code katran/lib/testing/BpfTester.cpp x: 5 contributors (all time) y: 273 lines of code katran/lib/testing/BpfTester.h x: 4 contributors (all time) y: 47 lines of code katran/lib/testing/PacketAttributes.h x: 1 contributors (all time) y: 12 lines of code katran/decap/testing/XdpDecapGueTestFixtures.h x: 2 contributors (all time) y: 77 lines of code katran/decap/testing/XdpDecapTestFixtures.h x: 2 contributors (all time) y: 71 lines of code katran/decap/testing/xdpdecap_tester.cpp x: 4 contributors (all time) y: 73 lines of code katran/lib/testing/KatranGueTestFixtures.h x: 5 contributors (all time) y: 214 lines of code katran/lib/testing/KatranHCTestFixtures.h x: 3 contributors (all time) y: 45 lines of code katran/lib/testing/KatranTPRTestFixtures.h x: 4 contributors (all time) y: 115 lines of code katran/lib/testing/KatranTestProvision.h x: 4 contributors (all time) y: 103 lines of code katran/lib/testing/KatranTestUtil.cpp x: 3 contributors (all time) y: 154 lines of code katran/lib/testing/katran_tester.cpp x: 11 contributors (all time) y: 426 lines of code katran/lib/KatranLb.cpp x: 13 contributors (all time) y: 2056 lines of code katran/lib/KatranLb.h x: 10 contributors (all time) y: 245 lines of code build/fbcode_builder/getdeps/envfuncs.py x: 8 contributors (all time) y: 110 lines of code katran/lib/BpfAdapter.h x: 7 contributors (all time) y: 191 lines of code katran/lib/BpfLoader.cpp x: 6 contributors (all time) y: 305 lines of code build/fbcode_builder/getdeps/buildopts.py x: 20 contributors (all time) y: 434 lines of code build/fbcode_builder/getdeps/cargo.py x: 3 contributors (all time) y: 295 lines of code build/fbcode_builder/getdeps/py_wheel_builder.py x: 6 contributors (all time) y: 146 lines of code build/fbcode_builder/getdeps/runcmd.py x: 10 contributors (all time) y: 106 lines of code build/fbcode_builder/shell_quoting.py x: 5 contributors (all time) y: 48 lines of code build/fbcode_builder/CMake/RustStaticLibrary.cmake x: 3 contributors (all time) y: 267 lines of code build/fbcode_builder/getdeps/cache.py x: 5 contributors (all time) y: 7 lines of code build/fbcode_builder/getdeps/copytree.py x: 7 contributors (all time) y: 42 lines of code build/fbcode_builder/getdeps/errors.py x: 7 contributors (all time) y: 5 lines of code build/fbcode_builder/getdeps/expr.py x: 8 contributors (all time) y: 120 lines of code build/fbcode_builder/getdeps/load.py x: 12 contributors (all time) y: 228 lines of code build/fbcode_builder/getdeps/platform.py x: 12 contributors (all time) y: 187 lines of code build/fbcode_builder/getdeps/subcmd.py x: 6 contributors (all time) y: 24 lines of code katran/lib/KatranLbStructs.h x: 10 contributors (all time) y: 152 lines of code katran/lib/bpf/balancer_consts.h x: 10 contributors (all time) y: 166 lines of code katran/lib/bpf/balancer_kern.c x: 11 contributors (all time) y: 648 lines of code katran/lib/bpf/balancer_maps.h x: 5 contributors (all time) y: 88 lines of code build/fbcode_builder/CMake/fb_py_test_main.py x: 4 contributors (all time) y: 566 lines of code build/fbcode_builder/docker_builder.py x: 6 contributors (all time) y: 111 lines of code build/fbcode_builder/fbcode_builder.py x: 7 contributors (all time) y: 391 lines of code build/fbcode_builder/fbcode_builder_config.py x: 4 contributors (all time) y: 8 lines of code build/fbcode_builder/make_docker_context.py x: 4 contributors (all time) y: 132 lines of code build/fbcode_builder/parse_args.py x: 4 contributors (all time) y: 54 lines of code build/fbcode_builder/shell_builder.py x: 7 contributors (all time) y: 73 lines of code katran/lib/BalancerStructs.h x: 4 contributors (all time) y: 72 lines of code katran/lib/bpf/healthchecking_helpers.h x: 3 contributors (all time) y: 177 lines of code katran/lib/bpf/healthchecking_structs.h x: 3 contributors (all time) y: 27 lines of code example/KatranSimpleServer.cpp x: 2 contributors (all time) y: 95 lines of code example/KatranSimpleServiceHandler.cpp x: 3 contributors (all time) y: 287 lines of code example/KatranSimpleServiceHandler.h x: 3 contributors (all time) y: 54 lines of code example/client/KatranSimpleClient.cpp x: 5 contributors (all time) y: 473 lines of code example/client/KatranSimpleClient.h x: 3 contributors (all time) y: 61 lines of code example/client/Main.cpp x: 3 contributors (all time) y: 137 lines of code example_grpc/GrpcSignalHandler.cpp x: 2 contributors (all time) y: 32 lines of code example_grpc/KatranGrpcService.cpp x: 3 contributors (all time) y: 372 lines of code example_grpc/KatranGrpcService.h x: 3 contributors (all time) y: 104 lines of code example_grpc/protos/katran.proto x: 4 contributors (all time) y: 123 lines of code katran/decap/XdpDecapStructs.h x: 3 contributors (all time) y: 21 lines of code katran/decap/bpf/decap_kern.c x: 3 contributors (all time) y: 206 lines of code katran/lib/ByteRangeWriter.h x: 2 contributors (all time) y: 20 lines of code katran/lib/IOBufWriter.cpp x: 2 contributors (all time) y: 16 lines of code katran/lib/IpHelpers.cpp x: 2 contributors (all time) y: 43 lines of code katran/lib/MurmurHash3.cpp x: 1 contributors (all time) y: 45 lines of code katran/lib/MurmurHash3.h x: 1 contributors (all time) y: 6 lines of code katran/lib/PipeWriter.h x: 2 contributors (all time) y: 56 lines of code katran/lib/bpf/adapter_integration_test_kern.c x: 3 contributors (all time) y: 38 lines of code katran/lib/bpf/balancer_structs.h x: 5 contributors (all time) y: 91 lines of code katran/lib/bpf/csum_helpers.h x: 2 contributors (all time) y: 284 lines of code katran/lib/bpf/flow_debug_helpers.h x: 2 contributors (all time) y: 100 lines of code katran/lib/bpf/flow_debug_maps.h x: 3 contributors (all time) y: 14 lines of code katran/lib/bpf/handle_icmp.h x: 4 contributors (all time) y: 245 lines of code katran/lib/bpf/pckt_encap.h x: 4 contributors (all time) y: 355 lines of code katran/lib/bpf/pckt_parsing.h x: 7 contributors (all time) y: 252 lines of code katran/lib/linux_includes/bpf.h x: 3 contributors (all time) y: 851 lines of code katran/lib/linux_includes/bpf_endian.h x: 2 contributors (all time) y: 33 lines of code katran/lib/linux_includes/bpf_helpers.h x: 3 contributors (all time) y: 521 lines of code katran/lib/testing/KatranTestProvision.cpp x: 6 contributors (all time) y: 234 lines of code katran/lib/testing/fplane_testing.py x: 1 contributors (all time) y: 176 lines of code tools/tcpdump_encap_helper/tcpdump_encap_helper.py x: 2 contributors (all time) y: 196 lines of code tools/xdpdump/XdpDump.cpp x: 3 contributors (all time) y: 280 lines of code tools/xdpdump/XdpDump.h x: 3 contributors (all time) y: 70 lines of code tools/xdpdump/XdpDumpKern.h x: 2 contributors (all time) y: 227 lines of code tools/xdpdump/xdpdump_tool.cpp x: 2 contributors (all time) y: 114 lines of code example_grpc/goclient/src/katranc/katranc/katranc.go x: 6 contributors (all time) y: 485 lines of code katran/decap/bpf/decap_maps.h x: 4 contributors (all time) y: 20 lines of code build/fbcode_builder/CMake/FindZstd.cmake x: 1 contributors (all time) y: 34 lines of code build/fbcode_builder/CMake/make_fbpy_archive.py x: 2 contributors (all time) y: 243 lines of code build/fbcode_builder/CMake/FindSodium.cmake x: 2 contributors (all time) y: 265 lines of code example_grpc/goclient/src/katranc/main/main.go x: 4 contributors (all time) y: 106 lines of code katran/decap/XdpDecap.cpp x: 3 contributors (all time) y: 114 lines of code build/fbcode_builder/CMake/FBThriftCppLibrary.cmake x: 5 contributors (all time) y: 180 lines of code katran/lib/MonitoringStructs.cpp x: 1 contributors (all time) y: 26 lines of code katran/lib/MaglevBase.cpp x: 1 contributors (all time) y: 22 lines of code katran/lib/MaglevHashV2.cpp x: 1 contributors (all time) y: 50 lines of code katran/lib/MonitoringServiceCore.cpp x: 1 contributors (all time) y: 163 lines of code katran/lib/MonitoringServiceCore.h x: 1 contributors (all time) y: 90 lines of code build/fbcode_builder/CMake/FindGflags.cmake x: 3 contributors (all time) y: 97 lines of code katran/lib/PcapWriter.cpp x: 2 contributors (all time) y: 186 lines of code katran/lib/EventPipeCallback.h x: 1 contributors (all time) y: 77 lines of code katran/lib/Vip.cpp x: 1 contributors (all time) y: 112 lines of code katran/lib/Vip.h x: 1 contributors (all time) y: 66 lines of code katran/lib/KatranSimulator.cpp x: 3 contributors (all time) y: 219 lines of code cmake/KatranTest.cmake x: 2 contributors (all time) y: 62 lines of code build/fbcode_builder/getdeps/__init__.py x: 3 contributors (all time) y: 1 lines of code katran/lib/Netlink.cpp x: 3 contributors (all time) y: 129 lines of code build/fbcode_builder/CMake/FBPythonBinary.cmake x: 2 contributors (all time) y: 646 lines of code build/fbcode_builder/CMake/FBThriftPyLibrary.cmake x: 1 contributors (all time) y: 100 lines of code build/fbcode_builder/CMake/FBCMakeParseArgs.cmake x: 1 contributors (all time) y: 135 lines of code katran/lib/testing/PcapParser.cpp x: 1 contributors (all time) y: 152 lines of code tools/start_katran/start_katran/src/start_katran/affinitize/affinitize.go x: 1 contributors (all time) y: 128 lines of code tools/start_katran/start_katran/src/start_katran/start_binary/start_binary.go x: 1 contributors (all time) y: 61 lines of code
2056.0
lines of code
  min: 1.0
  average: 135.23
  25th percentile: 26.5
  median: 69.0
  75th percentile: 152.0
  max: 2056.0
0 23.0
contributors (all time)
min: 1.0 | average: 3.52 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 4.0 | max: 23.0

File Size vs. Commits (30 days): 6 points

build/fbcode_builder/getdeps/dyndeps.py x: 1 commits (30d) y: 309 lines of code katran/lib/BpfAdapter.cpp x: 1 commits (30d) y: 741 lines of code build/fbcode_builder/getdeps.py x: 1 commits (30d) y: 993 lines of code build/fbcode_builder/getdeps/manifest.py x: 1 commits (30d) y: 548 lines of code build/fbcode_builder/getdeps/fetcher.py x: 2 commits (30d) y: 550 lines of code build/fbcode_builder/getdeps/builder.py x: 1 commits (30d) y: 822 lines of code
993.0
lines of code
  min: 309.0
  average: 660.5
  25th percentile: 488.25
  median: 645.5
  75th percentile: 864.75
  max: 993.0
0 2.0
commits (30d)
min: 1.0 | average: 1.17 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.25 | max: 2.0

File Size vs. Contributors (30 days): 6 points

build/fbcode_builder/getdeps/dyndeps.py x: 1 contributors (30d) y: 309 lines of code katran/lib/BpfAdapter.cpp x: 1 contributors (30d) y: 741 lines of code build/fbcode_builder/getdeps.py x: 1 contributors (30d) y: 993 lines of code build/fbcode_builder/getdeps/manifest.py x: 1 contributors (30d) y: 548 lines of code build/fbcode_builder/getdeps/builder.py x: 1 contributors (30d) y: 822 lines of code
993.0
lines of code
  min: 309.0
  average: 660.5
  25th percentile: 488.25
  median: 645.5
  75th percentile: 864.75
  max: 993.0
0 1.0
contributors (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Commits (90 days): 54 points

build/fbcode_builder/getdeps/dyndeps.py x: 4 commits (90d) y: 309 lines of code katran/lib/BpfAdapter.cpp x: 3 commits (90d) y: 741 lines of code build/fbcode_builder/getdeps.py x: 16 commits (90d) y: 993 lines of code build/fbcode_builder/getdeps/manifest.py x: 14 commits (90d) y: 548 lines of code build/fbcode_builder/getdeps/fetcher.py x: 10 commits (90d) y: 550 lines of code build/fbcode_builder/getdeps/builder.py x: 18 commits (90d) y: 822 lines of code katran/lib/testing/BpfTester.cpp x: 3 commits (90d) y: 273 lines of code katran/lib/testing/BpfTester.h x: 2 commits (90d) y: 47 lines of code katran/lib/testing/PacketAttributes.h x: 2 commits (90d) y: 12 lines of code katran/decap/testing/XdpDecapGueTestFixtures.h x: 1 commits (90d) y: 77 lines of code katran/decap/testing/XdpDecapTestFixtures.h x: 1 commits (90d) y: 71 lines of code katran/lib/testing/KatranGueTestFixtures.h x: 1 commits (90d) y: 214 lines of code katran/lib/testing/KatranHCTestFixtures.h x: 1 commits (90d) y: 45 lines of code katran/lib/testing/KatranTPRTestFixtures.h x: 1 commits (90d) y: 115 lines of code katran/lib/testing/KatranTestProvision.h x: 1 commits (90d) y: 103 lines of code katran/lib/testing/KatranTestUtil.cpp x: 1 commits (90d) y: 154 lines of code katran/lib/testing/katran_tester.cpp x: 1 commits (90d) y: 426 lines of code katran/lib/KatranLb.cpp x: 6 commits (90d) y: 2056 lines of code katran/lib/KatranLb.h x: 5 commits (90d) y: 245 lines of code build/fbcode_builder/getdeps/envfuncs.py x: 4 commits (90d) y: 110 lines of code katran/lib/BpfAdapter.h x: 2 commits (90d) y: 191 lines of code katran/lib/BpfLoader.cpp x: 1 commits (90d) y: 305 lines of code build/fbcode_builder/getdeps/buildopts.py x: 14 commits (90d) y: 434 lines of code build/fbcode_builder/getdeps/cargo.py x: 5 commits (90d) y: 295 lines of code build/fbcode_builder/getdeps/py_wheel_builder.py x: 5 commits (90d) y: 146 lines of code build/fbcode_builder/getdeps/runcmd.py x: 3 commits (90d) y: 106 lines of code build/fbcode_builder/shell_quoting.py x: 4 commits (90d) y: 48 lines of code build/fbcode_builder/CMake/RustStaticLibrary.cmake x: 1 commits (90d) y: 267 lines of code build/fbcode_builder/getdeps/cache.py x: 2 commits (90d) y: 7 lines of code build/fbcode_builder/getdeps/copytree.py x: 3 commits (90d) y: 42 lines of code build/fbcode_builder/getdeps/expr.py x: 3 commits (90d) y: 120 lines of code build/fbcode_builder/getdeps/load.py x: 5 commits (90d) y: 228 lines of code build/fbcode_builder/getdeps/platform.py x: 5 commits (90d) y: 187 lines of code build/fbcode_builder/getdeps/subcmd.py x: 2 commits (90d) y: 24 lines of code katran/lib/KatranLbStructs.h x: 1 commits (90d) y: 152 lines of code katran/lib/bpf/balancer_consts.h x: 1 commits (90d) y: 166 lines of code katran/lib/bpf/balancer_kern.c x: 1 commits (90d) y: 648 lines of code katran/lib/bpf/balancer_maps.h x: 1 commits (90d) y: 88 lines of code build/fbcode_builder/CMake/fb_py_test_main.py x: 1 commits (90d) y: 566 lines of code build/fbcode_builder/docker_builder.py x: 1 commits (90d) y: 111 lines of code build/fbcode_builder/fbcode_builder.py x: 1 commits (90d) y: 391 lines of code build/fbcode_builder/fbcode_builder_config.py x: 1 commits (90d) y: 8 lines of code build/fbcode_builder/make_docker_context.py x: 1 commits (90d) y: 132 lines of code build/fbcode_builder/parse_args.py x: 1 commits (90d) y: 54 lines of code katran/lib/bpf/healthchecking_helpers.h x: 1 commits (90d) y: 177 lines of code katran/lib/bpf/healthchecking_structs.h x: 1 commits (90d) y: 27 lines of code
2056.0
lines of code
  min: 5.0
  average: 246.46
  25th percentile: 54.75
  median: 126.0
  75th percentile: 297.5
  max: 2056.0
0 18.0
commits (90d)
min: 1.0 | average: 3.17 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 4.0 | max: 18.0

File Size vs. Contributors (90 days): 54 points

build/fbcode_builder/getdeps/dyndeps.py x: 2 contributors (90d) y: 309 lines of code katran/lib/BpfAdapter.cpp x: 3 contributors (90d) y: 741 lines of code build/fbcode_builder/getdeps.py x: 5 contributors (90d) y: 993 lines of code build/fbcode_builder/getdeps/manifest.py x: 5 contributors (90d) y: 548 lines of code build/fbcode_builder/getdeps/builder.py x: 5 contributors (90d) y: 822 lines of code katran/lib/testing/BpfTester.cpp x: 1 contributors (90d) y: 273 lines of code katran/lib/testing/BpfTester.h x: 1 contributors (90d) y: 47 lines of code katran/lib/testing/PacketAttributes.h x: 1 contributors (90d) y: 12 lines of code katran/decap/testing/XdpDecapGueTestFixtures.h x: 1 contributors (90d) y: 77 lines of code katran/decap/testing/XdpDecapTestFixtures.h x: 1 contributors (90d) y: 71 lines of code katran/lib/testing/KatranGueTestFixtures.h x: 1 contributors (90d) y: 214 lines of code katran/lib/testing/KatranTPRTestFixtures.h x: 1 contributors (90d) y: 115 lines of code katran/lib/testing/KatranTestProvision.h x: 1 contributors (90d) y: 103 lines of code katran/lib/testing/KatranTestUtil.cpp x: 1 contributors (90d) y: 154 lines of code katran/lib/testing/katran_tester.cpp x: 1 contributors (90d) y: 426 lines of code katran/lib/KatranLb.cpp x: 2 contributors (90d) y: 2056 lines of code katran/lib/KatranLb.h x: 1 contributors (90d) y: 245 lines of code build/fbcode_builder/getdeps/envfuncs.py x: 2 contributors (90d) y: 110 lines of code katran/lib/BpfAdapter.h x: 2 contributors (90d) y: 191 lines of code katran/lib/BpfLoader.cpp x: 1 contributors (90d) y: 305 lines of code build/fbcode_builder/getdeps/buildopts.py x: 5 contributors (90d) y: 434 lines of code build/fbcode_builder/getdeps/cargo.py x: 3 contributors (90d) y: 295 lines of code build/fbcode_builder/getdeps/py_wheel_builder.py x: 2 contributors (90d) y: 146 lines of code build/fbcode_builder/shell_quoting.py x: 2 contributors (90d) y: 48 lines of code build/fbcode_builder/CMake/RustStaticLibrary.cmake x: 1 contributors (90d) y: 267 lines of code build/fbcode_builder/getdeps/cache.py x: 2 contributors (90d) y: 7 lines of code build/fbcode_builder/getdeps/expr.py x: 3 contributors (90d) y: 120 lines of code build/fbcode_builder/getdeps/load.py x: 4 contributors (90d) y: 228 lines of code build/fbcode_builder/getdeps/platform.py x: 3 contributors (90d) y: 187 lines of code build/fbcode_builder/getdeps/subcmd.py x: 2 contributors (90d) y: 24 lines of code katran/lib/KatranLbStructs.h x: 1 contributors (90d) y: 152 lines of code katran/lib/bpf/balancer_consts.h x: 1 contributors (90d) y: 166 lines of code katran/lib/bpf/balancer_kern.c x: 1 contributors (90d) y: 648 lines of code katran/lib/bpf/balancer_maps.h x: 1 contributors (90d) y: 88 lines of code build/fbcode_builder/CMake/fb_py_test_main.py x: 1 contributors (90d) y: 566 lines of code build/fbcode_builder/docker_builder.py x: 1 contributors (90d) y: 111 lines of code build/fbcode_builder/fbcode_builder.py x: 1 contributors (90d) y: 391 lines of code build/fbcode_builder/fbcode_builder_config.py x: 1 contributors (90d) y: 8 lines of code build/fbcode_builder/make_docker_context.py x: 1 contributors (90d) y: 132 lines of code build/fbcode_builder/parse_args.py x: 1 contributors (90d) y: 54 lines of code katran/lib/bpf/healthchecking_helpers.h x: 1 contributors (90d) y: 177 lines of code katran/lib/bpf/healthchecking_structs.h x: 1 contributors (90d) y: 27 lines of code
2056.0
lines of code
  min: 5.0
  average: 246.46
  25th percentile: 54.75
  median: 126.0
  75th percentile: 297.5
  max: 2056.0
0 5.0
contributors (90d)
min: 1.0 | average: 1.78 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 5.0