| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 31 | ****** |
| McCabe's Cyclomatic Number | MVG | 2 | ****** |
| Lines of Comment | COM | 13 | ******** |
| LOC/COM | L_C | 2.385 | |
| MVG/COM | M_C | ------ | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 6 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
| Depth of Inheritance Tree | DIT | 1 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 9 | |
| Information Flow measure ( inclusive ) | IF4 | 400 | ******** |
| Information Flow measure ( visible ) | IF4v | 400 | ******** |
| Information Flow measure ( concrete ) | IF4c | 0 | ******** |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
definition
F:\winstone-src-0.9.10\src\java\winstone\AuthenticationPrincipal.java:20 |
6 | 0 | 7 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| AuthenticationPrincipal( String, String, List ) definition F:\winstone-src-0.9.10\src\java\winstone\AuthenticationPrincipal.java:29 | 5 | 0 | 3 | ------ | ------ |
| getAuthType( ) definition F:\winstone-src-0.9.10\src\java\winstone\AuthenticationPrincipal.java:43 | 3 | 0 | 0 | ------ | ------ |
| getName( ) definition F:\winstone-src-0.9.10\src\java\winstone\AuthenticationPrincipal.java:35 | 3 | 0 | 0 | ------ | ------ |
| getPassword( ) definition F:\winstone-src-0.9.10\src\java\winstone\AuthenticationPrincipal.java:39 | 3 | 0 | 0 | ------ | ------ |
| isUserIsInRole( String ) definition F:\winstone-src-0.9.10\src\java\winstone\AuthenticationPrincipal.java:54 | 8 | 2 | 3 | ------ | ------ |
| setAuthType( String ) definition F:\winstone-src-0.9.10\src\java\winstone\AuthenticationPrincipal.java:47 | 3 | 0 | 0 | ------ | ------ |