Linux / Drivers / S390
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 223 files with 101,701 lines of code.
    • 27 very long files (50,229 lines of code)
    • 34 long files (24,715 lines of code)
    • 55 medium size files (17,514 lines of codeclsfd_ftr_w_mp_ins)
    • 50 small files (7,130 lines of code)
    • 57 very small files (2,113 lines of code)
49% | 24% | 17% | 7% | 2%
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
c55% | 23% | 16% | 4% | <1%
h0% | 30% | 27% | 28% | 13%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
net73% | 14% | 5% | 5% | <1%
block63% | 24% | 9% | 1% | 1%
crypto64% | 15% | 8% | 8% | 2%
cio28% | 28% | 28% | 11% | 2%
scsi38% | 32% | 18% | 10% | <1%
char15% | 37% | 35% | 7% | 4%
virtio100% | 0% | 0% | 0% | 0%
Longest Files (Top 50)
File# lines# units
5848 235
dasd_eckd.c
in block
5358 102
dasd.c
in block
3103 132
zfcp_fsf.c
in scsi
2100 60
1927 82
lcs.c
in net
1867 10
1835 79
zcrypt_api.c
in crypto
1757 61
pkey_api.c
in crypto
1738 46
1684 36
1676 4
1592 28
1581 25
netiucv.c
in net
1530 62
tty3270.c
in char
1508 11
device.c
in cio
1457 54
1430 28
zfcp_erp.c
in scsi
1398 81
ap_bus.c
in crypto
1346 77
1328 23
1277 27
chsc.c
in cio
1264 44
virtio_ccw.c
in virtio
1213 37
1212 22
css.c
in cio
1142 68
1038 26
1020 49
sclp.c
in char
991 25
raw3270.c
in char
979 5
dasd_int.h
in block
976 59
961 2
cmf.c
in cio
912 40
vfio_ap_ops.c
in crypto
883 35
882 25
875 31
859 21
dcssblk.c
in block
834 5
zfcp_fc.c
in scsi
826 48
con3215.c
in char
811 37
797 3
784 2
779 31
dasd_alias.c
in block
769 20
752 31
vmur.c
in char
736 32
ap_queue.c
in crypto
700 32
dasd_fba.c
in block
693 9
654 47
vmlogrdr.c
in char
630 26
chp.c
in cio
616 40
Files With Most Units (Top 50)
File# lines# units
5848 235
dasd.c
in block
3103 132
dasd_eckd.c
in block
5358 102
1927 82
zfcp_erp.c
in scsi
1398 81
1835 79
ap_bus.c
in crypto
1346 77
css.c
in cio
1142 68
netiucv.c
in net
1530 62
zcrypt_api.c
in crypto
1757 61
zfcp_fsf.c
in scsi
2100 60
dasd_int.h
in block
976 59
device.c
in cio
1457 54
1020 49
zfcp_fc.c
in scsi
826 48
654 47
pkey_api.c
in crypto
1738 46
chsc.c
in cio
1264 44
chp.c
in cio
616 40
cmf.c
in cio
912 40
con3215.c
in char
811 37
virtio_ccw.c
in virtio
1213 37
1684 36
vfio_ap_ops.c
in crypto
883 35
ap_queue.c
in crypto
700 32
vmur.c
in char
736 32
544 31
ism_drv.c
in net
506 31
779 31
752 31
875 31
1592 28
536 28
1430 28
1277 27
434 27
1038 26
vmlogrdr.c
in char
630 26
scm_blk.c
in block
472 26
1581 25
882 25
sclp.c
in char
991 25
sclp_cmd.c
in char
523 25
461 24
1328 23
zfcp_dbf.c
in scsi
569 23
524 23
1212 22
390 22
859 21
Files With Long Lines (Top 2)

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

File# lines# units# long lines
zfcp_fsf.c
in scsi
2100 60 6
752 31 1