GerritCodeReview / zuul_ops
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 14 files with 1,629 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (914 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (312 lines of code)
    • 9 very small files (403 lines of code)
0% | 0% | 56% | 19% | 24%
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
yaml0% | 0% | 58% | 19% | 22%
py0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
k8s0% | 0% | 69% | 0% | 30%
k8s/zookeeper0% | 0% | 61% | 32% | 5%
ROOT0% | 0% | 100% | 0% | 0%
playbooks0% | 0% | 0% | 89% | 10%
nodepool0% | 0% | 0% | 0% | 100%
zuul0% | 0% | 0% | 0% | 100%
playbooks/library0% | 0% | 0% | 0% | 100%
Longest Files (Top 14)
File# lines# units
zuul.yaml
in k8s
345 -
zookeeper.yaml
in k8s/zookeeper
327 -
checkers.yaml
in root
242 -
values.yaml
in k8s/zookeeper
175 -
deploy.yaml
in playbooks
137 -
nodepool.yaml
in nodepool
82 -
main.yaml
in zuul
71 -
update_checkers.py
in playbooks/library
54 4
nodepool.yaml
in k8s
47 -
authdaemon.yaml
in k8s
39 -
certmanager.yaml
in k8s
36 -
certs.yaml
in k8s/zookeeper
30 -
letsencrypt.yaml
in k8s
28 -
checkers.yaml
in playbooks
16 -
Files With Most Units (Top 1)
File# lines# units
update_checkers.py
in playbooks/library
54 4
Files With Long Lines (Top 3)

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

File# lines# units# long lines
zookeeper.yaml
in k8s/zookeeper
327 - 4
values.yaml
in k8s/zookeeper
175 - 2
nodepool.yaml
in nodepool
82 - 1