Linux / Drivers / Nfc
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 61 files with 18,927 lines of code.
    • 3 very long files (5,107 lines of code)
    • 8 long files (5,296 lines of code)
    • 21 medium size files (6,133 lines of codeclsfd_ftr_w_mp_ins)
    • 11 small files (1,621 lines of code)
    • 18 very small files (770 lines of code)
26% | 27% | 32% | 8% | 4%
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
c28% | 29% | 33% | 7% | 1%
h0% | 0% | 0% | 35% | 64%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT77% | 0% | 17% | 4% | <1%
pn53366% | 0% | 22% | 11% | 0%
pn5440% | 96% | 0% | 0% | 3%
st21nfca0% | 53% | 41% | 5% | 0%
st95hf0% | 86% | 0% | 10% | 2%
microread0% | 67% | 25% | 0% | 6%
fdp0% | 65% | 32% | 0% | 1%
st-nci0% | 28% | 58% | 7% | 5%
nfcmrvl0% | 0% | 73% | 18% | 7%
s3fwrn50% | 0% | 47% | 25% | 26%
nxp-nci0% | 0% | 75% | 16% | 7%
Longest Files (Top 50)
File# lines# units
pn533.c
in pn533
2142 78
trf7970a.c
in root
1708 45
port100.c
in root
1257 42
core.c
in st95hf
917 25
core.c
in st21nfca
763 24
pn544.c
in pn544
756 20
i2c.c
in pn544
711 21
microread.c
in microread
580 16
fdp.c
in fdp
540 24
dep.c
in st21nfca
517 17
se.c
in st-nci
512 18
usb.c
in pn533
461 18
fw_dnld.c
in nfcmrvl
418 17
i2c.c
in st21nfca
389 13
vendor_cmds.c
in st-nci
381 17
nfcsim.c
in root
365 21
firmware.c
in s3fwrn5
357 15
usb.c
in nfcmrvl
349 13
mei_phy.c
in root
300 9
vendor_cmds.c
in st21nfca
300 13
se.c
in st21nfca
288 13
i2c.c
in nxp-nci
272 7
i2c.c
in fdp
266 11
uart.c
in pn533
248 10
firmware.c
in nxp-nci
238 9
ndlc.c
in st-nci
231 12
i2c.c
in microread
219 10
spi.c
in st-nci
217 7
main.c
in nfcmrvl
211 10
i2c.c
in st-nci
210 7
i2c.c
in s3fwrn5
207 7
i2c.c
in nfcmrvl
206 9
i2c.c
in pn533
194 7
pn533.h
in pn533
175 -
171 10
core.c
in s3fwrn5
158 9
spi.c
in nfcmrvl
153 8
uart.c
in s3fwrn5
148 5
uart.c
in nfcmrvl
145 10
core.c
in st-nci
131 8
st21nfca.h
in st21nfca
121 -
core.c
in nxp-nci
113 5
spi.c
in st95hf
112 3
nci.c
in s3fwrn5
87 2
st-nci.h
in st-nci
75 -
firmware.h
in s3fwrn5
70 -
fw_dnld.h
in nfcmrvl
62 -
nfcmrvl.h
in nfcmrvl
58 -
s3fwrn5.h
in s3fwrn5
57 4
nxp-nci.h
in nxp-nci
49 -
Files With Most Units (Top 46)
File# lines# units
pn533.c
in pn533
2142 78
trf7970a.c
in root
1708 45
port100.c
in root
1257 42
core.c
in st95hf
917 25
core.c
in st21nfca
763 24
fdp.c
in fdp
540 24
i2c.c
in pn544
711 21
nfcsim.c
in root
365 21
pn544.c
in pn544
756 20
se.c
in st-nci
512 18
usb.c
in pn533
461 18
vendor_cmds.c
in st-nci
381 17
dep.c
in st21nfca
517 17
fw_dnld.c
in nfcmrvl
418 17
microread.c
in microread
580 16
firmware.c
in s3fwrn5
357 15
i2c.c
in st21nfca
389 13
vendor_cmds.c
in st21nfca
300 13
se.c
in st21nfca
288 13
usb.c
in nfcmrvl
349 13
ndlc.c
in st-nci
231 12
i2c.c
in fdp
266 11
i2c.c
in microread
219 10
171 10
uart.c
in pn533
248 10
main.c
in nfcmrvl
211 10
uart.c
in nfcmrvl
145 10
mei_phy.c
in root
300 9
firmware.c
in nxp-nci
238 9
core.c
in s3fwrn5
158 9
i2c.c
in nfcmrvl
206 9
core.c
in st-nci
131 8
spi.c
in nfcmrvl
153 8
i2c.c
in nxp-nci
272 7
spi.c
in st-nci
217 7
i2c.c
in st-nci
210 7
i2c.c
in s3fwrn5
207 7
i2c.c
in pn533
194 7
core.c
in nxp-nci
113 5
uart.c
in s3fwrn5
148 5
s3fwrn5.h
in s3fwrn5
57 4
phy_common.c
in s3fwrn5
49 4
spi.c
in st95hf
112 3
mei.c
in pn544
45 2
mei.c
in microread
45 2
nci.c
in s3fwrn5
87 2
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