hhvm / hack-router
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 43 files with 1,146 lines of code.
    • 0 files changed more than 100 times (0 lines of code)
    • 0 files changed 51-100 times (0 lines of code)
    • 0 files changed 21-50 times (0 lines of code)
    • 19 files changed 6-20 times (854 lines of code)
    • 24 files changed 1-5 times (292 lines of code)
0% | 0% | 0% | 74% | 25%
Legend:
101+
51-100
21-50
6-20
1-5
explore: zoomable circles | data
File Change Frequency per File Extension
php, json, md, txt, gitignore, yml, gitattributes
File Change Frequency per Extension
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
php0% | 0% | 0% | 74% | 25%
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
router0% | 0% | 0% | 96% | 3%
request-parameters0% | 0% | 0% | 83% | 16%
router/PrefixMatching0% | 0% | 0% | 100% | 0%
uri-patterns0% | 0% | 0% | 70% | 29%
PatternParser0% | 0% | 0% | 34% | 65%
http-exceptions0% | 0% | 0% | 0% | 100%
Most Frequently Changed Files (Top 43)

See data for all files...

File# lines# unitslast modified
(days ago)
created
(days ago)
# changes# contributors
BaseRouter.php
in src/router
83 4 797 2308 19 6
RequestParametersBase.php
in src/request-parameters
76 6 150 2029 12 3
74 4 315 1641 11 4
UriPattern.php
in src/uri-patterns
52 10 485 2029 10 3
PrefixMap.php
in src/router/PrefixMatching
143 9 314 1641 10 3
38 3 899 1641 9 3
UriBuilderBase.php
in src/uri-patterns
75 3 739 2029 9 2
12 2 627 2308 8 4
ParameterNode.php
in src/PatternParser
26 5 397 1642 7 2
EnumRequestParameter.php
in src/request-parameters
31 5 1164 2029 7 2
StringRequestParameter.php
in src/request-parameters
32 3 1348 2029 7 2
IntRequestParameter.php
in src/request-parameters
13 2 1348 2029 6 2
OptionalNode.php
in src/PatternParser
15 4 1348 1642 6 2
LiteralNode.php
in src/PatternParser
16 4 1348 1642 6 2
PatternNode.php
in src/PatternParser
21 4 1348 1642 6 2
HttpMethod.php
in src/router
23 - 1224 2039 6 4
UriBuilderSetters.php
in src/uri-patterns
33 3 1007 2029 6 2
PrefixMapOrResponder.php
in src/router/PrefixMatching
35 6 397 1641 6 2
RequestParameterGetters.php
in src/request-parameters
56 7 1466 2029 6 2
UriPatternPart.php
in src/uri-patterns
4 - 1348 2029 5 2
HasFastRouteFragment.php
in src/uri-patterns
5 - 1348 2023 5 2
HasUriPattern.php
in src/uri-patterns
5 - 1348 2029 5 2
Node.php
in src/PatternParser
6 - 1348 1642 5 2
UriBuilderWithPath.php
in src/uri-patterns
6 - 1348 2029 5 2
TypedUriParameter.php
in src/request-parameters
8 1 1348 2029 5 2
8 1 1348 2024 5 2
RequestParameter.php
in src/request-parameters
10 2 1348 2029 5 2
UriParameter.php
in src/request-parameters
13 1 1348 2029 5 2
MethodNotAllowedException.php
in src/http-exceptions
15 2 877 2029 5 3
UriPatternLiteral.php
in src/uri-patterns
17 3 1348 2029 5 2
tokenize.php
in src/PatternParser
20 1 1025 1642 5 2
Parser.php
in src/PatternParser
109 3 1348 1642 5 2
InternalServerErrorException.php
in src/http-exceptions
4 - 1466 2029 4 2
NotFoundException.php
in src/http-exceptions
4 - 1466 2029 4 2
TypedRequestParameter.php
in src/request-parameters
6 - 1348 2029 4 2
UriBuilder.php
in src/uri-patterns
6 - 1348 2029 4 2
UriBuilderGetPath.php
in src/uri-patterns
8 1 1348 2029 4 2
8 1 1348 2024 4 2
Token.php
in src/PatternParser
3 - 1348 1642 3 2
HttpException.php
in src/http-exceptions
4 - 1466 2022 3 2
RequestParameters.php
in src/request-parameters
5 - 1466 2029 3 2
TokenType.php
in src/PatternParser
10 - 1348 1642 3 2
IResolver.php
in src/router
8 - 1466 1642 2 1
Files With Most Contributors (Top 43)
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
BaseRouter.php
in src/router
83 4 797 2308 19 6
RequestParametersBase.php
in src/request-parameters
76 6 150 2029 12 3
74 4 315 1641 11 4
PrefixMap.php
in src/router/PrefixMatching
143 9 314 1641 10 3
UriPattern.php
in src/uri-patterns
52 10 485 2029 10 3
UriBuilderBase.php
in src/uri-patterns
75 3 739 2029 9 2
38 3 899 1641 9 3
12 2 627 2308 8 4
ParameterNode.php
in src/PatternParser
26 5 397 1642 7 2
StringRequestParameter.php
in src/request-parameters
32 3 1348 2029 7 2
EnumRequestParameter.php
in src/request-parameters
31 5 1164 2029 7 2
PrefixMapOrResponder.php
in src/router/PrefixMatching
35 6 397 1641 6 2
OptionalNode.php
in src/PatternParser
15 4 1348 1642 6 2
LiteralNode.php
in src/PatternParser
16 4 1348 1642 6 2
PatternNode.php
in src/PatternParser
21 4 1348 1642 6 2
IntRequestParameter.php
in src/request-parameters
13 2 1348 2029 6 2
RequestParameterGetters.php
in src/request-parameters
56 7 1466 2029 6 2
UriBuilderSetters.php
in src/uri-patterns
33 3 1007 2029 6 2
HttpMethod.php
in src/router
23 - 1224 2039 6 4
tokenize.php
in src/PatternParser
20 1 1025 1642 5 2
Node.php
in src/PatternParser
6 - 1348 1642 5 2
Parser.php
in src/PatternParser
109 3 1348 1642 5 2
RequestParameter.php
in src/request-parameters
10 2 1348 2029 5 2
TypedUriParameter.php
in src/request-parameters
8 1 1348 2029 5 2
UriParameter.php
in src/request-parameters
13 1 1348 2029 5 2
HasFastRouteFragment.php
in src/uri-patterns
5 - 1348 2023 5 2
UriPatternPart.php
in src/uri-patterns
4 - 1348 2029 5 2
HasUriPattern.php
in src/uri-patterns
5 - 1348 2029 5 2
UriBuilderWithPath.php
in src/uri-patterns
6 - 1348 2029 5 2
UriPatternLiteral.php
in src/uri-patterns
17 3 1348 2029 5 2
8 1 1348 2024 5 2
MethodNotAllowedException.php
in src/http-exceptions
15 2 877 2029 5 3
InternalServerErrorException.php
in src/http-exceptions
4 - 1466 2029 4 2
NotFoundException.php
in src/http-exceptions
4 - 1466 2029 4 2
TypedRequestParameter.php
in src/request-parameters
6 - 1348 2029 4 2
UriBuilderGetPath.php
in src/uri-patterns
8 1 1348 2029 4 2
UriBuilder.php
in src/uri-patterns
6 - 1348 2029 4 2
8 1 1348 2024 4 2
Token.php
in src/PatternParser
3 - 1348 1642 3 2
TokenType.php
in src/PatternParser
10 - 1348 1642 3 2
HttpException.php
in src/http-exceptions
4 - 1466 2022 3 2
RequestParameters.php
in src/request-parameters
5 - 1466 2029 3 2
IResolver.php
in src/router
8 - 1466 1642 2 1
Correlations

File Size vs. Number of Changes: 44 points

src/request-parameters/RequestParametersBase.php x: 76 lines of code y: 12 # changes src/router/PrefixMatching/PrefixMap.php x: 143 lines of code y: 10 # changes src/router/PrefixMatchingResolver.php x: 74 lines of code y: 11 # changes src/PatternParser/ParameterNode.php x: 26 lines of code y: 7 # changes src/router/PrefixMatching/PrefixMapOrResponder.php x: 35 lines of code y: 6 # changes src/uri-patterns/UriPattern.php x: 52 lines of code y: 10 # changes src/router/UnknownRouterException.php x: 12 lines of code y: 8 # changes src/uri-patterns/UriBuilderBase.php x: 75 lines of code y: 9 # changes src/router/BaseRouter.php x: 83 lines of code y: 19 # changes src/http-exceptions/MethodNotAllowedException.php x: 15 lines of code y: 5 # changes src/router/SimpleRegexpResolver.php x: 38 lines of code y: 9 # changes src/uri-patterns/UriBuilderSetters.php x: 33 lines of code y: 6 # changes src/PatternParser/tokenize.php x: 20 lines of code y: 5 # changes src/request-parameters/EnumRequestParameter.php x: 31 lines of code y: 7 # changes src/router/HttpMethod.php x: 23 lines of code y: 6 # changes src/PatternParser/LiteralNode.php x: 16 lines of code y: 6 # changes src/PatternParser/Node.php x: 6 lines of code y: 5 # changes src/PatternParser/OptionalNode.php x: 15 lines of code y: 6 # changes src/PatternParser/Parser.php x: 109 lines of code y: 5 # changes src/PatternParser/PatternNode.php x: 21 lines of code y: 6 # changes src/PatternParser/Token.php x: 3 lines of code y: 3 # changes src/PatternParser/TokenType.php x: 10 lines of code y: 3 # changes src/request-parameters/IntRequestParameter.php x: 13 lines of code y: 6 # changes src/request-parameters/RequestParameter.php x: 10 lines of code y: 5 # changes src/request-parameters/StringRequestParameter.php x: 32 lines of code y: 7 # changes src/request-parameters/TypedRequestParameter.php x: 6 lines of code y: 4 # changes src/request-parameters/TypedUriParameter.php x: 8 lines of code y: 5 # changes src/request-parameters/UriParameter.php x: 13 lines of code y: 5 # changes src/uri-patterns/GetUriBuilderFromUriPattern.php x: 8 lines of code y: 4 # changes src/uri-patterns/HasFastRouteFragment.php x: 5 lines of code y: 5 # changes src/uri-patterns/UriPatternLiteral.php x: 17 lines of code y: 5 # changes src/uri-patterns/UriPatternPart.php x: 4 lines of code y: 5 # changes src/http-exceptions/HttpException.php x: 4 lines of code y: 3 # changes src/http-exceptions/InternalServerErrorException.php x: 4 lines of code y: 4 # changes src/request-parameters/RequestParameterGetters.php x: 56 lines of code y: 6 # changes src/request-parameters/RequestParameters.php x: 5 lines of code y: 3 # changes src/router/IResolver.php x: 8 lines of code y: 2 # changes src/http-exceptions/HTTPException.php x: 4 lines of code y: 2 # changes
19.0
# changes
  min: 2.0
  average: 5.95
  25th percentile: 4.0
  median: 5.0
  75th percentile: 6.75
  max: 19.0
0 143.0
lines of code
min: 3.0 | average: 26.14 | 25th percentile: 6.0 | median: 13.0 | 75th percentile: 32.75 | max: 143.0

Number of Contributors vs. Number of Changes: 44 points

src/request-parameters/RequestParametersBase.php x: 3 # contributors y: 12 # changes src/router/PrefixMatching/PrefixMap.php x: 3 # contributors y: 10 # changes src/router/PrefixMatchingResolver.php x: 4 # contributors y: 11 # changes src/PatternParser/ParameterNode.php x: 2 # contributors y: 7 # changes src/router/PrefixMatching/PrefixMapOrResponder.php x: 2 # contributors y: 6 # changes src/router/UnknownRouterException.php x: 4 # contributors y: 8 # changes src/uri-patterns/UriBuilderBase.php x: 2 # contributors y: 9 # changes src/router/BaseRouter.php x: 6 # contributors y: 19 # changes src/http-exceptions/MethodNotAllowedException.php x: 3 # contributors y: 5 # changes src/router/SimpleRegexpResolver.php x: 3 # contributors y: 9 # changes src/PatternParser/tokenize.php x: 2 # contributors y: 5 # changes src/router/HttpMethod.php x: 4 # contributors y: 6 # changes src/PatternParser/Token.php x: 2 # contributors y: 3 # changes src/request-parameters/TypedRequestParameter.php x: 2 # contributors y: 4 # changes src/router/IResolver.php x: 1 # contributors y: 2 # changes
19.0
# changes
  min: 2.0
  average: 5.95
  25th percentile: 4.0
  median: 5.0
  75th percentile: 6.75
  max: 19.0
0 6.0
# contributors
min: 1.0 | average: 2.3 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 6.0