id: 1 unit: getBranchList() file: src/components/History/HistoryView/BranchListContainer.tsx start line: 35 end line: 134 size: 89 LOC McCabe index: 15 number of parameters: 2 id: 2 unit: export default function makeActions() file: src/components/History/BookmarkActions.ts start line: 7 end line: 90 size: 69 LOC McCabe index: 11 number of parameters: 5 id: 3 unit: renderPlayback() file: src/components/History/index.tsx start line: 137 end line: 199 size: 57 LOC McCabe index: 4 number of parameters: 0 id: 4 unit: export default function calculateSpans() file: src/components/BranchProfile/calculateSpans.ts start line: 10 end line: 59 size: 46 LOC McCabe index: 17 number of parameters: 9 id: 5 unit: export default function reduce() file: src/state/reducers/bookmarks.ts start line: 14 end line: 59 size: 41 LOC McCabe index: 10 number of parameters: 2 id: 6 unit: render() file: src/components/OptionDropdown/index.tsx start line: 43 end line: 83 size: 38 LOC McCabe index: 7 number of parameters: 0 id: 7 unit: export default function simulate() file: example/persister/simulate.ts start line: 21 end line: 57 size: 34 LOC McCabe index: 6 number of parameters: 3 id: 8 unit: function getStateList() file: src/components/History/HistoryView/StateListContainer.tsx start line: 18 end line: 49 size: 31 LOC McCabe index: 3 number of parameters: 5 id: 9 unit: export default function makeReducer() file: src/state/reducers/views.ts start line: 16 end line: 47 size: 31 LOC McCabe index: 6 number of parameters: 1 id: 10 unit: export default function() file: src/state/reducers/playback.ts start line: 16 end line: 46 size: 30 LOC McCabe index: 7 number of parameters: 1 id: 11 unit: export default function makeReducer() file: src/state/reducers/dragDrop.ts start line: 17 end line: 41 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 12 unit: public render() file: src/components/Bookmark/EditBookmark.tsx start line: 109 end line: 133 size: 23 LOC McCabe index: 3 number of parameters: 0 id: 13 unit: export default function reduce() file: example/state/reducers/app/metadata.ts start line: 9 end line: 30 size: 22 LOC McCabe index: 4 number of parameters: 2 id: 14 unit: export function insertSpan() file: src/util/spans.ts start line: 105 end line: 126 size: 21 LOC McCabe index: 7 number of parameters: 2 id: 15 unit: render() file: src/components/History/index.tsx start line: 201 end line: 220 size: 20 LOC McCabe index: 2 number of parameters: 0 id: 16 unit: export default function calculateSpans() file: src/components/DiscoveryTrail/calculateSpans.ts start line: 9 end line: 27 size: 19 LOC McCabe index: 6 number of parameters: 4 id: 17 unit: public render() file: src/components/Transport/index.tsx start line: 121 end line: 141 size: 19 LOC McCabe index: 3 number of parameters: 0 id: 18 unit: render() file: example/components/Application.tsx start line: 20 end line: 37 size: 18 LOC McCabe index: 1 number of parameters: 0 id: 19 unit: private onDoneEditing() file: src/components/Bookmark/EditBookmark.tsx start line: 53 end line: 72 size: 18 LOC McCabe index: 3 number of parameters: 0 id: 20 unit: private onLeadInSet() file: src/components/Bookmark/EditBookmark.tsx start line: 74 end line: 93 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 21 unit: private get pagerClass() file: src/components/DiscoveryTrail/index.tsx start line: 90 end line: 105 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 22 unit: function readJson() file: example/persister/index.ts start line: 6 end line: 20 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 23 unit: export function load() file: example/persister/index.ts start line: 31 end line: 45 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 24 unit: function hashString() file: example/state/reducers/index.ts start line: 26 end line: 40 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 25 unit: onClick: action() file: stories/components/StateList/index.tsx start line: 53 end line: 67 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 26 unit: onContinuationClick: action() file: stories/components/StateList/index.tsx start line: 54 end line: 67 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 27 unit: private handleClick() file: src/components/DiscoveryTrail/index.tsx start line: 75 end line: 88 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 28 unit: public isDepthAtStart() file: src/util/Bookmark.ts start line: 72 end line: 85 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 29 unit: private onClick() file: src/components/Bookmark/EditBookmark.tsx start line: 95 end line: 107 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 30 unit: function getContinuationText() file: src/components/Continuation/index.tsx start line: 6 end line: 17 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 31 unit: async onLoadClicked() file: src/components/History/index.tsx start line: 111 end line: 122 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 32 unit: function insertBridgingSpan() file: src/util/spans.ts start line: 71 end line: 83 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 33 unit: export default function reduce() file: example/state/reducers/app/visuals.ts start line: 12 end line: 22 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 34 unit: process() file: scripts/preprocessor.js start line: 5 end line: 15 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 35 unit: onSaveClicked() file: src/components/History/index.tsx start line: 98 end line: 109 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 36 unit: function getBackgroundColor() file: src/components/State/State.tsx start line: 24 end line: 34 size: 11 LOC McCabe index: 4 number of parameters: 4 id: 37 unit: export function bookmarkDragDrop() file: src/state/actions/creators.ts start line: 26 end line: 36 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 38 unit: function insertSplittingSpan() file: src/util/spans.ts start line: 93 end line: 103 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 39 unit: bookmarksEnabled ?() file: src/components/History/HistoryTabs.tsx start line: 42 end line: 51 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 40 unit: bookmarked: isBookmarked() file: src/components/State/index.tsx start line: 35 end line: 45 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 41 unit: function insertSpanAtTail() file: src/util/spans.ts start line: 52 end line: 61 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 42 unit: function continuationColor() file: src/components/State/State.tsx start line: 36 end line: 44 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 43 unit: export function save() file: example/persister/index.ts start line: 22 end line: 29 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 44 unit: endDrag() file: src/components/Bookmark/index.tsx start line: 27 end line: 35 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 45 unit: function handleClick() file: src/components/Continuation/index.tsx start line: 19 end line: 26 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 46 unit: export default function createReducer() file: src/state/reducers/index.ts start line: 8 end line: 15 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 47 unit: async onClearClicked() file: src/components/History/index.tsx start line: 124 end line: 130 size: 7 LOC McCabe index: 3 number of parameters: 0 id: 48 unit: back() file: src/components/Transport/index.tsx start line: 93 end line: 99 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 49 unit: forward() file: src/components/Transport/index.tsx start line: 101 end line: 107 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 50 unit: public sanitizeDepth() file: src/util/Bookmark.ts start line: 94 end line: 100 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 51 unit: export default function isNumber() file: src/util/isNumber.ts start line: 1 end line: 7 size: 7 LOC McCabe index: 5 number of parameters: 1 id: 52 unit: function stateEqualityPredicate() file: example/state/reducers/index.ts start line: 19 end line: 24 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 53 unit: function infoSpanStyle() file: src/components/BranchProfile/index.tsx start line: 11 end line: 16 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 54 unit: public getStateAtDepth() file: src/util/Bookmark.ts start line: 87 end line: 92 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 55 unit: function stateKeyGenerator() file: example/state/reducers/index.ts start line: 42 end line: 46 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 56 unit: beginDrag() file: src/components/Bookmark/index.tsx start line: 22 end line: 26 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 57 unit: onBookmarkClick() file: src/components/BookmarkList/index.tsx start line: 31 end line: 35 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 58 unit: function getCurrentCommitPath() file: src/components/History/HistoryView/BranchListContainer.tsx start line: 11 end line: 15 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 59 unit: function getCurrentCommitPath() file: src/components/History/HistoryView/StateListContainer.tsx start line: 12 end line: 16 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 60 unit: play() file: src/components/Transport/index.tsx start line: 69 end line: 73 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 61 unit: stepBack() file: src/components/Transport/index.tsx start line: 75 end line: 79 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 62 unit: stepForward() file: src/components/Transport/index.tsx start line: 81 end line: 85 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 63 unit: stop() file: src/components/Transport/index.tsx start line: 87 end line: 91 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 64 unit: private goBack() file: src/components/Transport/index.tsx start line: 109 end line: 113 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 65 unit: private goForward() file: src/components/Transport/index.tsx start line: 115 end line: 119 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 66 unit: function replaceSpan() file: src/util/spans.ts start line: 38 end line: 42 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 67 unit: actions: bindActionCreators() file: example/components/visuals/VisualB.tsx start line: 46 end line: 49 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 68 unit: private onDone() file: src/components/Bookmark/EditBookmark.tsx start line: 40 end line: 43 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 69 unit: constructor() file: src/components/Bookmark/EditableBookmark.tsx start line: 42 end line: 45 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 70 unit: drop() file: src/components/Bookmark/index.tsx start line: 41 end line: 44 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 71 unit: onUnderViewClicked() file: src/components/History/index.tsx start line: 132 end line: 135 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 72 unit: public get numLeadInStates() file: src/util/Bookmark.ts start line: 18 end line: 21 size: 4 LOC McCabe index: 3 number of parameters: 0 id: 73 unit: public get annotation() file: src/util/Bookmark.ts start line: 23 end line: 26 size: 4 LOC McCabe index: 3 number of parameters: 0 id: 74 unit: public get name() file: src/util/Bookmark.ts start line: 28 end line: 31 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 75 unit: public get stateId() file: src/util/Bookmark.ts start line: 33 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 76 unit: public startingDepth() file: src/util/Bookmark.ts start line: 63 end line: 66 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 77 unit: export default function calculateIndex() file: src/util/calculateIndex.ts start line: 2 end line: 5 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 78 unit: onClick: action() file: stories/components/StateList/index.tsx start line: 20 end line: 23 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: onClick: action() file: stories/components/StateList/index.tsx start line: 31 end line: 34 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: onClick: action() file: stories/components/StateList/index.tsx start line: 42 end line: 45 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 81 unit: onClick: action() file: stories/components/StateList/index.tsx start line: 74 end line: 77 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: onClick: action() file: stories/components/StateList/index.tsx start line: 85 end line: 88 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: onClick: action() file: stories/components/StateList/index.tsx start line: 96 end line: 99 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: function randomColor() file: example/state/reducers/app/visuals.ts start line: 8 end line: 10 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 85 unit: public componentDidMount() file: src/components/Bookmark/EditBookmark.tsx start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 86 unit: private setAnnotationComponent() file: src/components/Bookmark/EditBookmark.tsx start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 87 unit: private setLeadInComponent() file: src/components/Bookmark/EditBookmark.tsx start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 88 unit: onClickEdit() file: src/components/Bookmark/EditableBookmark.tsx start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: onDoneEditing() file: src/components/Bookmark/EditableBookmark.tsx start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 90 unit: function handleTabSelector() file: src/components/History/HistoryTabs.tsx start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: shouldComponentUpdate() file: src/components/History/index.tsx start line: 94 end line: 96 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 92 unit: constructor() file: src/state/Configuration.ts start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: private get config() file: src/state/Configuration.ts start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 94 unit: public get initialViewState() file: src/state/Configuration.ts start line: 15 end line: 17 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 95 unit: public get slideText() file: src/util/Bookmark.ts start line: 38 end line: 40 size: 3 LOC McCabe index: 3 number of parameters: 0 id: 96 unit: public get commitPath() file: src/util/Bookmark.ts start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 97 unit: public get presentedPath() file: src/util/Bookmark.ts start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 98 unit: public get commitPathLength() file: src/util/Bookmark.ts start line: 50 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 99 unit: public get presentedPathLength() file: src/util/Bookmark.ts start line: 54 end line: 57 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 100 unit: public get hiddenPathLength() file: src/util/Bookmark.ts start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 101 unit: public isDepthAtEnd() file: src/util/Bookmark.ts start line: 68 end line: 70 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 102 unit: toString() file: src/util/spans.ts start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 103 unit: get length() file: src/util/spans.ts start line: 15 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 104 unit: areBoundsEqual() file: src/util/spans.ts start line: 19 end line: 21 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 105 unit: contains() file: src/util/spans.ts start line: 23 end line: 25 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 106 unit: export function initialSpans() file: src/util/spans.ts start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 107 unit: onContinuationClick: action() file: stories/components/StateList/index.tsx start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 108 unit: onContinuationClick: action() file: stories/components/StateList/index.tsx start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 109 unit: onContinuationClick: action() file: stories/components/StateList/index.tsx start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: onContinuationClick: action() file: stories/components/StateList/index.tsx start line: 75 end line: 77 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 111 unit: onContinuationClick: action() file: stories/components/StateList/index.tsx start line: 86 end line: 88 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 112 unit: onContinuationClick: action() file: stories/components/StateList/index.tsx start line: 97 end line: 99 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 113 unit: bootstrap() file: wallaby.conf.js start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 114 unit: export default connect() file: example/components/visuals/VisualA.tsx start line: 39 end line: 40 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 115 unit: export default connect() file: example/components/visuals/VisualB.tsx start line: 43 end line: 44 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 116 unit: export default connect() file: src/components/History/HistoryView/BranchedHistoryView.tsx start line: 97 end line: 98 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 117 unit: export default connect() file: src/components/History/HistoryView/ChronologicalHistoryView.tsx start line: 82 end line: 83 size: 2 LOC McCabe index: 1 number of parameters: 1