facebookresearch / AugLy
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 89 files with 11,676 lines of code.
    • 3 very long files (3,257 lines of code)
    • 2 long files (1,656 lines of code)
    • 11 medium size files (3,182 lines of codeclsfd_ftr_w_mp_ins)
    • 12 small files (1,592 lines of code)
    • 61 very small files (1,989 lines of code)
27% | 14% | 27% | 13% | 17%
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
py27% | 14% | 27% | 13% | 16%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
augly/image80% | 0% | 17% | 0% | 2%
augly/video45% | 40% | 8% | 4% | 2%
augly/audio0% | 44% | 24% | 28% | 2%
augly/text0% | 0% | 75% | 10% | 14%
augly/video/helpers0% | 0% | 78% | 13% | 7%
augly/image/utils0% | 0% | 49% | 46% | 4%
augly/text/augmenters0% | 0% | 19% | 24% | 56%
augly/video/augmenters0% | 0% | 0% | 14% | 85%
augly/utils0% | 0% | 0% | 43% | 56%
ROOT0% | 0% | 0% | 0% | 100%
augly0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
transforms.py
in augly/video
1106 111
functional.py
in augly/image
1095 35
transforms.py
in augly/image
1056 86
functional.py
in augly/video
979 44
functional.py
in augly/audio
677 20
transforms.py
in augly/text
445 37
functional.py
in augly/text
401 17
transforms.py
in augly/audio
371 41
bboxes.py
in augly/image/utils
327 16
metadata.py
in augly/video/helpers
282 6
intensity.py
in augly/video/helpers
264 46
__init__.py
in augly/image
235 -
intensity.py
in augly/image
230 39
utils.py
in augly/text/augmenters
213 6
ffmpeg.py
in augly/video/helpers
211 10
__init__.py
in augly/video
203 -
utils.py
in augly/audio
172 6
metadata.py
in augly/image/utils
169 7
typo.py
in augly/text/augmenters
149 7
utils.py
in augly/image/utils
142 10
intensity.py
in augly/audio
133 20
__init__.py
in augly/video/helpers
132 -
__init__.py
in augly/audio
131 -
text.py
in augly/video/augmenters/cv2
130 7
fun_fonts.py
in augly/text/augmenters
113 6
__init__.py
in augly/text
113 -
__init__.py
in augly/utils
106 -
utils.py
in augly/video
102 4
letter_replacement.py
in augly/text/augmenters
97 5
base_augmenter.py
in augly/video/augmenters/cv2
94 7
word_replacement.py
in augly/text/augmenters
85 5
words_augmenter.py
in augly/text/augmenters
85 3
upside_down.py
in augly/text/augmenters
74 6
shapes.py
in augly/video/augmenters/cv2
72 5
intensity.py
in augly/text
71 19
utils.py
in augly/video/helpers
70 5
case.py
in augly/text/augmenters
69 7
insertion.py
in augly/text/augmenters
68 4
contraction.py
in augly/text/augmenters
61 6
utils.py
in augly/text
54 3
composition.py
in augly/video
53 4
__init__.py
in augly/video/augmenters/ffmpeg
52 -
trim.py
in augly/video/augmenters/ffmpeg
50 2
dots.py
in augly/video/augmenters/cv2
50 3
composition.py
in augly/image
47 4
concat.py
in augly/video/augmenters/ffmpeg
46 2
base_augmenter.py
in augly/video/augmenters/ffmpeg
44 5
composition.py
in augly/text
44 4
composition.py
in augly/audio
39 4
overlay.py
in augly/video/augmenters/ffmpeg
38 2
Files With Most Units (Top 20)
File# lines# units
transforms.py
in augly/video
1106 111
transforms.py
in augly/image
1056 86
intensity.py
in augly/video/helpers
264 46
functional.py
in augly/video
979 44
transforms.py
in augly/audio
371 41
intensity.py
in augly/image
230 39
transforms.py
in augly/text
445 37
functional.py
in augly/image
1095 35
intensity.py
in augly/audio
133 20
functional.py
in augly/audio
677 20
intensity.py
in augly/text
71 19
functional.py
in augly/text
401 17
bboxes.py
in augly/image/utils
327 16
ffmpeg.py
in augly/video/helpers
211 10
asserts.py
in augly/utils
36 10
utils.py
in augly/image/utils
142 10
base_augmenter.py
in augly/video/augmenters/cv2
94 7
text.py
in augly/video/augmenters/cv2
130 7
metadata.py
in augly/image/utils
169 7
typo.py
in augly/text/augmenters
149 7
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
text.py
in augly/video/augmenters/cv2
130 7 1