Skip to content

Latest commit

 

History

History
2993 lines (2900 loc) · 63.6 KB

File metadata and controls

2993 lines (2900 loc) · 63.6 KB

Method Metrics


References

Effective Method Line Count

Table 1a - Effective method line count distribution

This table shows the distribution of the effective method line count per artifact. For each artifact the number of methods with effective line count = 1,2,3,... is shown to get an overview of how line counts are distributed over methods.

Only the 15 artifacts with the highest method count and their effective method line count distribution (limited by 40)is shown here. The whole table can be found in the CSV report Effective_Method_Line_Count_Distribution.

Have a look below to find out which packages and methods have the highest effective lines of code.

artifactName axon-messaging-5.0.1.jar axon-common-5.0.1.jar axon-server-connector-5.0.1.jar axon-eventsourcing-5.0.1.jar axon-test-5.0.1.jar axon-modelling-5.0.1.jar axon-spring-boot-autoconfigure-5.0.1.jar axon-conversion-5.0.1.jar axon-update-5.0.1.jar axon-metrics-micrometer-5.0.1.jar axon-tracing-opentelemetry-5.0.1.jar
effectiveLineCount
1 1937 350 266 302 203 175 173 101 88 34 11
2 502 139 143 74 69 56 77 20 10 17 4
3 423 88 77 57 32 30 16 12 6 15 10
4 189 39 43 54 37 36 6 8 10 6 7
5 146 36 34 28 4 23 9 9 8 2 2
6 86 36 14 19 14 18 6 7 8 4 3
7 69 14 9 15 8 9 5 5 2 4 2
8 66 17 15 4 7 9 2 5 2 5 0
9 41 11 11 11 7 13 2 4 4 1 1
10 26 6 7 6 2 3 1 1 2 0 0
11 19 7 2 5 3 2 0 2 0 0 0
12 7 7 3 4 7 4 1 0 1 0 1
13 10 5 2 4 3 5 1 1 3 3 0
14 6 5 2 2 3 1 0 0 2 0 0
15 5 1 1 2 1 1 0 1 0 1 0
16 7 2 1 1 3 1 0 2 1 0 0
17 3 3 2 1 0 2 1 1 2 0 0
18 1 1 1 0 2 2 0 0 1 0 0
19 3 0 0 1 0 0 0 1 0 0 0
20 2 0 1 1 2 0 0 0 0 0 0
21 1 0 2 1 1 1 0 0 2 0 0
22 3 0 0 0 0 0 0 0 0 0 0
23 1 0 0 0 1 0 1 0 0 0 0
24 0 1 0 0 0 0 0 0 1 0 0
25 2 0 0 0 0 0 0 0 0 0 0
26 1 1 0 0 1 0 0 0 0 0 0
27 1 0 0 1 0 0 0 0 0 0 0
28 0 0 1 0 0 0 0 0 0 0 0
29 0 0 0 0 0 0 1 1 0 0 0
30 1 0 1 1 0 0 0 1 0 0 0
31 0 0 0 0 1 0 0 0 0 0 0
36 1 0 0 0 0 0 0 0 0 0 0
40 0 0 0 1 0 0 0 0 0 0 0
41 0 0 0 0 0 0 0 0 1 0 0
42 0 0 1 0 0 0 0 0 0 0 0
45 0 0 0 0 1 0 0 0 0 0 0
77 1 0 0 0 0 0 0 0 0 0 0

Table 1b - Effective method line count distribution (normalized)

The table shown here only includes the first 40 rows which typically represents the most significant entries. Have a look below to find out which packages and methods have the highest effective lines of code.

artifactName axon-messaging-5.0.1.jar axon-common-5.0.1.jar axon-server-connector-5.0.1.jar axon-eventsourcing-5.0.1.jar axon-test-5.0.1.jar axon-modelling-5.0.1.jar axon-spring-boot-autoconfigure-5.0.1.jar axon-conversion-5.0.1.jar axon-update-5.0.1.jar axon-metrics-micrometer-5.0.1.jar axon-tracing-opentelemetry-5.0.1.jar
effectiveLineCount
1 54.410112 45.513654 41.627543 50.756303 49.271845 44.757033 57.284768 55.494505 57.142857 36.956522 26.829268
2 14.101124 18.075423 22.378717 12.436975 16.747573 14.322251 25.496689 10.989011 6.493506 18.478261 9.756098
3 11.882022 11.443433 12.050078 9.579832 7.766990 7.672634 5.298013 6.593407 3.896104 16.304348 24.390244
4 5.308989 5.071521 6.729264 9.075630 8.980583 9.207161 1.986755 4.395604 6.493506 6.521739 17.073171
5 4.101124 4.681404 5.320814 4.705882 0.970874 5.882353 2.980132 4.945055 5.194805 2.173913 4.878049
6 2.415730 4.681404 2.190923 3.193277 3.398058 4.603581 1.986755 3.846154 5.194805 4.347826 7.317073
7 1.938202 1.820546 1.408451 2.521008 1.941748 2.301790 1.655629 2.747253 1.298701 4.347826 4.878049
8 1.853933 2.210663 2.347418 0.672269 1.699029 2.301790 0.662252 2.747253 1.298701 5.434783 0.000000
9 1.151685 1.430429 1.721440 1.848739 1.699029 3.324808 0.662252 2.197802 2.597403 1.086957 2.439024
10 0.730337 0.780234 1.095462 1.008403 0.485437 0.767263 0.331126 0.549451 1.298701 0.000000 0.000000
11 0.533708 0.910273 0.312989 0.840336 0.728155 0.511509 0.000000 1.098901 0.000000 0.000000 0.000000
12 0.196629 0.910273 0.469484 0.672269 1.699029 1.023018 0.331126 0.000000 0.649351 0.000000 2.439024
13 0.280899 0.650195 0.312989 0.672269 0.728155 1.278772 0.331126 0.549451 1.948052 3.260870 0.000000
14 0.168539 0.650195 0.312989 0.336134 0.728155 0.255754 0.000000 0.000000 1.298701 0.000000 0.000000
15 0.140449 0.130039 0.156495 0.336134 0.242718 0.255754 0.000000 0.549451 0.000000 1.086957 0.000000
16 0.196629 0.260078 0.156495 0.168067 0.728155 0.255754 0.000000 1.098901 0.649351 0.000000 0.000000
17 0.084270 0.390117 0.312989 0.168067 0.000000 0.511509 0.331126 0.549451 1.298701 0.000000 0.000000
18 0.028090 0.130039 0.156495 0.000000 0.485437 0.511509 0.000000 0.000000 0.649351 0.000000 0.000000
19 0.084270 0.000000 0.000000 0.168067 0.000000 0.000000 0.000000 0.549451 0.000000 0.000000 0.000000
20 0.056180 0.000000 0.156495 0.168067 0.485437 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
21 0.028090 0.000000 0.312989 0.168067 0.242718 0.255754 0.000000 0.000000 1.298701 0.000000 0.000000
22 0.084270 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
23 0.028090 0.000000 0.000000 0.000000 0.242718 0.000000 0.331126 0.000000 0.000000 0.000000 0.000000
24 0.000000 0.130039 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.649351 0.000000 0.000000
25 0.056180 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
26 0.028090 0.130039 0.000000 0.000000 0.242718 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
27 0.028090 0.000000 0.000000 0.168067 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
28 0.000000 0.000000 0.156495 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
29 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.331126 0.549451 0.000000 0.000000 0.000000
30 0.028090 0.000000 0.156495 0.168067 0.000000 0.000000 0.000000 0.549451 0.000000 0.000000 0.000000
31 0.000000 0.000000 0.000000 0.000000 0.242718 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
36 0.028090 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
40 0.000000 0.000000 0.000000 0.168067 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
41 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.649351 0.000000 0.000000
42 0.000000 0.000000 0.156495 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
45 0.000000 0.000000 0.000000 0.000000 0.242718 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
77 0.028090 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000

Table 1b Chart 1 - Effective method line count distribution (normalized)

<Figure size 640x480 with 0 Axes>

png

Table 1c - Top 30 packages with highest effective line counts

The following table shows the top 30 packages with the highest effective lines of code. The whole table can be found in the CSV report Effective_lines_of_method_code_per_package.

artifactName fullPackageName linesInPackage methodCount maxLinesMethod maxLinesMethodName
0 axon-messaging-5.0.1 org.axonframework.messaging.eventhandling.proc... 1325 393 77 run
1 axon-messaging-5.0.1 org.axonframework.messaging.core 1119 531 16 process
2 axon-test-5.0.1 org.axonframework.test.fixture 719 202 45 appendEventOverview
3 axon-messaging-5.0.1 org.axonframework.messaging.core.annotation 702 235 23 <init>
4 axon-server-connector-5.0.1 org.axonframework.axonserver.connector 698 278 42 build
5 axon-common-5.0.1 org.axonframework.common.configuration 668 262 26 invokeLifecycleHandlers
6 axon-common-5.0.1 org.axonframework.common 608 182 24 getExactDirectSuperTypesOfParameterizedTypeOrC...
7 axon-eventsourcing-5.0.1 org.axonframework.eventsourcing.eventstore 591 232 19 createTagsForValue
8 axon-server-connector-5.0.1 org.axonframework.axonserver.connector.event 535 161 21 lambda$appendEvents$0
9 axon-eventsourcing-5.0.1 org.axonframework.eventsourcing.eventstore.jpa 455 138 20 withGapsCleaned
10 axon-messaging-5.0.1 org.axonframework.messaging.eventhandling.proc... 455 130 25 updateToken
11 axon-messaging-5.0.1 org.axonframework.messaging.queryhandling 381 172 14 handle
12 axon-messaging-5.0.1 org.axonframework.messaging.core.unitofwork 352 172 21 runNextPhase
13 axon-server-connector-5.0.1 org.axonframework.axonserver.connector.query 325 90 21 convertQueryMessage
14 axon-modelling-5.0.1 org.axonframework.modelling.entity.annotation 321 75 18 createOptionalChildForMember
15 axon-test-5.0.1 org.axonframework.test.matchers 318 101 21 matchingFields
16 axon-spring-boot-autoconfigure-5.0.1 org.axonframework.extension.springboot.autoconfig 307 131 29 buildConverter
17 axon-messaging-5.0.1 org.axonframework.messaging.eventhandling.proc... 297 115 12 advancedTo
18 axon-conversion-5.0.1 org.axonframework.conversion.avro 292 81 30 convert
19 axon-metrics-micrometer-5.0.1 org.axonframework.extension.metrics.micrometer 281 87 15 registerEventProcessor
20 axon-modelling-5.0.1 org.axonframework.modelling.entity 268 76 18 <init>
21 axon-messaging-5.0.1 org.axonframework.messaging.core.configuration 259 120 19 registerComponents
22 axon-spring-boot-autoconfigure-5.0.1 org.axonframework.extension.springboot 254 140 9 <init>
23 axon-messaging-5.0.1 org.axonframework.messaging.eventhandling.proc... 253 96 19 split
24 axon-common-5.0.1 org.axonframework.common.caching 234 85 13 lambda$computeIfPresent$4
25 axon-common-5.0.1 org.axonframework.common.infra 233 56 14 describeProperty
26 axon-messaging-5.0.1 org.axonframework.messaging.commandhandling 228 101 18 handle
27 axon-messaging-5.0.1 org.axonframework.messaging.eventhandling.proc... 224 50 22 storeToken
28 axon-messaging-5.0.1 org.axonframework.messaging.core.timeout 217 56 16 <init>
29 axon-messaging-5.0.1 org.axonframework.messaging.eventhandling 207 84 11 handle

Table 1d - Top 30 methods with the highest effective line count

The following table shows the top 30 methods with the highest effective lines of code. The whole table can be found in the CSV report Effective_lines_of_method_code_per_package.

index artifactName fullPackageName maxLinesMethodType maxLinesMethodName maxLinesMethod linesInPackage
0 0 axon-messaging-5.0.1 org.axonframework.messaging.eventhandling.proc... Coordinator$CoordinationTask run 77 1325
1 2 axon-test-5.0.1 org.axonframework.test.fixture Reporter appendEventOverview 45 719
2 4 axon-server-connector-5.0.1 org.axonframework.axonserver.connector AxonServerConnectionManager$Builder build 42 698
3 42 axon-update-5.0.1 org.axonframework.update.detection TestEnvironmentDetector isTestClass 41 163
4 30 axon-eventsourcing-5.0.1 org.axonframework.eventsourcing.annotation.ref... AnnotationBasedEventSourcedEntityFactory addEntityCreatorExecutable 40 197
5 18 axon-conversion-5.0.1 org.axonframework.conversion.avro AvroConverter convert 30 292
6 61 axon-eventsourcing-5.0.1 org.axonframework.eventsourcing.annotation AnnotationBasedEventCriteriaResolver$WrappedEv... <init> 30 97
7 65 axon-conversion-5.0.1 org.axonframework.conversion.json JacksonConverter convert 29 86
8 16 axon-spring-boot-autoconfigure-5.0.1 org.axonframework.extension.springboot.autoconfig ConverterAutoConfiguration buildConverter 29 307
9 5 axon-common-5.0.1 org.axonframework.common.configuration DefaultAxonApplication$AxonConfigurationImpl invokeLifecycleHandlers 26 668
10 10 axon-messaging-5.0.1 org.axonframework.messaging.eventhandling.proc... JdbcTokenStore updateToken 25 455
11 6 axon-common-5.0.1 org.axonframework.common TypeReflectionUtils getExactDirectSuperTypesOfParameterizedTypeOrC... 24 608
12 82 axon-spring-boot-autoconfigure-5.0.1 org.axonframework.extension.springboot.util AbstractQualifiedBeanCondition getMatchOutcome 23 46
13 3 axon-messaging-5.0.1 org.axonframework.messaging.core.annotation MethodInvokingMessageHandlingMember <init> 23 702
14 27 axon-messaging-5.0.1 org.axonframework.messaging.eventhandling.proc... JpaTokenStore storeToken 22 224
15 54 axon-modelling-5.0.1 org.axonframework.modelling.annotation AnnotationBasedEntityEvolvingComponent evolve 21 120
16 47 axon-update-5.0.1 org.axonframework.update.api UpdateCheckResponse fromRequest 21 143
17 39 axon-update-5.0.1 org.axonframework.update UpdateCheckerHttpClient sendRequest 21 169
18 15 axon-test-5.0.1 org.axonframework.test.matchers DeepEqualsMatcher matchingFields 21 318
19 8 axon-server-connector-5.0.1 org.axonframework.axonserver.connector.event AggregateBasedAxonServerEventStorageEngine lambda$appendEvents$0 21 535
20 13 axon-server-connector-5.0.1 org.axonframework.axonserver.connector.query QueryConverter convertQueryMessage 21 325
21 12 axon-messaging-5.0.1 org.axonframework.messaging.core.unitofwork UnitOfWork$UnitOfWorkProcessingContext runNextPhase 21 352
22 34 axon-server-connector-5.0.1 org.axonframework.axonserver.connector.command CommandConverter convertResultMessage 20 186
23 33 axon-test-5.0.1 org.axonframework.test.server AxonServerContainerUtils createContext 20 195
24 9 axon-eventsourcing-5.0.1 org.axonframework.eventsourcing.eventstore.jpa GapAwareTrackingTokenOperations withGapsCleaned 20 455
25 21 axon-messaging-5.0.1 org.axonframework.messaging.core.configuration MessagingConfigurationDefaults registerComponents 19 259
26 23 axon-messaging-5.0.1 org.axonframework.messaging.eventhandling.proc... TrackerStatus split 19 253
27 7 axon-eventsourcing-5.0.1 org.axonframework.eventsourcing.eventstore AnnotationBasedTagResolver createTagsForValue 19 591
28 20 axon-modelling-5.0.1 org.axonframework.modelling.entity ConcreteEntityMetamodel <init> 18 268
29 14 axon-modelling-5.0.1 org.axonframework.modelling.entity.annotation AnnotatedEntityMetamodel createOptionalChildForMember 18 321

Cyclomatic Complexity

Table 2a - Cyclomatic method complexity distribution

This table shows the distribution of the cyclomatic complexity of methods per artifact. For each artifact the number of methods with the cyclomatic complexity = 1,2,3,... is shown to get an overview of how cyclomatic complexity is distributed over methods.

Only the 15 artifacts with the highest method count sum and their cyclomatic method complexity distribution (limited by 40) is shown here. The whole table can be found in the CSV report Cyclomatic_Method_Complexity_Distribution.

Have a look below to find out which packages and methods have the highest effective lines of code.

artifactName axon-messaging-5.0.1.jar axon-common-5.0.1.jar axon-server-connector-5.0.1.jar axon-eventsourcing-5.0.1.jar axon-test-5.0.1.jar axon-modelling-5.0.1.jar axon-spring-boot-autoconfigure-5.0.1.jar axon-conversion-5.0.1.jar axon-update-5.0.1.jar axon-metrics-micrometer-5.0.1.jar axon-tracing-opentelemetry-5.0.1.jar
cyclomaticComplexity
1 2938 538 536 455 312 311 277 137 119 86 30
2 316 89 57 63 40 27 12 14 16 3 8
3 147 74 25 36 32 23 7 8 5 1 2
4 86 31 7 17 7 16 2 11 1 0 1
5 29 10 5 8 9 7 1 2 3 0 0
6 27 7 5 6 5 5 0 3 4 2 0
7 9 6 1 4 2 1 1 2 2 0 0
8 3 8 0 4 2 1 0 1 0 0 0
9 1 3 2 0 1 0 2 1 1 0 0
10 0 1 0 0 0 0 0 1 0 0 0
11 1 1 0 1 1 0 0 0 1 0 0
12 0 1 1 0 1 0 0 0 0 0 0
13 1 0 0 1 0 0 0 0 0 0 0
17 0 0 0 0 0 0 0 1 1 0 0
21 0 0 0 0 0 0 0 1 0 0 0
23 1 0 0 0 0 0 0 0 0 0 0
41 0 0 0 0 0 0 0 0 1 0 0
58 1 0 0 0 0 0 0 0 0 0 0

Table 2b - Cyclomatic method complexity distribution (normalized)

The table shown here only includes the first 40 rows which typically represents the most significant entries. Have a look below to find out which packages and methods have the highest effective lines of code.

artifactName axon-messaging-5.0.1.jar axon-common-5.0.1.jar axon-server-connector-5.0.1.jar axon-eventsourcing-5.0.1.jar axon-test-5.0.1.jar axon-modelling-5.0.1.jar axon-spring-boot-autoconfigure-5.0.1.jar axon-conversion-5.0.1.jar axon-update-5.0.1.jar axon-metrics-micrometer-5.0.1.jar axon-tracing-opentelemetry-5.0.1.jar
cyclomaticComplexity
1 82.528090 69.960988 83.881064 76.470588 75.728155 79.539642 91.721854 75.274725 77.272727 93.478261 73.170732
2 8.876404 11.573472 8.920188 10.588235 9.708738 6.905371 3.973510 7.692308 10.389610 3.260870 19.512195
3 4.129213 9.622887 3.912363 6.050420 7.766990 5.882353 2.317881 4.395604 3.246753 1.086957 4.878049
4 2.415730 4.031209 1.095462 2.857143 1.699029 4.092072 0.662252 6.043956 0.649351 0.000000 2.439024
5 0.814607 1.300390 0.782473 1.344538 2.184466 1.790281 0.331126 1.098901 1.948052 0.000000 0.000000
6 0.758427 0.910273 0.782473 1.008403 1.213592 1.278772 0.000000 1.648352 2.597403 2.173913 0.000000
7 0.252809 0.780234 0.156495 0.672269 0.485437 0.255754 0.331126 1.098901 1.298701 0.000000 0.000000
8 0.084270 1.040312 0.000000 0.672269 0.485437 0.255754 0.000000 0.549451 0.000000 0.000000 0.000000
9 0.028090 0.390117 0.312989 0.000000 0.242718 0.000000 0.662252 0.549451 0.649351 0.000000 0.000000
10 0.000000 0.130039 0.000000 0.000000 0.000000 0.000000 0.000000 0.549451 0.000000 0.000000 0.000000
11 0.028090 0.130039 0.000000 0.168067 0.242718 0.000000 0.000000 0.000000 0.649351 0.000000 0.000000
12 0.000000 0.130039 0.156495 0.000000 0.242718 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
13 0.028090 0.000000 0.000000 0.168067 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
17 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.549451 0.649351 0.000000 0.000000
21 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.549451 0.000000 0.000000 0.000000
23 0.028090 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
41 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.649351 0.000000 0.000000
58 0.028090 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000

Table 2b Chart 1 - Cyclomatic method complexity distribution (normalized)

<Figure size 640x480 with 0 Axes>

png

Table 2c - Top 30 packages with highest cyclomatic complexity

The following table shows the top 30 packages with the highest cyclomatic complexity. The whole table can be found in the CSV report Effective_lines_of_method_code_per_package.

artifactName fullPackageName complexityInPackage methodCount maxComplexity maxComplexityMethod
1 axon-messaging-5.0.1 org.axonframework.messaging.core 731 531 9 process
0 axon-messaging-5.0.1 org.axonframework.messaging.eventhandling.proc... 539 393 23 run
6 axon-common-5.0.1 org.axonframework.common 383 182 9 doConstructionWithOptionalArgument
3 axon-messaging-5.0.1 org.axonframework.messaging.core.annotation 371 235 13 resolveToStream
7 axon-eventsourcing-5.0.1 org.axonframework.eventsourcing.eventstore 371 232 8 from
5 axon-common-5.0.1 org.axonframework.common.configuration 358 262 8 hasComponent
4 axon-server-connector-5.0.1 org.axonframework.axonserver.connector 357 278 12 build
2 axon-test-5.0.1 org.axonframework.test.fixture 318 202 11 appendEventOverview
12 axon-messaging-5.0.1 org.axonframework.messaging.core.unitofwork 228 172 6 runNextPhase
17 axon-messaging-5.0.1 org.axonframework.messaging.eventhandling.proc... 217 115 7 covers
11 axon-messaging-5.0.1 org.axonframework.messaging.queryhandling 216 172 4 query
8 axon-server-connector-5.0.1 org.axonframework.axonserver.connector.event 215 161 4 mergeSegment
9 axon-eventsourcing-5.0.1 org.axonframework.eventsourcing.eventstore.jpa 212 138 8 loadKeyViolationCodes
10 axon-messaging-5.0.1 org.axonframework.messaging.eventhandling.proc... 196 130 8 updateToken
16 axon-spring-boot-autoconfigure-5.0.1 org.axonframework.extension.springboot.autoconfig 175 131 9 registerHandlerInterceptors
15 axon-test-5.0.1 org.axonframework.test.matchers 173 101 8 matchesList
18 axon-conversion-5.0.1 org.axonframework.conversion.avro 159 81 21 convert
23 axon-messaging-5.0.1 org.axonframework.messaging.eventhandling.proc... 149 96 8 equals
24 axon-common-5.0.1 org.axonframework.common.caching 147 85 8 onEvent
22 axon-spring-boot-autoconfigure-5.0.1 org.axonframework.extension.springboot 143 140 2 processorMode
40 axon-messaging-5.0.1 org.axonframework.messaging.eventhandling.anno... 143 59 58 parseParameter
21 axon-messaging-5.0.1 org.axonframework.messaging.core.configuration 132 120 4 lambda$registerDecorators$10
14 axon-modelling-5.0.1 org.axonframework.modelling.entity.annotation 130 75 6 createChildEntityMatcher
13 axon-server-connector-5.0.1 org.axonframework.axonserver.connector.query 127 90 6 sendResponses
26 axon-messaging-5.0.1 org.axonframework.messaging.commandhandling 120 101 4 subscribe
43 axon-messaging-5.0.1 org.axonframework.messaging.eventstreaming 119 92 4 or
20 axon-modelling-5.0.1 org.axonframework.modelling.entity 119 76 7 handleInstance
29 axon-messaging-5.0.1 org.axonframework.messaging.eventhandling 104 84 4 andMetadata
19 axon-metrics-micrometer-5.0.1 org.axonframework.extension.metrics.micrometer 99 87 6 registerComponentWithDefaultTags
27 axon-messaging-5.0.1 org.axonframework.messaging.eventhandling.proc... 98 50 6 equals

Table 2d - Top 30 methods with highest cyclomatic complexity

The following table shows the top 30 packages containing the methods with the highest cyclomatic complexity. The whole table can be found in the CSV report Effective_lines_of_method_code_per_package.

index artifactName fullPackageName maxComplexityType maxComplexityMethod maxComplexity
0 40 axon-messaging-5.0.1 org.axonframework.messaging.eventhandling.anno... MethodSequencingPolicyEventHandlerDefinition$S... parseParameter 58
1 42 axon-update-5.0.1 org.axonframework.update.detection TestEnvironmentDetector isTestClass 41
2 0 axon-messaging-5.0.1 org.axonframework.messaging.eventhandling.proc... Coordinator$CoordinationTask run 23
3 18 axon-conversion-5.0.1 org.axonframework.conversion.avro AvroConverter convert 21
4 47 axon-update-5.0.1 org.axonframework.update.api UpdateCheckResponse fromRequest 17
5 65 axon-conversion-5.0.1 org.axonframework.conversion.json JacksonConverter convert 17
6 3 axon-messaging-5.0.1 org.axonframework.messaging.core.annotation MessageStreamResolverUtils resolveToStream 13
7 30 axon-eventsourcing-5.0.1 org.axonframework.eventsourcing.annotation.ref... AnnotationBasedEventSourcedEntityFactory addEntityCreatorExecutable 13
8 51 axon-common-5.0.1 org.axonframework.common.jdbc ConnectionWrapperFactory lambda$wrap$0 12
9 4 axon-server-connector-5.0.1 org.axonframework.axonserver.connector AxonServerConnectionManager$Builder build 12
10 33 axon-test-5.0.1 org.axonframework.test.server AxonServerContainer equals 12
11 2 axon-test-5.0.1 org.axonframework.test.fixture Reporter appendEventOverview 11
12 61 axon-eventsourcing-5.0.1 org.axonframework.eventsourcing.annotation AnnotationBasedEventCriteriaResolver$WrappedEv... <init> 11
13 53 axon-common-5.0.1 org.axonframework.common.lock PessimisticLockFactory$DisposableLock lock 10
14 16 axon-spring-boot-autoconfigure-5.0.1 org.axonframework.extension.springboot.autoconfig InterceptorAutoConfiguration registerHandlerInterceptors 9
15 6 axon-common-5.0.1 org.axonframework.common ConstructorUtils doConstructionWithOptionalArgument 9
16 1 axon-messaging-5.0.1 org.axonframework.messaging.core MessageStreamUtils$Reducer process 9
17 10 axon-messaging-5.0.1 org.axonframework.messaging.eventhandling.proc... JdbcTokenStore updateToken 8
18 68 axon-common-5.0.1 org.axonframework.common.annotation AnnotationUtils collectAttributes 8
19 9 axon-eventsourcing-5.0.1 org.axonframework.eventsourcing.eventstore.jpa SQLErrorCodesResolver loadKeyViolationCodes 8
20 7 axon-eventsourcing-5.0.1 org.axonframework.eventsourcing.eventstore AggregateBasedConsistencyMarker from 8
21 36 axon-modelling-5.0.1 org.axonframework.modelling.entity.child FieldChildEntityFieldDefinition evolveParentBasedOnChildInput 8
22 5 axon-common-5.0.1 org.axonframework.common.configuration DefaultComponentRegistry hasComponent 8
23 23 axon-messaging-5.0.1 org.axonframework.messaging.eventhandling.proc... TrackerStatus equals 8
24 24 axon-common-5.0.1 org.axonframework.common.caching EhCacheAdapter$CacheEventListenerAdapter onEvent 8
25 15 axon-test-5.0.1 org.axonframework.test.matchers SequenceMatcher matchesList 8
26 20 axon-modelling-5.0.1 org.axonframework.modelling.entity ConcreteEntityMetamodel handleInstance 7
27 52 axon-messaging-5.0.1 org.axonframework.messaging.commandhandling.an... MethodCommandHandlerDefinition$MethodCommandHa... <init> 7
28 25 axon-common-5.0.1 org.axonframework.common.infra FilesystemStyleComponentDescriptor$TreeRenderer renderProperty 7
29 17 axon-messaging-5.0.1 org.axonframework.messaging.eventhandling.proc... GapAwareTrackingToken covers 7