Linux / Drivers / Ata
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 123 files with 57,432 lines of code.
    • 11 very long files (21,985 lines of code)
    • 22 long files (15,832 lines of code)
    • 43 medium size files (13,687 lines of codeclsfd_ftr_w_mp_ins)
    • 33 small files (4,971 lines of code)
    • 14 very small files (957 lines of code)
38% | 27% | 23% | 8% | 1%
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
c38% | 27% | 23% | 8% | 1%
h0% | 0% | 82% | 0% | 17%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT38% | 27% | 23% | 8% | 1%
Longest Files (Top 50)
File# lines# units
3776 158
sata_mv.c
in root
3051 117
2838 88
2326 83
libahci.c
in root
1840 80
sata_nv.c
in root
1776 65
1657 84
ahci.c
in root
1407 35
ata_piix.c
in root
1176 29
sata_fsl.c
in root
1093 33
sata_sx4.c
in root
1045 37
995 34
ahci_imx.c
in root
969 19
962 32
940 41
904 31
847 26
813 38
759 40
718 24
710 24
695 38
669 20
659 2
644 20
622 30
619 25
578 23
560 21
pata_sis.c
in root
556 19
sata_sil.c
in root
541 18
539 17
sata_via.c
in root
533 21
491 18
483 20
464 8
pata_via.c
in root
459 13
459 25
pdc_adma.c
in root
448 20
446 23
442 16
433 15
pata_amd.c
in root
424 22
421 21
409 13
pata_ali.c
in root
396 16
393 10
354 12
sata_svw.c
in root
346 13
344 15
Files With Most Units (Top 50)
File# lines# units
3776 158
sata_mv.c
in root
3051 117
2838 88
1657 84
2326 83
libahci.c
in root
1840 80
sata_nv.c
in root
1776 65
940 41
759 40
813 38
695 38
sata_sx4.c
in root
1045 37
ahci.c
in root
1407 35
995 34
sata_fsl.c
in root
1093 33
962 32
904 31
622 30
ata_piix.c
in root
1176 29
libata.h
in root
219 28
847 26
459 25
619 25
710 24
718 24
578 23
446 23
pata_amd.c
in root
424 22
560 21
sata_via.c
in root
533 21
421 21
pdc_adma.c
in root
448 20
644 20
669 20
483 20
ahci_imx.c
in root
969 19
pata_sis.c
in root
556 19
sata_sil.c
in root
541 18
491 18
539 17
pata_ali.c
in root
396 16
442 16
433 15
344 15
209 14
205 13
247 13
202 13
409 13
pata_via.c
in root
459 13
Files With Long Lines (Top 4)

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

File# lines# units# long lines
sata_sil.c
in root
541 18 1
622 30 1
619 25 1
3776 158 1