File Size Overall
  • There are 209 files with 27,265 lines of code.
    • 3 very long files (8,549 lines of code)
    • 2 long files (1,522 lines of code)
    • 42 medium size files (12,700 lines of code)
    • 12 small files (1,621 lines of code)
    • 150 very small files (2,873 lines of code)
31% | 5% | 46% | 5% | 10%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
js51% | 5% | 6% | 13% | 23%
html15% | 5% | 79% | 0% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
performance84% | 9% | 0% | 1% | 5%
doc15% | 5% | 79% | 0% | 0%
build0% | 0% | 75% | 0% | 24%
lib0% | 0% | 7% | 36% | 55%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
_.js
in performance/models/legacy
6272 93
1184 -
1093 -
851 -
_Cache.js
in performance/models/legacy
671 1
469 -
460 -
459 -
publish.js
in build/falcor-jsdoc-template
443 33
417 -
416 -
410 -
410 -
397 -
367 -
359 -
358 -
342 -
328 -
Model.js
in lib
325 4
316 -
292 -
286 -
278 -
268 -
268 -
267 -
264 -
262 -
252 -
251 -
251 -
246 -
246 -
240 -
238 -
235 -
235 -
235 -
232 -
232 -
231 -
227 -
227 -
224 -
224 -
213 -
setPathMaps.js
in lib/set
188 4
187 3
GetRequestV2.js
in lib/request
170 6
Files With Most Units (Top 50)
File# lines# units
_.js
in performance/models/legacy
6272 93
publish.js
in build/falcor-jsdoc-template
443 33
CSVTransform.js
in performance/formatter
101 8
testRunner.js
in performance
71 8
ModelResponse.js
in lib/response
79 7
34 7
RequestQueueV2.js
in lib/request
103 6
GetRequestV2.js
in lib/request
170 6
83 6
complement.js
in lib/request
125 5
gulp-perf.js
in build
36 5
23 5
setRequestCycle.js
in lib/response/set
80 4
57 4
getCache.js
in lib/get
47 4
setPathMaps.js
in lib/set
188 4
Model.js
in lib
325 4
index.js
in performance/models/legacy
34 4
nodeTestReporter.js
in performance/reporters
38 4
CallResponse.js
in lib/response
60 3
invalidatePathSets.js
in lib/invalidate
122 3
invalidatePathMaps.js
in lib/invalidate
116 3
sendSetRequest.js
in lib/request
52 3
flushGetRequest.js
in lib/request
66 3
168 3
187 3
karmaBenchmarkCSVReporter.js
in performance/reporters
38 3
server.js
in root
36 2
getRequestCycle.js
in lib/response/get
67 2
setGroupsIntoCache.js
in lib/response/set
38 2
onMissing.js
in lib/get
49 2
get.js
in lib/get
73 2
index.js
in lib
16 2
18 2
TimeoutScheduler.js
in lib/schedulers
26 2
23 2
index.js
in performance/models
30 2
CSVFormatter.js
in performance/formatter
32 2
node.js
in performance
23 2
browserTestReporter.js
in performance/reporters
8 2
browser.js
in performance
23 2
TriggerDataSource.js
in performance
33 2
15 1
20 1
InvalidateResponse.js
in lib/response
55 1
30 1
69 1
hasOwn.js
in lib/support
5 1
16 1
15 1
Files With Long Lines (Top 50)

There are 53 files with lines longer than 120 characters. In total, there are 675 long lines.

File# lines# units# long lines
_.js
in performance/models/legacy
6272 93 246
1184 - 59
1093 - 41
460 - 28
459 - 23
851 - 22
410 - 20
268 - 15
251 - 11
252 - 9
359 - 8
286 - 8
240 - 8
267 - 6
227 - 6
224 - 6
469 - 6
246 - 6
416 - 6
397 - 6
235 - 6
235 - 6
410 - 6
417 - 6
268 - 5
328 - 5
367 - 5
232 - 5
246 - 5
232 - 5
213 - 5
292 - 5
342 - 5
251 - 5
278 - 5
231 - 5
358 - 5
238 - 5
235 - 5
316 - 5
264 - 5
227 - 5
262 - 5
224 - 5
57 4 2
NullInPathError.js
in lib/errors
15 1 2
validateInput.js
in lib/support
45 - 1
mergeJSONGraphNode.js
in lib/support
126 - 1
GetRequestV2.js
in lib/request
170 6 1
16 1 1
Correlations

File Size vs. Commits (all time): 209 points

lib/errors/NullInPathError.js x: 9 commits (all time) y: 15 lines of code lib/set/setJSONGraphs.js x: 36 commits (all time) y: 187 lines of code lib/set/setPathMaps.js x: 35 commits (all time) y: 188 lines of code lib/set/setPathValues.js x: 43 commits (all time) y: 168 lines of code lib/support/validateInput.js x: 6 commits (all time) y: 45 lines of code lib/response/set/SetResponse.js x: 15 commits (all time) y: 62 lines of code lib/get/walkPath.js x: 75 commits (all time) y: 92 lines of code doc/Model.html x: 18 commits (all time) y: 1184 lines of code doc/Model.js.html x: 22 commits (all time) y: 851 lines of code doc/global.html x: 12 commits (all time) y: 1093 lines of code doc/request_complement.js.html x: 8 commits (all time) y: 410 lines of code doc/set_setJSONGraphs.js.html x: 9 commits (all time) y: 416 lines of code doc/set_setPathValues.js.html x: 10 commits (all time) y: 397 lines of code lib/Model.js x: 170 commits (all time) y: 325 lines of code lib/ModelDataSourceAdapter.js x: 14 commits (all time) y: 15 lines of code lib/get/onMissing.js x: 38 commits (all time) y: 49 lines of code lib/get/util/clone.js x: 46 commits (all time) y: 14 lines of code lib/request/complement.js x: 15 commits (all time) y: 125 lines of code lib/request/sendSetRequest.js x: 14 commits (all time) y: 52 lines of code lib/response/get/getRequestCycle.js x: 57 commits (all time) y: 67 lines of code lib/support/clone.js x: 42 commits (all time) y: 18 lines of code lib/support/insertNode.js x: 17 commits (all time) y: 18 lines of code lib/support/isInternalKey.js x: 22 commits (all time) y: 4 lines of code lib/get/onValue.js x: 89 commits (all time) y: 107 lines of code build/falcor-jsdoc-template/publish.js x: 12 commits (all time) y: 443 lines of code build/gulp-build.js x: 78 commits (all time) y: 83 lines of code build/gulp-clean.js x: 19 commits (all time) y: 23 lines of code build/gulp-perf.js x: 20 commits (all time) y: 36 lines of code gulpfile.js x: 79 commits (all time) y: 23 lines of code doc/DataSource.html x: 6 commits (all time) y: 410 lines of code doc/FromEsObserverAdapter.html x: 5 commits (all time) y: 235 lines of code doc/ModelResponse.html x: 6 commits (all time) y: 459 lines of code doc/ModelResponseObserver.html x: 3 commits (all time) y: 240 lines of code doc/Observable.html x: 5 commits (all time) y: 460 lines of code doc/Subscription.html x: 5 commits (all time) y: 251 lines of code doc/get_getCache.js.html x: 7 commits (all time) y: 278 lines of code doc/index.html x: 5 commits (all time) y: 213 lines of code doc/index.js.html x: 7 commits (all time) y: 246 lines of code doc/invalidate_invalidatePathMaps.js.html x: 8 commits (all time) y: 342 lines of code doc/invalidate_invalidatePathSets.js.html x: 9 commits (all time) y: 358 lines of code doc/request_GetRequestV2.js.html x: 13 commits (all time) y: 469 lines of code doc/response_ModelResponse.js.html x: 8 commits (all time) y: 359 lines of code doc/response_ModelResponseObserver.js.html x: 3 commits (all time) y: 286 lines of code doc/response_get_GetResponse.js.html x: 9 commits (all time) y: 292 lines of code doc/response_set_SetResponse.js.html x: 6 commits (all time) y: 316 lines of code doc/response_set_setRequestCycle.js.html x: 13 commits (all time) y: 328 lines of code doc/toEsObservable.js.html x: 6 commits (all time) y: 262 lines of code lib/request/GetRequestV2.js x: 49 commits (all time) y: 170 lines of code lib/request/RequestQueueV2.js x: 26 commits (all time) y: 103 lines of code lib/request/flushGetRequest.js x: 17 commits (all time) y: 66 lines of code lib/response/set/setRequestCycle.js x: 29 commits (all time) y: 80 lines of code lib/ModelRoot.js x: 29 commits (all time) y: 30 lines of code lib/invalidate/invalidatePathMaps.js x: 15 commits (all time) y: 116 lines of code lib/invalidate/invalidatePathSets.js x: 17 commits (all time) y: 122 lines of code lib/schedulers/ASAPScheduler.js x: 20 commits (all time) y: 5 lines of code lib/typedefs/DataSource.js x: 6 commits (all time) y: 1 lines of code lib/response/get/GetResponse.js x: 31 commits (all time) y: 46 lines of code lib/response/get/checkCacheAndReport.js x: 33 commits (all time) y: 36 lines of code performance/formatter/CSVFormatter.js x: 18 commits (all time) y: 32 lines of code performance/testRunner.js x: 86 commits (all time) y: 71 lines of code lib/response/ModelResponse.js x: 65 commits (all time) y: 79 lines of code lib/errors/BoundJSONGraphModelError.js x: 4 commits (all time) y: 16 lines of code lib/errors/InvalidDerefInputError.js x: 8 commits (all time) y: 14 lines of code lib/errors/InvalidSourceError.js x: 11 commits (all time) y: 15 lines of code lib/errors/MaxRetryExceededError.js x: 13 commits (all time) y: 18 lines of code lib/errors/applyErrorPrototype.js x: 3 commits (all time) y: 16 lines of code lib/get/get.js x: 42 commits (all time) y: 73 lines of code lib/set/sync.js x: 25 commits (all time) y: 31 lines of code lib/support/mergeJSONGraphNode.js x: 46 commits (all time) y: 126 lines of code lib/get/onValueType.js x: 47 commits (all time) y: 61 lines of code lib/get/util/isExpired.js x: 15 commits (all time) y: 1 lines of code lib/support/currentCacheVersion.js x: 2 commits (all time) y: 7 lines of code lib/support/incrementVersion.js x: 5 commits (all time) y: 7 lines of code lib/support/mergeValueOrInsertBranch.js x: 16 commits (all time) y: 51 lines of code lib/deref/sync.js x: 24 commits (all time) y: 20 lines of code lib/response/ModelResponseObserver.js x: 3 commits (all time) y: 57 lines of code lib/get/followReference.js x: 59 commits (all time) y: 69 lines of code lib/get/getCache.js x: 32 commits (all time) y: 47 lines of code lib/internal/index.js x: 7 commits (all time) y: 5 lines of code lib/internal/ref-index.js x: 25 commits (all time) y: 1 lines of code lib/internal/refs-length.js x: 23 commits (all time) y: 1 lines of code lib/lru/collect.js x: 55 commits (all time) y: 42 lines of code lib/lru/promote.js x: 46 commits (all time) y: 29 lines of code lib/lru/splice.js x: 37 commits (all time) y: 17 lines of code lib/support/wrapNode.js x: 13 commits (all time) y: 55 lines of code lib/get/onError.js x: 39 commits (all time) y: 17 lines of code lib/index.js x: 31 commits (all time) y: 16 lines of code lib/get/getValueSync.js x: 80 commits (all time) y: 108 lines of code lib/response/CallResponse.js x: 68 commits (all time) y: 60 lines of code lib/toEsObservable.js x: 5 commits (all time) y: 34 lines of code lib/deref/index.js x: 42 commits (all time) y: 40 lines of code lib/get/getCachePosition.js x: 18 commits (all time) y: 10 lines of code lib/response/InvalidateResponse.js x: 32 commits (all time) y: 55 lines of code lib/schedulers/TimeoutScheduler.js x: 15 commits (all time) y: 26 lines of code lib/response/set/setGroupsIntoCache.js x: 3 commits (all time) y: 38 lines of code lib/set/setValue.js x: 9 commits (all time) y: 32 lines of code lib/typedefs/JSONGraphEnvelope.js x: 10 commits (all time) y: 1 lines of code performance/browser.js x: 86 commits (all time) y: 23 lines of code performance/node.js x: 127 commits (all time) y: 23 lines of code server.js x: 11 commits (all time) y: 36 lines of code performance/scripts/transformCSV.js x: 2 commits (all time) y: 33 lines of code performance/models/index.js x: 50 commits (all time) y: 30 lines of code performance/reporters/nodeTestReporter.js x: 60 commits (all time) y: 38 lines of code performance/formatter/CSVTransform.js x: 5 commits (all time) y: 101 lines of code performance/models/legacy/_.js x: 5 commits (all time) y: 6272 lines of code performance/models/legacy/_Cache.js x: 5 commits (all time) y: 671 lines of code
6272.0
lines of code
  min: 1.0
  average: 130.45
  25th percentile: 4.0
  median: 23.0
  75th percentile: 125.5
  max: 6272.0
0 170.0
commits (all time)
min: 2.0 | average: 18.19 | 25th percentile: 5.0 | median: 10.0 | 75th percentile: 20.0 | max: 170.0

File Size vs. Contributors (all time): 209 points

lib/errors/NullInPathError.js x: 8 contributors (all time) y: 15 lines of code lib/set/setJSONGraphs.js x: 11 contributors (all time) y: 187 lines of code lib/set/setPathMaps.js x: 10 contributors (all time) y: 188 lines of code lib/set/setPathValues.js x: 11 contributors (all time) y: 168 lines of code lib/support/validateInput.js x: 6 contributors (all time) y: 45 lines of code lib/response/set/SetResponse.js x: 6 contributors (all time) y: 62 lines of code lib/get/walkPath.js x: 9 contributors (all time) y: 92 lines of code doc/Model.html x: 4 contributors (all time) y: 1184 lines of code doc/Model.js.html x: 4 contributors (all time) y: 851 lines of code doc/global.html x: 1 contributors (all time) y: 1093 lines of code doc/request_complement.js.html x: 1 contributors (all time) y: 410 lines of code doc/set_setJSONGraphs.js.html x: 2 contributors (all time) y: 416 lines of code lib/Model.js x: 20 contributors (all time) y: 325 lines of code lib/get/onMissing.js x: 12 contributors (all time) y: 49 lines of code lib/get/util/clone.js x: 9 contributors (all time) y: 14 lines of code lib/request/complement.js x: 7 contributors (all time) y: 125 lines of code lib/request/sendSetRequest.js x: 4 contributors (all time) y: 52 lines of code lib/response/get/getRequestCycle.js x: 13 contributors (all time) y: 67 lines of code lib/support/insertNode.js x: 6 contributors (all time) y: 18 lines of code lib/support/isInternalKey.js x: 7 contributors (all time) y: 4 lines of code lib/get/onValue.js x: 13 contributors (all time) y: 107 lines of code build/falcor-jsdoc-template/publish.js x: 4 contributors (all time) y: 443 lines of code build/gulp-build.js x: 14 contributors (all time) y: 83 lines of code build/gulp-perf.js x: 5 contributors (all time) y: 36 lines of code gulpfile.js x: 17 contributors (all time) y: 23 lines of code doc/FromEsObserverAdapter.html x: 1 contributors (all time) y: 235 lines of code doc/ModelResponse.html x: 1 contributors (all time) y: 459 lines of code doc/Subscription.html x: 1 contributors (all time) y: 251 lines of code doc/get_getCache.js.html x: 2 contributors (all time) y: 278 lines of code doc/index.html x: 1 contributors (all time) y: 213 lines of code doc/internal_index.js.html x: 2 contributors (all time) y: 232 lines of code doc/invalidate_invalidatePathMaps.js.html x: 2 contributors (all time) y: 342 lines of code doc/invalidate_invalidatePathSets.js.html x: 2 contributors (all time) y: 358 lines of code doc/request_GetRequestV2.js.html x: 2 contributors (all time) y: 469 lines of code doc/request_RequestQueueV2.js.html x: 1 contributors (all time) y: 367 lines of code doc/response_ModelResponseObserver.js.html x: 1 contributors (all time) y: 286 lines of code doc/response_set_SetResponse.js.html x: 1 contributors (all time) y: 316 lines of code doc/response_set_setRequestCycle.js.html x: 1 contributors (all time) y: 328 lines of code lib/request/GetRequestV2.js x: 9 contributors (all time) y: 170 lines of code lib/request/RequestQueueV2.js x: 6 contributors (all time) y: 103 lines of code lib/response/set/setRequestCycle.js x: 10 contributors (all time) y: 80 lines of code lib/ModelRoot.js x: 9 contributors (all time) y: 30 lines of code lib/invalidate/invalidatePathMaps.js x: 5 contributors (all time) y: 116 lines of code lib/typedefs/DataSource.js x: 5 contributors (all time) y: 1 lines of code lib/response/get/checkCacheAndReport.js x: 10 contributors (all time) y: 36 lines of code performance/testRunner.js x: 7 contributors (all time) y: 71 lines of code lib/response/ModelResponse.js x: 13 contributors (all time) y: 79 lines of code lib/errors/BoundJSONGraphModelError.js x: 4 contributors (all time) y: 16 lines of code lib/errors/applyErrorPrototype.js x: 2 contributors (all time) y: 16 lines of code lib/get/get.js x: 10 contributors (all time) y: 73 lines of code lib/set/sync.js x: 8 contributors (all time) y: 31 lines of code lib/support/mergeJSONGraphNode.js x: 10 contributors (all time) y: 126 lines of code lib/get/onValueType.js x: 9 contributors (all time) y: 61 lines of code lib/support/currentCacheVersion.js x: 1 contributors (all time) y: 7 lines of code lib/response/ModelResponseObserver.js x: 1 contributors (all time) y: 57 lines of code lib/deref/hasValidParentReference.js x: 3 contributors (all time) y: 19 lines of code lib/get/followReference.js x: 8 contributors (all time) y: 69 lines of code lib/get/getValueSync.js x: 10 contributors (all time) y: 108 lines of code lib/response/CallResponse.js x: 11 contributors (all time) y: 60 lines of code lib/toEsObservable.js x: 4 contributors (all time) y: 34 lines of code lib/deref/index.js x: 7 contributors (all time) y: 40 lines of code lib/response/InvalidateResponse.js x: 5 contributors (all time) y: 55 lines of code lib/response/set/setGroupsIntoCache.js x: 2 contributors (all time) y: 38 lines of code lib/get/getValue.js x: 3 contributors (all time) y: 30 lines of code performance/formatter/CSVTransform.js x: 2 contributors (all time) y: 101 lines of code performance/models/legacy/_.js x: 2 contributors (all time) y: 6272 lines of code performance/models/legacy/_Cache.js x: 2 contributors (all time) y: 671 lines of code
6272.0
lines of code
  min: 1.0
  average: 130.45
  25th percentile: 4.0
  median: 23.0
  75th percentile: 125.5
  max: 6272.0
0 20.0
contributors (all time)
min: 1.0 | average: 4.61 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 6.0 | max: 20.0

File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 0 points

No data for "commits (90d)" vs. "lines of code".

File Size vs. Contributors (90 days): 0 points

No data for "contributors (90d)" vs. "lines of code".

About This Analysis
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...