microsoft / NeuronBlocks
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 106 files with 8,035 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,410 lines of code)
    • 5 medium size files (1,452 lines of codeclsfd_ftr_w_mp_ins)
    • 10 small files (1,294 lines of code)
    • 89 very small files (3,879 lines of code)
0% | 17% | 18% | 16% | 48%
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
py0% | 17% | 18% | 16% | 48%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 54% | 37% | 0% | 8%
utils0% | 0% | 40% | 22% | 36%
metrics0% | 0% | 45% | 36% | 17%
block_zoo0% | 0% | 0% | 22% | 77%
core0% | 0% | 0% | 39% | 60%
model_visualizer0% | 0% | 0% | 41% | 58%
losses0% | 0% | 0% | 0% | 100%
tools0% | 0% | 0% | 0% | 100%
dataset0% | 0% | 0% | 0% | 100%
autotest0% | 0% | 0% | 0% | 100%
optimizers0% | 0% | 0% | 0% | 100%
preparation0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
LearningMachine.py
in root
746 9
problem.py
in root
664 21
ModelConf.py
in root
454 16
train.py
in root
287 13
corpus_utils.py
in utils
269 10
Model.py
in root
224 10
Evaluator.py
in metrics
218 25
conlleval.py
in metrics
177 8
BiQRNN.py
in block_zoo
152 16
common_utils.py
in utils
150 13
CellDict.py
in core
133 17
CRF.py
in block_zoo
132 11
BaseLayer.py
in block_zoo
128 15
get_model_graph.py
in model_visualizer
109 1
Conv.py
in block_zoo
106 9
Embedding.py
in block_zoo
105 9
Linear.py
in block_zoo
102 8
ConvPooling.py
in block_zoo
100 8
mv.py
in model_visualizer/server
98 1
tagging_schemes_converter.py
in tools
98 3
SLUDecoder.py
in block_zoo/encoder_decoder
93 8
CNNCharEmbedding.py
in block_zoo/embedding
91 8
philly_utils.py
in utils
91 9
Interaction.py
in block_zoo/attentions
87 7
Conv2D.py
in block_zoo
85 9
slot_tagging_metrics.py
in metrics
84 3
get_20_newsgroups.py
in dataset
81 4
Loss.py
in losses
77 2
predict.py
in root
77 1
Combination.py
in block_zoo/op
76 7
FullAttention.py
in block_zoo/attentions
74 8
LSTMCharEmbedding.py
in block_zoo/embedding
72 7
Transformer.py
in block_zoo
70 7
Concat3D.py
in block_zoo/op
70 7
BPEEncoder.py
in utils
69 4
Pooling2D.py
in block_zoo
68 8
MultiHeadAttention.py
in block_zoo/transformer
67 10
SLUEncoder.py
in block_zoo/encoder_decoder
66 8
EncoderDecoder.py
in block_zoo
64 8
BiLSTMAtt.py
in block_zoo
63 8
test.py
in root
59 1
LinearAttention.py
in block_zoo/attentions
57 8
BiAttFlow.py
in block_zoo/attentions
56 7
MatrixMultiply.py
in block_zoo/math
56 7
BiGRULast.py
in block_zoo
54 8
Pooling1D.py
in block_zoo
54 7
Seq2SeqAttention.py
in block_zoo/attentions
54 7
CalculateDistance.py
in block_zoo/op
52 7
StreamingRecorder.py
in core
52 5
Pooling.py
in block_zoo
50 7
Files With Most Units (Top 20)
File# lines# units
Evaluator.py
in metrics
218 25
problem.py
in root
664 21
CellDict.py
in core
133 17
ModelConf.py
in root
454 16
BiQRNN.py
in block_zoo
152 16
BaseLayer.py
in block_zoo
128 15
train.py
in root
287 13
common_utils.py
in utils
150 13
CRF.py
in block_zoo
132 11
Model.py
in root
224 10
MultiHeadAttention.py
in block_zoo/transformer
67 10
corpus_utils.py
in utils
269 10
LearningMachine.py
in root
746 9
Conv.py
in block_zoo
106 9
Conv2D.py
in block_zoo
85 9
Embedding.py
in block_zoo
105 9
philly_utils.py
in utils
91 9
BiGRULast.py
in block_zoo
54 8
BiLSTMAtt.py
in block_zoo
63 8
ConvPooling.py
in block_zoo
100 8
Files With Long Lines (Top 20)

There are 59 files with lines longer than 120 characters. In total, there are 290 long lines.

File# lines# units# long lines
LearningMachine.py
in root
746 9 63
ModelConf.py
in root
454 16 40
problem.py
in root
664 21 30
corpus_utils.py
in utils
269 10 15
train.py
in root
287 13 14
Model.py
in root
224 10 8
CRF.py
in block_zoo
132 11 7
Pooling2D.py
in block_zoo
68 8 7
BaseLayer.py
in block_zoo
128 15 6
Conv2D.py
in block_zoo
85 9 5
conlleval.py
in metrics
177 8 5
Embedding.py
in block_zoo
105 9 4
get_20_newsgroups.py
in dataset
81 4 4
Evaluator.py
in metrics
218 25 4
philly_utils.py
in utils
91 9 4
BiGRU.py
in block_zoo
49 7 3
Conv.py
in block_zoo
106 9 3
ConvPooling.py
in block_zoo
100 8 3
FullAttention.py
in block_zoo/attentions
74 8 3
CNNCharEmbedding.py
in block_zoo/embedding
91 8 3