apple / cups
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 446 files with 318,667 lines of code.
    • 62 very long files (235,674 lines of code)
    • 50 long files (35,075 lines of code)
    • 89 medium size files (29,131 lines of codeclsfd_ftr_w_mp_ins)
    • 78 small files (11,223 lines of code)
    • 167 very small files (7,564 lines of code)
73% | 11% | 9% | 3% | 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
po99% | 0% | 0% | 0% | <1%
c62% | 18% | 14% | 3% | 1%
html53% | 17% | 7% | 11% | 8%
cxx69% | 8% | 10% | 4% | 6%
h18% | 13% | 31% | 18% | 18%
css0% | 61% | 38% | 0% | 0%
in0% | 18% | 32% | 18% | 30%
vcxproj0% | 0% | 25% | 74% | 0%
filters0% | 0% | 56% | 0% | 43%
php0% | 0% | 0% | 0% | 100%
cgi0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
locale99% | 0% | <1% | 0% | <1%
cups55% | 21% | 15% | 4% | 2%
scheduler69% | 15% | 8% | 4% | 1%
tools88% | 4% | 5% | 0% | <1%
doc50% | 19% | 8% | 11% | 9%
systemv71% | 7% | 13% | 6% | 0%
backend49% | 29% | 19% | 1% | <1%
ppdc56% | 9% | 18% | 6% | 8%
cgi-bin34% | 34% | 21% | 4% | 5%
filter42% | 27% | 29% | 0% | 1%
vcnet19% | 22% | 29% | 18% | 9%
packaging0% | 61% | 38% | 0% | 0%
notifier0% | 0% | 95% | 0% | 4%
berkeley0% | 0% | 87% | 12% | 0%
ROOT0% | 0% | 85% | 14% | 0%
monitor0% | 0% | 0% | 100% | 0%
xcode0% | 0% | 0% | 100% | 0%
conf0% | 0% | 0% | 54% | 45%
templates0% | 0% | 0% | 0% | 100%
desktop0% | 0% | 0% | 0% | 100%
data0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
po
cups_en.po
in locale
11317 -
po
cups_es.po
in locale
11282 -
po
cups_ja.po
in locale
11279 -
po
cups_ca.po
in locale
11271 -
po
cups_it.po
in locale
11261 -
po
cups_pt_BR.po
in locale
11258 -
po
cups_ru.po
in locale
11208 -
po
cups_zh_CN.po
in locale
11164 -
po
cups_de.po
in locale
11144 -
po
cups_fr.po
in locale
11029 -
po
cups_cs.po
in locale
11011 -
ipp.c
in scheduler
7223 1
cupspm.html
in doc/help
6296 -
ippeveprinter.c
in tools
6177 -
ipptool.c
in tools
4695 -
ipp.c
in cups
3795 1
ppd-cache.c
in cups
3663 1
job.c
in scheduler
3538 -
printers.c
in scheduler
3436 1
cupstestppd.c
in systemv
3005 1
http.c
in cups
2982 1
conf.c
in scheduler
2912 1
cxx
ppdc-source.cxx
in ppdc
2828 -
dest.c
in cups
2706 1
ipp.c
in backend
2485 2
client.c
in scheduler
2462 2
admin.c
in cgi-bin
2433 -
ipp-strings.c
in locale
2228 -
ipp-support.c
in cups
2213 -
ppd.c
in cups
2180 1
pstops.c
in filter
2128 1
ippfind.c
in tools
2084 1
cxx
cups-driverd.cxx
in scheduler
1942 -
printer-lg-png.h
in tools
1849 -
dest-options.c
in cups
1824 1
ref-ppdcfile.html
in doc/help
1796 -
http-support.c
in cups
1705 1
api-ppd.html
in doc/help
1661 -
usb-darwin.c
in backend
1647 26
spec-ppd.html
in doc/help
1581 -
tls-darwin.c
in cups
1537 -
tls-sspi.c
in cups
1537 -
file.c
in cups
1518 -
lpstat.c
in systemv
1477 1
testppd.c
in cups
1466 -
auth.c
in scheduler
1279 1
main.c
in scheduler
1276 -
raster-stream.c
in cups
1259 -
usb-libusb.c
in backend
1240 2
regcomp.c
in vcnet/regex
1204 1
Files With Most Units (Top 20)
File# lines# units
usb-darwin.c
in backend
1647 26
ppdc.h
in ppdc
394 10
dns_sd.c
in vcnet
338 4
ipp.c
in backend
2485 2
usb-libusb.c
in backend
1240 2
auth.c
in cups
711 2
client.c
in scheduler
2462 2
dirsvc.c
in scheduler
1173 2
config.h
in vcnet
120 2
config.h
in xcode
168 2
dnssd.c
in backend
873 1
lpd.c
in backend
757 1
snmp-supplies.c
in backend
758 1
snmp.c
in backend
791 1
testbackend.c
in backend
466 1
usb-unix.c
in backend
333 1
usb.c
in backend
121 1
lpq.c
in berkeley
458 1
classes.c
in cgi-bin
266 1
help-index.c
in cgi-bin
742 1
Files With Long Lines (Top 20)

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

File# lines# units# long lines
cupspm.html
in doc/help
6296 - 593
ippeveprinter.c
in tools
6177 - 208
spec-ipp.html
in doc/help
1164 - 150
ipptool.c
in tools
4695 - 87
spec-ppd.html
in doc/help
1581 - 84
ipp.c
in scheduler
7223 1 80
ipp.c
in cups
3795 1 78
api-raster.html
in doc/help
890 - 75
tls-sspi.c
in cups
1537 - 71
dither.h
in tools
67 - 64
vcxproj
libcups2.vcxproj
in vcnet
302 - 62
api-ppd.html
in doc/help
1661 - 51
ppd-cache.c
in cups
3663 1 50
man-ipptoolfile.html
in doc/help
540 - 46
man-cupsd.conf.html
in doc/help
618 - 45
api-filter.html
in doc/help
1122 - 44
dest.c
in cups
2706 1 42
spec-design.html
in doc/help
116 - 35
network.html
in doc/help
271 - 34
translation.html
in doc/help
636 - 32