facebook / wdt
File Change Frequency

File change frequency (churn) shows the distribution of file updates (days with at least one commit).

File Change Frequency Overall
File Change Frequency Overall
The number of recorded file updates
  • There are 81 files with 15,380 lines of code.
    • 0 files changed more than 100 times (0 lines of code)
    • 6 files changed 51-100 times (1,460 lines of code)
    • 16 files changed 21-50 times (5,572 lines of code)
    • 43 files changed 6-20 times (7,305 lines of code)
    • 16 files changed 1-5 times (1,043 lines of code)
0% | 9% | 36% | 47% | 6%
Legend:
101+
51-100
21-50
6-20
1-5
explore: zoomable circles | data
File Change Frequency per File Extension
cpp, h, sh, py, tcl, md, in, txt, clang-format, json, yml, inc
File Change Frequency per Extension
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
cpp0% | 10% | 39% | 46% | 3%
h0% | 7% | 33% | 49% | 9%
tcl0% | 0% | 0% | 37% | 62%
inc0% | 0% | 0% | 100% | 0%
in0% | 0% | 0% | 72% | 27%
File Change Frequency per Logical Decomposition
primary
primary (file change frequency)
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
ROOT0% | 19% | 63% | 16% | <1%
util0% | 0% | 11% | 81% | 7%
bench0% | 0% | 0% | 70% | 29%
build0% | 0% | 0% | 38% | 61%
Most Frequently Changed Files (Top 50)

See data for all files...

File# lines# unitslast modified
(days ago)
created
(days ago)
# changes# contributors
Sender.cpp
in root
417 20 294 2822 100 13
477 20 263 2822 85 15
316 7 294 2934 77 11
Sender.h
in root
83 2 42 2822 66 12
95 - 294 2673 61 9
Receiver.h
in root
72 - 263 2841 51 11
443 5 294 2662 50 11
356 52 294 2662 42 8
923 25 294 2368 39 11
Protocol.h
in root
249 11 294 2934 38 7
500 33 294 2934 37 6
925 26 294 2368 34 10
86 - 294 2675 32 7
WdtBase.h
in root
87 2 294 2506 32 9
161 21 294 2464 27 6
40 1 294 2934 26 7
638 42 294 2464 26 7
600 31 294 2366 24 8
237 21 294 2696 23 7
65 1 294 2696 22 6
123 1 294 2464 21 8
139 6 294 2366 21 7
169 2 294 2366 20 7
Wdt.cpp
in root
201 10 1169 2333 20 5
72 6 294 2673 19 4
991 48 294 2366 18 7
Wdt.h
in root
62 3 294 2333 17 8
159 - 294 2366 17 6
214 - 1820 2375 17 2
283 9 248 2366 17 6
97 - 294 2323 16 9
436 22 294 2340 16 7
734 43 1187 2333 16 5
107 2 294 2368 15 7
302 10 248 2366 14 8
85 3 294 2340 13 5
108 4 1187 2333 13 4
143 - 294 2366 13 5
173 6 294 2366 13 6
17 1 294 2934 12 5
72 15 294 2366 12 5
80 - 294 2368 12 6
176 5 294 2366 12 5
448 20 294 2323 12 7
63 1 294 2368 11 5
32 3 294 2561 10 5
50 4 64 2366 10 6
82 14 294 2366 10 5
12 - 137 2366 9 4
22 - 294 2524 9 4
Files With Most Contributors (Top 50)
Files sorted by the number of unique email addresses found in commits.

See data for all files...

File# lines# unitslast modified
(days ago)
created
(days ago)
# changes# contributors
Sender.cpp
in root
417 20 294 2822 100 13
477 20 263 2822 85 15
316 7 294 2934 77 11
Sender.h
in root
83 2 42 2822 66 12
95 - 294 2673 61 9
Receiver.h
in root
72 - 263 2841 51 11
443 5 294 2662 50 11
356 52 294 2662 42 8
923 25 294 2368 39 11
Protocol.h
in root
249 11 294 2934 38 7
500 33 294 2934 37 6
925 26 294 2368 34 10
86 - 294 2675 32 7
WdtBase.h
in root
87 2 294 2506 32 9
161 21 294 2464 27 6
40 1 294 2934 26 7
638 42 294 2464 26 7
600 31 294 2366 24 8
237 21 294 2696 23 7
65 1 294 2696 22 6
139 6 294 2366 21 7
123 1 294 2464 21 8
Wdt.cpp
in root
201 10 1169 2333 20 5
169 2 294 2366 20 7
72 6 294 2673 19 4
991 48 294 2366 18 7
214 - 1820 2375 17 2
283 9 248 2366 17 6
159 - 294 2366 17 6
Wdt.h
in root
62 3 294 2333 17 8
734 43 1187 2333 16 5
436 22 294 2340 16 7
97 - 294 2323 16 9
107 2 294 2368 15 7
302 10 248 2366 14 8
108 4 1187 2333 13 4
85 3 294 2340 13 5
143 - 294 2366 13 5
173 6 294 2366 13 6
17 1 294 2934 12 5
72 15 294 2366 12 5
176 5 294 2366 12 5
80 - 294 2368 12 6
448 20 294 2323 12 7
63 1 294 2368 11 5
32 3 294 2561 10 5
82 14 294 2366 10 5
50 4 64 2366 10 6
22 - 294 2524 9 4
12 - 137 2366 9 4
Correlations

File Size vs. Number of Changes: 81 points

Sender.h x: 83 lines of code y: 66 # changes bench/Bigram.cpp x: 75 lines of code y: 3 # changes bench/wdtGenFiles.cpp x: 346 lines of code y: 8 # changes bench/wdtGenTest.cpp x: 53 lines of code y: 5 # changes bench/wdtStats.cpp x: 56 lines of code y: 6 # changes util/Stats.cpp x: 226 lines of code y: 4 # changes util/WdtFlags.cpp x: 50 lines of code y: 10 # changes build/folly-config.h.in x: 12 lines of code y: 9 # changes util/FileCreator.cpp x: 302 lines of code y: 14 # changes util/ServerSocket.cpp x: 283 lines of code y: 17 # changes Receiver.cpp x: 477 lines of code y: 85 # changes Receiver.h x: 72 lines of code y: 51 # changes AbortChecker.h x: 23 lines of code y: 6 # changes ByteSource.h x: 40 lines of code y: 26 # changes ErrorCodes.cpp x: 32 lines of code y: 10 # changes ErrorCodes.h x: 86 lines of code y: 32 # changes Protocol.cpp x: 500 lines of code y: 37 # changes Protocol.h x: 249 lines of code y: 38 # changes ReceiverThread.cpp x: 923 lines of code y: 39 # changes ReceiverThread.h x: 80 lines of code y: 12 # changes Reporting.cpp x: 443 lines of code y: 50 # changes Reporting.h x: 356 lines of code y: 42 # changes Sender.cpp x: 417 lines of code y: 100 # changes SenderThread.cpp x: 925 lines of code y: 34 # changes SenderThread.h x: 107 lines of code y: 15 # changes SourceQueue.h x: 17 lines of code y: 12 # changes Throttler.cpp x: 237 lines of code y: 23 # changes Throttler.h x: 65 lines of code y: 22 # changes Wdt.h x: 62 lines of code y: 17 # changes WdtBase.cpp x: 161 lines of code y: 27 # changes WdtConfig.h.in x: 22 lines of code y: 9 # changes WdtOptions.cpp x: 72 lines of code y: 19 # changes WdtOptions.h x: 95 lines of code y: 61 # changes WdtResourceController.cpp x: 638 lines of code y: 26 # changes WdtResourceController.h x: 123 lines of code y: 21 # changes WdtThread.cpp x: 42 lines of code y: 7 # changes WdtThread.h x: 63 lines of code y: 11 # changes WdtTransferRequest.cpp x: 448 lines of code y: 12 # changes WdtTransferRequest.h x: 97 lines of code y: 16 # changes Writer.h x: 16 lines of code y: 6 # changes bench/Bigram.h x: 38 lines of code y: 2 # changes bench/WdtGenTestUtils.cpp x: 1 lines of code y: 2 # changes util/ClientSocket.cpp x: 169 lines of code y: 20 # changes util/ClientSocket.h x: 72 lines of code y: 12 # changes util/CommonImpl.cpp x: 75 lines of code y: 7 # changes util/CommonImpl.h x: 91 lines of code y: 5 # changes util/DirectorySourceQueue.cpp x: 600 lines of code y: 24 # changes util/DirectorySourceQueue.h x: 139 lines of code y: 21 # changes util/EncryptionUtils.cpp x: 436 lines of code y: 16 # changes util/EncryptionUtils.h x: 85 lines of code y: 13 # changes util/FileByteSource.cpp x: 176 lines of code y: 12 # changes util/FileByteSource.h x: 58 lines of code y: 8 # changes util/FileCreator.h x: 67 lines of code y: 9 # changes util/FileWriter.cpp x: 173 lines of code y: 13 # changes util/FileWriter.h x: 41 lines of code y: 6 # changes util/IClientSocket.h x: 30 lines of code y: 2 # changes util/IServerSocket.h x: 37 lines of code y: 2 # changes util/SerializationUtil.cpp x: 161 lines of code y: 9 # changes util/SerializationUtil.h x: 128 lines of code y: 7 # changes util/ServerSocket.h x: 82 lines of code y: 10 # changes util/Stats.h x: 270 lines of code y: 6 # changes util/ThreadTransferHistory.cpp x: 244 lines of code y: 7 # changes util/ThreadTransferHistory.h x: 59 lines of code y: 3 # changes util/ThreadsController.cpp x: 232 lines of code y: 8 # changes util/ThreadsController.h x: 156 lines of code y: 9 # changes util/TransferLogManager.cpp x: 991 lines of code y: 18 # changes util/TransferLogManager.h x: 143 lines of code y: 13 # changes util/WdtFlags.cpp.inc x: 159 lines of code y: 17 # changes util/WdtFlags.h x: 16 lines of code y: 4 # changes wdtCmdLine.cpp x: 316 lines of code y: 77 # changes CMakeLists.txt.in x: 13 lines of code y: 1 # changes Wdt.cpp x: 201 lines of code y: 20 # changes util/WdtSocket.cpp x: 734 lines of code y: 16 # changes util/WdtSocket.h x: 108 lines of code y: 13 # changes build/wdt_cont_build_run.tcl x: 214 lines of code y: 17 # changes build/fbpkg.tcl x: 64 lines of code y: 1 # changes util/WdtFlagsMacros.h x: 43 lines of code y: 4 # changes build/auto_version.tcl x: 63 lines of code y: 5 # changes build/wdt_cont_build_run_diff.tcl x: 163 lines of code y: 4 # changes build/version_update.tcl x: 71 lines of code y: 1 # changes
100.0
# changes
  min: 1.0
  average: 18.32
  25th percentile: 6.0
  median: 12.0
  75th percentile: 21.5
  max: 100.0
0 991.0
lines of code
min: 1.0 | average: 189.88 | 25th percentile: 58.5 | median: 95.0 | 75th percentile: 240.5 | max: 991.0

Number of Contributors vs. Number of Changes: 81 points

Sender.h x: 12 # contributors y: 66 # changes bench/Bigram.cpp x: 3 # contributors y: 3 # changes bench/wdtGenFiles.cpp x: 5 # contributors y: 8 # changes bench/wdtGenTest.cpp x: 4 # contributors y: 5 # changes bench/wdtStats.cpp x: 4 # contributors y: 6 # changes util/Stats.cpp x: 4 # contributors y: 4 # changes util/WdtFlags.cpp x: 6 # contributors y: 10 # changes build/folly-config.h.in x: 4 # contributors y: 9 # changes util/FileCreator.cpp x: 8 # contributors y: 14 # changes util/ServerSocket.cpp x: 6 # contributors y: 17 # changes Receiver.cpp x: 15 # contributors y: 85 # changes Receiver.h x: 11 # contributors y: 51 # changes AbortChecker.h x: 5 # contributors y: 6 # changes ByteSource.h x: 7 # contributors y: 26 # changes ErrorCodes.cpp x: 5 # contributors y: 10 # changes ErrorCodes.h x: 7 # contributors y: 32 # changes Protocol.cpp x: 6 # contributors y: 37 # changes Protocol.h x: 7 # contributors y: 38 # changes ReceiverThread.cpp x: 11 # contributors y: 39 # changes ReceiverThread.h x: 6 # contributors y: 12 # changes Reporting.cpp x: 11 # contributors y: 50 # changes Reporting.h x: 8 # contributors y: 42 # changes Sender.cpp x: 13 # contributors y: 100 # changes SenderThread.cpp x: 10 # contributors y: 34 # changes SenderThread.h x: 7 # contributors y: 15 # changes SourceQueue.h x: 5 # contributors y: 12 # changes Throttler.cpp x: 7 # contributors y: 23 # changes Throttler.h x: 6 # contributors y: 22 # changes Wdt.h x: 8 # contributors y: 17 # changes WdtBase.cpp x: 6 # contributors y: 27 # changes WdtBase.h x: 9 # contributors y: 32 # changes WdtOptions.cpp x: 4 # contributors y: 19 # changes WdtOptions.h x: 9 # contributors y: 61 # changes WdtResourceController.h x: 8 # contributors y: 21 # changes WdtThread.cpp x: 5 # contributors y: 7 # changes WdtThread.h x: 5 # contributors y: 11 # changes WdtTransferRequest.cpp x: 7 # contributors y: 12 # changes WdtTransferRequest.h x: 9 # contributors y: 16 # changes bench/Bigram.h x: 2 # contributors y: 2 # changes util/ClientSocket.cpp x: 7 # contributors y: 20 # changes util/CommonImpl.h x: 5 # contributors y: 5 # changes util/DirectorySourceQueue.cpp x: 8 # contributors y: 24 # changes util/DirectorySourceQueue.h x: 7 # contributors y: 21 # changes util/EncryptionUtils.cpp x: 7 # contributors y: 16 # changes util/EncryptionUtils.h x: 5 # contributors y: 13 # changes util/FileCreator.h x: 6 # contributors y: 9 # changes util/FileWriter.cpp x: 6 # contributors y: 13 # changes util/SerializationUtil.h x: 3 # contributors y: 7 # changes util/ThreadTransferHistory.cpp x: 4 # contributors y: 7 # changes util/ThreadTransferHistory.h x: 2 # contributors y: 3 # changes util/TransferLogManager.cpp x: 7 # contributors y: 18 # changes util/WdtFlags.h x: 3 # contributors y: 4 # changes wdtCmdLine.cpp x: 11 # contributors y: 77 # changes CMakeLists.txt.in x: 1 # contributors y: 1 # changes Wdt.cpp x: 5 # contributors y: 20 # changes util/WdtSocket.cpp x: 5 # contributors y: 16 # changes util/WdtSocket.h x: 4 # contributors y: 13 # changes build/wdt_cont_build_run.tcl x: 2 # contributors y: 17 # changes build/auto_version.tcl x: 2 # contributors y: 5 # changes build/wdt_cont_build_run_diff.tcl x: 1 # contributors y: 4 # changes
100.0
# changes
  min: 1.0
  average: 18.32
  25th percentile: 6.0
  median: 12.0
  75th percentile: 21.5
  max: 100.0
0 15.0
# contributors
min: 1.0 | average: 5.69 | 25th percentile: 4.0 | median: 5.0 | 75th percentile: 7.0 | max: 15.0