pytorch / tnt
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 37 files with 1,481 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (205 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (133 lines of code)
    • 35 very small files (1,143 lines of code)
0% | 0% | 13% | 8% | 77%
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% | 0% | 13% | 8% | 77%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
torchnet/logger0% | 0% | 57% | 37% | 4%
torchnet/meter0% | 0% | 0% | 0% | 100%
torchnet/dataset0% | 0% | 0% | 0% | 100%
example0% | 0% | 0% | 0% | 100%
torchnet/utils0% | 0% | 0% | 0% | 100%
torchnet/engine0% | 0% | 0% | 0% | 100%
torchnet0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 37)
File# lines# units
visdomlogger.py
in torchnet/logger
205 17
meterlogger.py
in torchnet/logger
133 11
mnist_with_visdom.py
in example
94 5
apmeter.py
in torchnet/meter
84 4
mnist_with_meterlogger.py
in example
72 5
mnist.py
in example
72 5
multitaskdataloader.py
in torchnet/utils
64 4
engine.py
in torchnet/engine
62 4
resultswriter.py
in torchnet/utils
58 3
aucmeter.py
in torchnet/meter
53 4
classerrormeter.py
in torchnet/meter
47 4
confusionmeter.py
in torchnet/meter
47 4
batchdataset.py
in torchnet/dataset
45 3
splitdataset.py
in torchnet/dataset
45 4
transform.py
in torchnet
41 4
averagevaluemeter.py
in torchnet/meter
36 4
tensordataset.py
in torchnet/dataset
32 3
movingaveragevaluemeter.py
in torchnet/meter
26 4
setup.py
in root
25 -
shuffledataset.py
in torchnet/dataset
23 2
transformdataset.py
in torchnet/dataset
22 3
dataset.py
in torchnet/dataset
21 8
msemeter.py
in torchnet/meter
20 4
listdataset.py
in torchnet/dataset
19 3
timemeter.py
in torchnet/meter
19 4
concatdataset.py
in torchnet/dataset
18 3
table.py
in torchnet/utils
17 2
meter.py
in torchnet/meter
16 3
logger.py
in torchnet/logger
15 5
resampledataset.py
in torchnet/dataset
15 3
mapmeter.py
in torchnet/meter
11 4
__init__.py
in torchnet/meter
9 -
__init__.py
in torchnet/dataset
8 -
__init__.py
in torchnet/logger
2 -
__init__.py
in torchnet
2 -
__init__.py
in torchnet/utils
2 -
__init__.py
in torchnet/engine
1 -
Files With Most Units (Top 20)
File# lines# units
visdomlogger.py
in torchnet/logger
205 17
meterlogger.py
in torchnet/logger
133 11
dataset.py
in torchnet/dataset
21 8
mnist_with_meterlogger.py
in example
72 5
mnist_with_visdom.py
in example
94 5
mnist.py
in example
72 5
logger.py
in torchnet/logger
15 5
splitdataset.py
in torchnet/dataset
45 4
multitaskdataloader.py
in torchnet/utils
64 4
transform.py
in torchnet
41 4
classerrormeter.py
in torchnet/meter
47 4
mapmeter.py
in torchnet/meter
11 4
timemeter.py
in torchnet/meter
19 4
msemeter.py
in torchnet/meter
20 4
averagevaluemeter.py
in torchnet/meter
36 4
movingaveragevaluemeter.py
in torchnet/meter
26 4
apmeter.py
in torchnet/meter
84 4
confusionmeter.py
in torchnet/meter
47 4
aucmeter.py
in torchnet/meter
53 4
engine.py
in torchnet/engine
62 4
Files With Long Lines (Top 0)

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

File# lines# units# long lines