facebookincubator / SocketRocket
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 52 files with 2,844 lines of code.
    • 1 files changed more than 100 times (1,219 lines of code)
    • 1 files changed 51-100 times (86 lines of code)
    • 0 files changed 21-50 times (0 lines of code)
    • 9 files changed 6-20 times (772 lines of code)
    • 41 files changed 1-5 times (767 lines of code)
42% | 3% | 0% | 27% | 26%
Legend:
101+
51-100
21-50
6-20
1-5
explore: zoomable circles | data
File Change Frequency per File Extension
h, m, plist, md, json, gitignore, sh, go, py, js, storyboard, txt, yml, html, podspec, gitmodules
File Change Frequency per Extension
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
m51% | 0% | 0% | 27% | 20%
h0% | 28% | 0% | 19% | 52%
go0% | 0% | 0% | 100% | 0%
py0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
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
SocketRocket85% | 6% | 0% | <1% | 7%
SocketRocket/Internal/Proxy0% | 0% | 0% | 97% | 2%
SocketRocket/Internal/Delegate0% | 0% | 0% | 100% | 0%
TestChat0% | 0% | 0% | 73% | 26%
SocketRocket/Internal/Utilities0% | 0% | 0% | 22% | 77%
TestChatServer/go0% | 0% | 0% | 100% | 0%
SocketRocket/Internal/IOConsumer0% | 0% | 0% | 0% | 100%
TestChatServer/static0% | 0% | 0% | 0% | 100%
SocketRocket/Internal/RunLoop0% | 0% | 0% | 0% | 100%
SocketRocket/Internal/Security0% | 0% | 0% | 0% | 100%
TestChatServer/py0% | 0% | 0% | 0% | 100%
SocketRocket/Internal0% | 0% | 0% | 0% | 100%
Most Frequently Changed Files (Top 50)

See data for all files...

File# lines# unitslast modified
(days ago)
created
(days ago)
# changes# contributors
SRWebSocket.m
in SocketRocket
1219 3 247 3730 122 50
SRWebSocket.h
in SocketRocket
86 2 1690 3730 57 24
124 - 2114 3730 14 9
SRProxyConnect.m
in SocketRocket/Internal/Proxy
378 - 2061 2140 11 2
6 - 2137 3730 8 7
SRURLUtilities.m
in SocketRocket/Internal/Utilities
62 1 246 2165 8 1
SocketRocket.h
in SocketRocket
4 - 2061 2276 7 4
SRDelegateController.h
in SocketRocket/Internal/Delegate
40 - 1449 2167 7 2
SRDelegateController.m
in SocketRocket/Internal/Delegate
99 - 247 2167 7 1
SRURLUtilities.h
in SocketRocket/Internal/Utilities
7 - 2077 2165 6 1
chatroom.go
in TestChatServer/go
52 3 2172 3722 6 6
20 1 1690 2157 5 2
TCAppDelegate.h
in TestChat
4 - 2135 3730 4 2
TCAppDelegate.m
in TestChat
7 - 2135 3730 4 2
SRPinningSecurityPolicy.h
in SocketRocket/Internal/Security
7 - 1690 2115 4 3
SRConstants.h
in SocketRocket/Internal
10 1 247 2088 4 1
13 - 1690 2157 4 2
SRRunLoopThread.m
in SocketRocket/Internal/RunLoop
59 - 2061 2171 4 1
10 1 2061 2157 3 1
SRError.m
in SocketRocket/Internal/Utilities
26 - 2061 2164 3 1
chatroom.py
in TestChatServer/py
49 5 2172 3725 3 2
SRHTTPConnectMessage.m
in SocketRocket/Internal/Utilities
51 1 2062 2130 3 1
NSURLRequest+SRWebSocketPrivate.h
in SocketRocket/Internal
2 - 2061 2107 2 1
NSRunLoop+SRWebSocketPrivate.h
in SocketRocket/Internal
2 - 2061 2107 2 1
SRRandom.h
in SocketRocket/Internal/Utilities
4 - 2128 2130 2 1
TCChatCell.h
in TestChat
5 - 2172 3730 2 2
SRRunLoopThread.h
in SocketRocket/Internal/RunLoop
7 - 2165 2171 2 1
main.m
in TestChat
8 1 2172 3730 2 2
SRHTTPConnectMessage.h
in SocketRocket/Internal/Utilities
8 - 2128 2130 2 1
SRProxyConnect.h
in SocketRocket/Internal/Proxy
10 - 2139 2140 2 2
SRRandom.m
in SocketRocket/Internal/Utilities
13 - 2128 2130 2 1
SRSecurityPolicy.h
in SocketRocket
16 - 1690 2115 2 2
TCChatCell.m
in TestChat
22 - 2172 3730 2 2
SRMutex.m
in SocketRocket/Internal/Utilities
29 4 2040 2118 2 2
SRSIMDHelpers.m
in SocketRocket/Internal/Utilities
38 3 2061 2107 2 2
proxy.js
in TestChatServer/static
38 6 2172 3722 2 2
SRSecurityPolicy.m
in SocketRocket
44 - 1690 2115 2 2
SRPinningSecurityPolicy.m
in SocketRocket/Internal/Security
45 - 1690 2115 2 2
SRSIMDHelpers.h
in SocketRocket/Internal/Utilities
2 - 2107 2107 1 1
SRLog.h
in SocketRocket/Internal/Utilities
5 - 2118 2118 1 1
6 - 2157 2157 1 1
SRHash.h
in SocketRocket/Internal/Utilities
6 - 2171 2171 1 1
SRError.h
in SocketRocket/Internal/Utilities
7 - 2164 2164 1 1
SRMutex.h
in SocketRocket/Internal/Utilities
8 - 2118 2118 1 1
SRConstants.m
in SocketRocket/Internal
9 1 2088 2088 1 1
SRIOConsumerPool.h
in SocketRocket/Internal/IOConsumer
11 - 2171 2171 1 1
SRLog.m
in SocketRocket/Internal/Utilities
17 2 2118 2118 1 1
SRIOConsumer.m
in SocketRocket/Internal/IOConsumer
21 - 2171 2171 1 1
SRIOConsumer.h
in SocketRocket/Internal/IOConsumer
22 - 2171 2171 1 1
SRHash.m
in SocketRocket/Internal/Utilities
26 - 2171 2171 1 1
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
SRWebSocket.m
in SocketRocket
1219 3 247 3730 122 50
SRWebSocket.h
in SocketRocket
86 2 1690 3730 57 24
124 - 2114 3730 14 9
SRProxyConnect.m
in SocketRocket/Internal/Proxy
378 - 2061 2140 11 2
SRURLUtilities.m
in SocketRocket/Internal/Utilities
62 1 246 2165 8 1
6 - 2137 3730 8 7
SRDelegateController.m
in SocketRocket/Internal/Delegate
99 - 247 2167 7 1
SRDelegateController.h
in SocketRocket/Internal/Delegate
40 - 1449 2167 7 2
SocketRocket.h
in SocketRocket
4 - 2061 2276 7 4
SRURLUtilities.h
in SocketRocket/Internal/Utilities
7 - 2077 2165 6 1
chatroom.go
in TestChatServer/go
52 3 2172 3722 6 6
20 1 1690 2157 5 2
SRRunLoopThread.m
in SocketRocket/Internal/RunLoop
59 - 2061 2171 4 1
SRConstants.h
in SocketRocket/Internal
10 1 247 2088 4 1
TCAppDelegate.m
in TestChat
7 - 2135 3730 4 2
TCAppDelegate.h
in TestChat
4 - 2135 3730 4 2
13 - 1690 2157 4 2
SRPinningSecurityPolicy.h
in SocketRocket/Internal/Security
7 - 1690 2115 4 3
SRError.m
in SocketRocket/Internal/Utilities
26 - 2061 2164 3 1
SRHTTPConnectMessage.m
in SocketRocket/Internal/Utilities
51 1 2062 2130 3 1
10 1 2061 2157 3 1
chatroom.py
in TestChatServer/py
49 5 2172 3725 3 2
SRRandom.m
in SocketRocket/Internal/Utilities
13 - 2128 2130 2 1
SRHTTPConnectMessage.h
in SocketRocket/Internal/Utilities
8 - 2128 2130 2 1
SRRandom.h
in SocketRocket/Internal/Utilities
4 - 2128 2130 2 1
NSURLRequest+SRWebSocketPrivate.h
in SocketRocket/Internal
2 - 2061 2107 2 1
NSRunLoop+SRWebSocketPrivate.h
in SocketRocket/Internal
2 - 2061 2107 2 1
SRRunLoopThread.h
in SocketRocket/Internal/RunLoop
7 - 2165 2171 2 1
TCChatCell.h
in TestChat
5 - 2172 3730 2 2
main.m
in TestChat
8 1 2172 3730 2 2
TCChatCell.m
in TestChat
22 - 2172 3730 2 2
SRSecurityPolicy.h
in SocketRocket
16 - 1690 2115 2 2
SRSIMDHelpers.m
in SocketRocket/Internal/Utilities
38 3 2061 2107 2 2
SRMutex.m
in SocketRocket/Internal/Utilities
29 4 2040 2118 2 2
SRPinningSecurityPolicy.m
in SocketRocket/Internal/Security
45 - 1690 2115 2 2
SRProxyConnect.h
in SocketRocket/Internal/Proxy
10 - 2139 2140 2 2
SRSecurityPolicy.m
in SocketRocket
44 - 1690 2115 2 2
proxy.js
in TestChatServer/static
38 6 2172 3722 2 2
6 - 2157 2157 1 1
SRConstants.m
in SocketRocket/Internal
9 1 2088 2088 1 1
SRIOConsumerPool.m
in SocketRocket/Internal/IOConsumer
45 - 2171 2171 1 1
SRIOConsumer.h
in SocketRocket/Internal/IOConsumer
22 - 2171 2171 1 1
SRIOConsumer.m
in SocketRocket/Internal/IOConsumer
21 - 2171 2171 1 1
SRIOConsumerPool.h
in SocketRocket/Internal/IOConsumer
11 - 2171 2171 1 1
SRMutex.h
in SocketRocket/Internal/Utilities
8 - 2118 2118 1 1
SRHash.m
in SocketRocket/Internal/Utilities
26 - 2171 2171 1 1
SRLog.m
in SocketRocket/Internal/Utilities
17 2 2118 2118 1 1
SRError.h
in SocketRocket/Internal/Utilities
7 - 2164 2164 1 1
SRSIMDHelpers.h
in SocketRocket/Internal/Utilities
2 - 2107 2107 1 1
SRLog.h
in SocketRocket/Internal/Utilities
5 - 2118 2118 1 1
Correlations

File Size vs. Number of Changes: 52 points

SocketRocket/Internal/Utilities/SRURLUtilities.m x: 62 lines of code y: 8 # changes SocketRocket/Internal/SRConstants.h x: 10 lines of code y: 4 # changes SocketRocket/SRWebSocket.m x: 1219 lines of code y: 122 # changes SocketRocket/Internal/Delegate/SRDelegateController.m x: 99 lines of code y: 7 # changes SocketRocket/Internal/Delegate/SRDelegateController.h x: 40 lines of code y: 7 # changes SocketRocket/Internal/Security/SRPinningSecurityPolicy.h x: 7 lines of code y: 4 # changes SocketRocket/Internal/Security/SRPinningSecurityPolicy.m x: 45 lines of code y: 2 # changes SocketRocket/NSURLRequest+SRWebSocket.h x: 13 lines of code y: 4 # changes SocketRocket/NSURLRequest+SRWebSocket.m x: 20 lines of code y: 5 # changes SocketRocket/SRSecurityPolicy.h x: 16 lines of code y: 2 # changes SocketRocket/SRSecurityPolicy.m x: 44 lines of code y: 2 # changes SocketRocket/SRWebSocket.h x: 86 lines of code y: 57 # changes SocketRocket/Internal/Utilities/SRMutex.m x: 29 lines of code y: 2 # changes SocketRocket/Internal/NSRunLoop+SRWebSocketPrivate.h x: 2 lines of code y: 2 # changes SocketRocket/Internal/Proxy/SRProxyConnect.m x: 378 lines of code y: 11 # changes SocketRocket/Internal/RunLoop/SRRunLoopThread.m x: 59 lines of code y: 4 # changes SocketRocket/Internal/Utilities/SRError.m x: 26 lines of code y: 3 # changes SocketRocket/Internal/Utilities/SRSIMDHelpers.m x: 38 lines of code y: 2 # changes SocketRocket/NSRunLoop+SRWebSocket.m x: 10 lines of code y: 3 # changes SocketRocket/SocketRocket.h x: 4 lines of code y: 7 # changes SocketRocket/Internal/Utilities/SRHTTPConnectMessage.m x: 51 lines of code y: 3 # changes SocketRocket/Internal/Utilities/SRURLUtilities.h x: 7 lines of code y: 6 # changes SocketRocket/Internal/SRConstants.m x: 9 lines of code y: 1 # changes SocketRocket/Internal/Utilities/SRSIMDHelpers.h x: 2 lines of code y: 1 # changes TestChat/TCViewController.m x: 124 lines of code y: 14 # changes SocketRocket/Internal/Utilities/SRMutex.h x: 8 lines of code y: 1 # changes SocketRocket/Internal/Utilities/SRLog.h x: 5 lines of code y: 1 # changes SocketRocket/Internal/Utilities/SRLog.m x: 17 lines of code y: 1 # changes SocketRocket/Internal/Utilities/SRHTTPConnectMessage.h x: 8 lines of code y: 2 # changes SocketRocket/Internal/Utilities/SRRandom.h x: 4 lines of code y: 2 # changes SocketRocket/Internal/Utilities/SRRandom.m x: 13 lines of code y: 2 # changes TestChat/TCAppDelegate.h x: 4 lines of code y: 4 # changes TestChat/TCViewController.h x: 6 lines of code y: 8 # changes SocketRocket/Internal/Proxy/SRProxyConnect.h x: 10 lines of code y: 2 # changes SocketRocket/Internal/IOConsumer/SRIOConsumer.h x: 22 lines of code y: 1 # changes SocketRocket/Internal/IOConsumer/SRIOConsumerPool.m x: 45 lines of code y: 1 # changes SocketRocket/Internal/Utilities/SRHash.m x: 26 lines of code y: 1 # changes TestChat/TCChatCell.h x: 5 lines of code y: 2 # changes TestChat/TCChatCell.m x: 22 lines of code y: 2 # changes TestChatServer/go/chatroom.go x: 52 lines of code y: 6 # changes TestChatServer/py/chatroom.py x: 49 lines of code y: 3 # changes TestChatServer/static/index.html x: 35 lines of code y: 1 # changes
122.0
# changes
  min: 1.0
  average: 6.54
  25th percentile: 1.0
  median: 2.0
  75th percentile: 4.0
  max: 122.0
0 1219.0
lines of code
min: 2.0 | average: 54.69 | 25th percentile: 7.0 | median: 14.5 | 75th percentile: 43.0 | max: 1219.0

Number of Contributors vs. Number of Changes: 52 points

SocketRocket/Internal/Utilities/SRURLUtilities.m x: 1 # contributors y: 8 # changes SocketRocket/Internal/SRConstants.h x: 1 # contributors y: 4 # changes SocketRocket/SRWebSocket.m x: 50 # contributors y: 122 # changes SocketRocket/Internal/Delegate/SRDelegateController.m x: 1 # contributors y: 7 # changes SocketRocket/Internal/Delegate/SRDelegateController.h x: 2 # contributors y: 7 # changes SocketRocket/Internal/Security/SRPinningSecurityPolicy.h x: 3 # contributors y: 4 # changes SocketRocket/Internal/Security/SRPinningSecurityPolicy.m x: 2 # contributors y: 2 # changes SocketRocket/NSURLRequest+SRWebSocket.h x: 2 # contributors y: 4 # changes SocketRocket/NSURLRequest+SRWebSocket.m x: 2 # contributors y: 5 # changes SocketRocket/SRWebSocket.h x: 24 # contributors y: 57 # changes SocketRocket/Internal/NSRunLoop+SRWebSocketPrivate.h x: 1 # contributors y: 2 # changes SocketRocket/Internal/Proxy/SRProxyConnect.m x: 2 # contributors y: 11 # changes SocketRocket/Internal/Utilities/SRError.m x: 1 # contributors y: 3 # changes SocketRocket/SocketRocket.h x: 4 # contributors y: 7 # changes SocketRocket/Internal/Utilities/SRURLUtilities.h x: 1 # contributors y: 6 # changes SocketRocket/Internal/SRConstants.m x: 1 # contributors y: 1 # changes TestChat/TCViewController.m x: 9 # contributors y: 14 # changes TestChat/TCViewController.h x: 7 # contributors y: 8 # changes TestChatServer/go/chatroom.go x: 6 # contributors y: 6 # changes TestChatServer/py/chatroom.py x: 2 # contributors y: 3 # changes
122.0
# changes
  min: 1.0
  average: 6.54
  25th percentile: 1.0
  median: 2.0
  75th percentile: 4.0
  max: 122.0
0 50.0
# contributors
min: 1.0 | average: 3.17 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 50.0