azure / gpt-rag-frontend
File Size

The distribution of size of files (measured in lines of code).

Intro
Learn more...
File Size Overall
0% | 0% | 28% | 9% | 61%
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% | 72% | 0% | 27%
tsx0% | 0% | 30% | 9% | 59%
css0% | 0% | 0% | 26% | 73%
ts0% | 0% | 0% | 0% | 100%
ps10% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
backend0% | 0% | 72% | 0% | 27%
frontend0% | 0% | 18% | 12% | 69%
ROOT0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
app.py
in backend
351 20
Chat.tsx
in frontend/src/pages/chat
331 4
Answer.module.css
in frontend/src/components/Answer
118 -
AnalysisPanel.tsx
in frontend/src/components/AnalysisPanel
102 -
Chat.module.css
in frontend/src/pages/chat
99 -
Answer.tsx
in frontend/src/components/Answer
94 1
QuestionInput.tsx
in frontend/src/components/QuestionInput
85 -
FileViewer.tsx
in frontend/src/components/DocView
75 -
deploy.ps1
in root
70 -
Layout.module.css
in frontend/src/pages/layout
65 -
AnswerParser.tsx
in frontend/src/components/Answer
64 2
models.ts
in frontend/src/api
62 -
60 13
keyvault.py
in backend
56 1
api.ts
in frontend/src/api
47 2
DocView.tsx
in frontend/src/components/DocView
40 -
AnalysisPanel.module.css
in frontend/src/components/AnalysisPanel
39 -
functions.ts
in frontend/src/utils
36 2
Example.module.css
in frontend/src/components/Example
35 -
languageUtils.ts
in frontend/src/utils
29 1
azure.yaml
in root
28 -
token_util.ts
in frontend/src/components/QuestionInput
28 1
ExampleList.tsx
in frontend/src/components/Example
26 -
index.tsx
in frontend/src
26 1
AnswerLoading.tsx
in frontend/src/components/Answer
25 -
TextViewer.tsx
in frontend/src/components/DocView
25 -
SupportingContent.module.css
in frontend/src/components/SupportingContent
24 -
QuestionInput.module.css
in frontend/src/components/QuestionInput
23 -
SupportingContent.tsx
in frontend/src/components/SupportingContent
20 -
index.css
in frontend/src
19 -
DocxViewer.tsx
in frontend/src/components/DocView
19 -
XlsxViewer.tsx
in frontend/src/components/DocView
19 -
vite.config.ts
in frontend
19 1
AnswerError.tsx
in frontend/src/components/Answer
16 -
ClearChatButton.tsx
in frontend/src/components/ClearChatButton
16 -
PDFViewer.tsx
in frontend/src/components/DocView
15 -
UserChatMessage.module.css
in frontend/src/components/UserChatMessage
14 -
PPTXViewer.tsx
in frontend/src/components/DocView
14 -
lookuptool.py
in backend
14 2
index.html
in frontend
13 -
SettingsButton.tsx
in frontend/src/components/SettingsButton
13 -
Example.tsx
in frontend/src/components/Example
13 -
SupportingContentParser.ts
in frontend/src/components/SupportingContent
13 1
IMGViewer.tsx
in frontend/src/components/DocView
12 -
UserChatMessage.tsx
in frontend/src/components/UserChatMessage
11 -
ClearChatButton.module.css
in frontend/src/components/ClearChatButton
9 -
7 -
SettingsButton.module.css
in frontend/src/components/SettingsButton
6 -
AnalysisPanelTabs.tsx
in frontend/src/components/AnalysisPanel
5 -
index.ts
in frontend/src/components/Answer
3 -
Files With Most Units (Top 15)
File# lines# units
app.py
in backend
351 20
60 13
Chat.tsx
in frontend/src/pages/chat
331 4
api.ts
in frontend/src/api
47 2
AnswerParser.tsx
in frontend/src/components/Answer
64 2
functions.ts
in frontend/src/utils
36 2
lookuptool.py
in backend
14 2
token_util.ts
in frontend/src/components/QuestionInput
28 1
Answer.tsx
in frontend/src/components/Answer
94 1
SupportingContentParser.ts
in frontend/src/components/SupportingContent
13 1
languageUtils.ts
in frontend/src/utils
29 1
index.tsx
in frontend/src
26 1
vite.config.ts
in frontend
19 1
text.py
in backend
2 1
keyvault.py
in backend
56 1
Files With Long Lines (Top 13)

There are 13 files with lines longer than 120 characters. In total, there are 30 long lines.

File# lines# units# long lines
Chat.tsx
in frontend/src/pages/chat
331 4 11
token_util.ts
in frontend/src/components/QuestionInput
28 1 3
Answer.tsx
in frontend/src/components/Answer
94 1 3
QuestionInput.tsx
in frontend/src/components/QuestionInput
85 - 2
XlsxViewer.tsx
in frontend/src/components/DocView
19 - 2
app.py
in backend
351 20 2
7 - 1
index.css
in frontend/src
19 - 1
PDFViewer.tsx
in frontend/src/components/DocView
15 - 1
FileViewer.tsx
in frontend/src/components/DocView
75 - 1
AnalysisPanel.module.css
in frontend/src/components/AnalysisPanel
39 - 1
lookuptool.py
in backend
14 2 1
60 13 1
Correlations

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

backend/app.py x: 50 commits (all time) y: 351 lines of code backend/keyvault.py x: 3 commits (all time) y: 56 lines of code frontend/src/api/models.ts x: 5 commits (all time) y: 62 lines of code frontend/src/components/AnalysisPanel/AnalysisPanel.module.css x: 4 commits (all time) y: 39 lines of code frontend/src/components/AnalysisPanel/AnalysisPanel.tsx x: 20 commits (all time) y: 102 lines of code frontend/src/components/QuestionInput/QuestionInput.tsx x: 9 commits (all time) y: 85 lines of code deploy.ps1 x: 9 commits (all time) y: 70 lines of code frontend/src/api/api.ts x: 13 commits (all time) y: 47 lines of code frontend/src/components/Answer/Answer.module.css x: 5 commits (all time) y: 118 lines of code frontend/src/components/Answer/Answer.tsx x: 15 commits (all time) y: 94 lines of code frontend/src/components/Answer/AnswerLoading.tsx x: 8 commits (all time) y: 25 lines of code frontend/src/components/Answer/AnswerParser.tsx x: 10 commits (all time) y: 64 lines of code frontend/src/components/ClearChatButton/ClearChatButton.tsx x: 6 commits (all time) y: 16 lines of code frontend/src/components/DocView/DocView.tsx x: 9 commits (all time) y: 40 lines of code frontend/src/components/DocView/FileViewer.tsx x: 18 commits (all time) y: 75 lines of code frontend/src/components/DocView/XlsxViewer.tsx x: 4 commits (all time) y: 19 lines of code frontend/src/index.tsx x: 7 commits (all time) y: 26 lines of code frontend/src/pages/chat/Chat.tsx x: 31 commits (all time) y: 331 lines of code frontend/src/utils/languageUtils.ts x: 4 commits (all time) y: 29 lines of code frontend/src/components/DocView/PDFViewer.tsx x: 11 commits (all time) y: 15 lines of code scripts/preprovision.ps1 x: 4 commits (all time) y: 7 lines of code frontend/src/components/DocView/IMGViewer.tsx x: 5 commits (all time) y: 12 lines of code frontend/src/components/DocView/PPTXViewer.tsx x: 5 commits (all time) y: 14 lines of code frontend/src/utils/functions.ts x: 6 commits (all time) y: 36 lines of code frontend/vite.config.ts x: 7 commits (all time) y: 19 lines of code backend/langchainadapters.py x: 1 commits (all time) y: 60 lines of code backend/lookuptool.py x: 1 commits (all time) y: 14 lines of code backend/text.py x: 1 commits (all time) y: 2 lines of code frontend/index.html x: 1 commits (all time) y: 13 lines of code frontend/src/components/AnalysisPanel/AnalysisPanelTabs.tsx x: 1 commits (all time) y: 5 lines of code frontend/src/components/Answer/AnswerError.tsx x: 1 commits (all time) y: 16 lines of code frontend/src/components/Answer/AnswerIcon.tsx x: 1 commits (all time) y: 3 lines of code frontend/src/components/ClearChatButton/ClearChatButton.module.css x: 1 commits (all time) y: 9 lines of code frontend/src/components/ClearChatButton/index.tsx x: 1 commits (all time) y: 1 lines of code frontend/src/components/Example/Example.module.css x: 1 commits (all time) y: 35 lines of code frontend/src/components/Example/ExampleList.tsx x: 1 commits (all time) y: 26 lines of code frontend/src/components/QuestionInput/QuestionInput.module.css x: 1 commits (all time) y: 23 lines of code frontend/src/components/QuestionInput/token_util.ts x: 1 commits (all time) y: 28 lines of code frontend/src/components/SettingsButton/SettingsButton.module.css x: 1 commits (all time) y: 6 lines of code frontend/src/components/SupportingContent/SupportingContent.module.css x: 1 commits (all time) y: 24 lines of code frontend/src/components/SupportingContent/SupportingContent.tsx x: 1 commits (all time) y: 20 lines of code frontend/src/components/UserChatMessage/UserChatMessage.tsx x: 1 commits (all time) y: 11 lines of code frontend/src/index.css x: 1 commits (all time) y: 19 lines of code frontend/src/pages/chat/Chat.module.css x: 1 commits (all time) y: 99 lines of code frontend/src/pages/layout/Layout.module.css x: 1 commits (all time) y: 65 lines of code
351.0
lines of code
  min: 1.0
  average: 38.87
  25th percentile: 8.0
  median: 19.0
  75th percentile: 43.5
  max: 351.0
0 50.0
commits (all time)
min: 1.0 | average: 5.2 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 6.5 | max: 50.0

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

backend/app.py x: 5 contributors (all time) y: 351 lines of code backend/keyvault.py x: 1 contributors (all time) y: 56 lines of code frontend/src/api/models.ts x: 1 contributors (all time) y: 62 lines of code frontend/src/components/AnalysisPanel/AnalysisPanel.module.css x: 1 contributors (all time) y: 39 lines of code frontend/src/components/AnalysisPanel/AnalysisPanel.tsx x: 4 contributors (all time) y: 102 lines of code frontend/src/components/QuestionInput/QuestionInput.tsx x: 1 contributors (all time) y: 85 lines of code deploy.ps1 x: 1 contributors (all time) y: 70 lines of code frontend/src/api/api.ts x: 1 contributors (all time) y: 47 lines of code frontend/src/components/Answer/Answer.module.css x: 1 contributors (all time) y: 118 lines of code frontend/src/components/Answer/Answer.tsx x: 3 contributors (all time) y: 94 lines of code frontend/src/components/Answer/AnswerLoading.tsx x: 1 contributors (all time) y: 25 lines of code frontend/src/components/Answer/AnswerParser.tsx x: 3 contributors (all time) y: 64 lines of code frontend/src/components/ClearChatButton/ClearChatButton.tsx x: 1 contributors (all time) y: 16 lines of code frontend/src/components/DocView/DocView.tsx x: 4 contributors (all time) y: 40 lines of code frontend/src/components/DocView/FileViewer.tsx x: 6 contributors (all time) y: 75 lines of code frontend/src/components/DocView/TextViewer.tsx x: 4 contributors (all time) y: 25 lines of code frontend/src/components/DocView/XlsxViewer.tsx x: 1 contributors (all time) y: 19 lines of code frontend/src/pages/chat/Chat.tsx x: 5 contributors (all time) y: 331 lines of code frontend/src/utils/languageUtils.ts x: 1 contributors (all time) y: 29 lines of code azure.yaml x: 4 contributors (all time) y: 28 lines of code frontend/src/components/DocView/PDFViewer.tsx x: 6 contributors (all time) y: 15 lines of code scripts/preprovision.ps1 x: 4 contributors (all time) y: 7 lines of code frontend/src/components/DocView/DocxViewer.tsx x: 3 contributors (all time) y: 19 lines of code frontend/src/components/DocView/IMGViewer.tsx x: 3 contributors (all time) y: 12 lines of code frontend/src/components/DocView/PPTXViewer.tsx x: 3 contributors (all time) y: 14 lines of code frontend/src/utils/functions.ts x: 3 contributors (all time) y: 36 lines of code frontend/vite.config.ts x: 4 contributors (all time) y: 19 lines of code backend/langchainadapters.py x: 1 contributors (all time) y: 60 lines of code backend/lookuptool.py x: 1 contributors (all time) y: 14 lines of code backend/text.py x: 1 contributors (all time) y: 2 lines of code frontend/index.html x: 1 contributors (all time) y: 13 lines of code frontend/src/components/AnalysisPanel/AnalysisPanelTabs.tsx x: 1 contributors (all time) y: 5 lines of code frontend/src/components/Answer/AnswerIcon.tsx x: 1 contributors (all time) y: 3 lines of code frontend/src/components/ClearChatButton/ClearChatButton.module.css x: 1 contributors (all time) y: 9 lines of code frontend/src/components/ClearChatButton/index.tsx x: 1 contributors (all time) y: 1 lines of code frontend/src/components/Example/Example.module.css x: 1 contributors (all time) y: 35 lines of code frontend/src/components/QuestionInput/QuestionInput.module.css x: 1 contributors (all time) y: 23 lines of code frontend/src/components/SettingsButton/SettingsButton.module.css x: 1 contributors (all time) y: 6 lines of code frontend/src/components/SupportingContent/SupportingContent.module.css x: 1 contributors (all time) y: 24 lines of code frontend/src/components/SupportingContent/SupportingContent.tsx x: 1 contributors (all time) y: 20 lines of code frontend/src/components/UserChatMessage/UserChatMessage.tsx x: 1 contributors (all time) y: 11 lines of code frontend/src/pages/chat/Chat.module.css x: 1 contributors (all time) y: 99 lines of code frontend/src/pages/layout/Layout.module.css x: 1 contributors (all time) y: 65 lines of code
351.0
lines of code
  min: 1.0
  average: 38.87
  25th percentile: 8.0
  median: 19.0
  75th percentile: 43.5
  max: 351.0
0 6.0
contributors (all time)
min: 1.0 | average: 1.79 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.0 | max: 6.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): 6 points

backend/app.py x: 13 commits (90d) y: 351 lines of code backend/keyvault.py x: 3 commits (90d) y: 56 lines of code frontend/src/api/models.ts x: 1 commits (90d) y: 62 lines of code frontend/src/components/AnalysisPanel/AnalysisPanel.module.css x: 3 commits (90d) y: 39 lines of code frontend/src/components/AnalysisPanel/AnalysisPanel.tsx x: 3 commits (90d) y: 102 lines of code frontend/src/components/QuestionInput/QuestionInput.tsx x: 3 commits (90d) y: 85 lines of code
351.0
lines of code
  min: 39.0
  average: 115.83
  25th percentile: 51.75
  median: 73.5
  75th percentile: 164.25
  max: 351.0
0 13.0
commits (90d)
min: 1.0 | average: 4.33 | 25th percentile: 2.5 | median: 3.0 | 75th percentile: 5.5 | max: 13.0

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

backend/app.py x: 1 contributors (90d) y: 351 lines of code backend/keyvault.py x: 1 contributors (90d) y: 56 lines of code frontend/src/api/models.ts x: 1 contributors (90d) y: 62 lines of code frontend/src/components/AnalysisPanel/AnalysisPanel.module.css x: 1 contributors (90d) y: 39 lines of code frontend/src/components/AnalysisPanel/AnalysisPanel.tsx x: 1 contributors (90d) y: 102 lines of code frontend/src/components/QuestionInput/QuestionInput.tsx x: 1 contributors (90d) y: 85 lines of code
351.0
lines of code
  min: 39.0
  average: 115.83
  25th percentile: 51.75
  median: 73.5
  75th percentile: 164.25
  max: 351.0
0 1.0
contributors (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0