facebook / draft-js
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 192 files with 12,837 lines of code.
    • 1 files changed more than 100 times (479 lines of code)
    • 1 files changed 51-100 times (556 lines of code)
    • 26 files changed 21-50 times (4,344 lines of code)
    • 132 files changed 6-20 times (6,559 lines of code)
    • 32 files changed 1-5 times (899 lines of code)
3% | 4% | 33% | 51% | 7%
Legend:
101+
51-100
21-50
6-20
1-5
explore: zoomable circles | data
File Change Frequency per File Extension
js, md, snap, css, html, json, gitignore, babelrc, yml, svg, txt, eslintignore
File Change Frequency per Extension
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
js3% | 4% | 34% | 51% | 5%
css0% | 0% | 0% | 48% | 51%
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/component/base67% | 0% | 22% | 9% | <1%
src/model/encoding0% | 50% | 21% | 28% | 0%
src/model/immutable0% | 0% | 64% | 34% | <1%
src/component/handlers0% | 0% | 54% | 45% | 0%
src/component/contents0% | 0% | 49% | 50% | 0%
src/model/modifier0% | 0% | 27% | 72% | 0%
src/model/transaction0% | 0% | 17% | 82% | 0%
src/component/selection0% | 0% | 25% | 74% | 0%
ROOT0% | 0% | 91% | 0% | 8%
src/model/decorators0% | 0% | 65% | 34% | 0%
src/model/paste0% | 0% | 76% | 23% | 0%
src0% | 0% | 61% | 0% | 38%
src/component/utils0% | 0% | 0% | 83% | 16%
src/model/entity0% | 0% | 0% | 100% | 0%
scripts/jest0% | 0% | 0% | 53% | 46%
src/model/constants0% | 0% | 0% | 100% | 0%
src/stubs0% | 0% | 0% | 46% | 53%
src/model/keys0% | 0% | 0% | 66% | 33%
src/util0% | 0% | 0% | 46% | 53%
website/src/components0% | 0% | 0% | 0% | 100%
website/src/pages0% | 0% | 0% | 0% | 100%
website0% | 0% | 0% | 0% | 100%
website/src/css0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
src/flowlib0% | 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
DraftEditor.react.js
in src/component/base
479 5 91 2241 103 60
556 7 182 2227 69 35
DraftEditorProps.js
in src/component/base
107 1 301 2240 50 43
ContentState.js
in src/model/immutable
238 6 239 2238 42 25
EditorState.js
in src/model/immutable
561 29 35 2213 41 26
DraftEditorBlock.react.js
in src/component/contents
196 - 401 2234 39 25
DraftEditorLeaf.react.js
in src/component/contents
104 - 182 2239 34 24
editOnBeforeInput.js
in src/component/handlers/edit
153 3 540 2067 33 20
RichTextEditorUtil.js
in src/model/modifier
286 - 182 2241 33 26
editOnInput.js
in src/component/handlers/edit
123 2 182 2179 31 16
editOnPaste.js
in src/component/handlers/edit
189 4 182 2227 31 21
DraftEditorDragHandler.js
in src/component/handlers/drag
131 4 15 2234 26 18
convertFromRawToDraftState.js
in src/model/encoding
240 3 226 2235 26 16
DraftPasteProcessor.js
in src/model/paste
66 1 820 2236 25 14
BlockTree.js
in src/model/immutable
108 3 309 2120 25 17
DraftEditorCompositionHandler.js
in src/component/handlers/composition
123 1 182 2006 24 18
222 2 578 2242 24 13
CharacterMetadata.js
in src/model/immutable
87 5 323 2156 23 16
DraftEditorContents-core.react.js
in src/component/contents
221 1 401 1606 23 16
setDraftEditorSelection.js
in src/component/selection
270 10 35 1841 23 13
DraftEditorPlaceholder.react.js
in src/component/base
51 - 301 2208 22 16
Draft.js
in src
52 - 406 2244 22 14
editOnKeyDown.js
in src/component/handlers/edit
158 3 877 2200 22 17
insertFragmentIntoContentState.js
in src/model/transaction
272 1 15 2235 22 14
editOnBlur.js
in src/component/handlers/edit
32 1 569 2006 21 12
DraftEditorTextNode.react.js
in src/component/contents
62 4 401 2208 21 13
CompositeDraftDecorator.js
in src/model/decorators
76 4 423 2039 21 12
DraftModifier.js
in src/model/modifier
216 - 569 2114 21 12
DraftDecorator.js
in src/model/decorators
28 - 401 2039 20 15
DraftEntity.js
in src/model/entity
95 - 354 1964 20 10
getDraftEditorSelectionWithNodes.js
in src/component/selection
151 9 569 2159 20 11
getDefaultKeyBinding.js
in src/component/utils
83 5 521 2209 19 14
removeEntitiesAtEdges.js
in src/model/transaction
91 3 15 2039 19 12
DraftBlockRenderConfig.js
in src/model/immutable
7 - 403 2175 18 12
editOnSelect.js
in src/component/handlers/edit
44 1 1072 2006 18 12
ContentBlock.js
in src/model/immutable
97 5 295 2120 18 11
convertFromDraftStateToRaw.js
in src/model/encoding
117 2 226 2114 18 12
getCharacterRemovalRange.js
in src/model/modifier
141 2 547 2039 18 8
AtomicBlockUtils.js
in src/model/modifier
151 3 353 2200 18 12
moveBlockInContentState.js
in src/model/transaction
189 2 15 1932 18 10
getRangeClientRects.js
in src/component/selection
37 2 35 2103 17 12
getSampleStateForTesting.js
in src/model/transaction
84 - 15 2205 17 11
getEntityKeyForSelection.js
in src/model/entity
38 2 549 2039 16 9
SelectionState.js
in src/model/immutable
110 1 647 2120 16 12
DraftEditorBlockNode.react.js
in src/component/contents/exploration
303 - 263 1611 16 11
KeyBindingUtil.js
in src/component/utils
22 - 569 2200 15 10
editOnCut.js
in src/component/handlers/edit
39 2 877 2006 15 9
keyCommandBackspaceToStartOfLine.js
in src/component/handlers/edit/commands
40 1 65 2180 15 10
getRangeBoundingClientRect.js
in src/component/selection
42 1 569 2191 15 9
SecondaryClipboard.js
in src/component/handlers/edit/commands
53 - 65 1841 15 11
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
DraftEditor.react.js
in src/component/base
479 5 91 2241 103 60
556 7 182 2227 69 35
DraftEditorProps.js
in src/component/base
107 1 301 2240 50 43
ContentState.js
in src/model/immutable
238 6 239 2238 42 25
EditorState.js
in src/model/immutable
561 29 35 2213 41 26
DraftEditorBlock.react.js
in src/component/contents
196 - 401 2234 39 25
DraftEditorLeaf.react.js
in src/component/contents
104 - 182 2239 34 24
editOnBeforeInput.js
in src/component/handlers/edit
153 3 540 2067 33 20
RichTextEditorUtil.js
in src/model/modifier
286 - 182 2241 33 26
editOnInput.js
in src/component/handlers/edit
123 2 182 2179 31 16
editOnPaste.js
in src/component/handlers/edit
189 4 182 2227 31 21
convertFromRawToDraftState.js
in src/model/encoding
240 3 226 2235 26 16
DraftEditorDragHandler.js
in src/component/handlers/drag
131 4 15 2234 26 18
DraftPasteProcessor.js
in src/model/paste
66 1 820 2236 25 14
BlockTree.js
in src/model/immutable
108 3 309 2120 25 17
222 2 578 2242 24 13
DraftEditorCompositionHandler.js
in src/component/handlers/composition
123 1 182 2006 24 18
setDraftEditorSelection.js
in src/component/selection
270 10 35 1841 23 13
CharacterMetadata.js
in src/model/immutable
87 5 323 2156 23 16
DraftEditorContents-core.react.js
in src/component/contents
221 1 401 1606 23 16
Draft.js
in src
52 - 406 2244 22 14
insertFragmentIntoContentState.js
in src/model/transaction
272 1 15 2235 22 14
DraftEditorPlaceholder.react.js
in src/component/base
51 - 301 2208 22 16
editOnKeyDown.js
in src/component/handlers/edit
158 3 877 2200 22 17
CompositeDraftDecorator.js
in src/model/decorators
76 4 423 2039 21 12
DraftModifier.js
in src/model/modifier
216 - 569 2114 21 12
editOnBlur.js
in src/component/handlers/edit
32 1 569 2006 21 12
DraftEditorTextNode.react.js
in src/component/contents
62 4 401 2208 21 13
DraftEntity.js
in src/model/entity
95 - 354 1964 20 10
getDraftEditorSelectionWithNodes.js
in src/component/selection
151 9 569 2159 20 11
DraftDecorator.js
in src/model/decorators
28 - 401 2039 20 15
removeEntitiesAtEdges.js
in src/model/transaction
91 3 15 2039 19 12
getDefaultKeyBinding.js
in src/component/utils
83 5 521 2209 19 14
getCharacterRemovalRange.js
in src/model/modifier
141 2 547 2039 18 8
moveBlockInContentState.js
in src/model/transaction
189 2 15 1932 18 10
ContentBlock.js
in src/model/immutable
97 5 295 2120 18 11
convertFromDraftStateToRaw.js
in src/model/encoding
117 2 226 2114 18 12
AtomicBlockUtils.js
in src/model/modifier
151 3 353 2200 18 12
DraftBlockRenderConfig.js
in src/model/immutable
7 - 403 2175 18 12
editOnSelect.js
in src/component/handlers/edit
44 1 1072 2006 18 12
getSampleStateForTesting.js
in src/model/transaction
84 - 15 2205 17 11
getRangeClientRects.js
in src/component/selection
37 2 35 2103 17 12
getEntityKeyForSelection.js
in src/model/entity
38 2 549 2039 16 9
DraftEditorBlockNode.react.js
in src/component/contents/exploration
303 - 263 1611 16 11
SelectionState.js
in src/model/immutable
110 1 647 2120 16 12
ContentBlockNode.js
in src/model/immutable
120 4 182 1621 15 8
ContentStateInlineStyle.js
in src/model/transaction
67 1 15 1841 15 9
editOnCut.js
in src/component/handlers/edit
39 2 877 2006 15 9
getRangeBoundingClientRect.js
in src/component/selection
42 1 569 2191 15 9
keyCommandBackspaceToStartOfLine.js
in src/component/handlers/edit/commands
40 1 65 2180 15 10
Correlations

File Size vs. Number of Changes: 192 points

src/model/transaction/ContentStateInlineStyle.js x: 67 lines of code y: 15 # changes src/model/transaction/adjustBlockDepthForContentState.js x: 33 lines of code y: 13 # changes src/model/transaction/applyEntityToContentBlock.js x: 21 lines of code y: 13 # changes src/model/transaction/applyEntityToContentState.js x: 32 lines of code y: 14 # changes src/model/transaction/getContentStateFragment.js x: 49 lines of code y: 13 # changes src/model/transaction/getSampleStateForTesting.js x: 84 lines of code y: 17 # changes src/model/transaction/insertFragmentIntoContentState.js x: 272 lines of code y: 22 # changes src/model/transaction/insertIntoList.js x: 24 lines of code y: 10 # changes src/model/transaction/modifyBlockForContentState.js x: 27 lines of code y: 13 # changes src/model/transaction/moveBlockInContentState.js x: 189 lines of code y: 18 # changes src/model/transaction/randomizeBlockMapKeys.js x: 94 lines of code y: 10 # changes src/model/transaction/removeEntitiesAtEdges.js x: 91 lines of code y: 19 # changes src/model/transaction/removeRangeFromContentState.js x: 323 lines of code y: 13 # changes src/model/transaction/splitBlockInContentState.js x: 126 lines of code y: 15 # changes src/component/handlers/drag/DraftEditorDragHandler.js x: 131 lines of code y: 26 # changes src/model/transaction/insertTextIntoContentState.js x: 51 lines of code y: 13 # changes src/component/contents/exploration/DraftEditorContentsExperimental.react.js x: 141 lines of code y: 13 # changes src/component/handlers/edit/commands/moveSelectionForward.js x: 28 lines of code y: 13 # changes src/component/selection/findAncestorOffsetKey.js x: 18 lines of code y: 13 # changes src/component/selection/getRangeClientRects.js x: 37 lines of code y: 17 # changes src/component/selection/setDraftEditorSelection.js x: 270 lines of code y: 23 # changes src/component/utils/exploration/DraftTreeInvariants.js x: 121 lines of code y: 6 # changes src/model/immutable/EditorState.js x: 561 lines of code y: 41 # changes src/model/transaction/exploration/getNextDelimiterBlockKey.js x: 38 lines of code y: 7 # changes website/docusaurus.config.js x: 97 lines of code y: 3 # changes website/src/pages/styles.module.css x: 38 lines of code y: 4 # changes website/src/pages/index.js x: 125 lines of code y: 5 # changes src/model/constants/DraftBlockType.js x: 19 lines of code y: 13 # changes src/model/constants/DraftDragType.js x: 2 lines of code y: 9 # changes src/model/constants/DraftEditorCommand.js x: 20 lines of code y: 10 # changes src/model/constants/DraftHandleValue.js x: 2 lines of code y: 11 # changes src/component/handlers/edit/commands/SecondaryClipboard.js x: 53 lines of code y: 15 # changes src/component/handlers/edit/commands/keyCommandBackspaceToStartOfLine.js x: 40 lines of code y: 15 # changes src/component/handlers/edit/commands/keyCommandBackspaceWord.js x: 28 lines of code y: 11 # changes src/component/handlers/edit/commands/keyCommandDeleteWord.js x: 25 lines of code y: 11 # changes src/component/handlers/edit/commands/keyCommandInsertNewline.js x: 11 lines of code y: 10 # changes src/component/handlers/edit/commands/keyCommandMoveSelectionToEndOfBlock.js x: 21 lines of code y: 10 # changes src/component/handlers/edit/commands/keyCommandMoveSelectionToStartOfBlock.js x: 19 lines of code y: 10 # changes src/component/handlers/edit/commands/keyCommandPlainBackspace.js x: 32 lines of code y: 11 # changes src/component/handlers/edit/commands/keyCommandTransposeCharacters.js x: 54 lines of code y: 10 # changes src/component/handlers/edit/commands/keyCommandUndo.js x: 24 lines of code y: 11 # changes src/component/handlers/edit/commands/moveSelectionBackward.js x: 37 lines of code y: 12 # changes src/component/handlers/edit/commands/removeTextWithStrategy.js x: 55 lines of code y: 12 # changes src/component/base/DraftEditor.react.js x: 479 lines of code y: 103 # changes src/util/getOwnObjectValues.js x: 7 lines of code y: 6 # changes src/util/uuid.js x: 8 lines of code y: 5 # changes scripts/jest/shims.js x: 1 lines of code y: 4 # changes src/NonASCIIStringSnapshotSerializer.js x: 32 lines of code y: 3 # changes src/component/utils/DraftDOMTypes.js x: 14 lines of code y: 5 # changes src/component/contents/DraftEditorLeaf.react.js x: 104 lines of code y: 34 # changes src/component/handlers/composition/DraftEditorCompositionHandler.js x: 123 lines of code y: 24 # changes src/component/handlers/edit/editOnInput.js x: 123 lines of code y: 31 # changes src/component/handlers/edit/editOnPaste.js x: 189 lines of code y: 31 # changes src/component/selection/getDraftEditorSelection.js x: 33 lines of code y: 14 # changes src/model/encoding/convertFromHTMLToContentBlocks.js x: 556 lines of code y: 69 # changes src/model/immutable/ContentBlockNode.js x: 120 lines of code y: 15 # changes src/model/modifier/RichTextEditorUtil.js x: 286 lines of code y: 33 # changes src/model/modifier/exploration/NestedRichTextEditorUtil.js x: 449 lines of code y: 13 # changes src/component/base/DraftEditor.css x: 45 lines of code y: 13 # changes src/component/selection/getSampleSelectionMocksForTestingNestedBlocks.js x: 107 lines of code y: 9 # changes src/model/encoding/convertFromDraftStateToRaw.js x: 117 lines of code y: 18 # changes src/model/encoding/convertFromRawToDraftState.js x: 240 lines of code y: 26 # changes src/model/keys/generateRandomKey.js x: 12 lines of code y: 10 # changes src/model/modifier/exploration/DraftTreeOperations.js x: 394 lines of code y: 9 # changes src/component/contents/exploration/DraftEditorDecoratedLeaves.react.js x: 61 lines of code y: 9 # changes src/model/immutable/ContentState.js x: 238 lines of code y: 42 # changes src/component/contents/exploration/DraftEditorBlockNode.react.js x: 303 lines of code y: 16 # changes src/model/immutable/ContentBlock.js x: 97 lines of code y: 18 # changes src/component/base/DraftEditorPlaceholder.react.js x: 51 lines of code y: 22 # changes src/component/base/DraftEditorProps.js x: 107 lines of code y: 50 # changes src/component/base/DraftScrollPosition.js x: 5 lines of code y: 10 # changes src/model/immutable/BlockTree.js x: 108 lines of code y: 25 # changes src/model/encoding/encodeInlineStyleRanges.js x: 48 lines of code y: 14 # changes src/model/immutable/CharacterMetadata.js x: 87 lines of code y: 23 # changes src/model/paste/getSafeBodyFromHTML.js x: 20 lines of code y: 11 # changes src/model/immutable/BlockNode.js x: 45 lines of code y: 10 # changes src/model/modifier/AtomicBlockUtils.js x: 151 lines of code y: 18 # changes src/model/modifier/DraftEntitySegments.js x: 61 lines of code y: 11 # changes src/model/modifier/DraftRemovableWord.js x: 48 lines of code y: 12 # changes src/model/entity/DraftEntity.js x: 95 lines of code y: 20 # changes src/model/encoding/DraftStringKey.js x: 10 lines of code y: 12 # changes src/model/decorators/DraftDecoratorType.js x: 12 lines of code y: 14 # changes src/stubs/gkx.js x: 7 lines of code y: 7 # changes src/component/contents/DraftEditorBlock.react.js x: 196 lines of code y: 39 # changes src/component/contents/DraftEditorContents-core.react.js x: 221 lines of code y: 23 # changes src/component/contents/DraftEditorTextNode.react.js x: 62 lines of code y: 21 # changes src/component/contents/exploration/DraftEditorNode.react.js x: 101 lines of code y: 8 # changes src/model/decorators/DraftDecorator.js x: 28 lines of code y: 20 # changes src/model/immutable/DefaultDraftBlockRenderMap.js x: 13 lines of code y: 13 # changes src/model/immutable/DraftBlockRenderConfig.js x: 7 lines of code y: 18 # changes src/Draft.js x: 52 lines of code y: 22 # changes src/model/decorators/CompositeDraftDecorator.js x: 76 lines of code y: 21 # changes src/component/utils/getTextContentFromFiles.js x: 53 lines of code y: 12 # changes src/component/handlers/composition/DOMObserver.js x: 107 lines of code y: 7 # changes src/component/utils/getWindowForNode.js x: 7 lines of code y: 2 # changes src/flowlib/window.js x: 1 lines of code y: 1 # changes src/component/utils/getDefaultKeyBinding.js x: 83 lines of code y: 19 # changes src/model/encoding/RawDraftContentState.js x: 7 lines of code y: 9 # changes src/component/handlers/edit/editOnBeforeInput.js x: 153 lines of code y: 33 # changes website/sidebars.js x: 57 lines of code y: 2 # changes src/model/modifier/getCharacterRemovalRange.js x: 141 lines of code y: 18 # changes src/model/entity/getEntityKeyForSelection.js x: 38 lines of code y: 16 # changes src/component/handlers/edit/editOnBlur.js x: 32 lines of code y: 21 # changes src/component/selection/DOMDerivedSelection.js x: 6 lines of code y: 11 # changes src/component/selection/DraftOffsetKey.js x: 19 lines of code y: 11 # changes src/component/selection/getDraftEditorSelectionWithNodes.js x: 151 lines of code y: 20 # changes src/component/selection/getRangeBoundingClientRect.js x: 42 lines of code y: 15 # changes src/component/utils/KeyBindingUtil.js x: 22 lines of code y: 15 # changes src/model/immutable/BlockMapBuilder.js x: 11 lines of code y: 12 # changes src/model/immutable/EditorBidiService.js x: 29 lines of code y: 14 # changes src/model/immutable/EditorChangeType.js x: 17 lines of code y: 11 # changes src/model/modifier/DraftModifier.js x: 216 lines of code y: 21 # changes gulpfile.js x: 222 lines of code y: 24 # changes src/model/modifier/RichTextUtils.js x: 39 lines of code y: 6 # changes website/src/css/custom.css x: 13 lines of code y: 4 # changes src/model/immutable/SelectionState.js x: 110 lines of code y: 16 # changes src/component/handlers/edit/DraftEditorEditHandler.js x: 36 lines of code y: 9 # changes src/component/base/DraftEditorPlaceholder.css x: 12 lines of code y: 9 # changes src/component/selection/getUpdatedSelectionState.js x: 84 lines of code y: 14 # changes src/model/immutable/ContentStateRawType.js x: 9 lines of code y: 1 # changes src/model/keys/mockUUID.js x: 6 lines of code y: 1 # changes src/component/base/DraftEditorFlushControlled.js x: 4 lines of code y: 3 # changes scripts/module-map.js x: 13 lines of code y: 5 # changes src/model/encoding/RawDraftEntity.js x: 9 lines of code y: 9 # changes src/model/entity/DraftEntityMutability.js x: 3 lines of code y: 10 # changes src/component/utils/isHTMLElement.js x: 13 lines of code y: 2 # changes website/src/components/DraftEditorExample/index.js x: 176 lines of code y: 2 # changes src/component/utils/getContentEditableContainer.js x: 15 lines of code y: 3 # changes src/model/encoding/RawDraftContentBlock.js x: 15 lines of code y: 10 # changes src/model/modifier/DraftRange.js x: 6 lines of code y: 9 # changes src/model/paste/DraftPasteProcessor.js x: 66 lines of code y: 25 # changes scripts/jest/preprocessor.js x: 51 lines of code y: 7 # changes src/component/utils/isInstanceOfNode.js x: 16 lines of code y: 2 # changes prettier.config.js x: 20 lines of code y: 4 # changes src/component/utils/isHTMLBRElement.js x: 8 lines of code y: 2 # changes website/src/components/DraftEditorExample/css/example.css x: 76 lines of code y: 1 # changes website/src/components/DraftEditorExample/css/rich-editor.css x: 54 lines of code y: 1 # changes src/component/handlers/edit/editOnCut.js x: 39 lines of code y: 15 # changes src/component/handlers/edit/editOnKeyDown.js x: 158 lines of code y: 22 # changes src/component/selection/expandRangeToStartOfLine.js x: 118 lines of code y: 13 # changes src/component/selection/getSelectionOffsetKeyForNode.js x: 21 lines of code y: 12 # changes src/component/utils/getCorrectDocumentFromNode.js x: 7 lines of code y: 1 # changes src/component/utils/isHTMLAnchorElement.js x: 8 lines of code y: 1 # changes src/component/utils/exploration/DraftTreeAdapter.js x: 120 lines of code y: 12 # changes src/model/encoding/decodeInlineStyleRanges.js x: 25 lines of code y: 12 # changes src/component/utils/isEventHandled.js x: 6 lines of code y: 10 # changes src/component/utils/isSoftNewlineEvent.js x: 11 lines of code y: 11 # changes src/component/handlers/edit/editOnSelect.js x: 44 lines of code y: 18 # changes src/model/encoding/createCharacterList.js x: 16 lines of code y: 12 # changes scripts/jest/hasteImpl.js x: 43 lines of code y: 3 # changes src/component/base/DraftTextAlignment.js x: 2 lines of code y: 7 # changes src/component/handlers/edit/editOnCompositionStart.js x: 14 lines of code y: 14 # changes src/component/handlers/edit/editOnCopy.js x: 13 lines of code y: 12 # changes src/component/handlers/edit/editOnDragOver.js x: 7 lines of code y: 10 # changes src/component/handlers/edit/editOnDragStart.js x: 7 lines of code y: 8 # changes src/component/handlers/edit/getFragmentFromSelection.js x: 15 lines of code y: 12 # changes src/component/selection/getSampleSelectionMocksForTesting.js x: 112 lines of code y: 8 # changes src/component/utils/DraftStyleDefault.css x: 114 lines of code y: 7 # changes src/component/utils/_DraftTestHelper.js x: 24 lines of code y: 8 # changes src/component/utils/splitTextIntoTextBlocks.js x: 6 lines of code y: 8 # changes src/model/encoding/encodeEntityRanges.js x: 26 lines of code y: 11 # changes src/model/entity/DraftEntityInstance.js x: 22 lines of code y: 11 # changes src/model/entity/getTextAfterNearestEntity.js x: 13 lines of code y: 11 # changes src/model/immutable/BlockMap.js x: 4 lines of code y: 8 # changes src/model/immutable/BlockNodeRecord.js x: 4 lines of code y: 7 # changes src/model/immutable/DefaultDraftInlineStyle.js x: 19 lines of code y: 7 # changes src/model/immutable/DraftInlineStyle.js x: 3 lines of code y: 7 # changes src/model/immutable/EntityMap.js x: 3 lines of code y: 9 # changes src/model/immutable/SampleDraftInlineStyle.js x: 18 lines of code y: 12 # changes src/model/modifier/getRangesForDraftEntity.js x: 19 lines of code y: 12 # changes src/stubs/DraftEditorContents.react.js x: 6 lines of code y: 4 # changes src/stubs/DraftEffects.js x: 5 lines of code y: 3 # changes src/stubs/DraftJsDebugLogging.js x: 5 lines of code y: 5 # changes
103.0
# changes
  min: 1.0
  average: 13.14
  25th percentile: 8.0
  median: 11.0
  75th percentile: 15.0
  max: 103.0
0 561.0
lines of code
min: 1.0 | average: 66.86 | 25th percentile: 11.0 | median: 28.0 | 75th percentile: 93.25 | max: 561.0

Number of Contributors vs. Number of Changes: 192 points

src/model/transaction/ContentStateInlineStyle.js x: 9 # contributors y: 15 # changes src/model/transaction/adjustBlockDepthForContentState.js x: 9 # contributors y: 13 # changes src/model/transaction/applyEntityToContentBlock.js x: 8 # contributors y: 13 # changes src/model/transaction/applyEntityToContentState.js x: 9 # contributors y: 14 # changes src/model/transaction/getSampleStateForTesting.js x: 11 # contributors y: 17 # changes src/model/transaction/insertFragmentIntoContentState.js x: 14 # contributors y: 22 # changes src/model/transaction/insertIntoList.js x: 7 # contributors y: 10 # changes src/model/transaction/moveBlockInContentState.js x: 10 # contributors y: 18 # changes src/model/transaction/randomizeBlockMapKeys.js x: 6 # contributors y: 10 # changes src/model/transaction/removeEntitiesAtEdges.js x: 12 # contributors y: 19 # changes src/model/transaction/splitBlockInContentState.js x: 11 # contributors y: 15 # changes src/component/handlers/drag/DraftEditorDragHandler.js x: 18 # contributors y: 26 # changes src/component/handlers/edit/commands/moveSelectionForward.js x: 10 # contributors y: 13 # changes src/component/selection/findAncestorOffsetKey.js x: 7 # contributors y: 13 # changes src/component/selection/getRangeClientRects.js x: 12 # contributors y: 17 # changes src/component/selection/setDraftEditorSelection.js x: 13 # contributors y: 23 # changes src/component/utils/exploration/DraftTreeInvariants.js x: 3 # contributors y: 6 # changes src/model/immutable/EditorState.js x: 26 # contributors y: 41 # changes src/model/transaction/exploration/getNextDelimiterBlockKey.js x: 5 # contributors y: 7 # changes website/docusaurus.config.js x: 3 # contributors y: 3 # changes website/src/pages/styles.module.css x: 3 # contributors y: 4 # changes website/src/pages/index.js x: 5 # contributors y: 5 # changes src/model/constants/DraftDragType.js x: 7 # contributors y: 9 # changes src/model/constants/DraftHandleValue.js x: 8 # contributors y: 11 # changes src/model/constants/DraftRemovalDirection.js x: 6 # contributors y: 9 # changes src/component/handlers/edit/commands/keyCommandBackspaceToStartOfLine.js x: 10 # contributors y: 15 # changes src/component/handlers/edit/commands/moveSelectionBackward.js x: 9 # contributors y: 12 # changes src/component/base/DraftEditor.react.js x: 60 # contributors y: 103 # changes src/util/getOwnObjectValues.js x: 5 # contributors y: 6 # changes src/util/uuid.js x: 4 # contributors y: 5 # changes src/component/utils/DraftDOMTypes.js x: 2 # contributors y: 5 # changes src/component/contents/DraftEditorLeaf.react.js x: 24 # contributors y: 34 # changes src/component/handlers/composition/DraftEditorCompositionHandler.js x: 18 # contributors y: 24 # changes src/component/handlers/edit/editOnInput.js x: 16 # contributors y: 31 # changes src/component/handlers/edit/editOnPaste.js x: 21 # contributors y: 31 # changes src/model/encoding/convertFromHTMLToContentBlocks.js x: 35 # contributors y: 69 # changes src/model/immutable/ContentBlockNode.js x: 8 # contributors y: 15 # changes src/model/modifier/RichTextEditorUtil.js x: 26 # contributors y: 33 # changes src/component/selection/getSampleSelectionMocksForTestingNestedBlocks.js x: 5 # contributors y: 9 # changes src/model/encoding/convertFromDraftStateToRaw.js x: 12 # contributors y: 18 # changes src/model/encoding/convertFromRawToDraftState.js x: 16 # contributors y: 26 # changes src/model/modifier/exploration/DraftTreeOperations.js x: 3 # contributors y: 9 # changes src/model/immutable/ContentState.js x: 25 # contributors y: 42 # changes src/component/contents/exploration/DraftEditorBlockNode.react.js x: 11 # contributors y: 16 # changes src/model/immutable/ContentBlock.js x: 11 # contributors y: 18 # changes src/component/base/DraftEditorPlaceholder.react.js x: 16 # contributors y: 22 # changes src/component/base/DraftEditorProps.js x: 43 # contributors y: 50 # changes src/component/base/DraftScrollPosition.js x: 8 # contributors y: 10 # changes src/model/immutable/BlockTree.js x: 17 # contributors y: 25 # changes src/model/encoding/encodeInlineStyleRanges.js x: 10 # contributors y: 14 # changes src/model/immutable/CharacterMetadata.js x: 16 # contributors y: 23 # changes src/model/immutable/BlockNode.js x: 9 # contributors y: 10 # changes src/model/modifier/DraftEntitySegments.js x: 7 # contributors y: 11 # changes src/model/modifier/DraftRemovableWord.js x: 8 # contributors y: 12 # changes src/model/entity/DraftEntity.js x: 10 # contributors y: 20 # changes src/model/encoding/DraftStringKey.js x: 7 # contributors y: 12 # changes src/stubs/gkx.js x: 6 # contributors y: 7 # changes src/component/contents/DraftEditorBlock.react.js x: 25 # contributors y: 39 # changes src/component/contents/DraftEditorTextNode.react.js x: 13 # contributors y: 21 # changes src/component/contents/exploration/DraftEditorNode.react.js x: 6 # contributors y: 8 # changes src/model/decorators/DraftDecorator.js x: 15 # contributors y: 20 # changes src/model/decorators/CompositeDraftDecorator.js x: 12 # contributors y: 21 # changes src/component/handlers/composition/DOMObserver.js x: 7 # contributors y: 7 # changes src/component/utils/getWindowForNode.js x: 2 # contributors y: 2 # changes src/flowlib/window.js x: 1 # contributors y: 1 # changes src/component/utils/getDefaultKeyBinding.js x: 14 # contributors y: 19 # changes src/component/handlers/edit/editOnBeforeInput.js x: 20 # contributors y: 33 # changes website/sidebars.js x: 1 # contributors y: 2 # changes src/model/modifier/getCharacterRemovalRange.js x: 8 # contributors y: 18 # changes src/model/entity/getEntityKeyForSelection.js x: 9 # contributors y: 16 # changes src/component/selection/getDraftEditorSelectionWithNodes.js x: 11 # contributors y: 20 # changes src/model/immutable/EditorBidiService.js x: 8 # contributors y: 14 # changes src/model/immutable/EditorChangeType.js x: 9 # contributors y: 11 # changes gulpfile.js x: 13 # contributors y: 24 # changes website/src/css/custom.css x: 4 # contributors y: 4 # changes src/model/immutable/SelectionState.js x: 12 # contributors y: 16 # changes src/component/base/DraftEditorFlushControlled.js x: 4 # contributors y: 3 # changes scripts/module-map.js x: 3 # contributors y: 5 # changes src/model/encoding/RawDraftEntity.js x: 8 # contributors y: 9 # changes src/model/paste/DraftPasteProcessor.js x: 14 # contributors y: 25 # changes src/component/handlers/edit/editOnKeyDown.js x: 17 # contributors y: 22 # changes src/component/selection/getSelectionOffsetKeyForNode.js x: 6 # contributors y: 12 # changes scripts/jest/hasteImpl.js x: 2 # contributors y: 3 # changes src/component/selection/getSampleSelectionMocksForTesting.js x: 4 # contributors y: 8 # changes src/component/selection/isSelectionAtLeafStart.js x: 6 # contributors y: 11 # changes src/component/utils/splitTextIntoTextBlocks.js x: 5 # contributors y: 8 # changes
103.0
# changes
  min: 1.0
  average: 13.14
  25th percentile: 8.0
  median: 11.0
  75th percentile: 15.0
  max: 103.0
0 60.0
# contributors
min: 1.0 | average: 8.73 | 25th percentile: 5.0 | median: 8.0 | 75th percentile: 10.0 | max: 60.0