apple / ccs-caldavtester
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 44 files with 4,648 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,479 lines of code)
    • 2 medium size files (809 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (1,087 lines of code)
    • 33 very small files (1,273 lines of code)
0% | 31% | 17% | 23% | 27%
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
py0% | 31% | 17% | 23% | 27%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 39% | 35% | 8% | 17%
ROOT0% | 69% | 0% | 18% | 12%
verifiers0% | 0% | 0% | 48% | 51%
src/observers0% | 0% | 0% | 64% | 35%
generators0% | 0% | 0% | 0% | 100%
src/unittest0% | 0% | 0% | 0% | 100%
Longest Files (Top 44)
File# lines# units
caldavtest.py
in src
898 31
odsetup.py
in root
581 20
request.py
in src
493 40
manager.py
in src
316 13
xmlElementMatch.py
in verifiers
197 4
serverinfo.py
in src
184 14
multistatusItems.py
in verifiers
168 1
propfindItems.py
in verifiers
159 1
setup.py
in root
150 4
calendarDataMatch.py
in verifiers
124 1
log.py
in src/observers
105 10
xmlDefs.py
in src
100 -
cdtdiagnose.py
in root
94 2
postFreeBusy.py
in verifiers
92 1
propfindValues.py
in verifiers
92 1
xmlUtils.py
in src
86 6
jsonPointerMatch.py
in verifiers
72 1
addressDataMatch.py
in verifiers
69 1
freeBusy.py
in verifiers
67 1
jsonPointer.py
in src
66 8
header.py
in verifiers
58 1
dataMatch.py
in verifiers
53 1
httpshandler.py
in src
49 5
xmlDataMatch.py
in verifiers
48 1
aclItems.py
in verifiers
47 1
test.py
in src
44 6
testsuite.py
in src
42 7
prepostcondition.py
in verifiers
34 1
dataString.py
in verifiers
31 1
jsondump.py
in src/observers
26 6
statusCode.py
in verifiers
15 1
loadfiles.py
in src/observers
12 2
__init__.py
in src
11 -
__init__.py
in verifiers
11 -
base.py
in src/observers
10 3
trace.py
in src/observers
10 2
utils.py
in src
9 1
testcaldav.py
in root
7 -
jcalDataMatch.py
in verifiers
5 1
jcardDataMatch.py
in verifiers
5 1
__init__.py
in generators
3 -
example.py
in generators
3 1
__init__.py
in src/observers
1 -
__init__.py
in src/unittest
1 -
Files With Most Units (Top 20)
File# lines# units
request.py
in src
493 40
caldavtest.py
in src
898 31
odsetup.py
in root
581 20
serverinfo.py
in src
184 14
manager.py
in src
316 13
log.py
in src/observers
105 10
jsonPointer.py
in src
66 8
testsuite.py
in src
42 7
jsondump.py
in src/observers
26 6
test.py
in src
44 6
xmlUtils.py
in src
86 6
httpshandler.py
in src
49 5
setup.py
in root
150 4
xmlElementMatch.py
in verifiers
197 4
base.py
in src/observers
10 3
cdtdiagnose.py
in root
94 2
loadfiles.py
in src/observers
12 2
trace.py
in src/observers
10 2
example.py
in generators
3 1
utils.py
in src
9 1
Files With Long Lines (Top 6)

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

File# lines# units# long lines
caldavtest.py
in src
898 31 29
request.py
in src
493 40 8
odsetup.py
in root
581 20 3
manager.py
in src
316 13 2
propfindValues.py
in verifiers
92 1 2
postFreeBusy.py
in verifiers
92 1 1