microsoft / python-sample-tweeterapp
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 33 files with 894 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 codeclsfd_ftr_w_mp_ins)
    • 0 small files (0 lines of code)
    • 33 very small files (894 lines of code)
0% | 0% | 0% | 0% | 100%
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% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
tweeter/src/components0% | 0% | 0% | 0% | 100%
tweeter3/settings0% | 0% | 0% | 0% | 100%
tweeter0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
tweeter/migrations0% | 0% | 0% | 0% | 100%
tweeter30% | 0% | 0% | 0% | 100%
tweeter/templates/tweeter0% | 0% | 0% | 0% | 100%
tweeter/templates/registration0% | 0% | 0% | 0% | 100%
tweeter/templates0% | 0% | 0% | 0% | 100%
tweeter/src0% | 0% | 0% | 0% | 100%
Longest Files (Top 33)
File# lines# units
Tweets.js
in tweeter/src/components
99 7
Tweets.css
in tweeter/src/components
98 -
create_db.py
in scripts
78 -
base.py
in tweeter3/settings
63 -
App.js
in tweeter/src/components
58 2
App.css
in tweeter/src/components
47 -
production.py
in tweeter3/settings
46 -
views.py
in tweeter
44 4
Auth.js
in tweeter/src/components
35 -
tests.py
in tweeter
33 3
DataProvider.js
in tweeter/src/components
32 2
psql.py
in scripts
29 -
serializers.py
in tweeter
27 1
azure-ci-pipeline.yml
in root
26 -
azure-deploy-pipeline.yml
in root
23 -
0001_initial.py
in tweeter/migrations
22 -
manage.py
in root
20 -
devcontainer.py
in tweeter3/settings
19 -
urls.py
in tweeter3
18 -
index.html
in tweeter/templates/tweeter
15 -
permissions.py
in tweeter
12 2
development.py
in tweeter3/settings
11 -
login.html
in tweeter/templates/registration
9 -
signup.html
in tweeter/templates
9 -
models.py
in tweeter
8 -
wsgi.py
in tweeter3
4 -
apps.py
in tweeter
3 -
__init__.py
in tweeter
1 -
admin.py
in tweeter
1 -
__init__.py
in tweeter/migrations
1 -
index.js
in tweeter/src
1 -
__init__.py
in tweeter3
1 -
__init__.py
in tweeter3/settings
1 -
Files With Most Units (Top 7)
File# lines# units
Tweets.js
in tweeter/src/components
99 7
views.py
in tweeter
44 4
tests.py
in tweeter
33 3
permissions.py
in tweeter
12 2
App.js
in tweeter/src/components
58 2
DataProvider.js
in tweeter/src/components
32 2
serializers.py
in tweeter
27 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
Auth.js
in tweeter/src/components
35 - 5
azure-deploy-pipeline.yml
in root
23 - 1
App.js
in tweeter/src/components
58 2 1