apache / cordova-lib
File Size

The distribution of size of files (measured in lines of code).

Intro
Learn more...
File Size Overall
0% | 0% | 30% | 26% | 42%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
js0% | 0% | 36% | 31% | 32%
xml0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
java0% | 0% | 0% | 0% | 100%
m0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 42% | 27% | 29%
spec0% | 0% | 0% | 26% | 73%
templates0% | 0% | 0% | 0% | 100%
Longest Files (Top 45)
File# lines# units
install.js
in src/plugman
423 18
uninstall.js
in src/plugman
220 9
fetch.js
in src/plugman
198 5
helpers.js
in spec
129 11
HooksRunner.js
in src/hooks
120 10
init-defaults.js
in src/plugman
101 3
platform.js
in src/plugman
87 4
index.css
in spec/cordova/fixtures/basePkgJson/www/css
83 -
scriptsFinder.js
in src/hooks
60 5
dependencies.js
in src/plugman/util
57 3
55 3
index.js
in src/platforms
40 2
create.js
in src/plugman
38 -
spec.html
in spec/cordova/fixtures/basePkgJson/www
37 -
config.xml
in spec/cordova/fixtures/projects/ProjectMetadata
32 -
metadata.js
in src/plugman/util
30 4
default-engines.js
in src/plugman/util
29 1
Context.js
in src/hooks
25 1
index.html
in spec/cordova/fixtures/basePkgJson/www
24 -
plugin.xml
in spec/plugman/plugins/com.adobe.vars
24 -
base.java
in templates/platforms/android
24 2
variable-merge.js
in src/plugman
23 1
createpackagejson.js
in src/plugman
23 1
common.js
in spec
19 3
base.m
in templates/platforms/ios
18 -
helper.js
in spec
15 -
config.xml
in spec/cordova/fixtures/basePkgJson
14 -
plugman.js
in src/plugman
14 -
plugin.xml
in spec/plugman/plugins/com.cordova.engine
12 -
plugin.xml
in spec/plugman/plugins/com.cordova.engine-android
11 -
android.xml
in templates/platforms/android
10 -
platforms.js
in src/platforms
10 -
promise-util.js
in src/util
10 1
plugin.xml
in spec/cordova/fixtures/plugins/fake1
9 -
plugin.xml
in spec/plugman/plugins/recursivePlug
8 -
ios.xml
in templates/platforms/ios
8 -
plugin.xml
in spec/cordova/fixtures/plugins/com.plugin.withhooks
7 -
base.js
in templates/platforms/windows
7 1
windows.xml
in templates/platforms/windows
5 -
strip-license.js
in src/plugman/util
5 1
beforeBuild.js
in spec/cordova/fixtures/plugins/com.plugin.withhooks/scripts
4 1
androidBeforeBuild.js
in spec/cordova/fixtures/plugins/com.plugin.withhooks/scripts/android
4 1
windowsBeforeBuild.js
in spec/cordova/fixtures/plugins/com.plugin.withhooks/scripts/windows
4 1
base.js
in templates
4 1
platform_operation.js
in src/plugman
4 1
Files With Most Units (Top 26)
File# lines# units
install.js
in src/plugman
423 18
helpers.js
in spec
129 11
HooksRunner.js
in src/hooks
120 10
uninstall.js
in src/plugman
220 9
scriptsFinder.js
in src/hooks
60 5
fetch.js
in src/plugman
198 5
metadata.js
in src/plugman/util
30 4
platform.js
in src/plugman
87 4
55 3
common.js
in spec
19 3
dependencies.js
in src/plugman/util
57 3
init-defaults.js
in src/plugman
101 3
base.java
in templates/platforms/android
24 2
index.js
in src/platforms
40 2
beforeBuild.js
in spec/cordova/fixtures/plugins/com.plugin.withhooks/scripts
4 1
androidBeforeBuild.js
in spec/cordova/fixtures/plugins/com.plugin.withhooks/scripts/android
4 1
windowsBeforeBuild.js
in spec/cordova/fixtures/plugins/com.plugin.withhooks/scripts/windows
4 1
base.js
in templates/platforms/windows
7 1
base.js
in templates
4 1
promise-util.js
in src/util
10 1
Context.js
in src/hooks
25 1
strip-license.js
in src/plugman/util
5 1
default-engines.js
in src/plugman/util
29 1
platform_operation.js
in src/plugman
4 1
variable-merge.js
in src/plugman
23 1
createpackagejson.js
in src/plugman
23 1
Files With Long Lines (Top 10)

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

File# lines# units# long lines
install.js
in src/plugman
423 18 17
fetch.js
in src/plugman
198 5 4
uninstall.js
in src/plugman
220 9 4
scriptsFinder.js
in src/hooks
60 5 2
dependencies.js
in src/plugman/util
57 3 2
config.xml
in spec/cordova/fixtures/projects/ProjectMetadata
32 - 1
config.xml
in spec/cordova/fixtures/basePkgJson
14 - 1
index.html
in spec/cordova/fixtures/basePkgJson/www
24 - 1
HooksRunner.js
in src/hooks
120 10 1
create.js
in src/plugman
38 - 1
Correlations

File Size vs. Commits (all time): 45 points

spec/helpers.js x: 22 commits (all time) y: 129 lines of code src/hooks/scriptsFinder.js x: 7 commits (all time) y: 60 lines of code src/plugman/fetch.js x: 25 commits (all time) y: 198 lines of code src/plugman/install.js x: 30 commits (all time) y: 423 lines of code src/plugman/uninstall.js x: 22 commits (all time) y: 220 lines of code src/plugman/util/dependencies.js x: 9 commits (all time) y: 57 lines of code spec/common.js x: 9 commits (all time) y: 19 lines of code src/hooks/HooksRunner.js x: 22 commits (all time) y: 120 lines of code src/platforms/index.js x: 2 commits (all time) y: 40 lines of code src/plugman/create.js x: 12 commits (all time) y: 38 lines of code src/plugman/createpackagejson.js x: 12 commits (all time) y: 23 lines of code src/plugman/init-defaults.js x: 20 commits (all time) y: 101 lines of code src/plugman/platform.js x: 12 commits (all time) y: 87 lines of code src/plugman/platform_operation.js x: 4 commits (all time) y: 4 lines of code src/plugman/plugman.js x: 18 commits (all time) y: 14 lines of code src/plugman/util/default-engines.js x: 7 commits (all time) y: 29 lines of code src/plugman/util/metadata.js x: 7 commits (all time) y: 30 lines of code src/plugman/variable-merge.js x: 3 commits (all time) y: 23 lines of code templates/base.js x: 3 commits (all time) y: 4 lines of code spec/fixture-helper.js x: 5 commits (all time) y: 55 lines of code spec/helper.js x: 19 commits (all time) y: 15 lines of code src/hooks/Context.js x: 14 commits (all time) y: 25 lines of code src/util/promise-util.js x: 6 commits (all time) y: 10 lines of code src/platforms/platforms.js x: 9 commits (all time) y: 10 lines of code src/plugman/util/strip-license.js x: 4 commits (all time) y: 5 lines of code spec/cordova/fixtures/projects/ProjectMetadata/config.xml x: 1 commits (all time) y: 32 lines of code spec/cordova/fixtures/basePkgJson/config.xml x: 1 commits (all time) y: 14 lines of code spec/cordova/fixtures/basePkgJson/www/css/index.css x: 1 commits (all time) y: 83 lines of code spec/cordova/fixtures/basePkgJson/www/index.html x: 1 commits (all time) y: 24 lines of code spec/cordova/fixtures/basePkgJson/www/spec.html x: 1 commits (all time) y: 37 lines of code spec/cordova/fixtures/plugins/com.plugin.withhooks/plugin.xml x: 1 commits (all time) y: 7 lines of code spec/cordova/fixtures/plugins/com.plugin.withhooks/scripts/android/androidBeforeBuild.js x: 1 commits (all time) y: 4 lines of code spec/cordova/fixtures/plugins/fake1/plugin.xml x: 1 commits (all time) y: 9 lines of code spec/plugman/plugins/com.cordova.engine-android/plugin.xml x: 1 commits (all time) y: 11 lines of code spec/plugman/plugins/com.cordova.engine/plugin.xml x: 1 commits (all time) y: 12 lines of code templates/platforms/ios/base.m x: 1 commits (all time) y: 18 lines of code templates/platforms/windows/windows.xml x: 1 commits (all time) y: 5 lines of code
423.0
lines of code
  min: 4.0
  average: 46.31
  25th percentile: 8.5
  median: 23.0
  75th percentile: 47.5
  max: 423.0
0 30.0
commits (all time)
min: 1.0 | average: 7.18 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 12.0 | max: 30.0

File Size vs. Contributors (all time): 45 points

spec/helpers.js x: 8 contributors (all time) y: 129 lines of code src/hooks/scriptsFinder.js x: 5 contributors (all time) y: 60 lines of code src/plugman/fetch.js x: 9 contributors (all time) y: 198 lines of code src/plugman/install.js x: 8 contributors (all time) y: 423 lines of code src/plugman/uninstall.js x: 7 contributors (all time) y: 220 lines of code src/plugman/util/dependencies.js x: 5 contributors (all time) y: 57 lines of code spec/common.js x: 7 contributors (all time) y: 19 lines of code src/hooks/HooksRunner.js x: 6 contributors (all time) y: 120 lines of code src/platforms/index.js x: 2 contributors (all time) y: 40 lines of code src/plugman/create.js x: 6 contributors (all time) y: 38 lines of code src/plugman/createpackagejson.js x: 5 contributors (all time) y: 23 lines of code src/plugman/init-defaults.js x: 6 contributors (all time) y: 101 lines of code src/plugman/platform.js x: 6 contributors (all time) y: 87 lines of code src/plugman/platform_operation.js x: 3 contributors (all time) y: 4 lines of code src/plugman/plugman.js x: 7 contributors (all time) y: 14 lines of code src/plugman/util/default-engines.js x: 5 contributors (all time) y: 29 lines of code src/plugman/util/metadata.js x: 5 contributors (all time) y: 30 lines of code src/plugman/variable-merge.js x: 3 contributors (all time) y: 23 lines of code spec/fixture-helper.js x: 2 contributors (all time) y: 55 lines of code spec/helper.js x: 4 contributors (all time) y: 15 lines of code src/hooks/Context.js x: 4 contributors (all time) y: 25 lines of code src/util/promise-util.js x: 4 contributors (all time) y: 10 lines of code src/platforms/platforms.js x: 6 contributors (all time) y: 10 lines of code src/plugman/util/strip-license.js x: 3 contributors (all time) y: 5 lines of code spec/cordova/fixtures/projects/ProjectMetadata/config.xml x: 1 contributors (all time) y: 32 lines of code spec/cordova/fixtures/basePkgJson/config.xml x: 1 contributors (all time) y: 14 lines of code spec/cordova/fixtures/basePkgJson/www/css/index.css x: 1 contributors (all time) y: 83 lines of code spec/cordova/fixtures/basePkgJson/www/index.html x: 1 contributors (all time) y: 24 lines of code spec/cordova/fixtures/basePkgJson/www/spec.html x: 1 contributors (all time) y: 37 lines of code spec/cordova/fixtures/plugins/com.plugin.withhooks/plugin.xml x: 1 contributors (all time) y: 7 lines of code spec/cordova/fixtures/plugins/com.plugin.withhooks/scripts/android/androidBeforeBuild.js x: 1 contributors (all time) y: 4 lines of code spec/cordova/fixtures/plugins/fake1/plugin.xml x: 1 contributors (all time) y: 9 lines of code spec/plugman/plugins/com.cordova.engine-android/plugin.xml x: 1 contributors (all time) y: 11 lines of code spec/plugman/plugins/com.cordova.engine/plugin.xml x: 1 contributors (all time) y: 12 lines of code templates/platforms/ios/base.m x: 1 contributors (all time) y: 18 lines of code templates/platforms/windows/windows.xml x: 1 contributors (all time) y: 5 lines of code
423.0
lines of code
  min: 4.0
  average: 46.31
  25th percentile: 8.5
  median: 23.0
  75th percentile: 47.5
  max: 423.0
0 9.0
contributors (all time)
min: 1.0 | average: 3.31 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 5.5 | max: 9.0

File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 0 points

No data for "commits (90d)" vs. "lines of code".

File Size vs. Contributors (90 days): 0 points

No data for "contributors (90d)" vs. "lines of code".