openai / openai-cs-agents-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 30 files with 2,693 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (1,043 lines of code)
    • 5 small files (676 lines of code)
    • 22 very small files (974 lines of code)
0% | 0% | 38% | 25% | 36%
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
py0% | 0% | 55% | 30% | 13%
tsx0% | 0% | 24% | 23% | 52%
ts0% | 0% | 0% | 0% | 100%
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
python-backend0% | 0% | 55% | 30% | 13%
ui0% | 0% | 19% | 18% | 61%
Longest Files (Top 30)
File# lines# units
server.py
in python-backend
480 14
tools.py
in python-backend/airline
313 -
runner-output.tsx
in ui/components
250 9
agents.py
in python-backend/airline
187 4
memory_store.py
in python-backend
140 4
seat-map.tsx
in ui/components
125 -
page.tsx
in ui/app
112 -
demo_data.py
in python-backend/airline
112 3
chatkit-panel.tsx
in ui/components
97 1
main.py
in python-backend
91 1
guardrails.tsx
in ui/components
79 -
79 -
card.tsx
in ui/components/ui
71 -
conversation-context.tsx
in ui/components
67 -
guardrails.py
in python-backend/airline
67 -
globals.css
in ui/app
56 -
agents-list.tsx
in ui/components
51 -
agent-panel.tsx
in ui/components
48 1
types.ts
in ui/lib
47 -
scroll-area.tsx
in ui/components/ui
43 -
context.py
in python-backend/airline
36 2
panel-section.tsx
in ui/components
30 -
layout.tsx
in ui/app
28 -
badge.tsx
in ui/components/ui
28 -
22 -
api.ts
in ui/lib
20 2
7 -
utils.ts
in ui/lib
5 1
__init__.py
in python-backend/airline
1 -
__init__.py
in python-backend
1 -
Files With Most Units (Top 11)
File# lines# units
server.py
in python-backend
480 14
runner-output.tsx
in ui/components
250 9
memory_store.py
in python-backend
140 4
agents.py
in python-backend/airline
187 4
demo_data.py
in python-backend/airline
112 3
api.ts
in ui/lib
20 2
context.py
in python-backend/airline
36 2
utils.ts
in ui/lib
5 1
agent-panel.tsx
in ui/components
48 1
chatkit-panel.tsx
in ui/components
97 1
main.py
in python-backend
91 1
Files With Long Lines (Top 8)

There are 8 files with lines longer than 120 characters. In total, there are 40 long lines.

File# lines# units# long lines
agents.py
in python-backend/airline
187 4 21
guardrails.py
in python-backend/airline
67 - 5
seat-map.tsx
in ui/components
125 - 4
tools.py
in python-backend/airline
313 - 4
runner-output.tsx
in ui/components
250 9 3
badge.tsx
in ui/components/ui
28 - 1
conversation-context.tsx
in ui/components
67 - 1
chatkit-panel.tsx
in ui/components
97 1 1
Correlations

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

python-backend/airline/agents.py x: 4 commits (all time) y: 187 lines of code python-backend/airline/__init__.py x: 2 commits (all time) y: 1 lines of code python-backend/airline/context.py x: 2 commits (all time) y: 36 lines of code python-backend/airline/demo_data.py x: 2 commits (all time) y: 112 lines of code python-backend/airline/guardrails.py x: 2 commits (all time) y: 67 lines of code python-backend/airline/tools.py x: 2 commits (all time) y: 313 lines of code python-backend/main.py x: 15 commits (all time) y: 91 lines of code python-backend/server.py x: 2 commits (all time) y: 480 lines of code ui/app/layout.tsx x: 4 commits (all time) y: 28 lines of code ui/app/page.tsx x: 8 commits (all time) y: 112 lines of code ui/components/agent-panel.tsx x: 6 commits (all time) y: 48 lines of code ui/components/agents-list.tsx x: 2 commits (all time) y: 51 lines of code ui/components/chatkit-panel.tsx x: 14 commits (all time) y: 97 lines of code ui/components/conversation-context.tsx x: 3 commits (all time) y: 67 lines of code ui/components/runner-output.tsx x: 7 commits (all time) y: 250 lines of code ui/lib/types.ts x: 3 commits (all time) y: 47 lines of code python-backend/memory_store.py x: 4 commits (all time) y: 140 lines of code ui/lib/api.ts x: 4 commits (all time) y: 20 lines of code ui/next.config.mjs x: 2 commits (all time) y: 22 lines of code ui/components/seat-map.tsx x: 3 commits (all time) y: 125 lines of code ui/lib/utils.ts x: 1 commits (all time) y: 5 lines of code
480.0
lines of code
  min: 1.0
  average: 109.48
  25th percentile: 32.0
  median: 67.0
  75th percentile: 132.5
  max: 480.0
0 15.0
commits (all time)
min: 1.0 | average: 4.38 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 5.0 | max: 15.0

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

python-backend/airline/agents.py x: 2 contributors (all time) y: 187 lines of code python-backend/airline/__init__.py x: 2 contributors (all time) y: 1 lines of code python-backend/airline/context.py x: 2 contributors (all time) y: 36 lines of code python-backend/airline/demo_data.py x: 2 contributors (all time) y: 112 lines of code python-backend/airline/guardrails.py x: 2 contributors (all time) y: 67 lines of code python-backend/airline/tools.py x: 2 contributors (all time) y: 313 lines of code python-backend/main.py x: 3 contributors (all time) y: 91 lines of code python-backend/server.py x: 2 contributors (all time) y: 480 lines of code ui/app/layout.tsx x: 2 contributors (all time) y: 28 lines of code ui/components/agent-panel.tsx x: 2 contributors (all time) y: 48 lines of code ui/components/agents-list.tsx x: 2 contributors (all time) y: 51 lines of code ui/components/chatkit-panel.tsx x: 2 contributors (all time) y: 97 lines of code ui/components/runner-output.tsx x: 2 contributors (all time) y: 250 lines of code ui/lib/types.ts x: 3 contributors (all time) y: 47 lines of code python-backend/memory_store.py x: 2 contributors (all time) y: 140 lines of code ui/lib/api.ts x: 3 contributors (all time) y: 20 lines of code ui/next.config.mjs x: 2 contributors (all time) y: 22 lines of code ui/components/seat-map.tsx x: 2 contributors (all time) y: 125 lines of code ui/lib/utils.ts x: 1 contributors (all time) y: 5 lines of code
480.0
lines of code
  min: 1.0
  average: 109.48
  25th percentile: 32.0
  median: 67.0
  75th percentile: 132.5
  max: 480.0
0 3.0
contributors (all time)
min: 1.0 | average: 2.1 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 3.0

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".