microsoft / checkedc-lnt
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 132 files with 17,714 lines of code.
    • 3 very long files (3,610 lines of code)
    • 3 long files (1,951 lines of code)
    • 19 medium size files (5,623 lines of codeclsfd_ftr_w_mp_ins)
    • 28 small files (3,793 lines of code)
    • 79 very small files (2,737 lines of code)
20% | 11% | 31% | 21% | 15%
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
js50% | 16% | 15% | 15% | 3%
py13% | 6% | 34% | 24% | 19%
cpp0% | 100% | 0% | 0% | 0%
html0% | 0% | 59% | 20% | 20%
css0% | 0% | 0% | 64% | 35%
TXT0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lnt/server/ui32% | 7% | 30% | 19% | 9%
lnt/server/db0% | 30% | 10% | 29% | 29%
lnt/testing/profile0% | 49% | 34% | 8% | 6%
lnt/server/reporting0% | 0% | 99% | 0% | <1%
lnt/lnttool0% | 0% | 48% | 12% | 38%
lnt/testing/util0% | 0% | 37% | 26% | 35%
lnt/util0% | 0% | 0% | 68% | 31%
lnt/server0% | 0% | 0% | 75% | 24%
lnt/testing0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 0% | 100%
lnt/formats0% | 0% | 0% | 0% | 100%
lnt0% | 0% | 0% | 0% | 100%
deployment0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
lnt_profile.js
in lnt/server/ui/static
1240 102
excanvas.js
in lnt/server/ui/static/flot
1192 66
views.py
in lnt/server/ui
1178 37
View2D.js
in lnt/server/ui/static
785 76
testsuitedb.py
in lnt/server/db
595 15
cPerf.cpp
in lnt/testing/profile
571 22
main.py
in lnt/lnttool
407 11
v4_run.html
in lnt/server/ui/templates
399 -
profilev2impl.py
in lnt/testing/profile
394 74
lnt_graph.js
in lnt/server/ui/static
393 23
regression_views.py
in lnt/server/ui
376 15
sorttable.js
in lnt/server/ui/static
354 25
summaryreport.py
in lnt/server/reporting
324 24
analysis.py
in lnt/server/reporting
277 18
v4_new_regressions.html
in lnt/server/ui/templates
275 -
daily_report.html
in lnt/server/ui/templates/reporting
265 -
v4_graph.html
in lnt/server/ui/templates
265 -
layout.html
in lnt/server/ui/templates
258 -
v4_regression_detail.html
in lnt/server/ui/templates
251 -
util.py
in lnt/server/ui
250 40
dailyreport.py
in lnt/server/reporting
245 11
v4_summary_report.html
in lnt/server/ui/templates
245 -
compilers.py
in lnt/testing/util
227 5
upgrade_0_to_1.py
in lnt/server/db/migrations
213 6
runs.py
in lnt/server/reporting
205 2
ImportData.py
in lnt/util
196 2
runs.html
in lnt/server/ui/templates/reporting
185 -
order_aggregate_ui.js
in lnt/server/ui/static
184 12
api.py
in lnt/server/ui
180 10
json2.js
in lnt/server/ui/static
166 7
profile_views.py
in lnt/server/ui
161 7
machineinfo.py
in lnt/testing/util
159 2
lnt_run.js
in lnt/server/ui/static
149 16
style.css
in lnt/server/ui/static
145 -
stats.py
in lnt/util
144 9
v4_global_status.html
in lnt/server/ui/templates
141 -
app.py
in lnt/server/ui
138 14
v4_order.html
in lnt/server/ui/templates
131 -
v4db.py
in lnt/server/db
130 18
config.py
in lnt/server
127 12
popup.js
in lnt/server/ui/static
124 6
__init__.py
in lnt/testing
122 15
lnt_profile.css
in lnt/server/ui/static
121 -
migrate.py
in lnt/server/db
119 6
testsuite.py
in lnt/server/db
115 15
v4_profile.html
in lnt/server/ui/templates
111 -
fieldchange.py
in lnt/server/db
110 4
utils.html
in lnt/server/ui/templates
110 -
async_ops.py
in lnt/util
108 8
create.py
in lnt/lnttool
107 1
Files With Most Units (Top 20)
File# lines# units
lnt_profile.js
in lnt/server/ui/static
1240 102
View2D.js
in lnt/server/ui/static
785 76
profilev2impl.py
in lnt/testing/profile
394 74
excanvas.js
in lnt/server/ui/static/flot
1192 66
util.py
in lnt/server/ui
250 40
views.py
in lnt/server/ui
1178 37
sorttable.js
in lnt/server/ui/static
354 25
summaryreport.py
in lnt/server/reporting
324 24
lnt_graph.js
in lnt/server/ui/static
393 23
cPerf.cpp
in lnt/testing/profile
571 22
profile.py
in lnt/testing/profile
102 21
v4db.py
in lnt/server/db
130 18
analysis.py
in lnt/server/reporting
277 18
lnt_run.js
in lnt/server/ui/static
149 16
testsuite.py
in lnt/server/db
115 15
testsuitedb.py
in lnt/server/db
595 15
regression_views.py
in lnt/server/ui
376 15
__init__.py
in lnt/testing
122 15
app.py
in lnt/server/ui
138 14
v4_global_status.js
in lnt/server/ui/static
107 13
Files With Long Lines (Top 17)

There are 17 files with lines longer than 120 characters. In total, there are 48 long lines.

File# lines# units# long lines
v4_run.html
in lnt/server/ui/templates
399 - 9
v4_regression_detail.html
in lnt/server/ui/templates
251 - 6
layout.html
in lnt/server/ui/templates
258 - 4
v4_regression_list.html
in lnt/server/ui/templates
86 - 4
lnt_profile.js
in lnt/server/ui/static
1240 102 3
runs.html
in lnt/server/ui/templates/reporting
185 - 3
utils.html
in lnt/server/ui/templates
110 - 3
v4_new_regressions.html
in lnt/server/ui/templates
275 - 3
api.py
in lnt/server/ui
180 10 2
v4_global_status.js
in lnt/server/ui/static
107 13 2
v4_global_status.html
in lnt/server/ui/templates
141 - 2
v4_graph.html
in lnt/server/ui/templates
265 - 2
View2D.js
in lnt/server/ui/static
785 76 1
json2.js
in lnt/server/ui/static
166 7 1
v4_machine.html
in lnt/server/ui/templates
100 - 1
v4_recent_activity.html
in lnt/server/ui/templates
62 - 1
views.py
in lnt/server/ui
1178 37 1