Linux / Drivers / Bluetooth
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 45 files with 24,002 lines of code.
    • 5 very long files (8,937 lines of code)
    • 14 long files (9,181 lines of code)
    • 12 medium size files (3,969 lines of codeclsfd_ftr_w_mp_ins)
    • 10 small files (1,580 lines of code)
    • 4 very small files (335 lines of code)
37% | 38% | 16% | 6% | 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
c39% | 40% | 16% | 4% | 0%
h0% | 0% | 22% | 48% | 28%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT37% | 38% | 16% | 6% | 1%
Longest Files (Top 45)
File# lines# units
btusb.c
in root
2964 77
btintel.c
in root
1725 54
hci_qca.c
in root
1717 55
1383 32
hci_bcm.c
in root
1148 35
hci_h5.c
in root
844 35
843 28
834 19
806 23
btrtl.c
in root
714 13
643 30
614 19
596 26
576 18
hci_bcsp.c
in root
571 16
hci_ll.c
in root
567 20
btqca.c
in root
546 13
bfusb.c
in root
519 14
btbcm.c
in root
508 12
bt3c_cs.c
in root
489 22
hci_vhci.c
in root
449 27
ath3k.c
in root
437 11
dtl1_cs.c
in root
393 15
hci_mrvl.c
in root
335 14
bpa10x.c
in root
314 12
309 17
btsdio.c
in root
265 10
btintel.h
in root
261 16
258 11
btmtk.c
in root
234 3
225 9
hci_h4.c
in root
193 7
bcm203x.c
in root
188 4
hci_ath.c
in root
181 12
btqca.h
in root
173 9
163 9
hci_uart.h
in root
156 -
btrsi.c
in root
148 9
145 8
126 -
h4_recv.h
in root
107 -
btbcm.h
in root
89 9
btmtk.h
in root
88 3
btrtl.h
in root
82 6
76 -
Files With Most Units (Top 41)
File# lines# units
btusb.c
in root
2964 77
hci_qca.c
in root
1717 55
btintel.c
in root
1725 54
hci_bcm.c
in root
1148 35
hci_h5.c
in root
844 35
1383 32
643 30
843 28
hci_vhci.c
in root
449 27
596 26
806 23
bt3c_cs.c
in root
489 22
hci_ll.c
in root
567 20
614 19
834 19
576 18
309 17
btintel.h
in root
261 16
hci_bcsp.c
in root
571 16
dtl1_cs.c
in root
393 15
hci_mrvl.c
in root
335 14
bfusb.c
in root
519 14
btqca.c
in root
546 13
btrtl.c
in root
714 13
btbcm.c
in root
508 12
bpa10x.c
in root
314 12
hci_ath.c
in root
181 12
258 11
ath3k.c
in root
437 11
btsdio.c
in root
265 10
btqca.h
in root
173 9
163 9
225 9
btrsi.c
in root
148 9
btbcm.h
in root
89 9
145 8
hci_h4.c
in root
193 7
btrtl.h
in root
82 6
bcm203x.c
in root
188 4
btmtk.c
in root
234 3
btmtk.h
in root
88 3
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
hci_bcm.c
in root
1148 35 1