anthropics / healthcare
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 8 files with 2,035 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (656 lines of code)
    • 3 medium size files (837 lines of code)
    • 3 small files (462 lines of code)
    • 1 very small files (80 lines of code)
0% | 32% | 41% | 22% | 3%
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% | 82% | 0% | 17% | 0%
py0% | 0% | 50% | 49% | 0%
sql0% | 0% | 100% | 0% | 0%
html0% | 0% | 100% | 0% | 0%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
plugins0% | 34% | 44% | 17% | 4%
scripts0% | 0% | 0% | 100% | 0%
Longest Files (Top 8)
File# lines# units
cli.ts
in plugins/healthcare/skills/contracts/scripts
656 41
sample_size_calculator.py
in plugins/healthcare/skills/clinical-trial-protocol/scripts
326 3
schema.sql
in plugins/healthcare/skills/contracts
266 -
inspector.html
in plugins/healthcare/skills/contracts/ui
245 -
setup_fhir_project.py
in plugins/healthcare/skills/fhir-developer/scripts
183 12
db.ts
in plugins/healthcare/skills/contracts/scripts
141 -
version_bump.py
in scripts
138 15
sweep.js
in plugins/healthcare/skills/contracts/workflows
80 2
Files With Most Units (Top 5)
File# lines# units
cli.ts
in plugins/healthcare/skills/contracts/scripts
656 41
version_bump.py
in scripts
138 15
setup_fhir_project.py
in plugins/healthcare/skills/fhir-developer/scripts
183 12
sample_size_calculator.py
in plugins/healthcare/skills/clinical-trial-protocol/scripts
326 3
sweep.js
in plugins/healthcare/skills/contracts/workflows
80 2
Files With Long Lines (Top 6)

There are 6 files with lines longer than 120 characters. In total, there are 55 long lines.

File# lines# units# long lines
inspector.html
in plugins/healthcare/skills/contracts/ui
245 - 39
cli.ts
in plugins/healthcare/skills/contracts/scripts
656 41 6
setup_fhir_project.py
in plugins/healthcare/skills/fhir-developer/scripts
183 12 3
sweep.js
in plugins/healthcare/skills/contracts/workflows
80 2 3
db.ts
in plugins/healthcare/skills/contracts/scripts
141 - 2
schema.sql
in plugins/healthcare/skills/contracts
266 - 2
Correlations

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

plugins/healthcare/skills/contracts/schema.sql x: 1 commits (all time) y: 266 lines of code plugins/healthcare/skills/contracts/scripts/cli.ts x: 1 commits (all time) y: 656 lines of code plugins/healthcare/skills/contracts/scripts/db.ts x: 1 commits (all time) y: 141 lines of code plugins/healthcare/skills/contracts/ui/inspector.html x: 1 commits (all time) y: 245 lines of code plugins/healthcare/skills/contracts/workflows/sweep.js x: 1 commits (all time) y: 80 lines of code scripts/version_bump.py x: 2 commits (all time) y: 138 lines of code plugins/healthcare/skills/clinical-trial-protocol/scripts/sample_size_calculator.py x: 1 commits (all time) y: 326 lines of code plugins/healthcare/skills/fhir-developer/scripts/setup_fhir_project.py x: 1 commits (all time) y: 183 lines of code
656.0
lines of code
  min: 80.0
  average: 254.38
  25th percentile: 138.75
  median: 214.0
  75th percentile: 311.0
  max: 656.0
0 2.0
commits (all time)
min: 1.0 | average: 1.13 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0

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

plugins/healthcare/skills/contracts/schema.sql x: 1 contributors (all time) y: 266 lines of code plugins/healthcare/skills/contracts/scripts/cli.ts x: 1 contributors (all time) y: 656 lines of code plugins/healthcare/skills/contracts/scripts/db.ts x: 1 contributors (all time) y: 141 lines of code plugins/healthcare/skills/contracts/ui/inspector.html x: 1 contributors (all time) y: 245 lines of code plugins/healthcare/skills/contracts/workflows/sweep.js x: 1 contributors (all time) y: 80 lines of code scripts/version_bump.py x: 2 contributors (all time) y: 138 lines of code plugins/healthcare/skills/clinical-trial-protocol/scripts/sample_size_calculator.py x: 1 contributors (all time) y: 326 lines of code plugins/healthcare/skills/fhir-developer/scripts/setup_fhir_project.py x: 1 contributors (all time) y: 183 lines of code
656.0
lines of code
  min: 80.0
  average: 254.38
  25th percentile: 138.75
  median: 214.0
  75th percentile: 311.0
  max: 656.0
0 2.0
contributors (all time)
min: 1.0 | average: 1.13 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0

File Size vs. Commits (30 days): 8 points

plugins/healthcare/skills/contracts/schema.sql x: 1 commits (30d) y: 266 lines of code plugins/healthcare/skills/contracts/scripts/cli.ts x: 1 commits (30d) y: 656 lines of code plugins/healthcare/skills/contracts/scripts/db.ts x: 1 commits (30d) y: 141 lines of code plugins/healthcare/skills/contracts/ui/inspector.html x: 1 commits (30d) y: 245 lines of code plugins/healthcare/skills/contracts/workflows/sweep.js x: 1 commits (30d) y: 80 lines of code scripts/version_bump.py x: 2 commits (30d) y: 138 lines of code plugins/healthcare/skills/clinical-trial-protocol/scripts/sample_size_calculator.py x: 1 commits (30d) y: 326 lines of code plugins/healthcare/skills/fhir-developer/scripts/setup_fhir_project.py x: 1 commits (30d) y: 183 lines of code
656.0
lines of code
  min: 80.0
  average: 254.38
  25th percentile: 138.75
  median: 214.0
  75th percentile: 311.0
  max: 656.0
0 2.0
commits (30d)
min: 1.0 | average: 1.13 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0

File Size vs. Contributors (30 days): 8 points

plugins/healthcare/skills/contracts/schema.sql x: 1 contributors (30d) y: 266 lines of code plugins/healthcare/skills/contracts/scripts/cli.ts x: 1 contributors (30d) y: 656 lines of code plugins/healthcare/skills/contracts/scripts/db.ts x: 1 contributors (30d) y: 141 lines of code plugins/healthcare/skills/contracts/ui/inspector.html x: 1 contributors (30d) y: 245 lines of code plugins/healthcare/skills/contracts/workflows/sweep.js x: 1 contributors (30d) y: 80 lines of code scripts/version_bump.py x: 2 contributors (30d) y: 138 lines of code plugins/healthcare/skills/clinical-trial-protocol/scripts/sample_size_calculator.py x: 1 contributors (30d) y: 326 lines of code plugins/healthcare/skills/fhir-developer/scripts/setup_fhir_project.py x: 1 contributors (30d) y: 183 lines of code
656.0
lines of code
  min: 80.0
  average: 254.38
  25th percentile: 138.75
  median: 214.0
  75th percentile: 311.0
  max: 656.0
0 2.0
contributors (30d)
min: 1.0 | average: 1.13 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0

File Size vs. Commits (90 days): 8 points

plugins/healthcare/skills/contracts/schema.sql x: 1 commits (90d) y: 266 lines of code plugins/healthcare/skills/contracts/scripts/cli.ts x: 1 commits (90d) y: 656 lines of code plugins/healthcare/skills/contracts/scripts/db.ts x: 1 commits (90d) y: 141 lines of code plugins/healthcare/skills/contracts/ui/inspector.html x: 1 commits (90d) y: 245 lines of code plugins/healthcare/skills/contracts/workflows/sweep.js x: 1 commits (90d) y: 80 lines of code scripts/version_bump.py x: 2 commits (90d) y: 138 lines of code plugins/healthcare/skills/clinical-trial-protocol/scripts/sample_size_calculator.py x: 1 commits (90d) y: 326 lines of code plugins/healthcare/skills/fhir-developer/scripts/setup_fhir_project.py x: 1 commits (90d) y: 183 lines of code
656.0
lines of code
  min: 80.0
  average: 254.38
  25th percentile: 138.75
  median: 214.0
  75th percentile: 311.0
  max: 656.0
0 2.0
commits (90d)
min: 1.0 | average: 1.13 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0

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

plugins/healthcare/skills/contracts/schema.sql x: 1 contributors (90d) y: 266 lines of code plugins/healthcare/skills/contracts/scripts/cli.ts x: 1 contributors (90d) y: 656 lines of code plugins/healthcare/skills/contracts/scripts/db.ts x: 1 contributors (90d) y: 141 lines of code plugins/healthcare/skills/contracts/ui/inspector.html x: 1 contributors (90d) y: 245 lines of code plugins/healthcare/skills/contracts/workflows/sweep.js x: 1 contributors (90d) y: 80 lines of code scripts/version_bump.py x: 2 contributors (90d) y: 138 lines of code plugins/healthcare/skills/clinical-trial-protocol/scripts/sample_size_calculator.py x: 1 contributors (90d) y: 326 lines of code plugins/healthcare/skills/fhir-developer/scripts/setup_fhir_project.py x: 1 contributors (90d) y: 183 lines of code
656.0
lines of code
  min: 80.0
  average: 254.38
  25th percentile: 138.75
  median: 214.0
  75th percentile: 311.0
  max: 656.0
0 2.0
contributors (90d)
min: 1.0 | average: 1.13 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0