File Size Overall
  • There are 35 files with 1,516 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of code)
    • 4 small files (495 lines of code)
    • 31 very small files (1,021 lines of code)
0% | 0% | 0% | 32% | 67%
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% | 0% | 73% | 26%
ts0% | 0% | 0% | 39% | 60%
tsx0% | 0% | 0% | 15% | 84%
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
server0% | 0% | 0% | 73% | 26%
frontend0% | 0% | 0% | 20% | 79%
Longest Files (Top 35)
File# lines# units
utils.py
in server/app
147 11
useWebsocket.ts
in frontend/src/hooks
124 5
Header.tsx
in frontend/src/components
123 1
server.py
in server
101 2
useAudio.ts
in frontend/src/hooks
96 5
utils.ts
in frontend/src/lib
77 3
FunctionCallMessage.tsx
in frontend/src/components/messages
76 -
page.tsx
in frontend/src/app
63 2
AudioChat.tsx
in frontend/src/components
63 1
Composer.tsx
in frontend/src/components
60 1
mock_api.py
in server/app
59 2
ChatDialog.tsx
in frontend/src/components
57 -
Button.tsx
in frontend/src/components/ui
44 -
MessageBubble.tsx
in frontend/src/components
39 -
TextMessage.tsx
in frontend/src/components/messages
38 1
ChatLoadingDots.tsx
in frontend/src/components
36 -
globals.css
in frontend/src/app
33 -
agent_config.py
in server/app
31 2
HandoffMessage.tsx
in frontend/src/components/messages
30 -
AudioPlayback.tsx
in frontend/src/components
29 1
WebSearchMessage.tsx
in frontend/src/components/messages
24 -
layout.tsx
in frontend/src/app
21 1
ClockIcon.tsx
in frontend/src/components/icons
18 -
ArrowUpIcon.tsx
in frontend/src/components/icons
18 -
WebSearchIcon.tsx
in frontend/src/components/icons
18 -
MicIcon.tsx
in frontend/src/components/icons
17 -
styles.css
in frontend/src/app
16 -
PauseIcon.tsx
in frontend/src/components/icons
14 -
mjs
12 -
mjs
10 -
types.ts
in frontend/src/lib
7 -
next.config.ts
in frontend
5 -
utils.ts
in frontend/src/components/ui
5 1
mjs
4 -
__init__.py
in server/app
1 -
Files With Most Units (Top 15)
File# lines# units
utils.py
in server/app
147 11
useAudio.ts
in frontend/src/hooks
96 5
useWebsocket.ts
in frontend/src/hooks
124 5
utils.ts
in frontend/src/lib
77 3
page.tsx
in frontend/src/app
63 2
server.py
in server
101 2
agent_config.py
in server/app
31 2
mock_api.py
in server/app
59 2
layout.tsx
in frontend/src/app
21 1
utils.ts
in frontend/src/components/ui
5 1
TextMessage.tsx
in frontend/src/components/messages
38 1
AudioPlayback.tsx
in frontend/src/components
29 1
Composer.tsx
in frontend/src/components
60 1
Header.tsx
in frontend/src/components
123 1
AudioChat.tsx
in frontend/src/components
63 1
Files With Long Lines (Top 10)

There are 10 files with lines longer than 120 characters. In total, there are 16 long lines.

File# lines# units# long lines
Button.tsx
in frontend/src/components/ui
44 - 5
Composer.tsx
in frontend/src/components
60 1 2
Header.tsx
in frontend/src/components
123 1 2
TextMessage.tsx
in frontend/src/components/messages
38 1 1
MicIcon.tsx
in frontend/src/components/icons
17 - 1
ClockIcon.tsx
in frontend/src/components/icons
18 - 1
PauseIcon.tsx
in frontend/src/components/icons
14 - 1
ArrowUpIcon.tsx
in frontend/src/components/icons
18 - 1
WebSearchIcon.tsx
in frontend/src/components/icons
18 - 1
agent_config.py
in server/app
31 2 1
Correlations

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

frontend/src/components/Composer.tsx x: 2 commits (all time) y: 60 lines of code frontend/src/components/Header.tsx x: 2 commits (all time) y: 123 lines of code frontend/src/components/messages/TextMessage.tsx x: 3 commits (all time) y: 38 lines of code frontend/src/components/ui/Button.tsx x: 1 commits (all time) y: 44 lines of code
123.0
lines of code
  min: 38.0
  average: 66.25
  25th percentile: 39.5
  median: 52.0
  75th percentile: 107.25
  max: 123.0
0 3.0
commits (all time)
min: 1.0 | average: 2.0 | 25th percentile: 1.25 | median: 2.0 | 75th percentile: 2.75 | max: 3.0

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

frontend/src/components/Composer.tsx x: 2 contributors (all time) y: 60 lines of code frontend/src/components/Header.tsx x: 2 contributors (all time) y: 123 lines of code frontend/src/components/messages/TextMessage.tsx x: 3 contributors (all time) y: 38 lines of code frontend/src/components/ui/Button.tsx x: 1 contributors (all time) y: 44 lines of code
123.0
lines of code
  min: 38.0
  average: 66.25
  25th percentile: 39.5
  median: 52.0
  75th percentile: 107.25
  max: 123.0
0 3.0
contributors (all time)
min: 1.0 | average: 2.0 | 25th percentile: 1.25 | median: 2.0 | 75th percentile: 2.75 | 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".

About This Analysis
  • 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...