openai / openai-testing-agent-demo
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 41 files with 2,391 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (814 lines of code)
    • 3 small files (392 lines of code)
    • 35 very small files (1,185 lines of code)
0% | 0% | 34% | 16% | 49%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
ts0% | 0% | 33% | 26% | 39%
tsx0% | 0% | 39% | 0% | 60%
css0% | 0% | 0% | 0% | 100%
mjs0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cua-server0% | 0% | 39% | 31% | 29%
frontend0% | 0% | 28% | 0% | 71%
Longest Files (Top 41)
File# lines# units
ConfigPanel.tsx
in frontend/components
322 1
test-script-review-agent.ts
in cua-server/src/agents
279 5
computer-use-loop.ts
in cua-server/src/lib
213 2
cua-loop-handler.ts
in cua-server/src/handlers
138 1
openai-cua-client.ts
in cua-server/src/services
130 4
action-handler.ts
in cua-server/src/handlers
124 2
page.tsx
in frontend/app
78 1
constants.ts
in cua-server/src/lib
73 -
test-case-initiation-handler.ts
in cua-server/src/handlers
71 2
card.tsx
in frontend/components/ui
68 -
globals.css
in frontend/app
66 -
SocketIOManager.tsx
in frontend/components
65 4
62 -
index.ts
in cua-server/src
50 -
button.tsx
in frontend/components/ui
46 -
tabs.tsx
in frontend/components/ui
44 -
user-messages-handler.ts
in cua-server/src/handlers
43 1
test-case-agent.ts
in cua-server/src/agents
43 2
login-service.ts
in cua-server/src/services
42 2
SidePanel.tsx
in frontend/components
38 -
useTaskStore.ts
in frontend/stores
34 -
layout.tsx
in frontend/app
33 -
useConversationStore.ts
in frontend/stores
31 -
TaskSteps.tsx
in frontend/components
26 -
switch.tsx
in frontend/components/ui
25 -
assistant.ts
in frontend/lib
25 -
utils.ts
in frontend/lib
25 3
separator.tsx
in frontend/components/ui
22 -
testCaseUtils.ts
in cua-server/src/utils
19 2
label.tsx
in frontend/components/ui
17 -
mjs
17 -
logger.ts
in frontend/lib
17 -
test-case-update-handler.ts
in cua-server/src/handlers
17 1
logger.ts
in cua-server/src/utils
17 -
textarea.tsx
in frontend/components/ui
14 -
constants.ts
in frontend/lib
14 -
input.tsx
in frontend/components/ui
13 -
AppHeader.tsx
in frontend/components
13 -
mjs
7 -
mjs
next.config.mjs
in frontend
5 -
cuaInputType.ts
in frontend/types
5 -
Files With Most Units (Top 15)
File# lines# units
test-script-review-agent.ts
in cua-server/src/agents
279 5
SocketIOManager.tsx
in frontend/components
65 4
openai-cua-client.ts
in cua-server/src/services
130 4
utils.ts
in frontend/lib
25 3
test-case-initiation-handler.ts
in cua-server/src/handlers
71 2
action-handler.ts
in cua-server/src/handlers
124 2
login-service.ts
in cua-server/src/services
42 2
testCaseUtils.ts
in cua-server/src/utils
19 2
computer-use-loop.ts
in cua-server/src/lib
213 2
test-case-agent.ts
in cua-server/src/agents
43 2
page.tsx
in frontend/app
78 1
ConfigPanel.tsx
in frontend/components
322 1
user-messages-handler.ts
in cua-server/src/handlers
43 1
cua-loop-handler.ts
in cua-server/src/handlers
138 1
test-case-update-handler.ts
in cua-server/src/handlers
17 1
Files With Long Lines (Top 9)

There are 9 files with lines longer than 120 characters. In total, there are 28 long lines.

File# lines# units# long lines
constants.ts
in cua-server/src/lib
73 - 16
constants.ts
in frontend/lib
14 - 3
tabs.tsx
in frontend/components/ui
44 - 2
switch.tsx
in frontend/components/ui
25 - 2
input.tsx
in frontend/components/ui
13 - 1
button.tsx
in frontend/components/ui
46 - 1
textarea.tsx
in frontend/components/ui
14 - 1
openai-cua-client.ts
in cua-server/src/services
130 4 1
test-script-review-agent.ts
in cua-server/src/agents
279 5 1
Correlations

File Size vs. Commits (all time): 0 points

No data for "commits (all time)" vs. "lines of code".

File Size vs. Contributors (all time): 0 points

No data for "contributors (all time)" vs. "lines of code".


File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 0 points

No data for "commits (90d)" vs. "lines of code".

File Size vs. Contributors (90 days): 0 points

No data for "contributors (90d)" vs. "lines of code".