File Size Overall
  • There are 99 files with 6,686 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 5 medium size files (1,515 lines of code)
    • 18 small files (2,505 lines of code)
    • 76 very small files (2,666 lines of code)
0% | 0% | 22% | 37% | 39%
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
tsx0% | 0% | 24% | 43% | 32%
ts0% | 0% | 23% | 28% | 48%
js0% | 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
src0% | 0% | 26% | 39% | 33%
.storybook0% | 0% | 0% | 36% | 63%
ROOT0% | 0% | 0% | 0% | 100%
cdk0% | 0% | 0% | 0% | 100%
.github0% | 0% | 0% | 0% | 100%
nginx0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
geolocation.ts
in src/Epic
412 -
index.tsx
in src/StyleableBannerWithLink
366 -
index.tsx
in src/StyleableBannerNewsletter
272 -
index.stories.tsx
in src/StyleableBannerWithLink
244 -
index.stories.tsx
in src/StyleableBannerNewsletter
221 -
index.tsx
in src/Epic
200 -
183 7
BrazeMessages.ts
in src/logic
178 4
index.stories.tsx
in src/EpicWithSpecialHeader
171 -
ArticleContextPanel.tsx
in .storybook/article-context
159 -
index.tsx
in src/AppBanner
156 -
ReminderCtaButton.tsx
in src/components
154 -
145 -
GridPanel.tsx
in .storybook/grid
137 -
BrazeCards.ts
in src/logic
128 5
NewsletterCtaButton.tsx
in src/components
123 -
index.tsx
in src/NewsletterEpic
122 -
116 -
styleUtilities.ts
in src/utils
109 -
index.stories.tsx
in src/BannerNewsletter
109 -
108 -
index.stories.tsx
in src/NewsletterEpic
105 -
colorData.ts
in src/styles
102 -
index.stories.tsx
in src/BannerWithLink
96 -
93 5
gridStyles.ts
in .storybook/grid
92 -
failure.stories.tsx
in src/UKNewsletterEpic
92 -
GuAuth.tsx
in .storybook/gu-auth
82 -
index.stories.tsx
in src/UKNewsletterEpic
82 -
canRender.ts
in src/logic
82 -
index.stories.tsx
in src/DownToEarthNewsletterEpic
82 -
index.stories.tsx
in src/AppBanner
79 -
index.stories.tsx
in src/USNewsletterEpic
78 -
index.stories.tsx
in src/EpicNewsletter_AU_AfternoonUpdate
78 -
sectionIds.ts
in .storybook/article-context
77 -
index.stories.tsx
in src/EpicNewsletter_TheGuide
77 -
index.stories.tsx
in src/AUNewsletterEpic
77 -
73 -
PrimaryCtaButton.tsx
in src/components
72 -
70 1
BannerCloseButton.tsx
in src/components
70 2
reminders.ts
in src/logic
62 -
preview.js
in .storybook
60 -
57 -
utils.ts
in .storybook
54 -
52 -
51 -
argTypes.ts
in src/storybookCommon
47 -
tracking.ts
in src/utils
42 -
withGrid.tsx
in .storybook/grid
41 -
Large Files That Change Often (Top 2)
To change a file, an AI coding agent (or a person) has to read it: these files are read the most for the changes in the past year (lines × changes).
File# lines≈ tokens
to read
# changes
(1y)
≈ lines edited
per change
lines read per
line changed
index.tsx
in src/NewsletterEpic
122 ~700–2k 2 ~30 ~3
dependabot.yml
in .github
16 under 1k 1 ~10 ~2

Tokens are lines × 7 to 14 (analysis.fileReadsForChanges). Lines edited per change are the file's lines added and deleted divided by its commits over the whole history. Agents read about 2,000 lines at a time: when a 17,000-line file was split into modules, the tokens an agent read for the same change fell by 83% (The Economic Benefit of Refactoring, 2026).

Files With Most Units (Top 8)
File# lines# units
183 7
93 5
BrazeCards.ts
in src/logic
128 5
BrazeMessages.ts
in src/logic
178 4
knobsData.tsx
in src/utils
25 3
BannerCloseButton.tsx
in src/components
70 2
70 1
GuPreview.tsx
in .storybook/gu-preview
30 1
Files With Long Lines (Top 23)

There are 23 files with lines longer than 120 characters. In total, there are 67 long lines.

File# lines# units# long lines
styleUtilities.ts
in src/utils
109 - 20
145 - 8
index.stories.tsx
in src/EpicWithSpecialHeader
171 - 6
index.stories.tsx
in src/StyleableBannerWithLink
244 - 4
utils.ts
in .storybook
54 - 3
index.stories.tsx
in src/BannerWithLink
96 - 3
116 - 3
index.stories.tsx
in src/AppBanner
79 - 2
index.stories.tsx
in src/StyleableBannerNewsletter
221 - 2
index.stories.tsx
in src/BannerNewsletter
109 - 2
index.stories.tsx
in src/NewsletterEpic
105 - 2
51 - 1
index.tsx
in src/USNewsletterEpic
29 - 1
index.stories.tsx
in src/USNewsletterEpic
78 - 1
index.tsx
in src/EpicNewsletter_TheGuide
29 - 1
index.tsx
in src/AUNewsletterEpic
29 - 1
index.tsx
in src/UKNewsletterEpic
29 - 1
index.stories.tsx
in src/UKNewsletterEpic
82 - 1
failure.stories.tsx
in src/UKNewsletterEpic
92 - 1
index.tsx
in src/DownToEarthNewsletterEpic
29 - 1
index.stories.tsx
in src/DownToEarthNewsletterEpic
82 - 1
index.tsx
in src/EpicNewsletter_AU_AfternoonUpdate
29 - 1
index.stories.tsx
in src/EpicNewsletter_AU_AfternoonUpdate
78 - 1
Correlations

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

src/NewsletterEpic/index.tsx x: 50 commits (all time) y: 122 lines of code .github/dependabot.yml x: 4 commits (all time) y: 16 lines of code cdk/lib/braze-components.ts x: 18 commits (all time) y: 70 lines of code cloudformation-static-s3.yaml x: 8 commits (all time) y: 51 lines of code riff-raff.yaml x: 9 commits (all time) y: 21 lines of code src/logic/BrazeCards.ts x: 8 commits (all time) y: 128 lines of code src/logic/BrazeMessages.ts x: 9 commits (all time) y: 178 lines of code src/logic/LocalMessageCache.tsx x: 20 commits (all time) y: 183 lines of code src/components/NewsletterFrequencyBlock.tsx x: 5 commits (all time) y: 52 lines of code src/AppBanner/index.tsx x: 50 commits (all time) y: 156 lines of code src/Epic/HeaderSection.tsx x: 3 commits (all time) y: 108 lines of code src/Epic/index.tsx x: 63 commits (all time) y: 200 lines of code src/StyleableBannerNewsletter/index.tsx x: 8 commits (all time) y: 272 lines of code src/StyleableBannerWithLink/index.tsx x: 47 commits (all time) y: 366 lines of code src/components/NewsletterCtaButton.tsx x: 4 commits (all time) y: 123 lines of code src/components/PrimaryCtaButton.tsx x: 12 commits (all time) y: 72 lines of code src/components/ReminderCtaButton.tsx x: 32 commits (all time) y: 154 lines of code .storybook/article-context/register.js x: 2 commits (all time) y: 11 lines of code .storybook/grid/GridPanel.tsx x: 7 commits (all time) y: 137 lines of code .storybook/grid/register.js x: 3 commits (all time) y: 11 lines of code .storybook/grid/withGrid.tsx x: 4 commits (all time) y: 41 lines of code .storybook/gu-auth/register.js x: 3 commits (all time) y: 12 lines of code .storybook/gu-preview/register.js x: 6 commits (all time) y: 10 lines of code .storybook/main.js x: 20 commits (all time) y: 22 lines of code .storybook/preview.js x: 14 commits (all time) y: 60 lines of code src/components/BannerCloseButton.tsx x: 5 commits (all time) y: 70 lines of code src/components/PaymentIcons.tsx x: 3 commits (all time) y: 16 lines of code src/styles/colorData.ts x: 22 commits (all time) y: 102 lines of code src/AppBanner/index.stories.tsx x: 29 commits (all time) y: 79 lines of code src/BannerNewsletter/index.stories.tsx x: 21 commits (all time) y: 109 lines of code src/BannerNewsletter/index.tsx x: 40 commits (all time) y: 26 lines of code src/BannerWithLink/index.stories.tsx x: 21 commits (all time) y: 96 lines of code src/BannerWithLink/index.tsx x: 45 commits (all time) y: 32 lines of code src/BrazeBannerComponent.ts x: 31 commits (all time) y: 40 lines of code src/StyleableBannerNewsletter/index.stories.tsx x: 5 commits (all time) y: 221 lines of code src/StyleableBannerWithLink/canRender.ts x: 5 commits (all time) y: 11 lines of code src/StyleableBannerWithLink/index.stories.tsx x: 28 commits (all time) y: 244 lines of code src/logic/canRender.ts x: 3 commits (all time) y: 82 lines of code logic-index.ts x: 9 commits (all time) y: 6 lines of code src/BrazeEndOfArticleComponent.ts x: 35 commits (all time) y: 57 lines of code src/NewsletterEpic/index.stories.tsx x: 5 commits (all time) y: 105 lines of code src/logic/reminders.ts x: 9 commits (all time) y: 62 lines of code src/utils/env.ts x: 10 commits (all time) y: 8 lines of code src/AUNewsletterEpic/index.tsx x: 21 commits (all time) y: 29 lines of code src/EpicNewsletter_AU_AfternoonUpdate/index.tsx x: 14 commits (all time) y: 29 lines of code src/Epic/index.stories.tsx x: 70 commits (all time) y: 145 lines of code src/logic/types.ts x: 14 commits (all time) y: 17 lines of code src/Epic/failure.stories.tsx x: 8 commits (all time) y: 116 lines of code src/EpicWithSpecialHeader/index.stories.tsx x: 20 commits (all time) y: 171 lines of code src/components/CtaLoadingDotsAnimation.tsx x: 6 commits (all time) y: 73 lines of code src/AUNewsletterEpic/index.stories.tsx x: 23 commits (all time) y: 77 lines of code src/DownToEarthNewsletterEpic/index.stories.tsx x: 12 commits (all time) y: 82 lines of code src/EpicNewsletter_AU_AfternoonUpdate/index.stories.tsx x: 12 commits (all time) y: 78 lines of code src/EpicNewsletter_TheGuide/index.stories.tsx x: 12 commits (all time) y: 77 lines of code src/UKNewsletterEpic/failure.stories.tsx x: 19 commits (all time) y: 92 lines of code src/UKNewsletterEpic/index.stories.tsx x: 24 commits (all time) y: 82 lines of code src/USNewsletterEpic/index.stories.tsx x: 24 commits (all time) y: 78 lines of code src/utils/StorybookWrapper.tsx x: 15 commits (all time) y: 15 lines of code src/EpicNewsletter_TheGuide/index.tsx x: 12 commits (all time) y: 29 lines of code src/UKNewsletterEpic/index.tsx x: 19 commits (all time) y: 29 lines of code src/USNewsletterEpic/index.tsx x: 20 commits (all time) y: 29 lines of code src/types/dcrTypes.ts x: 3 commits (all time) y: 2 lines of code src/EpicWithSpecialHeader/canRender.ts x: 7 commits (all time) y: 17 lines of code src/EpicWithSpecialHeader/index.tsx x: 13 commits (all time) y: 5 lines of code src/buildBrazeMessageComponent.tsx x: 8 commits (all time) y: 38 lines of code src/utils/knobsData.tsx x: 6 commits (all time) y: 25 lines of code src/utils/tracking.ts x: 7 commits (all time) y: 42 lines of code .storybook/gu-preview/GuPreview.tsx x: 11 commits (all time) y: 30 lines of code .storybook/utils.ts x: 7 commits (all time) y: 54 lines of code src/EpicNewsletter_AU_AfternoonUpdate/canRender.ts x: 2 commits (all time) y: 6 lines of code .storybook/article-context/ArticleContextPanel.tsx x: 6 commits (all time) y: 159 lines of code .storybook/gu-auth/GuAuth.tsx x: 4 commits (all time) y: 82 lines of code src/logic/NullBrazeCards.ts x: 1 commits (all time) y: 7 lines of code src/BannerWithLink/canRender.ts x: 1 commits (all time) y: 11 lines of code src/DownToEarthNewsletterEpic/canRender.ts x: 1 commits (all time) y: 6 lines of code .storybook/article-context/sectionIds.ts x: 1 commits (all time) y: 77 lines of code src/Epic/canRender.ts x: 5 commits (all time) y: 28 lines of code src/storybookCommon/argTypes.ts x: 4 commits (all time) y: 47 lines of code src/Epic/placeholders.ts x: 2 commits (all time) y: 21 lines of code banner-index.ts x: 1 commits (all time) y: 1 lines of code index.ts x: 16 commits (all time) y: 3 lines of code rollup.config.js x: 21 commits (all time) y: 93 lines of code src/NewsletterEpic/canRender.ts x: 4 commits (all time) y: 14 lines of code src/USNewsletterEpic/canRender.ts x: 3 commits (all time) y: 6 lines of code src/Epic/geolocation.ts x: 1 commits (all time) y: 412 lines of code nginx/nginx-mappings.yml x: 4 commits (all time) y: 4 lines of code .storybook/grid/gridStyles.ts x: 4 commits (all time) y: 92 lines of code src/AppBanner/canRender.ts x: 1 commits (all time) y: 14 lines of code src/logic/NullBrazeMessages.ts x: 3 commits (all time) y: 9 lines of code src/utils/images.ts x: 4 commits (all time) y: 7 lines of code src/utils/styleUtilities.ts x: 7 commits (all time) y: 109 lines of code
412.0
lines of code
  min: 1.0
  average: 67.54
  25th percentile: 11.0
  median: 41.0
  75th percentile: 93.0
  max: 412.0
0 70.0
commits (all time)
min: 1.0 | average: 12.8 | 25th percentile: 4.0 | median: 8.0 | 75th percentile: 19.0 | max: 70.0

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

src/NewsletterEpic/index.tsx x: 9 contributors (all time) y: 122 lines of code .github/dependabot.yml x: 3 contributors (all time) y: 16 lines of code cdk/lib/braze-components.ts x: 5 contributors (all time) y: 70 lines of code cloudformation-static-s3.yaml x: 4 contributors (all time) y: 51 lines of code riff-raff.yaml x: 5 contributors (all time) y: 21 lines of code src/logic/BrazeCards.ts x: 5 contributors (all time) y: 128 lines of code src/logic/BrazeMessages.ts x: 4 contributors (all time) y: 178 lines of code src/logic/LocalMessageCache.tsx x: 7 contributors (all time) y: 183 lines of code src/components/NewsletterFrequencyBlock.tsx x: 4 contributors (all time) y: 52 lines of code src/AppBanner/index.tsx x: 12 contributors (all time) y: 156 lines of code src/Epic/HeaderSection.tsx x: 2 contributors (all time) y: 108 lines of code src/Epic/index.tsx x: 7 contributors (all time) y: 200 lines of code src/StyleableBannerNewsletter/index.tsx x: 3 contributors (all time) y: 272 lines of code src/StyleableBannerWithLink/index.tsx x: 3 contributors (all time) y: 366 lines of code src/components/NewsletterCtaButton.tsx x: 3 contributors (all time) y: 123 lines of code src/components/PrimaryCtaButton.tsx x: 3 contributors (all time) y: 72 lines of code src/components/ReminderCtaButton.tsx x: 4 contributors (all time) y: 154 lines of code .storybook/article-context/register.js x: 2 contributors (all time) y: 11 lines of code .storybook/grid/GridPanel.tsx x: 3 contributors (all time) y: 137 lines of code .storybook/grid/register.js x: 1 contributors (all time) y: 11 lines of code .storybook/grid/withGrid.tsx x: 2 contributors (all time) y: 41 lines of code .storybook/gu-auth/register.js x: 1 contributors (all time) y: 12 lines of code .storybook/gu-preview/register.js x: 5 contributors (all time) y: 10 lines of code .storybook/main.js x: 6 contributors (all time) y: 22 lines of code .storybook/preview.js x: 7 contributors (all time) y: 60 lines of code src/components/BannerCloseButton.tsx x: 2 contributors (all time) y: 70 lines of code src/components/PaymentIcons.tsx x: 2 contributors (all time) y: 16 lines of code src/styles/colorData.ts x: 2 contributors (all time) y: 102 lines of code src/AppBanner/index.stories.tsx x: 6 contributors (all time) y: 79 lines of code src/BannerNewsletter/index.stories.tsx x: 1 contributors (all time) y: 109 lines of code src/BannerNewsletter/index.tsx x: 1 contributors (all time) y: 26 lines of code src/BannerWithLink/index.stories.tsx x: 4 contributors (all time) y: 96 lines of code src/BannerWithLink/index.tsx x: 5 contributors (all time) y: 32 lines of code src/BrazeBannerComponent.ts x: 5 contributors (all time) y: 40 lines of code src/StyleableBannerNewsletter/index.stories.tsx x: 1 contributors (all time) y: 221 lines of code src/StyleableBannerWithLink/index.stories.tsx x: 1 contributors (all time) y: 244 lines of code src/logic/canRender.ts x: 2 contributors (all time) y: 82 lines of code logic-index.ts x: 4 contributors (all time) y: 6 lines of code src/BrazeEndOfArticleComponent.ts x: 3 contributors (all time) y: 57 lines of code src/NewsletterEpic/index.stories.tsx x: 1 contributors (all time) y: 105 lines of code src/logic/reminders.ts x: 2 contributors (all time) y: 62 lines of code src/utils/env.ts x: 4 contributors (all time) y: 8 lines of code src/AUNewsletterEpic/index.tsx x: 4 contributors (all time) y: 29 lines of code src/EpicNewsletter_AU_AfternoonUpdate/index.tsx x: 1 contributors (all time) y: 29 lines of code src/Epic/index.stories.tsx x: 5 contributors (all time) y: 145 lines of code src/logic/types.ts x: 4 contributors (all time) y: 17 lines of code src/Epic/failure.stories.tsx x: 1 contributors (all time) y: 116 lines of code src/EpicWithSpecialHeader/index.stories.tsx x: 2 contributors (all time) y: 171 lines of code src/components/CtaLoadingDotsAnimation.tsx x: 1 contributors (all time) y: 73 lines of code src/AUNewsletterEpic/index.stories.tsx x: 4 contributors (all time) y: 77 lines of code src/DownToEarthNewsletterEpic/index.stories.tsx x: 3 contributors (all time) y: 82 lines of code src/EpicNewsletter_AU_AfternoonUpdate/index.stories.tsx x: 1 contributors (all time) y: 78 lines of code src/EpicNewsletter_TheGuide/index.stories.tsx x: 1 contributors (all time) y: 77 lines of code src/UKNewsletterEpic/failure.stories.tsx x: 3 contributors (all time) y: 92 lines of code src/UKNewsletterEpic/index.stories.tsx x: 4 contributors (all time) y: 82 lines of code src/USNewsletterEpic/index.stories.tsx x: 4 contributors (all time) y: 78 lines of code src/utils/StorybookWrapper.tsx x: 4 contributors (all time) y: 15 lines of code src/DownToEarthNewsletterEpic/index.tsx x: 3 contributors (all time) y: 29 lines of code src/types/dcrTypes.ts x: 1 contributors (all time) y: 2 lines of code src/EpicWithSpecialHeader/canRender.ts x: 2 contributors (all time) y: 17 lines of code src/buildBrazeMessageComponent.tsx x: 3 contributors (all time) y: 38 lines of code src/utils/knobsData.tsx x: 5 contributors (all time) y: 25 lines of code src/utils/tracking.ts x: 4 contributors (all time) y: 42 lines of code .storybook/gu-preview/GuPreview.tsx x: 4 contributors (all time) y: 30 lines of code .storybook/utils.ts x: 3 contributors (all time) y: 54 lines of code src/EpicNewsletter_AU_AfternoonUpdate/canRender.ts x: 1 contributors (all time) y: 6 lines of code .storybook/article-context/ArticleContextPanel.tsx x: 2 contributors (all time) y: 159 lines of code .storybook/gu-auth/GuAuth.tsx x: 1 contributors (all time) y: 82 lines of code src/logic/NullBrazeCards.ts x: 1 contributors (all time) y: 7 lines of code src/Epic/canRender.ts x: 2 contributors (all time) y: 28 lines of code src/storybookCommon/argTypes.ts x: 1 contributors (all time) y: 47 lines of code src/Epic/placeholders.ts x: 2 contributors (all time) y: 21 lines of code banner-index.ts x: 1 contributors (all time) y: 1 lines of code index.ts x: 4 contributors (all time) y: 3 lines of code rollup.config.js x: 3 contributors (all time) y: 93 lines of code src/AUNewsletterEpic/canRender.ts x: 2 contributors (all time) y: 6 lines of code src/NewsletterEpic/canRender.ts x: 3 contributors (all time) y: 14 lines of code src/Epic/geolocation.ts x: 1 contributors (all time) y: 412 lines of code nginx/nginx-mappings.yml x: 1 contributors (all time) y: 4 lines of code .storybook/grid/gridStyles.ts x: 1 contributors (all time) y: 92 lines of code src/AppBanner/canRender.ts x: 1 contributors (all time) y: 14 lines of code src/logic/NullBrazeMessages.ts x: 2 contributors (all time) y: 9 lines of code src/utils/images.ts x: 2 contributors (all time) y: 7 lines of code src/utils/styleUtilities.ts x: 3 contributors (all time) y: 109 lines of code
412.0
lines of code
  min: 1.0
  average: 67.54
  25th percentile: 11.0
  median: 41.0
  75th percentile: 93.0
  max: 412.0
0 12.0
contributors (all time)
min: 1.0 | average: 2.86 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 12.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...