GerritCodeReview / plugins_owners
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 46 files with 2,024 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (208 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (572 lines of code)
    • 41 very small files (1,244 lines of code)
0% | 0% | 10% | 28% | 61%
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
java0% | 0% | 11% | 32% | 55%
bzl0% | 0% | 0% | 0% | 100%
pl0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
owners-autoassign/src0% | 0% | 46% | 27% | 25%
owners-common/src0% | 0% | 0% | 52% | 47%
owners/src0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
tools/bzl0% | 0% | 0% | 0% | 100%
owners-common0% | 0% | 0% | 0% | 100%
owners-api/src0% | 0% | 0% | 0% | 100%
plugins/owners-api0% | 0% | 0% | 0% | 100%
lib/prolog0% | 0% | 0% | 0% | 100%
tools0% | 0% | 0% | 0% | 100%
Longest Files (Top 46)
File# lines# units
GitRefListener.java
in owners-autoassign/src/main/java/com/googlesource/gerrit/owners/common
208 9
PathOwners.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
195 9
AccountsImpl.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
151 10
ReviewerManager.java
in owners-autoassign/src/main/java/com/googlesource/gerrit/owners/common
123 3
ConfigurationParser.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
103 10
gerrit_owners.pl
in owners/src/main/prolog
99 -
PathOwnersEntry.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
93 15
external_plugin_deps.bzl
in root
84 -
PRED_matcher_owner_2.java
in owners/src/main/java/gerrit_owners
81 5
PRED_owner_2.java
in owners/src/main/java/gerrit_owners
78 5
OwnersMap.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
75 12
PRED_file_owners_2.java
in owners/src/main/java/gerrit_owners
70 4
PRED_matcher_path_1.java
in owners/src/main/java/gerrit_owners
65 5
PRED_owner_path_1.java
in owners/src/main/java/gerrit_owners
65 5
Matcher.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
49 10
OwnersConfig.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
45 9
JgitWrapper.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
44 3
AutoassignConfig.java
in owners-autoassign/src/main/java/com/googlesource/gerrit/owners/common
32 3
OwnersStoredValues.java
in owners/src/main/java/com/googlesource/gerrit/owners
31 2
AutoassignConfigModule.java
in owners-autoassign/src/main/java/com/googlesource/gerrit/owners/common
30 1
AutoassignModule.java
in owners-autoassign/src/main/java/com/googlesource/gerrit/owners/common
28 3
external_plugin_deps_standalone.bzl
in root
27 -
RegExMatcher.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
20 3
PartialRegExMatcher.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
20 3
common.bzl
in owners-common
17 -
ExactMatcher.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
17 3
SuffixMatcher.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
17 3
OwnerPredicateProvider.java
in owners/src/main/java/com/googlesource/gerrit/owners
17 2
bazlets.bzl
in root
16 -
ReviewerManagerException.java
in owners-autoassign/src/main/java/com/googlesource/gerrit/owners/common
13 3
OwnersModule.java
in owners/src/main/java/com/googlesource/gerrit/owners
12 1
DefaultAddAllOwnersToAttentionSet.java
in owners-autoassign/src/main/java/com/googlesource/gerrit/owners/common
11 1
plugin.bzl
in tools/bzl
11 -
StreamUtils.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
10 1
OwnersApiModule.java
in owners-api/src/main/java/com/googlesource/gerrit/owners/api
9 1
Accounts.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
9 -
OwnersApiModule.java
in plugins/owners-api/src/main/java/com/googlesource/gerrit/owners/api
9 1
OwnersAttentionSet.java
in owners-api/src/main/java/com/googlesource/gerrit/owners/api
7 -
OptionalUtils.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
7 1
OwnersAttentionSet.java
in plugins/owners-api/src/main/java/com/googlesource/gerrit/owners/api
7 -
classpath.bzl
in tools/bzl
5 -
junit.bzl
in tools/bzl
5 -
maven_jar.bzl
in tools/bzl
3 -
prolog.bzl
in lib/prolog
2 -
genrule2.bzl
in tools
2 -
CompileStub.java
in owners/src/main/java/com/googlesource/gerrit/owners
2 -
Files With Most Units (Top 20)
File# lines# units
PathOwnersEntry.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
93 15
OwnersMap.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
75 12
ConfigurationParser.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
103 10
AccountsImpl.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
151 10
Matcher.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
49 10
PathOwners.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
195 9
OwnersConfig.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
45 9
GitRefListener.java
in owners-autoassign/src/main/java/com/googlesource/gerrit/owners/common
208 9
PRED_matcher_path_1.java
in owners/src/main/java/gerrit_owners
65 5
PRED_matcher_owner_2.java
in owners/src/main/java/gerrit_owners
81 5
PRED_owner_path_1.java
in owners/src/main/java/gerrit_owners
65 5
PRED_owner_2.java
in owners/src/main/java/gerrit_owners
78 5
PRED_file_owners_2.java
in owners/src/main/java/gerrit_owners
70 4
RegExMatcher.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
20 3
JgitWrapper.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
44 3
PartialRegExMatcher.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
20 3
ExactMatcher.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
17 3
SuffixMatcher.java
in owners-common/src/main/java/com/googlesource/gerrit/owners/common
17 3
AutoassignModule.java
in owners-autoassign/src/main/java/com/googlesource/gerrit/owners/common
28 3
ReviewerManager.java
in owners-autoassign/src/main/java/com/googlesource/gerrit/owners/common
123 3
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