microsoft / automatic-graph-layout
File Size

The distribution of size of files (measured in lines of code).

Intro
  • 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...
File Size Overall
  • There are 687 files with 107,102 lines of code.
    • 15 very long files (26,733 lines of code)
    • 27 long files (18,675 lines of code)
    • 96 medium size files (30,927 lines of codeclsfd_ftr_w_mp_ins)
    • 107 small files (15,488 lines of code)
    • 442 very small files (15,279 lines of code)
24% | 17% | 28% | 14% | 14%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
cs18% | 18% | 31% | 16% | 15%
js87% | 9% | 2% | 0% | <1%
ts50% | 22% | 14% | 11% | 2%
css0% | 0% | 100% | 0% | 0%
y0% | 0% | 100% | 0% | 0%
lex0% | 0% | 0% | 0% | 100%
ps10% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
props0% | 0% | 0% | 0% | 100%
cmd0% | 0% | 0% | 0% | 100%
xaml0% | 0% | 0% | 0% | 100%
targets0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
GraphLayout/MsaglSharpkit/MsaglDrawingSharpkit99% | 0% | 0% | 0% | <1%
GraphLayout/MSAGL/Layout20% | 14% | 40% | 17% | 8%
GraphLayout/MsaglSharpkit/WebMsagl46% | 24% | 22% | 5% | 1%
GraphLayout/MSAGL/GraphmapsWithMesh65% | 0% | 23% | 3% | 7%
GraphLayout/tools/GraphmapsWpfControl63% | 0% | 21% | 4% | 11%
GraphLayout/tools/GraphViewerGDI28% | 26% | 17% | 15% | 11%
GraphLayout/MSAGL/Core7% | 14% | 34% | 21% | 22%
GraphLayout/MSAGL/DebugHelpers50% | 30% | 0% | 6% | 12%
GraphLayout/MSAGL/Routing5% | 28% | 28% | 19% | 18%
GraphLayout/tools/WpfGraphControl54% | 0% | 34% | 0% | 11%
GraphLayout/tools/UwpGraphControl53% | 0% | 37% | 0% | 9%
GraphLayout/Drawing/LayoutEditing46% | 26% | 0% | 0% | 26%
GraphLayout/tools/Dot2Graph0% | 76% | 14% | 0% | 9%
GraphLayout/Drawing0% | 21% | 39% | 18% | 20%
GraphLayout/MSAGL/Miscellaneous0% | 0% | 56% | 20% | 22%
GraphLayout/tools/QUT.ShiftReduceParser0% | 0% | 66% | 0% | 33%
GraphLayout/tools/Dot2Svg0% | 0% | 92% | 0% | 7%
GraphLayout/tools/agl0% | 0% | 95% | 0% | 4%
GraphLayout/tools/FormForGViewer0% | 0% | 0% | 95% | 4%
GraphLayout/MsaglSharpkit/ConsoleTest0% | 0% | 0% | 90% | 9%
GraphLayout/MsaglSharpkit/MsaglSharpKit0% | 0% | 0% | 85% | 14%
GraphLayout/tools/ArgsParser0% | 0% | 0% | 0% | 100%
GraphLayout/tools/DebugCurveViewer0% | 0% | 0% | 0% | 100%
GraphLayout/MSAGL0% | 0% | 0% | 0% | 100%
GraphLayout/tools/DgmlParser0% | 0% | 0% | 0% | 100%
GraphLayout/WriteToSvgSample0% | 0% | 0% | 0% | 100%
GraphLayout/tools/Utilities0% | 0% | 0% | 0% | 100%
GraphLayout/NuGet0% | 0% | 0% | 0% | 100%
GraphLayout/TinyClickDemo0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
GraphLayout/TinyClickDemo/Properties0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
Microsoft.Msagl.Drawing.js
in GraphLayout/MsaglSharpkit/MsaglDrawingSharpkit/res
6305 853
LgInteractor.cs
in GraphLayout/MSAGL/Layout/LargeGraphLayout
2782 131
GraphmapsViewer.cs
in GraphLayout/tools/GraphmapsWpfControl
2453 182
GViewer.cs
in GraphLayout/tools/GraphViewerGDI
1607 107
ggraph.ts
in GraphLayout/MsaglSharpkit/WebMsagl/Scripts/src
1389 73
Curve.cs
in GraphLayout/MSAGL/Core/Geometry/Curves
1358 90
GeometryGraphReader.cs
in GraphLayout/MSAGL/DebugHelpers/Persistence
1304 98
require.js
in GraphLayout/MsaglSharpkit/WebMsagl/Lib/requirejs
1303 99
InteractiveEdgeRouter.cs
in GraphLayout/MSAGL/Routing
1270 92
MeshCreator.cs
in GraphLayout/MSAGL/GraphmapsWithMesh
1248 21
Tiling.cs
in GraphLayout/MSAGL/GraphmapsWithMesh
1215 36
GraphViewer.cs
in GraphLayout/tools/WpfGraphControl
1168 102
LayeredLayoutEngine.cs
in GraphLayout/MSAGL/Layout/Layered
1166 76
GraphViewer.cs
in GraphLayout/tools/UwpGraphControl
1153 100
LayoutEditor.cs
in GraphLayout/Drawing/LayoutEditing
1012 96
Draw.cs
in GraphLayout/tools/GraphViewerGDI
962 60
AttributeValuePair.cs
in GraphLayout/tools/Dot2Graph
957 28
Solver.cs
in GraphLayout/MSAGL/Core/ProjectionSolver
907 32
RecoveryLayeredLayoutEngine.cs
in GraphLayout/MSAGL/Layout/Layered
878 71
sharpkit_post.js
in GraphLayout/MsaglSharpkit/WebMsagl/Scripts/src
836 113
LineSweeper.cs
in GraphLayout/MSAGL/Routing/Spline/ConeSpanner
834 73
GeometryGraphWriter.cs
in GraphLayout/MSAGL/DebugHelpers/Persistence
805 70
SvgGraphWriter.cs
in GraphLayout/Drawing
799 60
SplineRouter.cs
in GraphLayout/MSAGL/Routing
795 64
Block.cs
in GraphLayout/MSAGL/Core/ProjectionSolver
775 34
OverlapRemovalFixedSegmentsMst.cs
in GraphLayout/MSAGL/Layout/OverlapRemovalFixedSegments
756 57
Nudger.cs
in GraphLayout/MSAGL/Routing/Rectilinear/Nudging
699 77
PortManager.cs
in GraphLayout/MSAGL/Routing/Rectilinear
662 47
OverlapRemovalCluster.cs
in GraphLayout/MSAGL/Core/Geometry/OverlapRemoval
635 23
SmoothedPolylineCalculator.cs
in GraphLayout/MSAGL/Layout/Layered
624 55
CdtSweeper.cs
in GraphLayout/MSAGL/Routing/ConstrainedDelaunayTriangulation
622 50
LineSweeperForPortLocations.cs
in GraphLayout/MSAGL/Routing/Spline/ConeSpanner
618 55
svggraph.ts
in GraphLayout/MsaglSharpkit/WebMsagl/Scripts/src
613 45
GeometryGraphEditor.cs
in GraphLayout/Drawing/LayoutEditing
573 51
TransientGraphUtility.cs
in GraphLayout/MSAGL/Routing/Rectilinear
567 38
VisibilityGraphGenerator.cs
in GraphLayout/MSAGL/Routing/Rectilinear
560 49
Dot.cs
in GraphLayout/tools/Dot2Graph
557 27
Polyline.cs
in GraphLayout/MSAGL/Core/Geometry/Curves
542 31
ObstacleTree.cs
in GraphLayout/MSAGL/Routing/Rectilinear
542 48
NodePositionsAdjuster.cs
in GraphLayout/MSAGL/Routing/Spline/Bundling
527 33
NetworkSimplex.cs
in GraphLayout/MSAGL/Layout/Layered/Layering
523 29
DGraph.cs
in GraphLayout/tools/GraphViewerGDI
507 35
EdgeLabelPlacement.cs
in GraphLayout/MSAGL/Core/Layout
497 28
LgPathRouter.cs
in GraphLayout/MSAGL/Layout/LargeGraphLayout
483 49
BundleBasesCalculator.cs
in GraphLayout/MSAGL/Routing/Spline/Bundling
479 36
QPSC.cs
in GraphLayout/MSAGL/Core/ProjectionSolver
478 20
ConstrainedOrdering.cs
in GraphLayout/MSAGL/Layout/Layered/Ordering
475 57
RectilinearEdgeRouter.cs
in GraphLayout/MSAGL/Routing/Rectilinear
471 51
FastIncrementalLayout.cs
in GraphLayout/MSAGL/Layout/Incremental
454 24
ScrollGViewer.cs
in GraphLayout/tools/GraphViewerGDI
454 36
Files With Most Units (Top 20)
File# lines# units
Microsoft.Msagl.Drawing.js
in GraphLayout/MsaglSharpkit/MsaglDrawingSharpkit/res
6305 853
GraphmapsViewer.cs
in GraphLayout/tools/GraphmapsWpfControl
2453 182
LgInteractor.cs
in GraphLayout/MSAGL/Layout/LargeGraphLayout
2782 131
sharpkit_post.js
in GraphLayout/MsaglSharpkit/WebMsagl/Scripts/src
836 113
GViewer.cs
in GraphLayout/tools/GraphViewerGDI
1607 107
GraphViewer.cs
in GraphLayout/tools/WpfGraphControl
1168 102
GraphViewer.cs
in GraphLayout/tools/UwpGraphControl
1153 100
require.js
in GraphLayout/MsaglSharpkit/WebMsagl/Lib/requirejs
1303 99
GeometryGraphReader.cs
in GraphLayout/MSAGL/DebugHelpers/Persistence
1304 98
LayoutEditor.cs
in GraphLayout/Drawing/LayoutEditing
1012 96
InteractiveEdgeRouter.cs
in GraphLayout/MSAGL/Routing
1270 92
Curve.cs
in GraphLayout/MSAGL/Core/Geometry/Curves
1358 90
Nudger.cs
in GraphLayout/MSAGL/Routing/Rectilinear/Nudging
699 77
LayeredLayoutEngine.cs
in GraphLayout/MSAGL/Layout/Layered
1166 76
LineSweeper.cs
in GraphLayout/MSAGL/Routing/Spline/ConeSpanner
834 73
ggraph.ts
in GraphLayout/MsaglSharpkit/WebMsagl/Scripts/src
1389 73
RecoveryLayeredLayoutEngine.cs
in GraphLayout/MSAGL/Layout/Layered
878 71
GeometryGraphWriter.cs
in GraphLayout/MSAGL/DebugHelpers/Persistence
805 70
SplineRouter.cs
in GraphLayout/MSAGL/Routing
795 64
SvgGraphWriter.cs
in GraphLayout/Drawing
799 60
Files With Long Lines (Top 20)

There are 318 files with lines longer than 120 characters. In total, there are 2062 long lines.

File# lines# units# long lines
Microsoft.Msagl.Drawing.js
in GraphLayout/MsaglSharpkit/MsaglDrawingSharpkit/res
6305 853 222
GlobalSuppressions.cs
in GraphLayout/MSAGL
48 - 47
TransientGraphUtility.cs
in GraphLayout/MSAGL/Routing/Rectilinear
567 38 39
ggraph.ts
in GraphLayout/MsaglSharpkit/WebMsagl/Scripts/src
1389 73 38
PortManager.cs
in GraphLayout/MSAGL/Routing/Rectilinear
662 47 36
Tiling.cs
in GraphLayout/MSAGL/GraphmapsWithMesh
1215 36 35
InteractiveEdgeRouter.cs
in GraphLayout/MSAGL/Routing
1270 92 33
MeshCreator.cs
in GraphLayout/MSAGL/GraphmapsWithMesh
1248 21 31
Dot.cs
in GraphLayout/tools/Dot2Graph
557 27 31
OverlapRemovalCluster.cs
in GraphLayout/MSAGL/Core/Geometry/OverlapRemoval
635 23 27
Block.cs
in GraphLayout/MSAGL/Core/ProjectionSolver
775 34 27
LgInteractor.cs
in GraphLayout/MSAGL/Layout/LargeGraphLayout
2782 131 27
ObstacleTree.cs
in GraphLayout/MSAGL/Routing/Rectilinear
542 48 27
VisibilityGraphGenerator.cs
in GraphLayout/MSAGL/Routing/Rectilinear
560 49 26
Solver.cs
in GraphLayout/MSAGL/Core/ProjectionSolver
907 32 24
Nudger.cs
in GraphLayout/MSAGL/Routing/Rectilinear/Nudging
699 77 24
SparseVisibilityGraphGenerator.cs
in GraphLayout/MSAGL/Routing/Rectilinear
390 37 24
GraphmapsViewer.cs
in GraphLayout/tools/GraphmapsWpfControl
2453 182 22
MultidimensionalScaling.cs
in GraphLayout/MSAGL/Core/Geometry
294 13 21
CdtSweeper.cs
in GraphLayout/MSAGL/Routing/ConstrainedDelaunayTriangulation
622 50 21