microsoft / Trill
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 423 files with 87,718 lines of code.
    • 10 very long files (22,436 lines of code)
    • 27 long files (17,785 lines of code)
    • 85 medium size files (25,750 lines of codeclsfd_ftr_w_mp_ins)
    • 79 small files (11,913 lines of code)
    • 222 very small files (9,834 lines of code)
25% | 20% | 29% | 13% | 11%
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
cs25% | 20% | 29% | 13% | 11%
props0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Sources/Core/Microsoft.StreamProcessing/Ingress74% | 3% | 11% | 3% | 7%
Sources/Core/Microsoft.StreamProcessing/Aggregates58% | 17% | 3% | 8% | 12%
Sources/Core/Microsoft.StreamProcessing/StreamableAPI68% | 13% | 6% | 10% | 1%
Sources/Core/Microsoft.StreamProcessing/Operators5% | 23% | 45% | 16% | 9%
Sources/Core/Microsoft.StreamProcessing/StringHandling72% | 0% | 19% | 0% | 7%
Sources/Core/Microsoft.StreamProcessing/Utilities28% | 43% | 9% | 8% | 9%
Sources/Core/Microsoft.StreamProcessing/Collections0% | 28% | 27% | 24% | 18%
Sources/Core/Microsoft.StreamProcessing/Transformer0% | 77% | 0% | 13% | 9%
Sources/Core/Microsoft.StreamProcessing/StreamProperties0% | 78% | 21% | 0% | 0%
Sources/Core/Microsoft.StreamProcessing/Windows0% | 68% | 0% | 31% | 0%
Sources/Core/Microsoft.StreamProcessing/Fusible0% | 74% | 0% | 0% | 25%
Sources/Core/Microsoft.StreamProcessing/Egress0% | 0% | 65% | 16% | 18%
Sources/Core/Microsoft.StreamProcessing/Serializer0% | 0% | 26% | 46% | 26%
Sources/Core/Microsoft.StreamProcessing/Pipes0% | 0% | 55% | 0% | 44%
Sources/Core/Microsoft.StreamProcessing/Scheduler0% | 0% | 84% | 0% | 15%
Sources/Core/Microsoft.StreamProcessing0% | 0% | 39% | 17% | 42%
Sources/Core/Microsoft.StreamProcessing/CacheUtilities0% | 0% | 100% | 0% | 0%
Sources/Core/Microsoft.StreamProcessing/Events0% | 0% | 0% | 95% | 4%
Sources/Core/Microsoft.StreamProcessing/Sharding0% | 0% | 0% | 30% | 69%
Sources/Core/Microsoft.StreamProcessing.Provider0% | 0% | 0% | 0% | 100%
Sources/Core/Microsoft.StreamProcessing.Provider/Core0% | 0% | 0% | 0% | 100%
Sources/Core/Microsoft.StreamProcessing/Streamables0% | 0% | 0% | 0% | 100%
Sources/Core/Microsoft.StreamProcessing.Provider/Extensions0% | 0% | 0% | 0% | 100%
Sources0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Sources/Core0% | 0% | 0% | 0% | 100%
Sources/Core/Microsoft.StreamProcessing/Properties0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
TemporalIngressSubscription.cs
in Sources/Core/Microsoft.StreamProcessing/Ingress/Temporal
6732 198
AggregateFunctionsTemplate.cs
in Sources/Core/Microsoft.StreamProcessing/Aggregates
3706 -
TemporalIngressStreamable.cs
in Sources/Core/Microsoft.StreamProcessing/Ingress/Temporal
2548 92
StreamableExtensionsTemplate.cs
in Sources/Core/Microsoft.StreamProcessing/StreamableAPI
1653 158
GroupAggregateTemplate.cs
in Sources/Core/Microsoft.StreamProcessing/StreamableAPI
1639 30
MultiString.cs
in Sources/Core/Microsoft.StreamProcessing/StringHandling
1578 58
ExpressionExtensions.cs
in Sources/Core/Microsoft.StreamProcessing/Utilities
1248 75
SubscriptionBase.cs
in Sources/Core/Microsoft.StreamProcessing/Ingress
1167 66
PartitionedEquiJoinPipeCompound.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/EquiJoin/Basic
1091 28
PartitionedEquiJoinPipe.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/EquiJoin/Basic
1074 28
ShufflePipe.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/Shuffle
989 39
PartitionedEquiJoinPipeSimple.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/EquiJoin/Basic
977 28
PartitionedLeftAntiSemiJoinPipe.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/LeftAntiSemiJoin
913 28
StreamProperties.cs
in Sources/Core/Microsoft.StreamProcessing/StreamProperties
831 49
EquiJoinPipe.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/EquiJoin/Basic
802 27
StructTupleTemplate.cs
in Sources/Core/Microsoft.StreamProcessing/Utilities
794 32
WindowTemplate.cs
in Sources/Core/Microsoft.StreamProcessing/Windows
791 78
StreamMessage.cs
in Sources/Core/Microsoft.StreamProcessing/Collections
769 32
StreamableExtensions.cs
in Sources/Core/Microsoft.StreamProcessing/StreamableAPI
667 46
TemplateClasses.cs
in Sources/Core/Microsoft.StreamProcessing/Transformer
645 32
PartitionedClipJoinPipe.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/Clip
643 19
LeftAntiSemiJoinPipe.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/LeftAntiSemiJoin
638 22
PartitionedFixedIntervalEquiJoinPipeCompound.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/EquiJoin/FixedInterval
621 18
PartitionedFixedIntervalEquiJoinPipe.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/EquiJoin/FixedInterval
616 18
FuseModule.cs
in Sources/Core/Microsoft.StreamProcessing/Fusible
598 14
Config.cs
in Sources/Core/Microsoft.StreamProcessing/Utilities
583 23
PartitionedFixedIntervalEquiJoinPipeSimple.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/EquiJoin/FixedInterval
582 18
AverageAggregateTemplate.cs
in Sources/Core/Microsoft.StreamProcessing/Aggregates
549 -
SelectTransformation.cs
in Sources/Core/Microsoft.StreamProcessing/Transformer
549 17
PartitionedStartEdgeEquiJoinPipe.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/EquiJoin/StartEdge
547 16
CompiledPartitionedAfaPipe_MultiEventList.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/Afa
542 5
AverageSquareAggregateTemplate.cs
in Sources/Core/Microsoft.StreamProcessing/Aggregates
540 -
IncreasingOrderEquiJoinPipe.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/EquiJoin/IncreasingOrder
534 13
TypeExtensions.cs
in Sources/Core/Microsoft.StreamProcessing/Utilities
529 30
CompiledGroupedAfaPipe_MultiEventList.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/Afa
517 5
ImpatienceSorter.cs
in Sources/Core/Microsoft.StreamProcessing/Ingress
511 17
FastMap.cs
in Sources/Core/Microsoft.StreamProcessing/Collections
508 25
SelectManyPipe.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/SelectMany
438 20
TemporalIngress.cs
in Sources/Core/Microsoft.StreamProcessing/Ingress/Temporal
432 18
CompiledPartitionedAfaPipe_SingleEvent.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/Afa
432 4
Regex.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/Afa
424 36
MyStringBuilder.cs
in Sources/Core/Microsoft.StreamProcessing/StringHandling
423 17
CompiledUngroupedAfaPipe_MultiEventList.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/Afa
415 4
EqualityComparerExpression.cs
in Sources/Core/Microsoft.StreamProcessing/Utilities
414 15
BinaryPipe.cs
in Sources/Core/Microsoft.StreamProcessing/Pipes
408 20
PartitionedBeatPipe.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/Beat
402 15
PartitionedSnapshotWindowHoppingPipe.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/SnapshotWindow/Hopping
398 8
PartitionedSnapshotWindowSlidingPipe.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/SnapshotWindow/Sliding
396 8
TemporalArrayEgressPipe.cs
in Sources/Core/Microsoft.StreamProcessing/Egress/TemporalArray
393 30
CompiledPartitionedAfaPipe_EventList.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/Afa
387 5
Files With Most Units (Top 20)
File# lines# units
TemporalIngressSubscription.cs
in Sources/Core/Microsoft.StreamProcessing/Ingress/Temporal
6732 198
StreamableExtensionsTemplate.cs
in Sources/Core/Microsoft.StreamProcessing/StreamableAPI
1653 158
TemporalIngressStreamable.cs
in Sources/Core/Microsoft.StreamProcessing/Ingress/Temporal
2548 92
WindowTemplate.cs
in Sources/Core/Microsoft.StreamProcessing/Windows
791 78
ExpressionExtensions.cs
in Sources/Core/Microsoft.StreamProcessing/Utilities
1248 75
SubscriptionBase.cs
in Sources/Core/Microsoft.StreamProcessing/Ingress
1167 66
MultiString.cs
in Sources/Core/Microsoft.StreamProcessing/StringHandling
1578 58
StreamProperties.cs
in Sources/Core/Microsoft.StreamProcessing/StreamProperties
831 49
StreamableExtensions.cs
in Sources/Core/Microsoft.StreamProcessing/StreamableAPI
667 46
ShufflePipe.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/Shuffle
989 39
Regex.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/Afa
424 36
StreamMessage.cs
in Sources/Core/Microsoft.StreamProcessing/Collections
769 32
TemplateClasses.cs
in Sources/Core/Microsoft.StreamProcessing/Transformer
645 32
StructTupleTemplate.cs
in Sources/Core/Microsoft.StreamProcessing/Utilities
794 32
TemporalArrayEgressPipe.cs
in Sources/Core/Microsoft.StreamProcessing/Egress/TemporalArray
393 30
GroupAggregateTemplate.cs
in Sources/Core/Microsoft.StreamProcessing/StreamableAPI
1639 30
TypeExtensions.cs
in Sources/Core/Microsoft.StreamProcessing/Utilities
529 30
PatternMatcher.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/Afa
363 29
PartitionedEquiJoinPipe.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/EquiJoin/Basic
1074 28
PartitionedEquiJoinPipeCompound.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/EquiJoin/Basic
1091 28
Files With Long Lines (Top 20)

There are 329 files with lines longer than 120 characters. In total, there are 5166 long lines.

File# lines# units# long lines
AggregateFunctionsTemplate.cs
in Sources/Core/Microsoft.StreamProcessing/Aggregates
3706 - 716
TemporalIngressSubscription.cs
in Sources/Core/Microsoft.StreamProcessing/Ingress/Temporal
6732 198 475
GroupAggregateTemplate.cs
in Sources/Core/Microsoft.StreamProcessing/StreamableAPI
1639 30 462
StreamableExtensionsTemplate.cs
in Sources/Core/Microsoft.StreamProcessing/StreamableAPI
1653 158 216
TemporalIngressStreamable.cs
in Sources/Core/Microsoft.StreamProcessing/Ingress/Temporal
2548 92 150
AverageSquareAggregateTemplate.cs
in Sources/Core/Microsoft.StreamProcessing/Aggregates
540 - 120
AverageAggregateTemplate.cs
in Sources/Core/Microsoft.StreamProcessing/Aggregates
549 - 119
Regex.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/Afa
424 36 74
Map2ReduceStreamable.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/MapReduce
341 4 68
PatternMatcher.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/Afa
363 29 65
MapReduceStreamable.cs
in Sources/Core/Microsoft.StreamProcessing/Operators/MapReduce
293 6 60
StreamableExtensions.cs
in Sources/Core/Microsoft.StreamProcessing/StreamableAPI
667 46 55
MultiString.cs
in Sources/Core/Microsoft.StreamProcessing/StringHandling
1578 58 47
SubscriptionBase.cs
in Sources/Core/Microsoft.StreamProcessing/Ingress
1167 66 44
StreamProperties.cs
in Sources/Core/Microsoft.StreamProcessing/StreamProperties
831 49 44
PivotExtensions.cs
in Sources/Core/Microsoft.StreamProcessing/StreamableAPI
320 4 43
TemplateClasses.cs
in Sources/Core/Microsoft.StreamProcessing/Transformer
645 32 41
FuseModule.cs
in Sources/Core/Microsoft.StreamProcessing/Fusible
598 14 40
ExpressionExtensions.cs
in Sources/Core/Microsoft.StreamProcessing/Utilities
1248 75 39
StructTupleTemplate.cs
in Sources/Core/Microsoft.StreamProcessing/Utilities
794 32 36