opensearch-project / opensearch-ci
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 16 files with 1,229 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (523 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (325 lines of code)
    • 12 very small files (381 lines of code)
0% | 0% | 42% | 26% | 31%
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
ts0% | 0% | 29% | 32% | 37%
yaml0% | 0% | 100% | 0% | 0%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib/compute0% | 0% | 45% | 49% | 5%
resources0% | 0% | 100% | 0% | 0%
lib0% | 0% | 0% | 0% | 100%
lib/monitoring0% | 0% | 0% | 0% | 100%
lib/constructs/cloudwatch0% | 0% | 0% | 0% | 100%
lib/network0% | 0% | 0% | 0% | 100%
lib/security0% | 0% | 0% | 0% | 100%
lib/auditing0% | 0% | 0% | 0% | 100%
lib/constructs0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 16)
File# lines# units
jenkins-main-node.ts
in lib/compute
296 2
jenkins.yaml
in resources
227 -
agent-nodes.ts
in lib/compute
179 3
jenkins-plugins.ts
in lib/compute
146 -
ci-stack.ts
in lib
87 1
ci-alarms.ts
in lib/monitoring
56 1
ci-config-stack.ts
in lib
45 1
ci-external-load-balancer.ts
in lib/network
44 1
agent-node-config.ts
in lib/compute
33 1
metrics-section.ts
in lib/constructs/cloudwatch
29 -
ci-security-groups.ts
in lib/security
24 1
ci-audit-logging.ts
in lib/auditing
17 1
logs-section.ts
in lib/constructs/cloudwatch
16 -
cloudwatch-agent.ts
in lib/constructs
15 1
jest.config.js
in root
8 -
agent-section.ts
in lib/constructs/cloudwatch
7 -
Files With Most Units (Top 10)
File# lines# units
agent-nodes.ts
in lib/compute
179 3
jenkins-main-node.ts
in lib/compute
296 2
ci-security-groups.ts
in lib/security
24 1
ci-alarms.ts
in lib/monitoring
56 1
agent-node-config.ts
in lib/compute
33 1
ci-audit-logging.ts
in lib/auditing
17 1
cloudwatch-agent.ts
in lib/constructs
15 1
ci-external-load-balancer.ts
in lib/network
44 1
ci-stack.ts
in lib
87 1
ci-config-stack.ts
in lib
45 1
Files With Long Lines (Top 5)

There are 5 files with lines longer than 120 characters. In total, there are 32 long lines.

File# lines# units# long lines
jenkins-main-node.ts
in lib/compute
296 2 15
agent-nodes.ts
in lib/compute
179 3 10
ci-alarms.ts
in lib/monitoring
56 1 3
ci-stack.ts
in lib
87 1 3
jenkins.yaml
in resources
227 - 1