fbsamples / fbinstant-samples
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 18 files with 1,146 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (557 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (144 lines of code)
    • 16 very small files (445 lines of code)
0% | 48% | 0% | 12% | 38%
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
js0% | 53% | 0% | 13% | 33%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
common/js/mock0% | 100% | 0% | 0% | 0%
server-examples/nodejs-backend0% | 0% | 0% | 84% | 15%
tasks0% | 0% | 0% | 0% | 100%
server-examples/nodejs-bot0% | 0% | 0% | 0% | 100%
common/css0% | 0% | 0% | 0% | 100%
common/css/mock0% | 0% | 0% | 0% | 100%
common/js0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 18)
File# lines# units
fbinstant.6.2.mock.js
in common/js/mock
557 57
matches.js
in server-examples/nodejs-backend
144 10
bot.js
in server-examples/nodejs-bot
87 5
upload.js
in tasks
73 4
style.css
in common/css
70 -
mock.css
in common/css/mock
29 -
display.js
in common/js
22 4
archive.js
in tasks
21 1
gulpfile.js
in root
21 1
run-dist.js
in tasks
20 1
replace-sdk.js
in tasks
17 1
run-mock.js
in tasks
16 1
db.js
in server-examples/nodejs-backend
13 1
index.js
in server-examples/nodejs-backend
13 -
make.js
in tasks
12 1
index.js
in server-examples/nodejs-bot
12 -
common.js
in tasks
11 1
clean.js
in tasks
8 1
Files With Most Units (Top 14)
File# lines# units
fbinstant.6.2.mock.js
in common/js/mock
557 57
matches.js
in server-examples/nodejs-backend
144 10
bot.js
in server-examples/nodejs-bot
87 5
upload.js
in tasks
73 4
display.js
in common/js
22 4
run-mock.js
in tasks
16 1
replace-sdk.js
in tasks
17 1
run-dist.js
in tasks
20 1
clean.js
in tasks
8 1
common.js
in tasks
11 1
make.js
in tasks
12 1
archive.js
in tasks
21 1
db.js
in server-examples/nodejs-backend
13 1
gulpfile.js
in root
21 1
Files With Long Lines (Top 0)

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

File# lines# units# long lines