apache / knox
Unit Size

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

Intro
Learn more...
Unit Size Overall
1% | 5% | 23% | 26% | 43%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
java1% | 5% | 23% | 25% | 43%
ts0% | 2% | 11% | 40% | 46%
js0% | 0% | 0% | 26% | 73%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
gateway-server2% | 6% | 22% | 28% | 40%
gateway-util-common10% | 6% | 15% | 26% | 40%
gateway-topology-simple22% | 9% | 11% | 11% | 45%
gateway-shell2% | 6% | 20% | 22% | 47%
gateway-discovery-ambari0% | 19% | 31% | 22% | 26%
gateway-provider-security-shiro0% | 27% | 21% | 14% | 36%
gateway-service-knoxtoken0% | 13% | 36% | 15% | 34%
gateway-service-knoxsso0% | 52% | 29% | 4% | 13%
gateway-provider-security-jwt0% | 10% | 44% | 21% | 22%
gateway-provider-rewrite0% | 3% | 32% | 30% | 34%
gateway-discovery-cm0% | 3% | 25% | 28% | 42%
gateway-provider-security-pac4j0% | 18% | 36% | 17% | 28%
gateway-provider-security-webappsec0% | 21% | 0% | 7% | 71%
gateway-admin-ui0% | 3% | 13% | 38% | 44%
gateway-spi0% | 1% | 19% | 21% | 57%
gateway-util-urltemplate0% | 0% | 34% | 20% | 45%
gateway-provider-ha0% | 0% | 32% | 29% | 38%
gateway-service-admin0% | 0% | 24% | 28% | 47%
gateway-provider-security-hadoopauth0% | 0% | 66% | 18% | 14%
gateway-provider-identity-assertion-common0% | 0% | 31% | 30% | 37%
gateway-provider-security-authz-path-acls0% | 0% | 60% | 21% | 18%
gateway-provider-security-authc-remote0% | 0% | 67% | 18% | 13%
gateway-service-nifi0% | 0% | 87% | 7% | 5%
gateway-util-configinjector0% | 0% | 29% | 38% | 32%
gateway-provider-rewrite-func-service-registry0% | 0% | 30% | 43% | 25%
gateway-topology-hadoop-xml0% | 0% | 28% | 41% | 30%
gateway-provider-security-authz-acls0% | 0% | 29% | 37% | 33%
gateway-demo-ldap0% | 0% | 73% | 0% | 26%
gateway-provider-rewrite-common0% | 0% | 10% | 17% | 72%
gateway-service-remoteconfig0% | 0% | 11% | 44% | 43%
gateway-util-launcher0% | 0% | 15% | 36% | 47%
gateway-service-metadata0% | 0% | 11% | 21% | 67%
gateway-provider-rewrite-step-secure-query0% | 0% | 22% | 24% | 53%
gateway-provider-security-preauth0% | 0% | 25% | 39% | 34%
gateway-i18n-logging-sl4j0% | 0% | 74% | 20% | 5%
gateway-service-rm0% | 0% | 21% | 31% | 47%
gateway-service-webhdfs0% | 0% | 23% | 24% | 52%
gateway-service-knoxssout0% | 0% | 34% | 18% | 46%
gateway-provider-security-clientcert0% | 0% | 29% | 55% | 15%
gateway-provider-security-authc-anon0% | 0% | 40% | 40% | 20%
knox-token-generation-ui0% | 0% | 13% | 55% | 31%
gateway-service-hashicorp-vault0% | 0% | 14% | 27% | 58%
gateway-provider-jersey0% | 0% | 61% | 0% | 38%
gateway-service-auth0% | 0% | 14% | 13% | 72%
gateway-provider-identity-assertion-switchcase0% | 0% | 51% | 26% | 21%
gateway-i18n0% | 0% | 0% | 56% | 43%
knox-token-management-ui0% | 0% | 0% | 47% | 52%
gateway-service-health0% | 0% | 0% | 64% | 35%
gateway-provider-rewrite-func-hostmap-static0% | 0% | 0% | 61% | 38%
gateway-server-xforwarded-filter0% | 0% | 0% | 32% | 67%
knox-homepage-ui0% | 0% | 0% | 25% | 74%
gateway-service-vault0% | 0% | 0% | 58% | 41%
gateway-provider-rewrite-step-encrypt-uri0% | 0% | 0% | 30% | 69%
gateway-provider-identity-assertion-regex0% | 0% | 0% | 80% | 19%
gateway-provider-identity-assertion-hadoop-groups0% | 0% | 0% | 47% | 52%
gateway-service-session0% | 0% | 0% | 27% | 72%
gateway-provider-security-authz-composite0% | 0% | 0% | 65% | 34%
gateway-spi-common0% | 0% | 0% | 2% | 97%
gateway-service-hbase0% | 0% | 0% | 59% | 40%
gateway-provider-identity-assertion-no-doas0% | 0% | 0% | 37% | 62%
gateway-applications0% | 0% | 0% | 29% | 70%
gateway-service-jkg0% | 0% | 0% | 50% | 50%
gateway-service-definitions0% | 0% | 0% | 5% | 94%
gateway-provider-rewrite-func-inbound-query-param0% | 0% | 0% | 58% | 41%
gateway-service-livy0% | 0% | 0% | 46% | 53%
knox-webshell-ui0% | 0% | 0% | 68% | 31%
gateway-service-as0% | 0% | 0% | 66% | 33%
gateway-service-tgs0% | 0% | 0% | 66% | 33%
gateway-service-hive0% | 0% | 0% | 25% | 74%
gateway-service-impala0% | 0% | 0% | 30% | 69%
gateway-i18n-logging-log4j0% | 0% | 0% | 55% | 45%
gateway-provider-identity-assertion-concat0% | 0% | 0% | 55% | 45%
gateway-adapter0% | 0% | 0% | 0% | 100%
gateway-provider-identity-assertion-pseudo0% | 0% | 0% | 0% | 100%
gateway-openapi-ui0% | 0% | 0% | 0% | 100%
gateway-service-storm0% | 0% | 0% | 0% | 100%
gateway-service-nifi-registry0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
354 141 1
184 45 10
144 9 4
105 29 1
104 14 1
98 25 3
95 18 0
93 24 0
92 16 1
86 20 1
86 2 0
86 16 2
85 12 5
85 18 1
84 20 1
84 8 0
83 20 1
81 20 1
81 24 5
74 32 2
72 15 1
70 9 0
69 12 0
67 17 3
64 8 0
63 12 5
62 12 1
61 15 3
60 13 1
59 15 4
59 10 1
59 9 1
58 19 0
58 17 2
57 14 2
56 14 0
55 11 4
55 6 4
54 15 3
54 14 4
53 13 2
52 14 3
52 7 1
51 13 0
51 13 0
49 12 2
49 10 3
49 8 3
49 10 1
48 11 5