File Size Overall
  • There are 55 files with 5,158 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,175 lines of code)
    • 4 medium size files (1,399 lines of code)
    • 9 small files (1,210 lines of code)
    • 40 very small files (1,374 lines of code)
0% | 22% | 27% | 23% | 26%
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
js0% | 22% | 27% | 23% | 26%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 22% | 27% | 23% | 26%
Longest Files (Top 50)
File# lines# units
trafficGraph.js
in src/base
614 1
561 -
particleSystem.js
in src/physics
489 2
374 13
focusedNodeView.js
in src/focused
316 1
node.js
in src/base
220 -
nodeView.js
in src/base
193 4
160 4
155 6
134 -
ltrTreeGraph.js
in src/layouts/ltrTreeLayout
124 13
124 1
nodeNameView.js
in src/base
113 2
ltrTreeLayouter.js
in src/layouts/ltrTreeLayout
104 7
103 -
87 1
baseView.js
in src/base
82 -
73 -
graphObject.js
in src/base
72 -
ranker.js
in src/layouts/ltrTreeLayout
66 5
66 -
index.js
in src/layouts/ltrTreeLayout
65 2
ShapeParent.js
in src/base/shapes
65 3
ringCenterLayout.js
in src/layouts
58 4
56 -
49 -
49 1
connection.js
in src/base
47 -
44 -
acyclicFAS.js
in src/layouts/ltrTreeLayout
40 4
dnsLayout.js
in src/layouts
40 -
dnsNodeView.js
in src/dns
36 -
ShapesFactory.js
in src/base
35 4
globalNode.js
in src/global
30 -
29 -
28 -
focusedNode.js
in src/focused
24 -
regionNode.js
in src/region
24 -
globalConnection.js
in src/global
21 -
ltrTreeLayoutWorker.js
in src/layouts/ltrTreeLayout
19 1
ShapeStorage.js
in src/base/shapes
17 -
dnsNode.js
in src/dns
16 -
ShapeAzure.js
in src/base/shapes
15 -
14 -
ShapeUser.js
in src/base/shapes
14 -
regionConnection.js
in src/region
12 -
12 -
index.js
in src/base
12 -
ShapeService.js
in src/base/shapes
12 -
10 -
Files With Most Units (Top 20)
File# lines# units
ltrTreeGraph.js
in src/layouts/ltrTreeLayout
124 13
374 13
ltrTreeLayouter.js
in src/layouts/ltrTreeLayout
104 7
155 6
ranker.js
in src/layouts/ltrTreeLayout
66 5
160 4
acyclicFAS.js
in src/layouts/ltrTreeLayout
40 4
ringCenterLayout.js
in src/layouts
58 4
nodeView.js
in src/base
193 4
ShapesFactory.js
in src/base
35 4
ShapeParent.js
in src/base/shapes
65 3
index.js
in src/layouts/ltrTreeLayout
65 2
particleSystem.js
in src/physics
489 2
nodeNameView.js
in src/base
113 2
focusedNodeView.js
in src/focused
316 1
ltrTreeLayoutWorker.js
in src/layouts/ltrTreeLayout
19 1
49 1
trafficGraph.js
in src/base
614 1
124 1
87 1
Files With Long Lines (Top 23)

There are 23 files with lines longer than 120 characters. In total, there are 102 long lines.

File# lines# units# long lines
particleSystem.js
in src/physics
489 2 14
focusedNodeView.js
in src/focused
316 1 13
trafficGraph.js
in src/base
614 1 12
561 - 8
155 6 7
87 1 7
374 13 6
node.js
in src/base
220 - 5
dnsNodeView.js
in src/dns
36 - 4
134 - 4
ShapeStorage.js
in src/base/shapes
17 - 4
73 - 3
nodeView.js
in src/base
193 4 3
nodeNameView.js
in src/base
113 2 2
graphObject.js
in src/base
72 - 2
28 - 1
index.js
in src/layouts/ltrTreeLayout
65 2 1
49 1 1
56 - 1
66 - 1
ShapePipe.js
in src/base/shapes
9 - 1
ShapeService.js
in src/base/shapes
12 - 1
ShapeUser.js
in src/base/shapes
14 - 1
Correlations

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

src/base/nodeViewStandard.js x: 20 commits (all time) y: 66 lines of code src/base/shapes/ShapeParent.js x: 5 commits (all time) y: 65 lines of code src/base/trafficGraph.js x: 79 commits (all time) y: 614 lines of code src/vizceral.js x: 85 commits (all time) y: 561 lines of code src/focused/focusedNodeView.js x: 12 commits (all time) y: 316 lines of code src/base/ShapesFactory.js x: 9 commits (all time) y: 35 lines of code src/base/node.js x: 35 commits (all time) y: 220 lines of code src/base/nodeView.js x: 24 commits (all time) y: 193 lines of code src/base/shapes/CommonShapes.js x: 6 commits (all time) y: 7 lines of code src/base/shapes/ShapeAzure.js x: 4 commits (all time) y: 15 lines of code src/base/shapes/ShapeDefault.js x: 9 commits (all time) y: 6 lines of code src/base/shapes/ShapePipe.js x: 9 commits (all time) y: 9 lines of code src/base/shapes/ShapeService.js x: 10 commits (all time) y: 12 lines of code src/base/shapes/ShapeStorage.js x: 9 commits (all time) y: 17 lines of code src/base/shapes/ShapeUser.js x: 9 commits (all time) y: 14 lines of code src/dns/dnsNodeView.js x: 6 commits (all time) y: 36 lines of code src/base/baseView.js x: 8 commits (all time) y: 82 lines of code src/base/connection.js x: 10 commits (all time) y: 47 lines of code src/base/connectionNoticeView.js x: 11 commits (all time) y: 87 lines of code src/base/connectionView.js x: 49 commits (all time) y: 374 lines of code src/base/graphObject.js x: 18 commits (all time) y: 72 lines of code src/base/trafficGraphView.js x: 7 commits (all time) y: 124 lines of code src/dns/dnsConnectionView.js x: 14 commits (all time) y: 155 lines of code src/dns/dnsTrafficGraph.js x: 20 commits (all time) y: 56 lines of code src/focused/focusedChildTrafficGraph.js x: 6 commits (all time) y: 28 lines of code src/focused/focusedTrafficGraph.js x: 15 commits (all time) y: 29 lines of code src/global/globalTrafficGraph.js x: 42 commits (all time) y: 134 lines of code src/globalDefinitions.js x: 14 commits (all time) y: 44 lines of code src/globalStyles.js x: 26 commits (all time) y: 10 lines of code src/layouts/dnsLayout.js x: 4 commits (all time) y: 40 lines of code src/layouts/ltrTreeLayout/acyclicFAS.js x: 5 commits (all time) y: 40 lines of code src/layouts/ltrTreeLayout/index.js x: 13 commits (all time) y: 65 lines of code src/layouts/ltrTreeLayout/ltrTreeLayoutWorker.js x: 6 commits (all time) y: 19 lines of code src/layouts/ltrTreeLayout/ltrTreeLayouter.js x: 6 commits (all time) y: 104 lines of code src/layouts/ltrTreeLayout/ranker.js x: 8 commits (all time) y: 66 lines of code src/layouts/ringCenterLayout.js x: 7 commits (all time) y: 58 lines of code src/layouts/ringLayout.js x: 4 commits (all time) y: 4 lines of code src/moveNodeInteraction.js x: 5 commits (all time) y: 160 lines of code src/notices.js x: 8 commits (all time) y: 49 lines of code src/physics/particleSystem.js x: 7 commits (all time) y: 489 lines of code src/region/regionTrafficGraph.js x: 37 commits (all time) y: 103 lines of code src/rendererUtils.js x: 6 commits (all time) y: 73 lines of code src/base/nodeNameView.js x: 15 commits (all time) y: 113 lines of code src/base/constants.js x: 4 commits (all time) y: 9 lines of code src/region/regionNode.js x: 19 commits (all time) y: 24 lines of code src/focused/focusedNode.js x: 10 commits (all time) y: 24 lines of code src/global/globalNode.js x: 27 commits (all time) y: 30 lines of code src/base/index.js x: 4 commits (all time) y: 12 lines of code src/dns/dnsNode.js x: 11 commits (all time) y: 16 lines of code src/global/globalConnection.js x: 8 commits (all time) y: 21 lines of code src/region/regionConnectionView.js x: 13 commits (all time) y: 49 lines of code src/global/globalConnectionView.js x: 1 commits (all time) y: 14 lines of code src/region/regionConnection.js x: 3 commits (all time) y: 12 lines of code
614.0
lines of code
  min: 4.0
  average: 93.78
  25th percentile: 16.0
  median: 47.0
  75th percentile: 104.0
  max: 614.0
0 85.0
commits (all time)
min: 1.0 | average: 14.78 | 25th percentile: 6.0 | median: 9.0 | 75th percentile: 15.0 | max: 85.0

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

src/base/nodeViewStandard.js x: 6 contributors (all time) y: 66 lines of code src/base/shapes/ShapeParent.js x: 3 contributors (all time) y: 65 lines of code src/base/trafficGraph.js x: 8 contributors (all time) y: 614 lines of code src/vizceral.js x: 13 contributors (all time) y: 561 lines of code src/focused/focusedNodeView.js x: 6 contributors (all time) y: 316 lines of code src/base/ShapesFactory.js x: 3 contributors (all time) y: 35 lines of code src/base/node.js x: 7 contributors (all time) y: 220 lines of code src/base/nodeView.js x: 5 contributors (all time) y: 193 lines of code src/base/shapes/CommonShapes.js x: 3 contributors (all time) y: 7 lines of code src/base/shapes/ShapeAzure.js x: 3 contributors (all time) y: 15 lines of code src/base/shapes/ShapePipe.js x: 3 contributors (all time) y: 9 lines of code src/base/shapes/ShapeService.js x: 3 contributors (all time) y: 12 lines of code src/base/shapes/ShapeStorage.js x: 3 contributors (all time) y: 17 lines of code src/base/shapes/ShapeUser.js x: 3 contributors (all time) y: 14 lines of code src/dns/dnsNodeView.js x: 5 contributors (all time) y: 36 lines of code src/base/baseView.js x: 3 contributors (all time) y: 82 lines of code src/base/connection.js x: 4 contributors (all time) y: 47 lines of code src/base/connectionNoticeView.js x: 4 contributors (all time) y: 87 lines of code src/base/connectionView.js x: 6 contributors (all time) y: 374 lines of code src/base/graphObject.js x: 5 contributors (all time) y: 72 lines of code src/base/trafficGraphView.js x: 4 contributors (all time) y: 124 lines of code src/dns/dnsConnectionView.js x: 4 contributors (all time) y: 155 lines of code src/dns/dnsTrafficGraph.js x: 5 contributors (all time) y: 56 lines of code src/focused/focusedChildTrafficGraph.js x: 4 contributors (all time) y: 28 lines of code src/focused/focusedTrafficGraph.js x: 5 contributors (all time) y: 29 lines of code src/global/globalTrafficGraph.js x: 5 contributors (all time) y: 134 lines of code src/globalDefinitions.js x: 4 contributors (all time) y: 44 lines of code src/globalStyles.js x: 6 contributors (all time) y: 10 lines of code src/layouts/dnsLayout.js x: 3 contributors (all time) y: 40 lines of code src/layouts/ltrTreeLayout/acyclicFAS.js x: 4 contributors (all time) y: 40 lines of code src/layouts/ltrTreeLayout/index.js x: 5 contributors (all time) y: 65 lines of code src/layouts/ltrTreeLayout/ltrTreeLayouter.js x: 3 contributors (all time) y: 104 lines of code src/layouts/ltrTreeLayout/ranker.js x: 5 contributors (all time) y: 66 lines of code src/layouts/ringCenterLayout.js x: 4 contributors (all time) y: 58 lines of code src/layouts/ringLayout.js x: 3 contributors (all time) y: 4 lines of code src/moveNodeInteraction.js x: 4 contributors (all time) y: 160 lines of code src/notices.js x: 4 contributors (all time) y: 49 lines of code src/physics/particleSystem.js x: 3 contributors (all time) y: 489 lines of code src/region/regionTrafficGraph.js x: 7 contributors (all time) y: 103 lines of code src/rendererUtils.js x: 3 contributors (all time) y: 73 lines of code src/base/nodeNameView.js x: 6 contributors (all time) y: 113 lines of code src/region/regionNode.js x: 7 contributors (all time) y: 24 lines of code src/focused/focusedNode.js x: 6 contributors (all time) y: 24 lines of code src/global/globalNode.js x: 6 contributors (all time) y: 30 lines of code src/dns/dnsNode.js x: 4 contributors (all time) y: 16 lines of code src/global/globalConnection.js x: 4 contributors (all time) y: 21 lines of code src/global/globalConnectionView.js x: 1 contributors (all time) y: 14 lines of code src/region/regionConnection.js x: 2 contributors (all time) y: 12 lines of code
614.0
lines of code
  min: 4.0
  average: 93.78
  25th percentile: 16.0
  median: 47.0
  75th percentile: 104.0
  max: 614.0
0 13.0
contributors (all time)
min: 1.0 | average: 4.36 | 25th percentile: 3.0 | median: 4.0 | 75th percentile: 5.0 | max: 13.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...