tensorflow / model-card-toolkit
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 19 files with 1,966 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (984 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (462 lines of code)
    • 12 very small files (520 lines of code)
0% | 0% | 50% | 23% | 26%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
py0% | 0% | 37% | 32% | 30%
jinja0% | 0% | 72% | 0% | 27%
proto0% | 0% | 100% | 0% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
model_card_toolkit/utils0% | 0% | 76% | 0% | 23%
model_card_toolkit/template/html0% | 0% | 100% | 0% | 0%
model_card_toolkit/proto0% | 0% | 100% | 0% | 0%
model_card_toolkit0% | 0% | 0% | 99% | <1%
model_card_toolkit/tfx0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
model_card_toolkit/template/md0% | 0% | 0% | 0% | 100%
tools0% | 0% | 0% | 0% | 100%
Longest Files (Top 19)
File# lines# units
tfx_util.py
in model_card_toolkit/utils
323 15
default_template.html.jinja
in model_card_toolkit/template/html
229 -
proto
model_card.proto
in model_card_toolkit/proto
221 -
graphics.py
in model_card_toolkit/utils
211 7
model_card_toolkit.py
in model_card_toolkit
181 13
model_card.py
in model_card_toolkit
177 3
base_model_card_field.py
in model_card_toolkit
104 10
setup.py
in root
92 3
default_template.md.jinja
in model_card_toolkit/template/md
87 -
source.py
in model_card_toolkit/utils
74 3
json_util.py
in model_card_toolkit/utils
60 2
component.py
in model_card_toolkit/tfx
50 1
executor.py
in model_card_toolkit/tfx
47 4
build_api_docs.py
in tools
42 2
validation.py
in model_card_toolkit/utils
32 3
artifact.py
in model_card_toolkit/tfx
31 1
__init__.py
in model_card_toolkit
3 -
__init__.py
in model_card_toolkit/utils
1 -
version.py
in model_card_toolkit
1 -
Files With Most Units (Top 13)
File# lines# units
tfx_util.py
in model_card_toolkit/utils
323 15
model_card_toolkit.py
in model_card_toolkit
181 13
base_model_card_field.py
in model_card_toolkit
104 10
graphics.py
in model_card_toolkit/utils
211 7
executor.py
in model_card_toolkit/tfx
47 4
setup.py
in root
92 3
model_card.py
in model_card_toolkit
177 3
source.py
in model_card_toolkit/utils
74 3
validation.py
in model_card_toolkit/utils
32 3
build_api_docs.py
in tools
42 2
json_util.py
in model_card_toolkit/utils
60 2
artifact.py
in model_card_toolkit/tfx
31 1
component.py
in model_card_toolkit/tfx
50 1
Files With Long Lines (Top 2)

There are 2 files with lines longer than 120 characters. In total, there are 14 long lines.

File# lines# units# long lines
default_template.md.jinja
in model_card_toolkit/template/md
87 - 9
default_template.html.jinja
in model_card_toolkit/template/html
229 - 5