angular / protractor
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 276 files with 12,283 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (636 lines of code)
    • 9 medium size files (2,709 lines of codeclsfd_ftr_w_mp_ins)
    • 24 small files (3,228 lines of code)
    • 242 very small files (5,710 lines of code)
0% | 5% | 22% | 26% | 46%
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% | 9% | 15% | 22% | 53%
ts0% | 0% | 39% | 28% | 31%
html0% | 0% | 0% | 34% | 65%
less0% | 0% | 0% | 100% | 0%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib0% | 14% | 37% | 24% | 24%
spec0% | 0% | 22% | 21% | 56%
website0% | 0% | 15% | 54% | 29%
scripts0% | 0% | 0% | 86% | 13%
testapp0% | 0% | 0% | 5% | 94%
debugging0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
stress0% | 0% | 0% | 0% | 100%
exampleTypescript0% | 0% | 0% | 0% | 100%
example0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
clientsidescripts.js
in lib
636 34
elements_spec.js
in spec/basic
464 -
browser.ts
in lib
442 21
element.ts
in lib
316 11
add-links-spec.js
in website/docgen/spec
298 11
locators_spec.js
in spec/basic
294 -
runner.ts
in lib
270 7
locators.ts
in lib
212 14
launcher.ts
in lib
207 -
cli.ts
in lib
206 1
plugins.ts
in lib
196 9
logger.ts
in lib
190 6
api-controller.js
in website/js
185 13
expected_conditions_spec.js
in spec/basic
184 -
api.html
in website/partials
159 -
gulpfile.js
in website
153 2
protractor.less
in website/css
153 -
home.html
in website/partials
151 -
configParser.ts
in lib
142 10
test.js
in scripts
140 -
element_spec.ts
in spec/ts/basic
140 3
add-links.js
in website/docgen/processors
123 8
driverProviderAttachSession.js
in scripts
120 -
driverProviderTest.js
in spec
120 -
expectedConditions.ts
in lib
119 16
routes.js
in website/js
111 -
taskScheduler.ts
in lib
109 7
index.ts
in lib/driverProviders
107 -
async.component.js
in testapp/ng2/app/async
107 10
local.ts
in lib/driverProviders
106 2
seleniumWebdriver_spec.js
in spec/dependencyTest
105 20
config.ts
in lib
104 -
interaction_spec.js
in spec/interaction
103 6
lib_spec.js
in spec/basic
101 1
taskRunner.ts
in lib
99 1
mockmodule_spec.js
in spec/basic
94 -
form.html
in testapp/ng1/form
92 -
jasmine.js
in lib/frameworks
91 5
index.html
in website
88 -
direct.ts
in lib/driverProviders
87 3
gulpfile.js
in root
82 -
async.component.ts
in testapp/ng2/app/async
77 1
driverProvider.ts
in lib/driverProviders
75 9
exitCodes.ts
in lib
74 6
web-server.js
in testapp/scripts
71 4
directives.js
in website/js
70 7
util.ts
in lib
66 5
tag-fixer.js
in website/docgen/processors
64 6
async_spec.js
in spec/hybrid
61 -
synchronize_spec.js
in spec/basic
61 -
Files With Most Units (Top 20)
File# lines# units
clientsidescripts.js
in lib
636 34
browser.ts
in lib
442 21
seleniumWebdriver_spec.js
in spec/dependencyTest
105 20
expectedConditions.ts
in lib
119 16
locators.ts
in lib
212 14
api-controller.js
in website/js
185 13
async.js
in testapp/ng1/async
59 13
add-links-spec.js
in website/docgen/spec
298 11
element.ts
in lib
316 11
configParser.ts
in lib
142 10
async.component.js
in testapp/ng2/app/async
107 10
timeout_spec.js
in debugging
40 9
failure_spec.js
in debugging
38 9
driverProvider.ts
in lib/driverProviders
75 9
plugins.ts
in lib
196 9
add-links.js
in website/docgen/processors
123 8
interaction.js
in testapp/ng1/interaction
39 8
transfer-see-spec.js
in website/docgen/spec
43 7
directives.js
in website/js
70 7
runner.ts
in lib
270 7
Files With Long Lines (Top 19)

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

File# lines# units# long lines
ng2.ngfactory.js
in testapp/upgrade/app/downgrade
60 2 11
async.component.js
in testapp/ng2/app/async
107 10 3
app.component.js
in testapp/ng2/app
24 1 3
app.module.js
in testapp/ng2/app
37 1 3
home.component.js
in testapp/ng2/app/home
23 1 3
upgrader.js
in testapp/upgrade/app/no_static
32 1 3
ng2.js
in testapp/upgrade/app
31 3 3
ng1.js
in testapp/upgrade/app
48 5 3
module.js
in testapp/upgrade/app
45 1 3
systemjs.config.js
in testapp/upgrade
37 1 2
index.html
in website
88 - 1
prettify.css
in website/css
1 - 1
index.ts
in lib
40 4 1
index.html
in testapp/ng2
26 - 1
system-config.js
in testapp/ng2
32 1 1
shadow.html
in testapp/ng1/shadow
42 - 1
index.html
in testapp/upgrade
37 - 1
ng2.js
in testapp/upgrade/app/downgrade
49 4 1
ng1.js
in testapp/upgrade/app/downgrade
16 3 1