microsoft / tensorwatch
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 80 files with 6,595 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (519 lines of code)
    • 5 medium size files (1,381 lines of codeclsfd_ftr_w_mp_ins)
    • 15 small files (1,916 lines of code)
    • 59 very small files (2,779 lines of code)
0% | 7% | 20% | 29% | 42%
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% | 7% | 20% | 29% | 42%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
tensorwatch/model_graph/hiddenlayer0% | 28% | 34% | 14% | 22%
tensorwatch0% | 0% | 22% | 24% | 53%
tensorwatch/saliency0% | 0% | 34% | 28% | 37%
tensorwatch/model_graph/torchstat0% | 0% | 0% | 63% | 36%
tensorwatch/saliency/lime0% | 0% | 0% | 73% | 26%
tensorwatch/mpl0% | 0% | 0% | 28% | 71%
tensorwatch/plotly0% | 0% | 0% | 48% | 51%
tensorwatch/model_graph0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
tensorwatch/embeddings0% | 0% | 0% | 0% | 100%
tensorwatch/receptive_field0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
summary_graph.py
in tensorwatch/model_graph/hiddenlayer
519 51
distiller_utils.py
in tensorwatch/model_graph/hiddenlayer
355 54
graph.py
in tensorwatch/model_graph/hiddenlayer
271 22
inverter_util.py
in tensorwatch/saliency
271 17
utils.py
in tensorwatch
271 35
zmq_wrapper.py
in tensorwatch
213 24
stat_tree.py
in tensorwatch/model_graph/torchstat
155 28
watcher_base.py
in tensorwatch
154 17
lime_image.py
in tensorwatch/saliency/lime
138 5
transforms.py
in tensorwatch/model_graph/hiddenlayer
137 13
line_plot.py
in tensorwatch/mpl
137 4
line_plot.py
in tensorwatch/plotly
135 6
analyzer.py
in tensorwatch/model_graph/torchstat
131 10
vis_base.py
in tensorwatch
130 17
ge.py
in tensorwatch/model_graph/hiddenlayer
126 16
lv_types.py
in tensorwatch
123 12
backprop.py
in tensorwatch/saliency
114 15
evaler_utils.py
in tensorwatch
111 13
epsilon_lrp.py
in tensorwatch/saliency
110 13
compute_madd.py
in tensorwatch/model_graph/torchstat
108 10
lime_base.py
in tensorwatch/saliency/lime
107 5
saliency.py
in tensorwatch/saliency
100 6
evaler.py
in tensorwatch
98 13
bar_plot.py
in tensorwatch/mpl
96 6
image_utils.py
in tensorwatch
94 11
pytorch_draw_model.py
in tensorwatch/model_graph/hiddenlayer
94 9
compute_flops.py
in tensorwatch/model_graph/torchstat
93 8
pytorch_builder.py
in tensorwatch/model_graph/hiddenlayer
89 5
tf_builder.py
in tensorwatch/model_graph/hiddenlayer
89 3
base_mpl_plot.py
in tensorwatch/mpl
83 13
tensor_utils.py
in tensorwatch
82 6
base_plotly_plot.py
in tensorwatch/plotly
79 14
notebook_maker.py
in tensorwatch
73 8
stream_factory.py
in tensorwatch
72 9
pytorch_builder_grad.py
in tensorwatch/model_graph/hiddenlayer
71 3
reporter.py
in tensorwatch/model_graph/torchstat
71 2
watcher.py
in tensorwatch
69 7
image_plot.py
in tensorwatch/mpl
67 4
visualizer.py
in tensorwatch
67 4
embeddings_plot.py
in tensorwatch/plotly
66 4
torchstat_utils.py
in tensorwatch/model_graph
64 5
deeplift.py
in tensorwatch/saliency
63 6
text_vis.py
in tensorwatch
62 10
compute_memory.py
in tensorwatch/model_graph/torchstat
59 8
scikit_image.py
in tensorwatch/saliency/lime/wrappers
59 6
watcher_client.py
in tensorwatch
59 8
stream.py
in tensorwatch
57 11
repeated_timer.py
in tensorwatch
55 7
imagenet_utils.py
in tensorwatch
53 12
data_utils.py
in tensorwatch
51 6
Files With Most Units (Top 20)
File# lines# units
distiller_utils.py
in tensorwatch/model_graph/hiddenlayer
355 54
summary_graph.py
in tensorwatch/model_graph/hiddenlayer
519 51
utils.py
in tensorwatch
271 35
stat_tree.py
in tensorwatch/model_graph/torchstat
155 28
zmq_wrapper.py
in tensorwatch
213 24
graph.py
in tensorwatch/model_graph/hiddenlayer
271 22
inverter_util.py
in tensorwatch/saliency
271 17
vis_base.py
in tensorwatch
130 17
watcher_base.py
in tensorwatch
154 17
ge.py
in tensorwatch/model_graph/hiddenlayer
126 16
backprop.py
in tensorwatch/saliency
114 15
base_plotly_plot.py
in tensorwatch/plotly
79 14
evaler.py
in tensorwatch
98 13
evaler_utils.py
in tensorwatch
111 13
transforms.py
in tensorwatch/model_graph/hiddenlayer
137 13
base_mpl_plot.py
in tensorwatch/mpl
83 13
epsilon_lrp.py
in tensorwatch/saliency
110 13
imagenet_utils.py
in tensorwatch
53 12
lv_types.py
in tensorwatch
123 12
image_utils.py
in tensorwatch
94 11
Files With Long Lines (Top 11)

There are 11 files with lines longer than 120 characters. In total, there are 20 long lines.

File# lines# units# long lines
visualizer.py
in tensorwatch
67 4 8
embeddings_plot.py
in tensorwatch/plotly
66 4 2
line_plot.py
in tensorwatch/plotly
135 6 2
tsne_utils.py
in tensorwatch/embeddings
23 2 1
summary_graph.py
in tensorwatch/model_graph/hiddenlayer
519 51 1
compute_flops.py
in tensorwatch/model_graph/torchstat
93 8 1
line_plot.py
in tensorwatch/mpl
137 4 1
stream_union.py
in tensorwatch
12 1 1
vis_base.py
in tensorwatch
130 17 1
watcher.py
in tensorwatch
69 7 1
zmq_mgmt_stream.py
in tensorwatch
40 6 1