openai / openai-chatkit-starter-app
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 24 files with 641 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)
    • 1 small files (133 lines of code)
    • 23 very small files (508 lines of code)
0% | 0% | 0% | 20% | 79%
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% | 44% | 55%
mjs0% | 0% | 0% | 0% | 100%
ts0% | 0% | 0% | 0% | 100%
tsx0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
managed-chatkit0% | 0% | 0% | 40% | 59%
chatkit0% | 0% | 0% | 0% | 100%
Longest Files (Top 24)
File# lines# units
main.py
in managed-chatkit/backend/app
133 6
memory_store.py
in chatkit/backend/app
91 2
mjs
eslint.config.mjs
in managed-chatkit/frontend
55 -
server.py
in chatkit/backend/app
50 1
mjs
eslint.config.mjs
in chatkit/frontend
36 -
chatkitSession.ts
in managed-chatkit/frontend/src/lib
33 1
index.css
in managed-chatkit/frontend/src
29 -
index.css
in chatkit/frontend/src
29 -
main.py
in chatkit/backend/app
24 -
vite.config.ts
in managed-chatkit/frontend
18 1
vite.config.ts
in chatkit/frontend
18 1
ChatKitPanel.tsx
in managed-chatkit/frontend/src/components
17 1
ChatKitPanel.tsx
in chatkit/frontend/src/components
15 1
index.html
in managed-chatkit/frontend
14 -
index.html
in chatkit/frontend
14 -
main.tsx
in managed-chatkit/frontend/src
13 -
main.tsx
in chatkit/frontend/src
13 -
config.ts
in chatkit/frontend/src/lib
9 -
App.tsx
in managed-chatkit/frontend/src
8 -
App.tsx
in chatkit/frontend/src
8 -
mjs
postcss.config.mjs
in managed-chatkit/frontend
6 -
mjs
postcss.config.mjs
in chatkit/frontend
6 -
__init__.py
in managed-chatkit/backend/app
1 -
__init__.py
in chatkit/backend/app
1 -
Files With Most Units (Top 8)
File# lines# units
main.py
in managed-chatkit/backend/app
133 6
memory_store.py
in chatkit/backend/app
91 2
vite.config.ts
in managed-chatkit/frontend
18 1
chatkitSession.ts
in managed-chatkit/frontend/src/lib
33 1
ChatKitPanel.tsx
in managed-chatkit/frontend/src/components
17 1
server.py
in chatkit/backend/app
50 1
vite.config.ts
in chatkit/frontend
18 1
ChatKitPanel.tsx
in chatkit/frontend/src/components
15 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
ChatKitPanel.tsx
in chatkit/frontend/src/components
15 1 1
Correlations

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

chatkit/backend/app/memory_store.py x: 2 commits (all time) y: 91 lines of code chatkit/backend/app/server.py x: 2 commits (all time) y: 50 lines of code chatkit/backend/app/__init__.py x: 1 commits (all time) y: 1 lines of code chatkit/backend/app/main.py x: 1 commits (all time) y: 24 lines of code chatkit/frontend/eslint.config.mjs x: 1 commits (all time) y: 36 lines of code chatkit/frontend/index.html x: 1 commits (all time) y: 14 lines of code chatkit/frontend/postcss.config.mjs x: 1 commits (all time) y: 6 lines of code chatkit/frontend/src/App.tsx x: 1 commits (all time) y: 8 lines of code chatkit/frontend/src/components/ChatKitPanel.tsx x: 1 commits (all time) y: 15 lines of code chatkit/frontend/src/index.css x: 1 commits (all time) y: 29 lines of code chatkit/frontend/src/lib/config.ts x: 1 commits (all time) y: 9 lines of code chatkit/frontend/src/main.tsx x: 1 commits (all time) y: 13 lines of code chatkit/frontend/vite.config.ts x: 1 commits (all time) y: 18 lines of code managed-chatkit/backend/app/main.py x: 1 commits (all time) y: 133 lines of code managed-chatkit/frontend/eslint.config.mjs x: 1 commits (all time) y: 55 lines of code managed-chatkit/frontend/src/components/ChatKitPanel.tsx x: 1 commits (all time) y: 17 lines of code managed-chatkit/frontend/src/lib/chatkitSession.ts x: 1 commits (all time) y: 33 lines of code
133.0
lines of code
  min: 1.0
  average: 26.71
  25th percentile: 8.25
  median: 16.0
  75th percentile: 32.0
  max: 133.0
0 2.0
commits (all time)
min: 1.0 | average: 1.08 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0

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

chatkit/backend/app/memory_store.py x: 1 contributors (all time) y: 91 lines of code chatkit/backend/app/server.py x: 1 contributors (all time) y: 50 lines of code chatkit/backend/app/__init__.py x: 1 contributors (all time) y: 1 lines of code chatkit/backend/app/main.py x: 1 contributors (all time) y: 24 lines of code chatkit/frontend/eslint.config.mjs x: 1 contributors (all time) y: 36 lines of code chatkit/frontend/index.html x: 1 contributors (all time) y: 14 lines of code chatkit/frontend/postcss.config.mjs x: 1 contributors (all time) y: 6 lines of code chatkit/frontend/src/App.tsx x: 1 contributors (all time) y: 8 lines of code chatkit/frontend/src/components/ChatKitPanel.tsx x: 1 contributors (all time) y: 15 lines of code chatkit/frontend/src/index.css x: 1 contributors (all time) y: 29 lines of code chatkit/frontend/src/lib/config.ts x: 1 contributors (all time) y: 9 lines of code chatkit/frontend/src/main.tsx x: 1 contributors (all time) y: 13 lines of code chatkit/frontend/vite.config.ts x: 1 contributors (all time) y: 18 lines of code managed-chatkit/backend/app/main.py x: 1 contributors (all time) y: 133 lines of code managed-chatkit/frontend/eslint.config.mjs x: 1 contributors (all time) y: 55 lines of code managed-chatkit/frontend/src/components/ChatKitPanel.tsx x: 1 contributors (all time) y: 17 lines of code managed-chatkit/frontend/src/lib/chatkitSession.ts x: 1 contributors (all time) y: 33 lines of code
133.0
lines of code
  min: 1.0
  average: 26.71
  25th percentile: 8.25
  median: 16.0
  75th percentile: 32.0
  max: 133.0
0 1.0
contributors (all time)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.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".