File Size Overall
  • There are 72 files with 1,509 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)
    • 3 small files (503 lines of code)
    • 69 very small files (1,006 lines of code)
0% | 0% | 0% | 33% | 66%
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
ts0% | 0% | 0% | 33% | 66%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 0% | 33% | 66%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
crop.ts
in src/services/__fixtures__
182 -
iframe-post-message.ts
in src/services/__fixtures__
165 -
iframe-post-message-with-collection.ts
in src/services/__fixtures__
156 -
image.ts
in src/types/image/__fixtures__
80 -
image.ts
in src/types/image
73 1
crop.ts
in src/types/crop/__fixtures__
70 -
crop.ts
in src/services
38 2
usage.ts
in src/types/usage
33 -
iframe-post-message.ts
in src/services
32 3
entity.ts
in src/types/argo
29 1
user-metadata.ts
in src/types/image/metadata
26 3
print-metadata.ts
in src/types/usage/metadata
24 -
image-metadata.ts
in src/types/image/metadata
24 -
persisted-reason.ts
in src/types/image
21 -
media-lease.ts
in src/types/lease
19 -
crop.ts
in src/types/crop
18 -
asset.ts
in src/types/asset
17 -
file-metadata.ts
in src/types/image/metadata
17 -
data-entity.ts
in src/types/argo
17 1
URLFromString.ts
in src/types/io-ts
17 -
reporter.ts
in src/utils
17 2
syndication-rights.ts
in src/types/syndication
16 -
specification.ts
in src/types/crop
16 -
usage-status.ts
in src/types/usage
15 -
reference-type.ts
in src/types/usage
15 -
syndication-status.ts
in src/types/syndication
14 -
reference.ts
in src/types/usage
14 -
digital-metadata.ts
in src/types/usage/metadata
14 -
right.ts
in src/types/syndication
13 -
property.ts
in src/types/syndication
13 -
usage-type.ts
in src/types/usage
13 -
media-lease-type.ts
in src/types/lease
13 -
cost.ts
in src/types/image
13 -
method.ts
in src/types/argo
13 -
supplier.ts
in src/types/syndication
12 -
collection.ts
in src/types/collection
12 -
grid-mime-type.ts
in src/types/asset
12 -
crop-type.ts
in src/types/crop
11 -
10 -
10 -
action.ts
in src/types/argo
10 -
service.ts
in src/services
10 1
bounds.ts
in src/types/crop
9 -
lease.ts
in src/types/lease
9 -
index.ts
in src/types
9 -
action-data.ts
in src/types/collection
8 -
persisted.ts
in src/types/image
8 -
index.ts
in src/types/image
8 -
link.ts
in src/types/argo
8 -
dimensions.ts
in src/types/asset
7 -
Files With Most Units (Top 8)
File# lines# units
user-metadata.ts
in src/types/image/metadata
26 3
iframe-post-message.ts
in src/services
32 3
reporter.ts
in src/utils
17 2
crop.ts
in src/services
38 2
image.ts
in src/types/image
73 1
entity.ts
in src/types/argo
29 1
data-entity.ts
in src/types/argo
17 1
service.ts
in src/services
10 1
Files With Long Lines (Top 3)

There are 3 files with lines longer than 120 characters. In total, there are 20 long lines.

File# lines# units# long lines
iframe-post-message-with-collection.ts
in src/services/__fixtures__
156 - 16
image.ts
in src/types/image/__fixtures__
80 - 2
iframe-post-message.ts
in src/services/__fixtures__
165 - 2
Correlations

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

release.config.js x: 1 commits (all time) y: 10 lines of code src/services/crop.ts x: 6 commits (all time) y: 38 lines of code src/services/iframe-post-message.ts x: 7 commits (all time) y: 32 lines of code src/services/service.ts x: 6 commits (all time) y: 10 lines of code src/utils/index.ts x: 4 commits (all time) y: 2 lines of code src/utils/reporter.ts x: 2 commits (all time) y: 17 lines of code src/services/__fixtures__/crop.ts x: 2 commits (all time) y: 182 lines of code src/services/__fixtures__/iframe-post-message-with-collection.ts x: 2 commits (all time) y: 156 lines of code src/services/__fixtures__/iframe-post-message.ts x: 2 commits (all time) y: 165 lines of code src/types/crop/__fixtures__/crop.ts x: 2 commits (all time) y: 70 lines of code src/types/image/__fixtures__/image.ts x: 2 commits (all time) y: 80 lines of code src/types/argo/data-entity.ts x: 7 commits (all time) y: 17 lines of code src/types/collection/collection.ts x: 4 commits (all time) y: 12 lines of code src/types/image/image.ts x: 6 commits (all time) y: 73 lines of code src/index.ts x: 7 commits (all time) y: 2 lines of code src/types/argo/action.ts x: 4 commits (all time) y: 10 lines of code src/types/argo/entity.ts x: 5 commits (all time) y: 29 lines of code src/types/argo/link.ts x: 4 commits (all time) y: 8 lines of code src/types/asset/asset.ts x: 4 commits (all time) y: 17 lines of code src/types/crop/crop.ts x: 4 commits (all time) y: 18 lines of code src/types/crop/specification.ts x: 4 commits (all time) y: 16 lines of code src/types/image/metadata/user-metadata.ts x: 4 commits (all time) y: 26 lines of code src/types/usage/metadata/digital-metadata.ts x: 4 commits (all time) y: 14 lines of code src/types/usage/usage.ts x: 4 commits (all time) y: 33 lines of code src/utils/logger.ts x: 4 commits (all time) y: 4 lines of code src/types/argo/index.ts x: 2 commits (all time) y: 5 lines of code src/types/argo/method.ts x: 2 commits (all time) y: 13 lines of code src/types/asset/dimensions.ts x: 2 commits (all time) y: 7 lines of code src/types/asset/grid-mime-type.ts x: 2 commits (all time) y: 12 lines of code src/types/asset/index.ts x: 2 commits (all time) y: 3 lines of code src/types/collection/action-data.ts x: 2 commits (all time) y: 8 lines of code src/types/collection/index.ts x: 2 commits (all time) y: 2 lines of code src/types/crop/bounds.ts x: 2 commits (all time) y: 9 lines of code src/types/crop/crop-type.ts x: 2 commits (all time) y: 11 lines of code src/types/crop/index.ts x: 2 commits (all time) y: 4 lines of code src/types/image/metadata/image-metadata.ts x: 2 commits (all time) y: 24 lines of code src/types/image/metadata/photoshoot.ts x: 2 commits (all time) y: 6 lines of code src/types/image/persisted-reason.ts x: 2 commits (all time) y: 21 lines of code src/types/index.ts x: 4 commits (all time) y: 9 lines of code src/types/lease/media-lease.ts x: 2 commits (all time) y: 19 lines of code src/types/syndication/syndication-status.ts x: 2 commits (all time) y: 14 lines of code src/types/usage/reference-type.ts x: 2 commits (all time) y: 15 lines of code
182.0
lines of code
  min: 2.0
  average: 20.96
  25th percentile: 6.0
  median: 12.0
  75th percentile: 17.0
  max: 182.0
0 7.0
commits (all time)
min: 1.0 | average: 2.85 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 4.0 | max: 7.0

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

release.config.js x: 1 contributors (all time) y: 10 lines of code src/services/crop.ts x: 1 contributors (all time) y: 38 lines of code src/services/iframe-post-message.ts x: 1 contributors (all time) y: 32 lines of code src/utils/index.ts x: 1 contributors (all time) y: 2 lines of code src/utils/reporter.ts x: 1 contributors (all time) y: 17 lines of code src/services/__fixtures__/crop.ts x: 1 contributors (all time) y: 182 lines of code src/services/__fixtures__/iframe-post-message-with-collection.ts x: 1 contributors (all time) y: 156 lines of code src/services/__fixtures__/iframe-post-message.ts x: 1 contributors (all time) y: 165 lines of code src/types/crop/__fixtures__/crop.ts x: 1 contributors (all time) y: 70 lines of code src/types/image/__fixtures__/image.ts x: 1 contributors (all time) y: 80 lines of code src/types/collection/collection.ts x: 1 contributors (all time) y: 12 lines of code src/types/image/image.ts x: 1 contributors (all time) y: 73 lines of code src/types/argo/entity.ts x: 1 contributors (all time) y: 29 lines of code src/types/argo/link.ts x: 1 contributors (all time) y: 8 lines of code src/types/crop/crop.ts x: 1 contributors (all time) y: 18 lines of code src/types/crop/specification.ts x: 1 contributors (all time) y: 16 lines of code src/types/image/metadata/user-metadata.ts x: 1 contributors (all time) y: 26 lines of code src/types/usage/metadata/digital-metadata.ts x: 1 contributors (all time) y: 14 lines of code src/types/usage/usage.ts x: 1 contributors (all time) y: 33 lines of code src/utils/logger.ts x: 1 contributors (all time) y: 4 lines of code src/types/argo/index.ts x: 1 contributors (all time) y: 5 lines of code src/types/argo/method.ts x: 1 contributors (all time) y: 13 lines of code src/types/asset/dimensions.ts x: 1 contributors (all time) y: 7 lines of code src/types/asset/index.ts x: 1 contributors (all time) y: 3 lines of code src/types/crop/bounds.ts x: 1 contributors (all time) y: 9 lines of code src/types/crop/crop-type.ts x: 1 contributors (all time) y: 11 lines of code src/types/image/metadata/image-metadata.ts x: 1 contributors (all time) y: 24 lines of code src/types/image/metadata/photoshoot.ts x: 1 contributors (all time) y: 6 lines of code src/types/image/persisted-reason.ts x: 1 contributors (all time) y: 21 lines of code src/types/lease/media-lease.ts x: 1 contributors (all time) y: 19 lines of code src/types/usage/reference-type.ts x: 1 contributors (all time) y: 15 lines of code
182.0
lines of code
  min: 2.0
  average: 20.96
  25th percentile: 6.0
  median: 12.0
  75th percentile: 17.0
  max: 182.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".

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