reactjs / react-docgen
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 80 files with 5,325 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)
    • 0 files changed 6-20 times (0 lines of code)
    • 80 files changed 1-5 times (5,325 lines of code)
0% | 0% | 0% | 0% | 100%
Legend:
101+
51-100
21-50
6-20
1-5
explore: zoomable circles | data
File Change Frequency per File Extension
ts, js, snap, tsx, json, yml, md, gitignore, less, txt, html, eslintignore, prettierignore
File Change Frequency per Extension
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
ts0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
less0% | 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
src/utils0% | 0% | 0% | 0% | 100%
src/handlers0% | 0% | 0% | 0% | 100%
src0% | 0% | 0% | 0% | 100%
src/resolver0% | 0% | 0% | 0% | 100%
website/src/components0% | 0% | 0% | 0% | 100%
benchmark/fixtures0% | 0% | 0% | 0% | 100%
src/importer0% | 0% | 0% | 0% | 100%
website/src0% | 0% | 0% | 0% | 100%
benchmark0% | 0% | 0% | 0% | 100%
website0% | 0% | 0% | 0% | 100%
ROOT0% | 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
index.js
in website/src
9 - 18 1165 5 3
index.js
in benchmark
50 - 481 1079 3 2
babel.config.js
in website
9 - 418 1165 2 1
index.html
in website/src
16 - 820 1165 2 1
26 1 380 418 2 2
42 1 29 418 2 2
printValue.ts
in src/utils
45 3 168 418 2 2
resolveToModule.ts
in src/utils
46 1 29 418 2 2
62 2 29 418 2 2
expressionTo.ts
in src/utils
72 2 349 418 2 2
react-docgen.less
in website/src
93 - 820 1165 2 1
103 5 31 418 2 2
parseJsDoc.ts
in src/utils
108 6 168 418 2 2
126 5 31 418 2 2
resolveToValue.ts
in src/utils
192 4 29 418 2 2
getPropType.ts
in src/utils
224 10 31 418 2 2
index.ts
in src/importer
3 - 418 418 1 1
ignoreImports.ts
in src/importer
3 1 418 418 1 1
index.ts
in src/resolver
8 - 418 418 1 1
8 - 418 418 1 1
9 1 418 418 1 1
9 1 418 418 1 1
9 1 418 418 1 1
9 1 418 418 1 1
10 1 418 418 1 1
10 1 418 418 1 1
getNameOrValue.ts
in src/utils
11 1 418 418 1 1
12 1 418 418 1 1
index.ts
in src/handlers
13 - 418 418 1 1
13 1 29 29 1 1
16 2 418 418 1 1
16 1 418 418 1 1
17 2 418 418 1 1
18 1 418 418 1 1
18 1 418 418 1 1
19 1 418 418 1 1
20 2 418 418 1 1
match.ts
in src/utils
20 1 418 418 1 1
21 1 418 418 1 1
23 1 418 418 1 1
23 1 418 418 1 1
traverse.ts
in src/utils
27 1 418 418 1 1
index.ts
in src/utils
28 - 418 418 1 1
28 2 418 418 1 1
Header.js
in website/src/components
33 - 820 820 1 1
35 1 418 418 1 1
35 1 418 418 1 1
getPropertyName.ts
in src/utils
36 1 418 418 1 1
resolveHOC.ts
in src/utils
38 1 418 418 1 1
docblock.ts
in src/utils
40 3 418 418 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
index.js
in website/src
9 - 18 1165 5 3
index.js
in benchmark
50 - 481 1079 3 2
react-docgen.less
in website/src
93 - 820 1165 2 1
index.html
in website/src
16 - 820 1165 2 1
babel.config.js
in website
9 - 418 1165 2 1
26 1 380 418 2 2
getPropType.ts
in src/utils
224 10 31 418 2 2
resolveToValue.ts
in src/utils
192 4 29 418 2 2
62 2 29 418 2 2
parseJsDoc.ts
in src/utils
108 6 168 418 2 2
42 1 29 418 2 2
resolveToModule.ts
in src/utils
46 1 29 418 2 2
103 5 31 418 2 2
printValue.ts
in src/utils
45 3 168 418 2 2
126 5 31 418 2 2
expressionTo.ts
in src/utils
72 2 349 418 2 2
54 4 418 418 1 1
index.ts
in src/resolver
8 - 418 418 1 1
120 6 418 418 1 1
121 6 418 418 1 1
194 1 418 418 1 1
45 2 418 418 1 1
displayNameHandler.ts
in src/handlers
61 1 418 418 1 1
index.ts
in src/handlers
13 - 418 418 1 1
56 3 418 418 1 1
109 5 418 418 1 1
propDocBlockHandler.ts
in src/handlers
42 2 418 418 1 1
defaultPropsHandler.ts
in src/handlers
151 5 418 418 1 1
60 3 418 418 1 1
propTypeHandler.ts
in src/handlers
96 3 418 418 1 1
flowTypeHandler.ts
in src/handlers
100 2 418 418 1 1
172 4 418 418 1 1
getPropertyName.ts
in src/utils
36 1 418 418 1 1
9 1 418 418 1 1
9 1 418 418 1 1
18 1 418 418 1 1
35 1 418 418 1 1
docblock.ts
in src/utils
40 3 418 418 1 1
resolveHOC.ts
in src/utils
38 1 418 418 1 1
72 2 418 418 1 1
getFlowType.ts
in src/utils
359 26 418 418 1 1
index.ts
in src/utils
28 - 418 418 1 1
84 4 418 418 1 1
getMembers.ts
in src/utils
41 2 418 418 1 1
getTSType.ts
in src/utils
411 32 418 418 1 1
16 2 418 418 1 1
19 1 418 418 1 1
10 1 418 418 1 1
35 1 418 418 1 1
13 1 29 29 1 1
Correlations

File Size vs. Number of Changes: 80 points

website/src/index.js x: 9 lines of code y: 5 # changes src/utils/isDestructuringAssignment.ts x: 13 lines of code y: 1 # changes src/utils/isReactBuiltinCall.ts x: 42 lines of code y: 2 # changes src/utils/isReactComponentClass.ts x: 62 lines of code y: 2 # changes src/utils/resolveToModule.ts x: 46 lines of code y: 2 # changes src/utils/resolveToValue.ts x: 192 lines of code y: 2 # changes src/utils/resolveObjectValuesToArray.ts x: 126 lines of code y: 2 # changes src/utils/getPropType.ts x: 224 lines of code y: 2 # changes src/utils/resolveObjectKeysToArray.ts x: 103 lines of code y: 2 # changes src/utils/printValue.ts x: 45 lines of code y: 2 # changes src/utils/parseJsDoc.ts x: 108 lines of code y: 2 # changes src/utils/expressionTo.ts x: 72 lines of code y: 2 # changes src/utils/resolveExportDeclaration.ts x: 26 lines of code y: 2 # changes jest.config.js x: 8 lines of code y: 1 # changes src/Documentation.ts x: 194 lines of code y: 1 # changes src/babelParser.ts x: 96 lines of code y: 1 # changes src/handlers/componentDocblockHandler.ts x: 60 lines of code y: 1 # changes src/handlers/componentMethodsHandler.ts x: 109 lines of code y: 1 # changes src/handlers/componentMethodsJsDocHandler.ts x: 45 lines of code y: 1 # changes src/handlers/defaultPropsHandler.ts x: 151 lines of code y: 1 # changes src/handlers/displayNameHandler.ts x: 61 lines of code y: 1 # changes src/handlers/flowTypeHandler.ts x: 100 lines of code y: 1 # changes src/handlers/propDocBlockHandler.ts x: 42 lines of code y: 1 # changes src/handlers/propTypeCompositionHandler.ts x: 56 lines of code y: 1 # changes src/importer/ignoreImports.ts x: 3 lines of code y: 1 # changes src/importer/makeFsImporter.ts x: 119 lines of code y: 1 # changes src/main.ts x: 46 lines of code y: 1 # changes src/parse.ts x: 58 lines of code y: 1 # changes src/resolver/findAllComponentDefinitions.ts x: 54 lines of code y: 1 # changes src/resolver/findAllExportedComponentDefinitions.ts x: 121 lines of code y: 1 # changes src/resolver/findExportedComponentDefinition.ts x: 120 lines of code y: 1 # changes src/utils/docblock.ts x: 40 lines of code y: 1 # changes src/utils/flowUtilityTypes.ts x: 16 lines of code y: 1 # changes src/utils/getClassMemberValuePath.ts x: 18 lines of code y: 1 # changes src/utils/getFlowType.ts x: 359 lines of code y: 1 # changes src/utils/getFlowTypeFromReactComponent.ts x: 134 lines of code y: 1 # changes src/utils/getMemberExpressionRoot.ts x: 10 lines of code y: 1 # changes src/utils/getMemberExpressionValuePath.ts x: 84 lines of code y: 1 # changes src/utils/getMemberValuePath.ts x: 67 lines of code y: 1 # changes src/utils/getMembers.ts x: 41 lines of code y: 1 # changes src/utils/getMethodDocumentation.ts x: 148 lines of code y: 1 # changes src/utils/getNameOrValue.ts x: 11 lines of code y: 1 # changes src/utils/getParameterName.ts x: 21 lines of code y: 1 # changes src/utils/getPropertyName.ts x: 36 lines of code y: 1 # changes src/utils/getTSType.ts x: 411 lines of code y: 1 # changes src/utils/getTypeAnnotation.ts x: 17 lines of code y: 1 # changes src/utils/getTypeParameters.ts x: 35 lines of code y: 1 # changes src/utils/index.ts x: 28 lines of code y: 1 # changes src/utils/isExportsOrModuleAssignment.ts x: 23 lines of code y: 1 # changes src/utils/isReactCloneElementCall.ts x: 9 lines of code y: 1 # changes src/utils/isReactModuleName.ts x: 12 lines of code y: 1 # changes src/utils/isStatelessComponent.ts x: 172 lines of code y: 1 # changes src/utils/match.ts x: 20 lines of code y: 1 # changes src/utils/normalizeClassDefinition.ts x: 72 lines of code y: 1 # changes src/utils/resolveFunctionDefinitionToReturnValue.ts x: 19 lines of code y: 1 # changes src/utils/resolveHOC.ts x: 38 lines of code y: 1 # changes src/utils/traverse.ts x: 27 lines of code y: 1 # changes website/babel.config.js x: 9 lines of code y: 2 # changes benchmark/index.js x: 50 lines of code y: 3 # changes website/src/components/CodeMirrorPanel.js x: 78 lines of code y: 1 # changes website/src/components/Header.js x: 33 lines of code y: 1 # changes website/src/index.html x: 16 lines of code y: 2 # changes website/src/react-docgen.less x: 93 lines of code y: 2 # changes benchmark/fixtures/CircularProgress.js x: 204 lines of code y: 1 # changes
5.0
# changes
  min: 1.0
  average: 1.25
  25th percentile: 1.0
  median: 1.0
  75th percentile: 1.0
  max: 5.0
0 411.0
lines of code
min: 3.0 | average: 66.56 | 25th percentile: 17.25 | median: 42.0 | 75th percentile: 96.0 | max: 411.0

Number of Contributors vs. Number of Changes: 80 points

website/src/index.js x: 3 # contributors y: 5 # changes src/utils/isDestructuringAssignment.ts x: 1 # contributors y: 1 # changes src/utils/isReactBuiltinCall.ts x: 2 # contributors y: 2 # changes website/babel.config.js x: 1 # contributors y: 2 # changes benchmark/index.js x: 2 # contributors y: 3 # changes
5.0
# changes
  min: 1.0
  average: 1.25
  25th percentile: 1.0
  median: 1.0
  75th percentile: 1.0
  max: 5.0
0 3.0
# contributors
min: 1.0 | average: 1.18 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 3.0