Skip to content

Latest commit

 

History

History
3021 lines (2928 loc) · 63.9 KB

File metadata and controls

3021 lines (2928 loc) · 63.9 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.3.jar axon-common-5.0.3.jar axon-server-connector-5.0.3.jar axon-eventsourcing-5.0.3.jar axon-test-5.0.3.jar axon-modelling-5.0.3.jar axon-spring-boot-autoconfigure-5.0.3.jar axon-conversion-5.0.3.jar axon-update-5.0.3.jar axon-metrics-micrometer-5.0.3.jar axon-tracing-opentelemetry-5.0.3.jar
effectiveLineCount
1 1933 369 266 301 212 162 186 116 88 46 11
2 524 145 143 75 73 54 74 22 10 18 4
3 424 97 77 58 36 28 16 16 6 20 10
4 191 38 44 53 40 35 6 8 10 8 7
5 159 36 33 31 6 22 8 10 8 2 2
6 93 36 15 16 15 17 8 7 8 4 3
7 76 15 9 14 9 9 5 4 2 3 2
8 68 18 15 6 8 11 2 6 2 4 0
9 39 11 11 10 8 12 1 4 4 1 1
10 26 7 7 7 5 2 1 1 2 1 0
11 20 6 2 5 4 1 0 2 0 0 0
12 6 7 3 3 9 4 1 0 1 0 1
13 10 5 2 4 2 4 1 1 3 0 0
14 6 5 2 3 1 1 0 0 2 0 0
15 6 1 1 1 3 1 0 1 0 1 0
16 6 2 1 1 3 1 0 2 1 0 0
17 4 3 2 1 0 1 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 3 0 1 1 2 0 0 0 0 0 0
21 1 0 2 1 1 1 0 0 2 0 0
22 2 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 0 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 0 2 0 0 0
30 0 0 1 1 0 0 0 1 0 0 0
31 2 0 0 0 1 0 0 0 0 0 0
36 1 0 0 0 0 0 0 0 0 0 0
38 0 0 0 0 0 0 1 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
111 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.3.jar axon-common-5.0.3.jar axon-server-connector-5.0.3.jar axon-eventsourcing-5.0.3.jar axon-test-5.0.3.jar axon-modelling-5.0.3.jar axon-spring-boot-autoconfigure-5.0.3.jar axon-conversion-5.0.3.jar axon-update-5.0.3.jar axon-metrics-micrometer-5.0.3.jar axon-tracing-opentelemetry-5.0.3.jar
effectiveLineCount
1 53.560543 45.895522 41.56250 50.588235 47.855530 44.021739 59.615385 56.585366 57.142857 42.592593 26.829268
2 14.519257 18.034826 22.34375 12.605042 16.478555 14.673913 23.717949 10.731707 6.493506 16.666667 9.756098
3 11.748407 12.064677 12.03125 9.747899 8.126411 7.608696 5.128205 7.804878 3.896104 18.518519 24.390244
4 5.292325 4.726368 6.87500 8.907563 9.029345 9.510870 1.923077 3.902439 6.493506 7.407407 17.073171
5 4.405653 4.477612 5.15625 5.210084 1.354402 5.978261 2.564103 4.878049 5.194805 1.851852 4.878049
6 2.576891 4.477612 2.34375 2.689076 3.386005 4.619565 2.564103 3.414634 5.194805 3.703704 7.317073
7 2.105846 1.865672 1.40625 2.352941 2.031603 2.445652 1.602564 1.951220 1.298701 2.777778 4.878049
8 1.884178 2.238806 2.34375 1.008403 1.805869 2.989130 0.641026 2.926829 1.298701 3.703704 0.000000
9 1.080632 1.368159 1.71875 1.680672 1.805869 3.260870 0.320513 1.951220 2.597403 0.925926 2.439024
10 0.720421 0.870647 1.09375 1.176471 1.128668 0.543478 0.320513 0.487805 1.298701 0.925926 0.000000
11 0.554170 0.746269 0.31250 0.840336 0.902935 0.271739 0.000000 0.975610 0.000000 0.000000 0.000000
12 0.166251 0.870647 0.46875 0.504202 2.031603 1.086957 0.320513 0.000000 0.649351 0.000000 2.439024
13 0.277085 0.621891 0.31250 0.672269 0.451467 1.086957 0.320513 0.487805 1.948052 0.000000 0.000000
14 0.166251 0.621891 0.31250 0.504202 0.225734 0.271739 0.000000 0.000000 1.298701 0.000000 0.000000
15 0.166251 0.124378 0.15625 0.168067 0.677201 0.271739 0.000000 0.487805 0.000000 0.925926 0.000000
16 0.166251 0.248756 0.15625 0.168067 0.677201 0.271739 0.000000 0.975610 0.649351 0.000000 0.000000
17 0.110834 0.373134 0.31250 0.168067 0.000000 0.271739 0.320513 0.487805 1.298701 0.000000 0.000000
18 0.027709 0.124378 0.15625 0.000000 0.451467 0.543478 0.000000 0.000000 0.649351 0.000000 0.000000
19 0.083126 0.000000 0.00000 0.168067 0.000000 0.000000 0.000000 0.487805 0.000000 0.000000 0.000000
20 0.083126 0.000000 0.15625 0.168067 0.451467 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
21 0.027709 0.000000 0.31250 0.168067 0.225734 0.271739 0.000000 0.000000 1.298701 0.000000 0.000000
22 0.055417 0.000000 0.00000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
23 0.027709 0.000000 0.00000 0.000000 0.225734 0.000000 0.320513 0.000000 0.000000 0.000000 0.000000
24 0.000000 0.124378 0.00000 0.000000 0.000000 0.000000 0.000000 0.000000 0.649351 0.000000 0.000000
25 0.055417 0.000000 0.00000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
26 0.000000 0.124378 0.00000 0.000000 0.225734 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
27 0.027709 0.000000 0.00000 0.168067 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
28 0.000000 0.000000 0.15625 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
29 0.000000 0.000000 0.00000 0.000000 0.000000 0.000000 0.000000 0.975610 0.000000 0.000000 0.000000
30 0.000000 0.000000 0.15625 0.168067 0.000000 0.000000 0.000000 0.487805 0.000000 0.000000 0.000000
31 0.055417 0.000000 0.00000 0.000000 0.225734 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
36 0.027709 0.000000 0.00000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
38 0.000000 0.000000 0.00000 0.000000 0.000000 0.000000 0.320513 0.000000 0.000000 0.000000 0.000000
40 0.000000 0.000000 0.00000 0.168067 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
41 0.000000 0.000000 0.00000 0.000000 0.000000 0.000000 0.000000 0.000000 0.649351 0.000000 0.000000
42 0.000000 0.000000 0.15625 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
45 0.000000 0.000000 0.00000 0.000000 0.225734 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
111 0.027709 0.000000 0.00000 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.3 org.axonframework.messaging.eventhandling.proc... 1409 397 111 run
1 axon-messaging-5.0.3 org.axonframework.messaging.core 1119 531 16 process
2 axon-test-5.0.3 org.axonframework.test.fixture 752 211 45 appendEventOverview
3 axon-common-5.0.3 org.axonframework.common.configuration 710 288 26 invokeLifecycleHandlers
4 axon-messaging-5.0.3 org.axonframework.messaging.core.annotation 702 235 23 <init>
5 axon-server-connector-5.0.3 org.axonframework.axonserver.connector 698 278 42 build
6 axon-common-5.0.3 org.axonframework.common 614 183 24 getExactDirectSuperTypesOfParameterizedTypeOrC...
7 axon-eventsourcing-5.0.3 org.axonframework.eventsourcing.eventstore 605 234 19 createTagsForValue
8 axon-server-connector-5.0.3 org.axonframework.axonserver.connector.event 540 162 21 lambda$appendEvents$0
9 axon-messaging-5.0.3 org.axonframework.messaging.eventhandling.proc... 436 109 25 updateToken
10 axon-eventsourcing-5.0.3 org.axonframework.eventsourcing.eventstore.jpa 434 136 20 withGapsCleaned
11 axon-messaging-5.0.3 org.axonframework.messaging.queryhandling 381 172 14 handle
12 axon-messaging-5.0.3 org.axonframework.messaging.core.unitofwork 375 186 21 runNextPhase
13 axon-spring-boot-autoconfigure-5.0.3 org.axonframework.extension.springboot.autoconfig 327 145 38 buildConverter
14 axon-server-connector-5.0.3 org.axonframework.axonserver.connector.query 325 90 21 convertQueryMessage
15 axon-messaging-5.0.3 org.axonframework.messaging.eventhandling.proc... 319 121 11 unwrap
16 axon-test-5.0.3 org.axonframework.test.matchers 318 101 21 matchingFields
17 axon-modelling-5.0.3 org.axonframework.modelling.entity.annotation 307 73 18 createOptionalChildForMember
18 axon-conversion-5.0.3 org.axonframework.conversion.avro 285 80 30 convert
19 axon-modelling-5.0.3 org.axonframework.modelling.entity 268 76 18 <init>
20 axon-messaging-5.0.3 org.axonframework.messaging.core.configuration 256 116 20 registerComponents
21 axon-messaging-5.0.3 org.axonframework.messaging.eventhandling.proc... 253 94 19 split
22 axon-metrics-micrometer-5.0.3 org.axonframework.extension.metrics.micrometer 252 88 15 constructEventProcessorMonitors
23 axon-spring-boot-autoconfigure-5.0.3 org.axonframework.extension.springboot 248 136 9 <init>
24 axon-common-5.0.3 org.axonframework.common.caching 234 85 13 computeIfAbsent
25 axon-common-5.0.3 org.axonframework.common.infra 233 56 14 describeProperty
26 axon-messaging-5.0.3 org.axonframework.messaging.core.interception 217 93 14 convert
27 axon-messaging-5.0.3 org.axonframework.messaging.core.timeout 217 56 16 <init>
28 axon-messaging-5.0.3 org.axonframework.messaging.commandhandling 216 100 18 handle
29 axon-messaging-5.0.3 org.axonframework.messaging.eventhandling.proc... 215 64 19 lambda$storeToken$1

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.3 org.axonframework.messaging.eventhandling.proc... Coordinator$CoordinationTask run 111 1409
1 2 axon-test-5.0.3 org.axonframework.test.fixture Reporter appendEventOverview 45 752
2 5 axon-server-connector-5.0.3 org.axonframework.axonserver.connector AxonServerConnectionManager$Builder build 42 698
3 42 axon-update-5.0.3 org.axonframework.update.detection TestEnvironmentDetector isTestClass 41 163
4 33 axon-eventsourcing-5.0.3 org.axonframework.eventsourcing.annotation.ref... AnnotationBasedEventSourcedEntityFactory addEntityCreatorExecutable 40 197
5 13 axon-spring-boot-autoconfigure-5.0.3 org.axonframework.extension.springboot.autoconfig ConverterAutoConfiguration buildConverter 38 327
6 61 axon-eventsourcing-5.0.3 org.axonframework.eventsourcing.annotation AnnotationBasedEventCriteriaResolver$WrappedEv... <init> 30 97
7 18 axon-conversion-5.0.3 org.axonframework.conversion.avro AvroConverter convert 30 285
8 67 axon-conversion-5.0.3 org.axonframework.conversion.jackson JacksonConverter convert 29 80
9 68 axon-conversion-5.0.3 org.axonframework.conversion.jackson2 Jackson2Converter convert 29 80
10 3 axon-common-5.0.3 org.axonframework.common.configuration DefaultAxonApplication$AxonConfigurationImpl invokeLifecycleHandlers 26 710
11 9 axon-messaging-5.0.3 org.axonframework.messaging.eventhandling.proc... JdbcTokenStore updateToken 25 436
12 6 axon-common-5.0.3 org.axonframework.common TypeReflectionUtils getExactDirectSuperTypesOfParameterizedTypeOrC... 24 614
13 86 axon-spring-boot-autoconfigure-5.0.3 org.axonframework.extension.springboot.util AbstractQualifiedBeanCondition getMatchOutcome 23 46
14 4 axon-messaging-5.0.3 org.axonframework.messaging.core.annotation MethodInvokingMessageHandlingMember <init> 23 702
15 40 axon-update-5.0.3 org.axonframework.update UpdateCheckerHttpClient sendRequest 21 169
16 53 axon-modelling-5.0.3 org.axonframework.modelling.annotation AnnotationBasedEntityEvolvingComponent evolve 21 120
17 14 axon-server-connector-5.0.3 org.axonframework.axonserver.connector.query QueryConverter convertQueryMessage 21 325
18 16 axon-test-5.0.3 org.axonframework.test.matchers DeepEqualsMatcher matchingFields 21 318
19 12 axon-messaging-5.0.3 org.axonframework.messaging.core.unitofwork UnitOfWork$UnitOfWorkProcessingContext runNextPhase 21 375
20 8 axon-server-connector-5.0.3 org.axonframework.axonserver.connector.event AggregateBasedAxonServerEventStorageEngine lambda$appendEvents$0 21 540
21 46 axon-update-5.0.3 org.axonframework.update.api UpdateCheckResponse fromRequest 21 143
22 35 axon-server-connector-5.0.3 org.axonframework.axonserver.connector.command CommandConverter convertResultMessage 20 186
23 20 axon-messaging-5.0.3 org.axonframework.messaging.core.configuration MessagingConfigurationDefaults registerComponents 20 256
24 10 axon-eventsourcing-5.0.3 org.axonframework.eventsourcing.eventstore.jpa GapAwareTrackingTokenOperations withGapsCleaned 20 434
25 32 axon-test-5.0.3 org.axonframework.test.server AxonServerContainerUtils createContext 20 199
26 21 axon-messaging-5.0.3 org.axonframework.messaging.eventhandling.proc... TrackerStatus split 19 253
27 29 axon-messaging-5.0.3 org.axonframework.messaging.eventhandling.proc... JpaTokenStore lambda$storeToken$1 19 215
28 7 axon-eventsourcing-5.0.3 org.axonframework.eventsourcing.eventstore AnnotationBasedTagResolver createTagsForValue 19 605
29 19 axon-modelling-5.0.3 org.axonframework.modelling.entity ConcreteEntityMetamodel <init> 18 268

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.3.jar axon-common-5.0.3.jar axon-server-connector-5.0.3.jar axon-eventsourcing-5.0.3.jar axon-test-5.0.3.jar axon-modelling-5.0.3.jar axon-spring-boot-autoconfigure-5.0.3.jar axon-conversion-5.0.3.jar axon-update-5.0.3.jar axon-metrics-micrometer-5.0.3.jar axon-tracing-opentelemetry-5.0.3.jar
cyclomaticComplexity
1 2968 566 536 457 331 291 288 158 119 96 30
2 312 95 57 59 41 26 11 14 16 10 8
3 160 75 26 37 36 21 7 9 5 2 2
4 85 30 7 18 11 18 2 13 1 0 1
5 33 10 5 8 8 7 0 2 3 0 0
6 34 8 5 6 6 3 1 2 4 0 0
7 9 6 1 4 3 1 1 2 2 0 0
8 3 8 0 4 4 1 0 1 0 0 0
9 1 3 2 0 1 0 1 1 1 0 0
10 0 1 0 0 0 0 0 0 0 0 0
11 1 1 0 1 1 0 1 0 1 0 0
12 0 1 1 0 0 0 0 0 0 0 0
13 1 0 0 1 1 0 0 0 0 0 0
17 0 0 0 0 0 0 0 2 1 0 0
21 0 0 0 0 0 0 0 1 0 0 0
25 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.3.jar axon-common-5.0.3.jar axon-server-connector-5.0.3.jar axon-eventsourcing-5.0.3.jar axon-test-5.0.3.jar axon-modelling-5.0.3.jar axon-spring-boot-autoconfigure-5.0.3.jar axon-conversion-5.0.3.jar axon-update-5.0.3.jar axon-metrics-micrometer-5.0.3.jar axon-tracing-opentelemetry-5.0.3.jar
cyclomaticComplexity
1 82.238847 70.398010 83.75000 76.806723 74.717833 79.076087 92.307692 77.073171 77.272727 88.888889 73.170732
2 8.645054 11.815920 8.90625 9.915966 9.255079 7.065217 3.525641 6.829268 10.389610 9.259259 19.512195
3 4.433361 9.328358 4.06250 6.218487 8.126411 5.706522 2.243590 4.390244 3.246753 1.851852 4.878049
4 2.355223 3.731343 1.09375 3.025210 2.483070 4.891304 0.641026 6.341463 0.649351 0.000000 2.439024
5 0.914381 1.243781 0.78125 1.344538 1.805869 1.902174 0.000000 0.975610 1.948052 0.000000 0.000000
6 0.942089 0.995025 0.78125 1.008403 1.354402 0.815217 0.320513 0.975610 2.597403 0.000000 0.000000
7 0.249377 0.746269 0.15625 0.672269 0.677201 0.271739 0.320513 0.975610 1.298701 0.000000 0.000000
8 0.083126 0.995025 0.00000 0.672269 0.902935 0.271739 0.000000 0.487805 0.000000 0.000000 0.000000
9 0.027709 0.373134 0.31250 0.000000 0.225734 0.000000 0.320513 0.487805 0.649351 0.000000 0.000000
10 0.000000 0.124378 0.00000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
11 0.027709 0.124378 0.00000 0.168067 0.225734 0.000000 0.320513 0.000000 0.649351 0.000000 0.000000
12 0.000000 0.124378 0.15625 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
13 0.027709 0.000000 0.00000 0.168067 0.225734 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
17 0.000000 0.000000 0.00000 0.000000 0.000000 0.000000 0.000000 0.975610 0.649351 0.000000 0.000000
21 0.000000 0.000000 0.00000 0.000000 0.000000 0.000000 0.000000 0.487805 0.000000 0.000000 0.000000
25 0.027709 0.000000 0.00000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
41 0.000000 0.000000 0.00000 0.000000 0.000000 0.000000 0.000000 0.000000 0.649351 0.000000 0.000000
58 0.027709 0.000000 0.00000 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.3 org.axonframework.messaging.core 731 531 9 process
0 axon-messaging-5.0.3 org.axonframework.messaging.eventhandling.proc... 548 397 25 run
6 axon-common-5.0.3 org.axonframework.common 388 183 9 fieldNameFromMember
3 axon-common-5.0.3 org.axonframework.common.configuration 388 288 8 hasComponent
7 axon-eventsourcing-5.0.3 org.axonframework.eventsourcing.eventstore 377 234 8 from
4 axon-messaging-5.0.3 org.axonframework.messaging.core.annotation 371 235 13 resolveToStream
5 axon-server-connector-5.0.3 org.axonframework.axonserver.connector 357 278 12 build
2 axon-test-5.0.3 org.axonframework.test.fixture 325 211 11 appendEventOverview
15 axon-messaging-5.0.3 org.axonframework.messaging.eventhandling.proc... 248 121 7 unwrap
12 axon-messaging-5.0.3 org.axonframework.messaging.core.unitofwork 242 186 6 runNextPhase
8 axon-server-connector-5.0.3 org.axonframework.axonserver.connector.event 218 162 4 releaseSegment
11 axon-messaging-5.0.3 org.axonframework.messaging.queryhandling 216 172 4 query
10 axon-eventsourcing-5.0.3 org.axonframework.eventsourcing.eventstore.jpa 207 136 8 withGapsCleaned
9 axon-messaging-5.0.3 org.axonframework.messaging.eventhandling.proc... 194 109 8 updateToken
13 axon-spring-boot-autoconfigure-5.0.3 org.axonframework.extension.springboot.autoconfig 191 145 11 buildConverter
16 axon-test-5.0.3 org.axonframework.test.matchers 173 101 8 matchingFields
18 axon-conversion-5.0.3 org.axonframework.conversion.avro 149 80 21 convert
21 axon-messaging-5.0.3 org.axonframework.messaging.eventhandling.proc... 147 94 8 isDifferent
24 axon-common-5.0.3 org.axonframework.common.caching 147 85 8 onEvent
34 axon-messaging-5.0.3 org.axonframework.messaging.eventhandling.anno... 144 56 58 parseParameter
23 axon-spring-boot-autoconfigure-5.0.3 org.axonframework.extension.springboot 139 136 2 processorMode
20 axon-messaging-5.0.3 org.axonframework.messaging.core.configuration 129 116 4 lambda$registerDecorators$15
14 axon-server-connector-5.0.3 org.axonframework.axonserver.connector.query 127 90 6 responseSendingLoop
17 axon-modelling-5.0.3 org.axonframework.modelling.entity.annotation 124 73 6 getExpectedRepresentation
19 axon-modelling-5.0.3 org.axonframework.modelling.entity 119 76 7 handleInstance
43 axon-messaging-5.0.3 org.axonframework.messaging.eventstreaming 119 92 4 or
28 axon-messaging-5.0.3 org.axonframework.messaging.commandhandling 117 100 4 subscribe
26 axon-messaging-5.0.3 org.axonframework.messaging.core.interception 107 93 4 convert
29 axon-messaging-5.0.3 org.axonframework.messaging.eventhandling.proc... 106 64 6 validateSegment
30 axon-messaging-5.0.3 org.axonframework.messaging.eventhandling 106 86 4 handle

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 34 axon-messaging-5.0.3 org.axonframework.messaging.eventhandling.anno... MethodSequencingPolicyEventHandlerDefinition$S... parseParameter 58
1 42 axon-update-5.0.3 org.axonframework.update.detection TestEnvironmentDetector isTestClass 41
2 0 axon-messaging-5.0.3 org.axonframework.messaging.eventhandling.proc... Coordinator$CoordinationTask run 25
3 18 axon-conversion-5.0.3 org.axonframework.conversion.avro AvroConverter convert 21
4 67 axon-conversion-5.0.3 org.axonframework.conversion.jackson JacksonConverter convert 17
5 46 axon-update-5.0.3 org.axonframework.update.api UpdateCheckResponse fromRequest 17
6 68 axon-conversion-5.0.3 org.axonframework.conversion.jackson2 Jackson2Converter convert 17
7 4 axon-messaging-5.0.3 org.axonframework.messaging.core.annotation MessageStreamResolverUtils resolveToStream 13
8 33 axon-eventsourcing-5.0.3 org.axonframework.eventsourcing.annotation.ref... AnnotationBasedEventSourcedEntityFactory addEntityCreatorExecutable 13
9 32 axon-test-5.0.3 org.axonframework.test.server AxonServerContainer equals 13
10 48 axon-common-5.0.3 org.axonframework.common.jdbc ConnectionWrapperFactory lambda$wrap$0 12
11 5 axon-server-connector-5.0.3 org.axonframework.axonserver.connector AxonServerConnectionManager$Builder build 12
12 13 axon-spring-boot-autoconfigure-5.0.3 org.axonframework.extension.springboot.autoconfig ConverterAutoConfiguration buildConverter 11
13 2 axon-test-5.0.3 org.axonframework.test.fixture Reporter appendEventOverview 11
14 61 axon-eventsourcing-5.0.3 org.axonframework.eventsourcing.annotation AnnotationBasedEventCriteriaResolver$WrappedEv... <init> 11
15 52 axon-common-5.0.3 org.axonframework.common.lock PessimisticLockFactory$DisposableLock lock 10
16 6 axon-common-5.0.3 org.axonframework.common ReflectionUtils fieldNameFromMember 9
17 1 axon-messaging-5.0.3 org.axonframework.messaging.core MessageStreamUtils$Reducer process 9
18 24 axon-common-5.0.3 org.axonframework.common.caching EhCacheAdapter$CacheEventListenerAdapter onEvent 8
19 70 axon-common-5.0.3 org.axonframework.common.annotation AnnotationUtils collectAttributes 8
20 37 axon-modelling-5.0.3 org.axonframework.modelling.entity.child FieldChildEntityFieldDefinition evolveParentBasedOnChildInput 8
21 60 axon-test-5.0.3 org.axonframework.test.extension ProvidedAxonTestFixtureUtils findOnMethods 8
22 9 axon-messaging-5.0.3 org.axonframework.messaging.eventhandling.proc... JdbcTokenStore updateToken 8
23 21 axon-messaging-5.0.3 org.axonframework.messaging.eventhandling.proc... EventTrackerStatus isDifferent 8
24 3 axon-common-5.0.3 org.axonframework.common.configuration DefaultComponentRegistry hasComponent 8
25 7 axon-eventsourcing-5.0.3 org.axonframework.eventsourcing.eventstore AggregateBasedConsistencyMarker from 8
26 10 axon-eventsourcing-5.0.3 org.axonframework.eventsourcing.eventstore.jpa GapAwareTrackingTokenOperations withGapsCleaned 8
27 16 axon-test-5.0.3 org.axonframework.test.matchers DeepEqualsMatcher matchingFields 8
28 77 axon-common-5.0.3 org.axonframework.common.util PriorityRunnable equals 7
29 25 axon-common-5.0.3 org.axonframework.common.infra FilesystemStyleComponentDescriptor$TreeRenderer renderProperty 7