JavaDepend Report Build Summary
|
[ For beginners: Where to start ]
[ Quick tips ]
[ JavaDepend site ]
The present HTML report is a summary of data gathered by the analysis. It is recommended to use the JavaDepend interactive UI capabilities to make the most of JavaDepend by mastering all aspects of your code. |
Not Defined. To define a Baseline for Comparison, please read this online documentation. | ||
Not Defined. To import Code Coverage Data, please read this online documentation. |
Diagrams |
Application Metrics | Note: Further Application Statistics are available. |
Third Party Usage | Percentage … |
CQL Rules summary |
|
» Number of CQL Rules or Queries that did not compile : 0» Number of CQL Rules violated : 40
Summary of CQL Rules violated
| ||||||
|
Application Statistics
Stat | # Occurences | Avg | StdDev | Max |
---|---|---|---|---|
Stat | # Occurences | Avg | StdDev | Max |
Properties on interfaces | 600 interfaces | 0 | 0 | 0 properties on org.springframework.http.HttpInputMessage |
Methods on interfaces | 600 interfaces | 2.83 | 6.9 | 67 methods on org.springframework.orm.hibernate3.HibernateOperations |
Arguments on methods on interfaces | 1,696 methods | 1.12 | 1.11 | 6 arguments on org.springframework.asm.ClassVisitor.visit(int,int,String,String,String,String[]) |
Public properties on classes | 2,331 Classes | 0 | 0 | 0 public properties on org.springframework.http.HttpEntity |
Public methods on classes | 2,331 classes | 5.95 | 7.74 | 102 public methods on org.springframework.mock.web.MockHttpServletRequest |
Arguments on public methods on classes | 13,864 methods | 0.98 | 1.03 | 9 arguments on org.springframework.web.context.support.ServletRequestHandledEvent.ServletRequestHandledEvent(Object,String,String,String,String,String,String,long,Throwable) |
BC instructions in non-abstract methods | 19,025 methods | 15.98 | 35.18 | 2174 BC instructions in org.springframework.asm.ClassReader.accept(ClassVisitor,Attribute[],boolean) |
Cyclomatic complexity on non abstract Methods | 19,025 Methods | 2 | 3.47 | CC = 218 for org.springframework.asm.commons.AdviceAdapter.visitInsn(int) |
Projects Metrics
If you wish to define thresholds on projects' Code Metrics, consider writing some CQL Rules.
Clicking column header arrows sorts values.
Clicking column header title text redirect to the online Code Metric definition.
Clicking column header arrows sorts values.
Clicking column header title text redirect to the online Code Metric definition.
Projects | # lines of code | # BC instruction | # Types | # Abstract Types | # lines of comment | % Comment | % Coverage | Afferent Coupling | Efferent Coupling | Relational Cohesion | Instability | Abstractness | Distance |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Projects | # lines of code | # BC instruction | # Types | # Abstract Types | # lines of comment | % Comment | % Coverage | Afferent Coupling | Efferent Coupling | Relational Cohesion | Instability | Abstractness | Distance |
spring-asm-3.0.5.RELEASE v1.0 | 0 | 15435 | 31 | 6 | - | - | - | 9 | 33 | 3.52 | 0.79 | 0.23 | 0.01 |
spring-core-3.0.5.RELEASE v1.0 | 8127 | 33412 | 296 | 66 | - | - | - | 904 | 221 | 2.24 | 0.2 | 0.22 | 0.41 |
spring-beans-3.0.5.RELEASE v1.0 | 10950 | 44847 | 349 | 74 | - | - | - | 385 | 204 | 3.26 | 0.35 | 0.21 | 0.31 |
spring-aop-3.0.5.RELEASE v1.0 | 5425 | 21470 | 251 | 51 | - | - | - | 47 | 215 | 2.48 | 0.82 | 0.2 | 0.02 |
spring-expression-3.0.5.RELEASE v1.0 | 3690 | 18155 | 111 | 16 | - | - | - | 7 | 59 | 4.88 | 0.89 | 0.14 | 0.03 |
spring-context-3.0.5.RELEASE v1.0 | 10590 | 42262 | 531 | 117 | - | - | - | 101 | 521 | 1.7 | 0.84 | 0.22 | 0.04 |
spring-web-3.0.5.RELEASE v1.0 | 6874 | 27888 | 297 | 63 | - | - | - | 9 | 404 | 1.86 | 0.98 | 0.21 | 0.13 |
spring-tx-3.0.5.RELEASE v1.0 | 3852 | 13604 | 202 | 41 | - | - | - | 178 | 212 | 2.08 | 0.54 | 0.21 | 0.18 |
spring-jdbc-3.0.5.RELEASE v1.0 | 7093 | 28369 | 295 | 69 | - | - | - | 51 | 184 | 2.5 | 0.78 | 0.24 | 0.01 |
spring-context-support-3.0.5.RELEASE v1.0 | 2099 | 7532 | 69 | 13 | - | - | - | 0 | 208 | 0.97 | 1 | 0.2 | 0.14 |
spring-jms-3.0.5.RELEASE v1.0 | 3699 | 13785 | 129 | 26 | - | - | - | 0 | 174 | 2.27 | 1 | 0.21 | 0.15 |
spring-orm-3.0.5.RELEASE v1.0 | 5562 | 21064 | 253 | 32 | - | - | - | 2 | 324 | 2.13 | 0.99 | 0.13 | 0.09 |
spring-test-3.0.5.RELEASE v1.0 | 4236 | 16186 | 141 | 20 | - | - | - | 0 | 257 | 1.23 | 1 | 0.15 | 0.11 |
Types Metrics : Code Quality
For a particular Code Metric defined for types, values in red represent the 15% highest values.
If you wish to define thresholds on types' Code Metrics, consider writing some CQL Rule.
Clicking column header arrows sorts values.
Clicking column header title text redirect to the online Code Metric definition.
If you wish to define thresholds on types' Code Metrics, consider writing some CQL Rule.
Clicking column header arrows sorts values.
Clicking column header title text redirect to the online Code Metric definition.
If the code base analyzed has too many types, JavaDepend doesn't list Types Metrics to avoid a too big report. The section Types Metrics can be activated by unchecking the option:
JavaDepend Project Properties > Report > Avoid too big report for large code base > Hide section Types Metrics if...
It is recommended to use the JavaDepend interactive UI capabilities to browse large applications.
JavaDepend Project Properties > Report > Avoid too big report for large code base > Hide section Types Metrics if...
It is recommended to use the JavaDepend interactive UI capabilities to browse large applications.
Type Name | Type Rank | # Lines Of Code | # BC Instructions | # Lines Of Comment | % Comment | Cyclomatic Complexity | BC Cyclomatic Complexity | % Coverage | Afferent Coupling | Efferent Coupling | Type Namespace |
---|---|---|---|---|---|---|---|---|---|---|---|
Type Name | Type Rank | # Lines Of Code | # BC Instructions | # Lines Of Comment | Percentage Comment | Cyclomatic Complexity | BC Cyclomatic Complexity | % coverage | Afferent Coupling | Efferent Coupling | Type Namespace |
Types Metrics : Code Members and Inheritance
Type Name | # Instance Methods | Nb Static Methods | Nb Properties | # Fields | # Children Classes | Depth Of Inheritance Tree | Type Namespace |
---|---|---|---|---|---|---|---|
Type Name | Nb Instance Methods | Nb Static Methods | Nb Properties | Nb Fields | Nb Children Classes | Depth Of Inheritance Tree | Type Namespace |
Types Metrics : Lack Of Cohesion Of Methods and Association Between Classes
Type Name | Lack Of Cohesion Of Methods | Lack Of Cohesion Of Methods HS | Association Between Classes | Type Namespace |
---|---|---|---|---|
Type Name | Lack Of Cohesion Of Methods | Lack Of Cohesion Of Methods HS | Association Between Classes | Type Namespace |
Namespaces Metrics
If you wish to define thresholds on namespaces' Code Metrics, consider writing some CQL Rules.
Clicking column header arrows sorts values.
Clicking column header title text redirect to the online Code Metric definition.
Clicking column header arrows sorts values.
Clicking column header title text redirect to the online Code Metric definition.
Namespaces | # lines of code | # BC instruction | # Types | # lines of comment | % Comment | % Coverage | Afferent Coupling | Efferent Coupling |
---|---|---|---|---|---|---|---|---|
Namespaces | # lines of code | # BC instruction | # Types | # lines of comment | % Comment | % Coverage | Afferent Coupling | Efferent Coupling |
org.springframework.asm | 0 | 11808 | 19 | - | - | - | 3 | 3 |
org.springframework.asm.signature | 0 | 506 | 3 | - | - | - | 0 | 1 |
org.springframework.asm.commons | 0 | 3121 | 9 | - | - | - | 2 | 5 |
org.springframework.core | 1158 | 4714 | 41 | - | - | - | 84 | 11 |
org.springframework.core.annotation | 128 | 503 | 4 | - | - | - | 14 | 6 |
org.springframework.core.enums | 134 | 563 | 14 | - | - | - | 0 | 7 |
org.springframework.core.style | 123 | 548 | 7 | - | - | - | 3 | 4 |
org.springframework.core.convert | 236 | 1009 | 6 | - | - | - | 15 | 6 |
org.springframework.core.convert.converter | 8 | 21 | 7 | - | - | - | 5 | 4 |
org.springframework.core.convert.support | 753 | 3283 | 42 | - | - | - | 5 | 12 |
org.springframework.core.io | 447 | 1899 | 24 | - | - | - | 38 | 9 |
org.springframework.core.io.support | 427 | 1787 | 12 | - | - | - | 27 | 10 |
org.springframework.core.serializer | 14 | 58 | 5 | - | - | - | 1 | 3 |
org.springframework.core.serializer.support | 32 | 107 | 4 | - | - | - | 0 | 6 |
org.springframework.core.task | 62 | 186 | 9 | - | - | - | 10 | 4 |
org.springframework.core.task.support | 53 | 167 | 4 | - | - | - | 2 | 5 |
org.springframework.core.type | 145 | 789 | 7 | - | - | - | 5 | 6 |
org.springframework.core.type.classreading | 228 | 974 | 12 | - | - | - | 3 | 11 |
org.springframework.core.type.filter | 85 | 320 | 8 | - | - | - | 2 | 11 |
org.springframework.util | 2863 | 11635 | 58 | - | - | - | 190 | 15 |
org.springframework.util.comparator | 126 | 532 | 6 | - | - | - | 1 | 4 |
org.springframework.util.xml | 1105 | 4317 | 26 | - | - | - | 7 | 16 |
org.springframework.beans | 2025 | 8814 | 48 | - | - | - | 60 | 14 |
org.springframework.beans.annotation | 11 | 53 | 2 | - | - | - | 1 | 6 |
org.springframework.beans.propertyeditors | 466 | 1856 | 26 | - | - | - | 5 | 12 |
org.springframework.beans.support | 233 | 911 | 7 | - | - | - | 4 | 11 |
org.springframework.beans.factory | 259 | 1118 | 27 | - | - | - | 101 | 7 |
org.springframework.beans.factory.annotation | 693 | 2923 | 21 | - | - | - | 10 | 17 |
org.springframework.beans.factory.config | 1274 | 4736 | 51 | - | - | - | 42 | 17 |
org.springframework.beans.factory.parsing | 221 | 818 | 25 | - | - | - | 9 | 8 |
org.springframework.beans.factory.serviceloader | 28 | 90 | 5 | - | - | - | 0 | 5 |
org.springframework.beans.factory.support | 4074 | 16930 | 89 | - | - | - | 23 | 21 |
org.springframework.beans.factory.wiring | 92 | 319 | 5 | - | - | - | 1 | 6 |
org.springframework.beans.factory.xml | 1411 | 5652 | 33 | - | - | - | 15 | 19 |
org.springframework.beans.factory.access | 123 | 499 | 7 | - | - | - | 4 | 9 |
org.springframework.beans.factory.access.el | 40 | 128 | 3 | - | - | - | 1 | 7 |
org.springframework.aop | 28 | 59 | 25 | - | - | - | 18 | 6 |
org.springframework.aop.config | 508 | 1947 | 18 | - | - | - | 1 | 15 |
org.springframework.aop.interceptor | 328 | 1180 | 16 | - | - | - | 2 | 17 |
org.springframework.aop.scope | 65 | 255 | 5 | - | - | - | 4 | 13 |
org.springframework.aop.aspectj | 1168 | 4535 | 36 | - | - | - | 3 | 28 |
org.springframework.aop.aspectj.annotation | 547 | 2475 | 24 | - | - | - | 0 | 20 |
org.springframework.aop.aspectj.autoproxy | 98 | 351 | 4 | - | - | - | 1 | 8 |
org.springframework.aop.framework | 1222 | 4800 | 38 | - | - | - | 22 | 18 |
org.springframework.aop.framework.adapter | 118 | 503 | 13 | - | - | - | 3 | 12 |
org.springframework.aop.framework.autoproxy | 265 | 1070 | 11 | - | - | - | 5 | 15 |
org.springframework.aop.framework.autoproxy.target | 66 | 235 | 3 | - | - | - | 0 | 9 |
org.springframework.aop.support | 678 | 2793 | 37 | - | - | - | 24 | 12 |
org.springframework.aop.support.annotation | 44 | 150 | 4 | - | - | - | 2 | 7 |
org.springframework.aop.target | 248 | 978 | 14 | - | - | - | 6 | 13 |
org.springframework.aop.target.dynamic | 42 | 139 | 3 | - | - | - | 1 | 5 |
org.springframework.expression | 90 | 338 | 23 | - | - | - | 6 | 4 |
org.springframework.expression.common | 236 | 1013 | 7 | - | - | - | 2 | 5 |
org.springframework.expression.spel | 236 | 1532 | 9 | - | - | - | 3 | 5 |
org.springframework.expression.spel.ast | 1577 | 7390 | 47 | - | - | - | 1 | 11 |
org.springframework.expression.spel.standard | 789 | 4504 | 6 | - | - | - | 1 | 9 |
org.springframework.expression.spel.support | 762 | 3378 | 19 | - | - | - | 3 | 11 |
org.springframework.stereotype | 0 | 0 | 5 | - | - | - | 1 | 2 |
org.springframework.context | 12 | 51 | 20 | - | - | - | 35 | 8 |
org.springframework.context.access | 66 | 235 | 5 | - | - | - | 3 | 11 |
org.springframework.context.annotation | 1249 | 5394 | 50 | - | - | - | 3 | 34 |
org.springframework.context.config | 130 | 473 | 9 | - | - | - | 0 | 10 |
org.springframework.context.event | 182 | 724 | 16 | - | - | - | 2 | 10 |
org.springframework.context.expression | 85 | 326 | 8 | - | - | - | 1 | 10 |
org.springframework.context.i18n | 35 | 92 | 4 | - | - | - | 7 | 4 |
org.springframework.context.support | 1575 | 6414 | 39 | - | - | - | 11 | 27 |
org.springframework.context.weaving | 87 | 299 | 6 | - | - | - | 3 | 15 |
org.springframework.ejb.access | 247 | 921 | 8 | - | - | - | 0 | 15 |
org.springframework.ejb.config | 35 | 138 | 6 | - | - | - | 0 | 8 |
org.springframework.ejb.interceptor | 38 | 111 | 2 | - | - | - | 0 | 10 |
org.springframework.ejb.support | 53 | 135 | 9 | - | - | - | 0 | 9 |
org.springframework.format | 0 | 0 | 6 | - | - | - | 4 | 5 |
org.springframework.format.annotation | 15 | 126 | 5 | - | - | - | 3 | 2 |
org.springframework.format.number | 89 | 322 | 6 | - | - | - | 1 | 9 |
org.springframework.format.support | 131 | 660 | 9 | - | - | - | 0 | 16 |
org.springframework.format.datetime | 27 | 84 | 2 | - | - | - | 0 | 4 |
org.springframework.format.datetime.joda | 172 | 632 | 19 | - | - | - | 1 | 12 |
org.springframework.instrument.classloading | 209 | 838 | 13 | - | - | - | 8 | 10 |
org.springframework.instrument.classloading.glassfish | 61 | 215 | 4 | - | - | - | 1 | 7 |
org.springframework.instrument.classloading.jboss | 88 | 362 | 4 | - | - | - | 1 | 6 |
org.springframework.instrument.classloading.oc4j | 70 | 316 | 4 | - | - | - | 1 | 6 |
org.springframework.instrument.classloading.weblogic | 76 | 329 | 4 | - | - | - | 1 | 6 |
org.springframework.jmx | 8 | 18 | 3 | - | - | - | 5 | 2 |
org.springframework.jmx.access | 326 | 1337 | 10 | - | - | - | 0 | 17 |
org.springframework.jmx.support | 350 | 1326 | 14 | - | - | - | 6 | 16 |
org.springframework.jmx.export | 396 | 1566 | 12 | - | - | - | 1 | 17 |
org.springframework.jmx.export.annotation | 70 | 227 | 11 | - | - | - | 0 | 11 |
org.springframework.jmx.export.assembler | 398 | 1635 | 11 | - | - | - | 2 | 13 |
org.springframework.jmx.export.metadata | 110 | 276 | 11 | - | - | - | 3 | 6 |
org.springframework.jmx.export.naming | 58 | 197 | 6 | - | - | - | 2 | 12 |
org.springframework.jmx.export.notification | 23 | 80 | 5 | - | - | - | 1 | 5 |
org.springframework.jndi | 283 | 1064 | 18 | - | - | - | 11 | 13 |
org.springframework.jndi.support | 65 | 292 | 2 | - | - | - | 0 | 6 |
org.springframework.remoting | 14 | 33 | 6 | - | - | - | 8 | 2 |
org.springframework.remoting.rmi | 580 | 2427 | 15 | - | - | - | 3 | 21 |
org.springframework.remoting.soap | 2 | 5 | 2 | - | - | - | 2 | 3 |
org.springframework.remoting.support | 254 | 915 | 16 | - | - | - | 4 | 13 |
org.springframework.scheduling | 4 | 9 | 7 | - | - | - | 9 | 5 |
org.springframework.scheduling.annotation | 140 | 479 | 8 | - | - | - | 0 | 21 |
org.springframework.scheduling.backportconcurrent | 131 | 488 | 4 | - | - | - | 0 | 8 |
org.springframework.scheduling.concurrent | 410 | 1688 | 12 | - | - | - | 1 | 10 |
org.springframework.scheduling.config | 257 | 1014 | 7 | - | - | - | 1 | 16 |
org.springframework.scheduling.support | 262 | 1220 | 10 | - | - | - | 5 | 9 |
org.springframework.scheduling.timer | 158 | 489 | 6 | - | - | - | 0 | 8 |
org.springframework.scripting | 11 | 38 | 4 | - | - | - | 4 | 3 |
org.springframework.scripting.bsh | 105 | 404 | 5 | - | - | - | 0 | 8 |
org.springframework.scripting.config | 86 | 313 | 5 | - | - | - | 0 | 11 |
org.springframework.scripting.groovy | 79 | 325 | 4 | - | - | - | 0 | 8 |
org.springframework.scripting.jruby | 107 | 438 | 5 | - | - | - | 0 | 13 |
org.springframework.scripting.support | 221 | 914 | 5 | - | - | - | 1 | 20 |
org.springframework.ui | 46 | 155 | 4 | - | - | - | 6 | 4 |
org.springframework.ui.context | 0 | 0 | 4 | - | - | - | 2 | 2 |
org.springframework.ui.context.support | 75 | 294 | 5 | - | - | - | 1 | 7 |
org.springframework.validation | 645 | 2709 | 20 | - | - | - | 5 | 11 |
org.springframework.validation.beanvalidation | 167 | 614 | 9 | - | - | - | 0 | 18 |
org.springframework.validation.support | 17 | 76 | 2 | - | - | - | 0 | 4 |
org.springframework.http | 619 | 3124 | 14 | - | - | - | 12 | 8 |
org.springframework.http.server | 44 | 179 | 5 | - | - | - | 0 | 7 |
org.springframework.http.client | 138 | 629 | 11 | - | - | - | 3 | 10 |
org.springframework.http.client.support | 31 | 124 | 3 | - | - | - | 1 | 8 |
org.springframework.http.converter | 411 | 1791 | 13 | - | - | - | 5 | 14 |
org.springframework.http.converter.feed | 34 | 144 | 4 | - | - | - | 0 | 10 |
org.springframework.http.converter.json | 32 | 153 | 2 | - | - | - | 0 | 10 |
org.springframework.http.converter.xml | 123 | 588 | 7 | - | - | - | 0 | 16 |
org.springframework.remoting.caucho | 280 | 1006 | 11 | - | - | - | 0 | 22 |
org.springframework.remoting.httpinvoker | 234 | 863 | 10 | - | - | - | 0 | 23 |
org.springframework.remoting.jaxrpc | 290 | 1094 | 8 | - | - | - | 0 | 26 |
org.springframework.remoting.jaxws | 350 | 1349 | 11 | - | - | - | 0 | 22 |
org.springframework.web | 34 | 103 | 7 | - | - | - | 4 | 6 |
org.springframework.web.filter | 388 | 1372 | 19 | - | - | - | 4 | 17 |
org.springframework.web.util | 916 | 3626 | 20 | - | - | - | 10 | 16 |
org.springframework.web.bind | 349 | 1380 | 16 | - | - | - | 2 | 10 |
org.springframework.web.bind.support | 81 | 260 | 9 | - | - | - | 1 | 9 |
org.springframework.web.bind.annotation | 5 | 98 | 16 | - | - | - | 1 | 3 |
org.springframework.web.bind.annotation.support | 518 | 2318 | 5 | - | - | - | 0 | 20 |
org.springframework.web.client | 322 | 1540 | 18 | - | - | - | 1 | 13 |
org.springframework.web.client.support | 13 | 40 | 2 | - | - | - | 0 | 5 |
org.springframework.web.context | 151 | 532 | 8 | - | - | - | 10 | 15 |
org.springframework.web.context.request | 447 | 1574 | 19 | - | - | - | 7 | 17 |
org.springframework.web.context.support | 590 | 2239 | 29 | - | - | - | 6 | 28 |
org.springframework.web.jsf | 118 | 398 | 8 | - | - | - | 1 | 11 |
org.springframework.web.jsf.el | 52 | 190 | 3 | - | - | - | 0 | 10 |
org.springframework.web.multipart | 10 | 33 | 7 | - | - | - | 7 | 6 |
org.springframework.web.multipart.commons | 187 | 765 | 6 | - | - | - | 0 | 17 |
org.springframework.web.multipart.support | 107 | 376 | 6 | - | - | - | 1 | 13 |
org.springframework.dao | 107 | 266 | 26 | - | - | - | 32 | 2 |
org.springframework.dao.annotation | 41 | 122 | 3 | - | - | - | 0 | 13 |
org.springframework.dao.support | 110 | 382 | 6 | - | - | - | 13 | 8 |
org.springframework.jca.context | 48 | 154 | 6 | - | - | - | 1 | 16 |
org.springframework.jca.endpoint | 181 | 610 | 8 | - | - | - | 1 | 15 |
org.springframework.jca.support | 49 | 155 | 4 | - | - | - | 0 | 8 |
org.springframework.jca.cci | 10 | 26 | 6 | - | - | - | 3 | 4 |
org.springframework.jca.cci.connection | 278 | 966 | 13 | - | - | - | 2 | 13 |
org.springframework.jca.cci.object | 54 | 173 | 7 | - | - | - | 0 | 9 |
org.springframework.jca.cci.core | 122 | 467 | 10 | - | - | - | 2 | 9 |
org.springframework.jca.cci.core.support | 34 | 100 | 3 | - | - | - | 1 | 8 |
org.springframework.jca.work | 163 | 666 | 5 | - | - | - | 2 | 11 |
org.springframework.jca.work.glassfish | 16 | 69 | 2 | - | - | - | 0 | 4 |
org.springframework.jca.work.jboss | 18 | 67 | 3 | - | - | - | 0 | 7 |
org.springframework.transaction | 64 | 184 | 18 | - | - | - | 15 | 3 |
org.springframework.transaction.annotation | 102 | 535 | 9 | - | - | - | 4 | 9 |
org.springframework.transaction.config | 131 | 537 | 6 | - | - | - | 0 | 13 |
org.springframework.transaction.interceptor | 640 | 2443 | 30 | - | - | - | 4 | 21 |
org.springframework.transaction.jta | 822 | 2926 | 14 | - | - | - | 2 | 13 |
org.springframework.transaction.support | 862 | 2756 | 23 | - | - | - | 20 | 10 |
org.springframework.jdbc | 48 | 200 | 9 | - | - | - | 7 | 4 |
org.springframework.jdbc.config | 90 | 361 | 6 | - | - | - | 0 | 13 |
org.springframework.jdbc.object | 482 | 1886 | 17 | - | - | - | 0 | 13 |
org.springframework.jdbc.core | 1314 | 5396 | 56 | - | - | - | 6 | 18 |
org.springframework.jdbc.core.metadata | 1000 | 4012 | 24 | - | - | - | 1 | 12 |
org.springframework.jdbc.core.namedparam | 398 | 1779 | 14 | - | - | - | 3 | 14 |
org.springframework.jdbc.core.simple | 483 | 1980 | 16 | - | - | - | 5 | 13 |
org.springframework.jdbc.core.support | 132 | 498 | 9 | - | - | - | 2 | 14 |
org.springframework.jdbc.datasource | 859 | 3132 | 26 | - | - | - | 13 | 14 |
org.springframework.jdbc.datasource.embedded | 196 | 686 | 19 | - | - | - | 0 | 14 |
org.springframework.jdbc.datasource.init | 132 | 479 | 5 | - | - | - | 1 | 11 |
org.springframework.jdbc.datasource.lookup | 111 | 388 | 9 | - | - | - | 2 | 11 |
org.springframework.jdbc.support | 686 | 2897 | 18 | - | - | - | 14 | 13 |
org.springframework.jdbc.support.incrementer | 302 | 1166 | 17 | - | - | - | 0 | 8 |
org.springframework.jdbc.support.lob | 449 | 1939 | 19 | - | - | - | 5 | 12 |
org.springframework.jdbc.support.nativejdbc | 171 | 578 | 11 | - | - | - | 4 | 6 |
org.springframework.jdbc.support.rowset | 190 | 772 | 5 | - | - | - | 2 | 6 |
org.springframework.jdbc.support.xml | 50 | 220 | 15 | - | - | - | 0 | 8 |
org.springframework.cache.ehcache | 126 | 450 | 3 | - | - | - | 0 | 12 |
org.springframework.mail | 187 | 824 | 9 | - | - | - | 1 | 5 |
org.springframework.mail.javamail | 532 | 1838 | 10 | - | - | - | 0 | 11 |
org.springframework.scheduling.commonj | 232 | 798 | 10 | - | - | - | 0 | 14 |
org.springframework.scheduling.quartz | 667 | 2338 | 24 | - | - | - | 0 | 30 |
org.springframework.ui.freemarker | 125 | 486 | 5 | - | - | - | 0 | 11 |
org.springframework.ui.jasperreports | 48 | 186 | 2 | - | - | - | 0 | 6 |
org.springframework.ui.velocity | 182 | 612 | 6 | - | - | - | 0 | 17 |
org.springframework.jms | 50 | 135 | 15 | - | - | - | 7 | 3 |
org.springframework.jms.config | 261 | 931 | 5 | - | - | - | 0 | 8 |
org.springframework.jms.connection | 1044 | 4010 | 31 | - | - | - | 3 | 11 |
org.springframework.jms.remoting | 168 | 598 | 4 | - | - | - | 0 | 15 |
org.springframework.jms.core | 363 | 1397 | 22 | - | - | - | 1 | 10 |
org.springframework.jms.core.support | 17 | 62 | 2 | - | - | - | 0 | 6 |
org.springframework.jms.listener | 1070 | 4043 | 18 | - | - | - | 2 | 17 |
org.springframework.jms.listener.adapter | 163 | 522 | 5 | - | - | - | 0 | 10 |
org.springframework.jms.listener.endpoint | 206 | 757 | 9 | - | - | - | 0 | 10 |
org.springframework.jms.support | 130 | 394 | 3 | - | - | - | 6 | 7 |
org.springframework.jms.support.converter | 144 | 647 | 7 | - | - | - | 3 | 9 |
org.springframework.jms.support.destination | 83 | 289 | 8 | - | - | - | 5 | 10 |
org.springframework.orm | 54 | 206 | 3 | - | - | - | 3 | 2 |
org.springframework.orm.hibernate3 | 1900 | 7203 | 73 | - | - | - | 3 | 41 |
org.springframework.orm.hibernate3.annotation | 66 | 270 | 2 | - | - | - | 0 | 13 |
org.springframework.orm.hibernate3.support | 258 | 898 | 11 | - | - | - | 0 | 27 |
org.springframework.orm.ibatis | 211 | 927 | 16 | - | - | - | 1 | 21 |
org.springframework.orm.ibatis.support | 94 | 292 | 7 | - | - | - | 0 | 12 |
org.springframework.orm.jdo | 782 | 2844 | 51 | - | - | - | 1 | 21 |
org.springframework.orm.jdo.support | 138 | 503 | 7 | - | - | - | 0 | 18 |
org.springframework.orm.jpa | 1114 | 4011 | 50 | - | - | - | 3 | 26 |
org.springframework.orm.jpa.persistenceunit | 365 | 1378 | 10 | - | - | - | 2 | 24 |
org.springframework.orm.jpa.support | 301 | 1237 | 8 | - | - | - | 0 | 27 |
org.springframework.orm.jpa.vendor | 279 | 1295 | 15 | - | - | - | 0 | 23 |
org.springframework.mock.jndi | 187 | 877 | 8 | - | - | - | 0 | 8 |
org.springframework.mock.web | 1081 | 3810 | 23 | - | - | - | 1 | 17 |
org.springframework.mock.web.portlet | 1021 | 3776 | 28 | - | - | - | 0 | 18 |
org.springframework.test | 348 | 1339 | 8 | - | - | - | 2 | 19 |
org.springframework.test.annotation | 171 | 744 | 16 | - | - | - | 5 | 14 |
org.springframework.test.jdbc | 77 | 343 | 3 | - | - | - | 4 | 9 |
org.springframework.test.jpa | 121 | 503 | 6 | - | - | - | 0 | 16 |
org.springframework.test.util | 59 | 306 | 2 | - | - | - | 0 | 3 |
org.springframework.test.web | 120 | 543 | 3 | - | - | - | 0 | 5 |
org.springframework.test.context | 332 | 1260 | 8 | - | - | - | 6 | 13 |
org.springframework.test.context.junit38 | 163 | 566 | 5 | - | - | - | 0 | 14 |
org.springframework.test.context.support | 103 | 375 | 8 | - | - | - | 0 | 14 |
org.springframework.test.context.testng | 37 | 113 | 3 | - | - | - | 0 | 14 |
org.springframework.test.context.transaction | 194 | 774 | 8 | - | - | - | 0 | 13 |
org.springframework.test.context.junit4 | 140 | 567 | 5 | - | - | - | 0 | 22 |
org.springframework.test.context.junit4.statements | 82 | 290 | 7 | - | - | - | 1 | 9 |
Code Quality |
|
|
![]() | Critical Rule warning: Methods too complex - critical (BCCyclomaticComplexity) |
// <Name>Methods too complex - critical (BCCyclomaticComplexity)</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
BCCyclomaticComplexity > 40 AND
BCNestingDepth > 4
ORDER BY BCCyclomaticComplexity DESC
// METHODS WHERE BCCyclomaticComplexity > 40
// are really too complex and should be split
// in smaller methods, or even types.
// (except if they are automatically generated by a tool).
// See the definition of the BCCyclomaticComplexity metric here
// http://www.JavaDepend.com/Metrics.aspx#ILCC
// See the definition of the BCNestingDepth metric here
// http://www.JavaDepend.com/Metrics.aspx#BCNestingDepth
WARN IF Count > 0 IN SELECT METHODS WHERE
BCCyclomaticComplexity > 40 AND
BCNestingDepth > 4
ORDER BY BCCyclomaticComplexity DESC
// METHODS WHERE BCCyclomaticComplexity > 40
// are really too complex and should be split
// in smaller methods, or even types.
// (except if they are automatically generated by a tool).
// See the definition of the BCCyclomaticComplexity metric here
// http://www.JavaDepend.com/Metrics.aspx#ILCC
// See the definition of the BCNestingDepth metric here
// http://www.JavaDepend.com/Metrics.aspx#BCNestingDepth
8 methods matched
methods | ByteCode Cyclomatic Complexity (BCCC) | ByteCode Nesting Depth | Full Name |
---|---|---|---|
methods | ByteCode Cyclomatic Complexity (BCCC) | ByteCode Nesting Depth | Full Name |
accept(ClassVisitor,Attribute[],boolean) | 176 | 39 | org.springframework.asm.ClassReader.accept(ClassVisitor,Attribute[] ,boolean) |
a(int[],int[],int) | 80 | 16 | org.springframework.asm.MethodWriter.a(int[],int[],int) |
buildSessionFactory() | 61 | 25 | org.springframework.orm.hibernate3.LocalSessionFactoryBean .buildSessionFactory() |
instantiateUsingFactoryMethod(String,RootBeanDefinition,Object[]) | 56 | 20 | org.springframework.beans.factory.support.ConstructorResolver .instantiateUsingFactoryMethod(String,RootBeanDefinition,Object[]) |
run() | 48 | 9 | org.springframework.jms.listener .DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run() |
a(ByteVector) | 47 | 7 | org.springframework.asm.MethodWriter.a(ByteVector) |
setPropertyValue(BeanWrapperImpl$PropertyTokenHolder,PropertyValue) | 43 | 13 | org.springframework.beans.BeanWrapperImpl.setPropertyValue (BeanWrapperImpl$PropertyTokenHolder,PropertyValue) |
autowireConstructor(String,RootBeanDefinition,Constructor[],Object[]) | 42 | 14 | org.springframework.beans.factory.support.ConstructorResolver .autowireConstructor(String,RootBeanDefinition,Constructor[],Object[]) |
Statistics
Stat | ByteCode Cyclomatic Complexity (BCCC) | ByteCode Nesting Depth |
---|---|---|
Sum: | 553 | 143 |
Average: | 69.125 | 17.875 |
Minimum: | 42 | 7 |
Maximum: | 176 | 39 |
Standard deviation: | 42.031 | 9.6234 |
Variance: | 1 766 | 92.609 |
![]() | Critical Rule warning: Methods with too many parameters - critical (NbParameters) |
// <Name>Methods with too many parameters - critical (NbParameters)</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
NbParameters > 8
ORDER BY NbParameters DESC
// METHODS WHERE NbParameters > 8 might be painful to call
// and might degrade performance. You should prefer using
// additional properties/fields to the declaring type to
// handle numerous states. Another alternative is to provide
// a class dedicated to handle arguments passing
// See the definition of the NbParameters metric here
// http://www.JavaDepend.com/Metrics.aspx#NbParameters
WARN IF Count > 0 IN SELECT METHODS WHERE
NbParameters > 8
ORDER BY NbParameters DESC
// METHODS WHERE NbParameters > 8 might be painful to call
// and might degrade performance. You should prefer using
// additional properties/fields to the declaring type to
// handle numerous states. Another alternative is to provide
// a class dedicated to handle arguments passing
// See the definition of the NbParameters metric here
// http://www.JavaDepend.com/Metrics.aspx#NbParameters
2 methods matched
methods | # Parameters | Full Name |
---|---|---|
methods | # Parameters | Full Name |
ServletRequestHandledEvent(Object,String,String,String,String,String ,String,long,Throwable) | 9 | org.springframework.web.context.support.ServletRequestHandledEvent .ServletRequestHandledEvent(Object,String,String,String,String,String ,String,long,Throwable) |
encodeUriComponents(String,String,String,String,String,String,String ,String,String) | 9 | org.springframework.web.util.UriUtils.encodeUriComponents(String ,String,String,String,String,String,String,String,String) |
Statistics
Stat | # Parameters |
---|---|
Sum: | 18 |
Average: | 9 |
Minimum: | 9 |
Maximum: | 9 |
Standard deviation: | 0 |
Variance: | 0 |
![]() | Rule warning: Quick summary of methods to refactor |
// <Name>Quick summary of methods to refactor</Name>
WARN IF Count > 0 IN SELECT
METHODS /*OUT OF "YourGeneratedCode" */ WHERE
// Metrics' definitions
( NbLinesOfCode > 30 OR // http://www.JavaDepend.com/Metrics.aspx#NbLinesOfCode
NbBCInstructions > 200 OR // http://www.JavaDepend.com/Metrics.aspx#NbBCInstructions
CyclomaticComplexity > 20 OR // http://www.JavaDepend.com/Metrics.aspx#CC
BCCyclomaticComplexity > 50 OR // http://www.JavaDepend.com/Metrics.aspx#ILCC
BCNestingDepth > 4 OR // http://www.JavaDepend.com/Metrics.aspx#BCNestingDepth
NbParameters > 5 OR // http://www.JavaDepend.com/Metrics.aspx#NbParameters
NbVariables > 8 OR // http://www.JavaDepend.com/Metrics.aspx#NbVariables
NbOverloads > 6 ) // http://www.JavaDepend.com/Metrics.aspx#NbOverloads
WARN IF Count > 0 IN SELECT
METHODS /*OUT OF "YourGeneratedCode" */ WHERE
// Metrics' definitions
( NbLinesOfCode > 30 OR // http://www.JavaDepend.com/Metrics.aspx#NbLinesOfCode
NbBCInstructions > 200 OR // http://www.JavaDepend.com/Metrics.aspx#NbBCInstructions
CyclomaticComplexity > 20 OR // http://www.JavaDepend.com/Metrics.aspx#CC
BCCyclomaticComplexity > 50 OR // http://www.JavaDepend.com/Metrics.aspx#ILCC
BCNestingDepth > 4 OR // http://www.JavaDepend.com/Metrics.aspx#BCNestingDepth
NbParameters > 5 OR // http://www.JavaDepend.com/Metrics.aspx#NbParameters
NbVariables > 8 OR // http://www.JavaDepend.com/Metrics.aspx#NbVariables
NbOverloads > 6 ) // http://www.JavaDepend.com/Metrics.aspx#NbOverloads
830 methods matched
The following list of methods is truncated and contains only the first 100 methods of the 830 methods matched. All matched methods could be listed in the report by unchecking the option:
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched methods.
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched methods.
methods | # lines of code (LOC) | # ByteCode instructions | Cyclomatic Complexity (CC) | ByteCode Cyclomatic Complexity (BCCC) | ByteCode Nesting Depth | # Parameters | # Variables | # Overloads | Full Name |
---|---|---|---|---|---|---|---|---|---|
methods | # lines of code (LOC) | # ByteCode instructions | Cyclomatic Complexity (CC) | ByteCode Cyclomatic Complexity (BCCC) | ByteCode Nesting Depth | # Parameters | # Variables | # Overloads | Full Name |
visit(String,Object) | 0 | 416 | N/A | 26 | 0 | 2 | 0 | 1 | org.springframework.asm.AnnotationWriter.visit(String,Object) |
read(ClassReader,int,int,char[],int,Label[]) | 0 | 20 | N/A | 1 | 0 | 6 | 0 | 1 | org.springframework.asm.Attribute.read(ClassReader,int,int,char[],int ,Label[]) |
a(ClassWriter,byte[],int,int,int,ByteVector) | 0 | 35 | N/A | 2 | 0 | 6 | 0 | 3 | org.springframework.asm.Attribute.a(ClassWriter,byte[],int,int,int ,ByteVector) |
putUTF8(String) | 0 | 215 | N/A | 14 | 6 | 1 | 0 | 1 | org.springframework.asm.ByteVector.putUTF8(String) |
visit(int,int,String,String,String,String[]) | 0 | 10 | N/A | 1 | 0 | 6 | 0 | 1 | org.springframework.asm.ClassAdapter.visit(int,int,String,String ,String,String[]) |
a(ClassWriter) | 0 | 196 | N/A | 15 | 0 | 1 | 0 | 7 | org.springframework.asm.ClassReader.a(ClassWriter) |
a(int,int,char[]) | 0 | 88 | N/A | 16 | 0 | 3 | 0 | 7 | org.springframework.asm.ClassReader.a(int,int,char[]) |
a(InputStream) | 0 | 65 | N/A | 5 | 0 | 1 | 0 | 7 | org.springframework.asm.ClassReader.a(InputStream) |
accept(ClassVisitor,Attribute[],boolean) | 0 | 2 174 | N/A | 176 | 39 | 3 | 0 | 2 | org.springframework.asm.ClassReader.accept(ClassVisitor,Attribute[] ,boolean) |
a(Attribute[],String,int,int,char[],int,Label[]) | 0 | 38 | N/A | 3 | 0 | 7 | 0 | 7 | org.springframework.asm.ClassReader.a(Attribute[],String,int,int ,char[],int,Label[]) |
a(int,char[],AnnotationVisitor) | 0 | 26 | N/A | 2 | 0 | 3 | 0 | 7 | org.springframework.asm.ClassReader.a(int,char[],AnnotationVisitor) |
a(int,char[],String,AnnotationVisitor) | 0 | 413 | N/A | 91 | 0 | 4 | 0 | 7 | org.springframework.asm.ClassReader.a(int,char[],String ,AnnotationVisitor) |
a(int,char[],boolean,MethodVisitor) | 0 | 43 | N/A | 3 | 0 | 4 | 0 | 7 | org.springframework.asm.ClassReader.a(int,char[],boolean,MethodVisitor ) |
visit(int,int,String,String,String,String[]) | 0 | 0 | N/A | 1 | 0 | 6 | 0 | 1 | org.springframework.asm.ClassVisitor.visit(int,int,String,String ,String,String[]) |
a(int) | 0 | 36 | N/A | 2 | 0 | 1 | 0 | 9 | org.springframework.asm.ClassWriter.a(int) |
a(long) | 0 | 37 | N/A | 2 | 0 | 1 | 0 | 9 | org.springframework.asm.ClassWriter.a(long) |
a(float) | 0 | 37 | N/A | 2 | 0 | 1 | 0 | 9 | org.springframework.asm.ClassWriter.a(float) |
a(double) | 0 | 38 | N/A | 2 | 0 | 1 | 0 | 9 | org.springframework.asm.ClassWriter.a(double) |
a(Object) | 0 | 130 | N/A | 13 | 0 | 1 | 0 | 9 | org.springframework.asm.ClassWriter.a(Object) |
visit(int,int,String,String,String,String[]) | 0 | 59 | N/A | 6 | 2 | 6 | 0 | 1 | org.springframework.asm.ClassWriter.visit(int,int,String,String,String ,String[]) |
toByteArray() | 0 | 511 | N/A | 34 | 4 | 0 | 0 | 1 | org.springframework.asm.ClassWriter.toByteArray() |
a(String) | 0 | 40 | N/A | 2 | 0 | 1 | 0 | 9 | org.springframework.asm.ClassWriter.a(String) |
a(Item) | 0 | 22 | N/A | 3 | 1 | 1 | 0 | 9 | org.springframework.asm.ClassWriter.a(Item) |
a(int,int,int) | 0 | 9 | N/A | 1 | 0 | 3 | 0 | 9 | org.springframework.asm.ClassWriter.a(int,int,int) |
a(String,String,String,boolean) | 0 | 48 | N/A | 3 | 0 | 4 | 0 | 9 | org.springframework.asm.ClassWriter.a(String,String,String,boolean) |
FieldWriter(ClassWriter,int,String,String,String,Object) | 0 | 48 | N/A | 4 | 0 | 6 | 0 | 1 | org.springframework.asm.FieldWriter.FieldWriter(ClassWriter,int,String ,String,String,Object) |
a(ByteVector) | 0 | 202 | N/A | 21 | 4 | 1 | 0 | 2 | org.springframework.asm.FieldWriter.a(ByteVector) |
visitLocalVariable(String,String,String,Label,Label,int) | 0 | 10 | N/A | 1 | 0 | 6 | 0 | 1 | org.springframework.asm.MethodAdapter.visitLocalVariable(String,String ,String,Label,Label,int) |
visitLocalVariable(String,String,String,Label,Label,int) | 0 | 0 | N/A | 1 | 0 | 6 | 0 | 1 | org.springframework.asm.MethodVisitor.visitLocalVariable(String,String ,String,Label,Label,int) |
MethodWriter(ClassWriter,int,String,String,String,String[],boolean) | 0 | 106 | N/A | 7 | 2 | 7 | 0 | 2 | org.springframework.asm.MethodWriter.MethodWriter(ClassWriter,int ,String,String,String,String[],boolean) |
a() | 0 | 351 | N/A | 26 | 5 | 0 | 0 | 9 | org.springframework.asm.MethodWriter.a() |
a(ByteVector) | 0 | 602 | N/A | 47 | 7 | 1 | 0 | 9 | org.springframework.asm.MethodWriter.a(ByteVector) |
a(String) | 0 | 77 | N/A | 13 | 6 | 1 | 0 | 9 | org.springframework.asm.MethodWriter.a(String) |
visitVarInsn(int,int) | 0 | 118 | N/A | 14 | 6 | 2 | 0 | 1 | org.springframework.asm.MethodWriter.visitVarInsn(int,int) |
visitFieldInsn(int,String,String,String) | 0 | 86 | N/A | 14 | 5 | 4 | 0 | 1 | org.springframework.asm.MethodWriter.visitFieldInsn(int,String,String ,String) |
visitJumpInsn(int,Label) | 0 | 139 | N/A | 12 | 6 | 2 | 0 | 1 | org.springframework.asm.MethodWriter.visitJumpInsn(int,Label) |
a(int,Label) | 0 | 20 | N/A | 1 | 0 | 2 | 0 | 9 | org.springframework.asm.MethodWriter.a(int,Label) |
visitLocalVariable(String,String,String,Label,Label,int) | 0 | 105 | N/A | 8 | 2 | 6 | 0 | 1 | org.springframework.asm.MethodWriter.visitLocalVariable(String,String ,String,Label,Label,int) |
a(int[],int[],int) | 0 | 879 | N/A | 80 | 16 | 3 | 0 | 9 | org.springframework.asm.MethodWriter.a(int[],int[],int) |
a(int[],int[],int,int) | 0 | 47 | N/A | 6 | 3 | 4 | 0 | 9 | org.springframework.asm.MethodWriter.a(int[],int[],int,int) |
a(byte[],int) | 0 | 36 | N/A | 1 | 0 | 2 | 0 | 9 | org.springframework.asm.MethodWriter.a(byte[],int) |
a(int[],int[],Label) | 0 | 15 | N/A | 2 | 0 | 3 | 0 | 9 | org.springframework.asm.MethodWriter.a(int[],int[],Label) |
a(byte[],int,int) | 0 | 15 | N/A | 1 | 0 | 3 | 0 | 9 | org.springframework.asm.MethodWriter.a(byte[],int,int) |
accept(SignatureVisitor) | 0 | 128 | N/A | 11 | 6 | 1 | 0 | 1 | org.springframework.asm.signature.SignatureReader.accept (SignatureVisitor) |
visitInsn(int) | 0 | 216 | N/A | 218 | 0 | 1 | 0 | 1 | org.springframework.asm.commons.AdviceAdapter.visitInsn(int) |
visitFieldInsn(int,String,String,String) | 0 | 62 | N/A | 12 | 5 | 4 | 0 | 1 | org.springframework.asm.commons.AdviceAdapter.visitFieldInsn(int ,String,String,String) |
visit(int,int,String,String,String,String[]) | 0 | 1 | N/A | 1 | 0 | 6 | 0 | 2 | org.springframework.asm.commons.EmptyVisitor.visit(int,int,String ,String,String,String[]) |
visitLocalVariable(String,String,String,Label,Label,int) | 0 | 1 | N/A | 1 | 0 | 6 | 0 | 1 | org.springframework.asm.commons.EmptyVisitor.visitLocalVariable(String ,String,String,Label,Label,int) |
push(boolean) | 0 | 8 | N/A | 2 | 0 | 1 | 0 | 7 | org.springframework.asm.commons.GeneratorAdapter.push(boolean) |
push(int) | 0 | 45 | N/A | 7 | 3 | 1 | 0 | 7 | org.springframework.asm.commons.GeneratorAdapter.push(int) |
push(long) | 0 | 24 | N/A | 3 | 1 | 1 | 0 | 7 | org.springframework.asm.commons.GeneratorAdapter.push(long) |
push(float) | 0 | 30 | N/A | 4 | 2 | 1 | 0 | 7 | org.springframework.asm.commons.GeneratorAdapter.push(float) |
push(double) | 0 | 27 | N/A | 3 | 1 | 1 | 0 | 7 | org.springframework.asm.commons.GeneratorAdapter.push(double) |
push(String) | 0 | 12 | N/A | 2 | 0 | 1 | 0 | 7 | org.springframework.asm.commons.GeneratorAdapter.push(String) |
push(Type) | 0 | 12 | N/A | 2 | 0 | 1 | 0 | 7 | org.springframework.asm.commons.GeneratorAdapter.push(Type) |
visitLocalVariable(String,String,String,Label,Label,int) | 0 | 25 | N/A | 3 | 1 | 6 | 0 | 1 | org.springframework.asm.commons.LocalVariablesSorter .visitLocalVariable(String,String,String,Label,Label,int) |
visit(int,int,String,String,String,String[]) | 0 | 30 | N/A | 3 | 0 | 6 | 0 | 1 | org.springframework.asm.commons.SerialVersionUIDAdder.visit(int,int ,String,String,String,String[]) |
visit(int,int,String,String,String,String[]) | 0 | 13 | N/A | 1 | 0 | 6 | 0 | 1 | org.springframework.asm.commons.StaticInitMerger.visit(int,int,String ,String,String,String[]) |
extractType(MethodParameter,Type,Class,int,int,int) | 11 | 47 | N/A | 7 | 3 | 6 | 2 | 1 | org.springframework.core.GenericCollectionTypeResolver.extractType (MethodParameter,Type,Class,int,int,int) |
extractTypeFromParameterizedType(MethodParameter,ParameterizedType ,Class,int,int,int) | 40 | 176 | N/A | 25 | 12 | 6 | 13 | 1 | org.springframework.core.GenericCollectionTypeResolver .extractTypeFromParameterizedType(MethodParameter,ParameterizedType ,Class,int,int,int) |
extractTypeFromClass(MethodParameter,Class,Class,int,int,int) | 14 | 70 | N/A | 9 | 4 | 6 | 3 | 2 | org.springframework.core.GenericCollectionTypeResolver .extractTypeFromClass(MethodParameter,Class,Class,int,int,int) |
visitLocalVariable(String,String,String,Label,Label,int) | 6 | 24 | N/A | 3 | 1 | 6 | 1 | 1 | org.springframework.core .LocalVariableTableParameterNameDiscoverer$LocalVariableTableVisitor .visitLocalVariable(String,String,String,Label,Label,int) |
getAnnotationAttributes(Annotation,boolean) | 20 | 89 | N/A | 9 | 6 | 2 | 8 | 2 | org.springframework.core.annotation.AnnotationUtils .getAnnotationAttributes(Annotation,boolean) |
append(String,byte) | 1 | 8 | N/A | 1 | 0 | 2 | 0 | 9 | org.springframework.core.style.ToStringCreator.append(String,byte) |
append(String,Object) | 3 | 11 | N/A | 1 | 0 | 2 | 0 | 9 | org.springframework.core.style.ToStringCreator.append(String,Object) |
append(String,short) | 1 | 8 | N/A | 1 | 0 | 2 | 0 | 9 | org.springframework.core.style.ToStringCreator.append(String,short) |
append(String,int) | 1 | 8 | N/A | 1 | 0 | 2 | 0 | 9 | org.springframework.core.style.ToStringCreator.append(String,int) |
append(String,long) | 1 | 8 | N/A | 1 | 0 | 2 | 0 | 9 | org.springframework.core.style.ToStringCreator.append(String,long) |
append(String,float) | 1 | 8 | N/A | 1 | 0 | 2 | 0 | 9 | org.springframework.core.style.ToStringCreator.append(String,float) |
append(String,double) | 1 | 8 | N/A | 1 | 0 | 2 | 0 | 9 | org.springframework.core.style.ToStringCreator.append(String,double) |
append(String,boolean) | 1 | 6 | N/A | 1 | 0 | 2 | 0 | 9 | org.springframework.core.style.ToStringCreator.append(String,boolean) |
append(Object) | 2 | 8 | N/A | 1 | 0 | 1 | 0 | 9 | org.springframework.core.style.ToStringCreator.append(Object) |
TypeDescriptor(MethodParameter) | 5 | 12 | N/A | 1 | 0 | 1 | 0 | 8 | org.springframework.core.convert.TypeDescriptor.TypeDescriptor (MethodParameter) |
TypeDescriptor(Field) | 5 | 12 | N/A | 1 | 0 | 1 | 0 | 8 | org.springframework.core.convert.TypeDescriptor.TypeDescriptor(Field) |
isAssignableTo(TypeDescriptor) | 12 | 70 | N/A | 14 | 10 | 1 | 0 | 1 | org.springframework.core.convert.TypeDescriptor.isAssignableTo (TypeDescriptor) |
TypeDescriptor() | 22 | 152 | N/A | 1 | 0 | 0 | 0 | 8 | org.springframework.core.convert.TypeDescriptor.TypeDescriptor() |
TypeDescriptor(Class) | 5 | 12 | N/A | 1 | 0 | 1 | 0 | 8 | org.springframework.core.convert.TypeDescriptor.TypeDescriptor(Class) |
TypeDescriptor(MethodParameter,Class) | 6 | 15 | N/A | 1 | 0 | 2 | 0 | 8 | org.springframework.core.convert.TypeDescriptor.TypeDescriptor (MethodParameter,Class) |
TypeDescriptor(Field,Class) | 6 | 15 | N/A | 1 | 0 | 2 | 0 | 8 | org.springframework.core.convert.TypeDescriptor.TypeDescriptor(Field ,Class) |
TypeDescriptor(Field,int,Class) | 7 | 18 | N/A | 1 | 0 | 3 | 0 | 8 | org.springframework.core.convert.TypeDescriptor.TypeDescriptor(Field ,int,Class) |
TypeDescriptor(Object) | 6 | 16 | N/A | 1 | 0 | 1 | 0 | 8 | org.springframework.core.convert.TypeDescriptor.TypeDescriptor(Object) |
equals(Object) | 14 | 70 | N/A | 13 | 7 | 1 | 2 | 1 | org.springframework.core.convert.TypeDescriptor.equals(Object) |
findConverterForClassPair(TypeDescriptor,TypeDescriptor) | 43 | 183 | N/A | 14 | 7 | 2 | 15 | 1 | org.springframework.core.convert.support.GenericConversionService .findConverterForClassPair(TypeDescriptor,TypeDescriptor) |
getMatchingConverterForTarget(TypeDescriptor,TypeDescriptor,Map) | 44 | 190 | N/A | 15 | 7 | 3 | 14 | 1 | org.springframework.core.convert.support.GenericConversionService .getMatchingConverterForTarget(TypeDescriptor,TypeDescriptor,Map) |
matches(TypeDescriptor,TypeDescriptor) | 5 | 34 | N/A | 8 | 6 | 2 | 1 | 1 | org.springframework.core.convert.support.ObjectToStringConverter .matches(TypeDescriptor,TypeDescriptor) |
getAnnotations() | 34 | 216 | N/A | 15 | 13 | 0 | 12 | 1 | org.springframework.core.convert.support.PropertyTypeDescriptor .getAnnotations() |
VfsUtils() | 52 | 230 | N/A | 9 | 1 | 0 | 13 | 1 | org.springframework.core.io.VfsUtils.VfsUtils() |
findLocalizedResource(String,String,Locale) | 21 | 131 | N/A | 11 | 6 | 3 | 8 | 1 | org.springframework.core.io.support.LocalizedResourceHelper .findLocalizedResource(String,String,Locale) |
doFindPathMatchingJarResources(Resource,String) | 40 | 158 | N/A | 13 | 3 | 2 | 20 | 1 | org.springframework.core.io.support .PathMatchingResourcePatternResolver.doFindPathMatchingJarResources (Resource,String) |
loadProperties(Properties) | 29 | 121 | N/A | 15 | 5 | 1 | 4 | 1 | org.springframework.core.io.support.PropertiesLoaderSupport .loadProperties(Properties) |
setValue(Object) | 25 | 135 | N/A | 13 | 8 | 1 | 8 | 1 | org.springframework.core.io.support.ResourceArrayPropertyEditor .setValue(Object) |
visit(int,int,String,String,String,String[]) | 11 | 58 | N/A | 6 | 1 | 6 | 1 | 1 | org.springframework.core.type.classreading.ClassMetadataReadingVisitor .visit(int,int,String,String,String,String[]) |
match(MetadataReader,MetadataReaderFactory) | 25 | 86 | N/A | 13 | 6 | 2 | 4 | 2 | org.springframework.core.type.filter .AbstractTypeHierarchyTraversingFilter.match(MetadataReader ,MetadataReaderFactory) |
compare(String,String) | 35 | 106 | N/A | 15 | 2 | 2 | 10 | 2 | org.springframework.util.AntPathMatcher$AntPatternComparator.compare (String,String) |
doMatch(String,String,boolean,Map) | 81 | 306 | N/A | 37 | 17 | 4 | 20 | 1 | org.springframework.util.AntPathMatcher.doMatch(String,String,boolean ,Map) |
extractPathWithinPattern(String,String) | 18 | 92 | N/A | 11 | 8 | 2 | 7 | 1 | org.springframework.util.AntPathMatcher.extractPathWithinPattern (String,String) |
combine(String,String) | 32 | 183 | N/A | 16 | 3 | 2 | 10 | 1 | org.springframework.util.AntPathMatcher.combine(String,String) |
forName(String,ClassLoader) | 29 | 128 | N/A | 11 | 1 | 2 | 11 | 2 | org.springframework.util.ClassUtils.forName(String,ClassLoader) |
ClassUtils() | 36 | 253 | N/A | 3 | 2 | 0 | 3 | 1 | org.springframework.util.ClassUtils.ClassUtils() |
deleteRecursively(File) | 9 | 37 | N/A | 6 | 5 | 1 | 2 | 1 | org.springframework.util.FileSystemUtils.deleteRecursively(File) |
Statistics
Stat | # lines of code (LOC) | # ByteCode instructions | Cyclomatic Complexity (CC) | ByteCode Cyclomatic Complexity (BCCC) | ByteCode Nesting Depth | # Parameters | # Variables | # Overloads |
---|---|---|---|---|---|---|---|---|
Sum: | 13 764 | 69 062 | 0 | 6 546 | 2 048 | 1 864 | 3 105 | 4 507 |
Average: | 16.583 | 83.207 | 0 | 7.8867 | 2.4675 | 2.2458 | 3.741 | 5.4301 |
Minimum: | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 |
Maximum: | 167 | 2 174 | 0 | 218 | 39 | 9 | 47 | 19 |
Standard deviation: | 21.286 | 127.96 | 0 | 13.269 | 3.9044 | 1.6273 | 5.5553 | 4.7379 |
Variance: | 453.1 | 16 372 | 0 | 176.07 | 15.244 | 2.648 | 30.862 | 22.448 |
![]() | Rule warning: Methods too big (NbLinesOfCode) |
// <Name>Methods too big (NbLinesOfCode)</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
NbLinesOfCode > 30
ORDER BY NbLinesOfCode DESC
// METHODS WHERE NbLinesOfCode > 30 are extremely complex
// and should be split in smaller methods
// (except if they are automatically generated by a tool).
// See the definition of the NbLinesOfCode metric here
// http://www.JavaDepend.com/Metrics.aspx#NbLinesOfCode
WARN IF Count > 0 IN SELECT METHODS WHERE
NbLinesOfCode > 30
ORDER BY NbLinesOfCode DESC
// METHODS WHERE NbLinesOfCode > 30 are extremely complex
// and should be split in smaller methods
// (except if they are automatically generated by a tool).
// See the definition of the NbLinesOfCode metric here
// http://www.JavaDepend.com/Metrics.aspx#NbLinesOfCode
188 methods matched
The following list of methods is truncated and contains only the first 100 methods of the 188 methods matched. All matched methods could be listed in the report by unchecking the option:
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched methods.
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched methods.
methods | # lines of code (LOC) | Full Name |
---|---|---|
methods | # lines of code (LOC) | Full Name |
buildSessionFactory() | 167 | org.springframework.orm.hibernate3.LocalSessionFactoryBean .buildSessionFactory() |
instantiateUsingFactoryMethod(String,RootBeanDefinition,Object[]) | 164 | org.springframework.beans.factory.support.ConstructorResolver .instantiateUsingFactoryMethod(String,RootBeanDefinition,Object[]) |
setPropertyValue(BeanWrapperImpl$PropertyTokenHolder,PropertyValue) | 158 | org.springframework.beans.BeanWrapperImpl.setPropertyValue (BeanWrapperImpl$PropertyTokenHolder,PropertyValue) |
autowireConstructor(String,RootBeanDefinition,Constructor[],Object[]) | 121 | org.springframework.beans.factory.support.ConstructorResolver .autowireConstructor(String,RootBeanDefinition,Constructor[],Object[]) |
resolveHandlerArguments(Method,Object,NativeWebRequest ,ExtendedModelMap) | 97 | org.springframework.web.bind.annotation.support.HandlerMethodInvoker .resolveHandlerArguments(Method,Object,NativeWebRequest ,ExtendedModelMap) |
reconcileParameters(List) | 95 | org.springframework.jdbc.core.metadata.CallMetaDataContext .reconcileParameters(List) |
getPropertyValue(BeanWrapperImpl$PropertyTokenHolder) | 95 | org.springframework.beans.BeanWrapperImpl.getPropertyValue (BeanWrapperImpl$PropertyTokenHolder) |
run() | 93 | org.springframework.jms.listener .DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run() |
process() | 86 | org.springframework.expression.spel.standard.Tokenizer.process() |
getValueInternal(ExpressionState) | 86 | org.springframework.expression.spel.ast.Selection.getValueInternal (ExpressionState) |
UriUtils() | 86 | org.springframework.web.util.UriUtils.UriUtils() |
doMatch(String,String,boolean,Map) | 81 | org.springframework.util.AntPathMatcher.doMatch(String,String,boolean ,Map) |
parseContainer(Element,Element,ParserContext) | 79 | org.springframework.jms.config.JmsListenerContainerParser .parseContainer(Element,Element,ParserContext) |
runManaged(Method) | 73 | org.springframework.test.context.junit38 .AbstractJUnit38SpringContextTests.runManaged(Method) |
doResolveDependency(DependencyDescriptor,Class,String,Set ,TypeConverter) | 73 | org.springframework.beans.factory.support.DefaultListableBeanFactory .doResolveDependency(DependencyDescriptor,Class,String,Set ,TypeConverter) |
processProcedureColumns(DatabaseMetaData,String,String,String) | 73 | org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider .processProcedureColumns(DatabaseMetaData,String,String,String) |
doBegin(Object,TransactionDefinition) | 72 | org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin (Object,TransactionDefinition) |
doReceiveAndExecute(Object,Session,MessageConsumer,TransactionStatus) | 72 | org.springframework.jms.listener .AbstractPollingMessageListenerContainer.doReceiveAndExecute(Object ,Session,MessageConsumer,TransactionStatus) |
SpelMessage() | 72 | org.springframework.expression.spel.SpelMessage.SpelMessage() |
doTranslate(String,String,SQLException) | 71 | org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator .doTranslate(String,String,SQLException) |
handleExistingTransaction(TransactionDefinition,Object,boolean) | 71 | org.springframework.transaction.support .AbstractPlatformTransactionManager.handleExistingTransaction (TransactionDefinition,Object,boolean) |
getValueInternal(ExpressionState) | 68 | org.springframework.expression.spel.ast.Indexer.getValueInternal (ExpressionState) |
parseMapElement(Element,BeanDefinition) | 67 | org.springframework.beans.factory.xml.BeanDefinitionParserDelegate .parseMapElement(Element,BeanDefinition) |
createArgumentArray(String,RootBeanDefinition ,ConstructorArgumentValues,BeanWrapper,Class[],String[],Object,boolean ) | 65 | org.springframework.beans.factory.support.ConstructorResolver .createArgumentArray(String,RootBeanDefinition ,ConstructorArgumentValues,BeanWrapper,Class[],String[],Object,boolean ) |
invoke(Object,Method,Object[]) | 65 | org.springframework.orm.jpa .SharedEntityManagerCreator$SharedEntityManagerInvocationHandler .invoke(Object,Method,Object[]) |
resolveValueIfNecessary(Object,Object) | 64 | org.springframework.beans.factory.support.BeanDefinitionValueResolver .resolveValueIfNecessary(Object,Object) |
convertIfNecessary(String,Object,Object,Class,TypeDescriptor)<T> | 63 | org.springframework.beans.TypeConverterDelegate.convertIfNecessary (String,Object,Object,Class,TypeDescriptor)<T> |
execute(TransactionDefinition,TransactionCallback) | 63 | org.springframework.transaction.jta.WebSphereUowTransactionManager .execute(TransactionDefinition,TransactionCallback) |
createArray(ExpressionState) | 61 | org.springframework.expression.spel.ast.ConstructorReference .createArray(ExpressionState) |
doInvoke(HessianSkeleton,InputStream,OutputStream) | 59 | org.springframework.remoting.caucho.HessianExporter.doInvoke (HessianSkeleton,InputStream,OutputStream) |
runBare() | 59 | org.springframework.test.jpa.AbstractJpaTests.runBare() |
lexNumericLiteral(boolean) | 58 | org.springframework.expression.spel.standard.Tokenizer .lexNumericLiteral(boolean) |
processTableColumns(DatabaseMetaData ,GenericTableMetaDataProvider$TableMetaData) | 58 | org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider .processTableColumns(DatabaseMetaData ,GenericTableMetaDataProvider$TableMetaData) |
findResourceMetadata(Class) | 58 | org.springframework.context.annotation .CommonAnnotationBeanPostProcessor.findResourceMetadata(Class) |
compareArgumentsVarargs(List,List,TypeConverter) | 58 | org.springframework.expression.spel.support.ReflectionHelper .compareArgumentsVarargs(List,List,TypeConverter) |
registerBeanDefinition(String,Map,String,String) | 58 | org.springframework.beans.factory.support .PropertiesBeanDefinitionReader.registerBeanDefinition(String,Map ,String,String) |
loadBeanDefinitionsForModelMethod(ConfigurationClassMethod) | 58 | org.springframework.context.annotation .ConfigurationClassBeanDefinitionReader .loadBeanDefinitionsForModelMethod(ConfigurationClassMethod) |
HttpStatus() | 57 | org.springframework.http.HttpStatus.HttpStatus() |
convertToTypedMap(Map,String,Class,TypeDescriptor) | 57 | org.springframework.beans.TypeConverterDelegate.convertToTypedMap(Map ,String,Class,TypeDescriptor) |
doGetBean(String,Class,Object[],boolean)<T> | 56 | org.springframework.beans.factory.support.AbstractBeanFactory .doGetBean(String,Class,Object[],boolean)<T> |
applyPropertyValues(String,BeanDefinition,BeanWrapper,PropertyValues) | 55 | org.springframework.beans.factory.support .AbstractAutowireCapableBeanFactory.applyPropertyValues(String ,BeanDefinition,BeanWrapper,PropertyValues) |
createCustomException(String,String,SQLException,Class) | 55 | org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator .createCustomException(String,String,SQLException,Class) |
doCreateBean(String,RootBeanDefinition,Object[]) | 55 | org.springframework.beans.factory.support .AbstractAutowireCapableBeanFactory.doCreateBean(String ,RootBeanDefinition,Object[]) |
accept(Method) | 55 | org.springframework.aop.framework.Cglib2AopProxy$ProxyCallbackFilter .accept(Method) |
invokeBeanFactoryPostProcessors(ConfigurableListableBeanFactory) | 54 | org.springframework.context.support.AbstractApplicationContext .invokeBeanFactoryPostProcessors(ConfigurableListableBeanFactory) |
setValue(ExpressionState,Object) | 53 | org.springframework.expression.spel.ast.Indexer.setValue (ExpressionState,Object) |
invoke(Object,Method,Object[]) | 53 | org.springframework.jms.connection .SingleConnectionFactory$SharedConnectionInvocationHandler.invoke (Object,Method,Object[]) |
getValueInternal(ExpressionState) | 53 | org.springframework.expression.spel.ast.Projection.getValueInternal (ExpressionState) |
convertToTypedCollection(Collection,String,Class,TypeDescriptor) | 53 | org.springframework.beans.TypeConverterDelegate .convertToTypedCollection(Collection,String,Class,TypeDescriptor) |
locateTableAndProcessMetaData(DatabaseMetaData,String,String,String) | 53 | org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider .locateTableAndProcessMetaData(DatabaseMetaData,String,String,String) |
invoke(Object,Method,Object[]) | 53 | org.springframework.aop.framework.JdkDynamicAopProxy.invoke(Object ,Method,Object[]) |
AbstractBeanDefinition(BeanDefinition) | 52 | org.springframework.beans.factory.support.AbstractBeanDefinition .AbstractBeanDefinition(BeanDefinition) |
VfsUtils() | 52 | org.springframework.core.io.VfsUtils.VfsUtils() |
resolve(EvaluationContext,Object,String,List) | 52 | org.springframework.expression.spel.support.ReflectiveMethodResolver .resolve(EvaluationContext,Object,String,List) |
setValue(PreparedStatement,int,int,String,Integer,Object) | 51 | org.springframework.jdbc.core.StatementCreatorUtils.setValue (PreparedStatement,int,int,String,Integer,Object) |
parseBeanDefinitionAttributes(Element,String,BeanDefinition ,AbstractBeanDefinition) | 51 | org.springframework.beans.factory.xml.BeanDefinitionParserDelegate .parseBeanDefinitionAttributes(Element,String,BeanDefinition ,AbstractBeanDefinition) |
invoke(Object,Method,Object[]) | 50 | org.springframework.jdbc.datasource .LazyConnectionDataSourceProxy$LazyConnectionInvocationHandler.invoke (Object,Method,Object[]) |
parseContainer(Element,Element,ParserContext) | 50 | org.springframework.jms.config.JcaListenerContainerParser .parseContainer(Element,Element,ParserContext) |
getProxy(ClassLoader) | 50 | org.springframework.aop.framework.Cglib2AopProxy.getProxy(ClassLoader) |
createDefaultEditors() | 48 | org.springframework.beans.PropertyEditorRegistrySupport .createDefaultEditors() |
parseInternal(Element,ParserContext) | 48 | org.springframework.scripting.config.ScriptBeanDefinitionParser .parseInternal(Element,ParserContext) |
buildAspectJAdvisors() | 48 | org.springframework.aop.aspectj.annotation .BeanFactoryAspectJAdvisorsBuilder.buildAspectJAdvisors() |
processCommit(DefaultTransactionStatus) | 48 | org.springframework.transaction.support .AbstractPlatformTransactionManager.processCommit (DefaultTransactionStatus) |
inject(Object,String,PropertyValues) | 48 | org.springframework.beans.factory.annotation .AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject (Object,String,PropertyValues) |
getParameterNames(Method) | 47 | org.springframework.aop.aspectj.AspectJAdviceParameterNameDiscoverer .getParameterNames(Method) |
parseListener(Element,Element,ParserContext) | 46 | org.springframework.jms.config.AbstractListenerContainerParser .parseListener(Element,Element,ParserContext) |
MediaType() | 46 | org.springframework.http.MediaType.MediaType() |
resolveInitBinderArguments(Object,Method,WebDataBinder ,NativeWebRequest) | 46 | org.springframework.web.bind.annotation.support.HandlerMethodInvoker .resolveInitBinderArguments(Object,Method,WebDataBinder ,NativeWebRequest) |
getResultSetValue(ResultSet,int,Class) | 46 | org.springframework.jdbc.support.JdbcUtils.getResultSetValue(ResultSet ,int,Class) |
JBossClassLoaderAdapter(ClassLoader) | 45 | org.springframework.instrument.classloading.jboss .JBossClassLoaderAdapter.JBossClassLoaderAdapter(ClassLoader) |
invoke(Object,Method,Object[]) | 45 | org.springframework.jdbc.datasource .TransactionAwareDataSourceProxy$TransactionAwareInvocationHandler .invoke(Object,Method,Object[]) |
execute(SqlMapClientCallback) | 45 | org.springframework.orm.ibatis.SqlMapClientTemplate.execute (SqlMapClientCallback) |
retrieveTestExecutionListeners(Class) | 45 | org.springframework.test.context.TestContextManager .retrieveTestExecutionListeners(Class) |
doGetTransactionalSession(ConnectionFactory ,ConnectionFactoryUtils$ResourceFactory,boolean) | 45 | org.springframework.jms.connection.ConnectionFactoryUtils .doGetTransactionalSession(ConnectionFactory ,ConnectionFactoryUtils$ResourceFactory,boolean) |
afterPropertiesSet() | 44 | org.springframework.scheduling.quartz.SchedulerFactoryBean .afterPropertiesSet() |
parsePropertySubElement(Element,BeanDefinition,String) | 44 | org.springframework.beans.factory.xml.BeanDefinitionParserDelegate .parsePropertySubElement(Element,BeanDefinition,String) |
parseAspect(Element,ParserContext) | 44 | org.springframework.aop.config.ConfigBeanDefinitionParser.parseAspect (Element,ParserContext) |
doBegin(Object,TransactionDefinition) | 44 | org.springframework.orm.jdo.JdoTransactionManager.doBegin(Object ,TransactionDefinition) |
getMatchingConverterForTarget(TypeDescriptor,TypeDescriptor,Map) | 44 | org.springframework.core.convert.support.GenericConversionService .getMatchingConverterForTarget(TypeDescriptor,TypeDescriptor,Map) |
afterPropertiesSet() | 44 | org.springframework.jdbc.support.DatabaseStartupValidator .afterPropertiesSet() |
doBegin(Object,TransactionDefinition) | 44 | org.springframework.orm.jpa.JpaTransactionManager.doBegin(Object ,TransactionDefinition) |
getAdvice(Method,AspectJExpressionPointcut ,MetadataAwareAspectInstanceFactory,int,String) | 44 | org.springframework.aop.aspectj.annotation .ReflectiveAspectJAdvisorFactory.getAdvice(Method ,AspectJExpressionPointcut,MetadataAwareAspectInstanceFactory,int ,String) |
determineCandidateConstructors(Class,String) | 43 | org.springframework.beans.factory.annotation .AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors (Class,String) |
findConverterForClassPair(TypeDescriptor,TypeDescriptor) | 43 | org.springframework.core.convert.support.GenericConversionService .findConverterForClassPair(TypeDescriptor,TypeDescriptor) |
doSend(MimeMessage[],Object[]) | 43 | org.springframework.mail.javamail.JavaMailSenderImpl.doSend (MimeMessage[],Object[]) |
invoke(Object,Method,Object[]) | 43 | org.springframework.jms.connection .CachingConnectionFactory$CachedSessionInvocationHandler.invoke(Object ,Method,Object[]) |
getValueInternal(ExpressionState) | 43 | org.springframework.expression.spel.ast.PropertyOrFieldReference .getValueInternal(ExpressionState) |
isAssignable(WildcardType,Type) | 43 | org.springframework.util.TypeUtils.isAssignable(WildcardType,Type) |
getBeanNamesForType(Class,boolean,boolean) | 42 | org.springframework.beans.factory.support.DefaultListableBeanFactory .getBeanNamesForType(Class,boolean,boolean) |
doGetSession(SessionFactory,Interceptor,SQLExceptionTranslator,boolean ) | 42 | org.springframework.orm.hibernate3.SessionFactoryUtils.doGetSession (SessionFactory,Interceptor,SQLExceptionTranslator,boolean) |
populateBean(String,AbstractBeanDefinition,BeanWrapper) | 42 | org.springframework.beans.factory.support .AbstractAutowireCapableBeanFactory.populateBean(String ,AbstractBeanDefinition,BeanWrapper) |
run() | 42 | org.springframework.transaction.jta .WebSphereUowTransactionManager$UOWActionAdapter.run() |
doExecute(HibernateCallback,boolean,boolean)<T> | 42 | org.springframework.orm.hibernate3.HibernateTemplate.doExecute (HibernateCallback,boolean,boolean)<T> |
getCallbacks(Class) | 41 | org.springframework.aop.framework.Cglib2AopProxy.getCallbacks(Class) |
read(EvaluationContext,Object,String) | 41 | org.springframework.expression.spel.support.ReflectivePropertyAccessor .read(EvaluationContext,Object,String) |
prepare() | 41 | org.springframework.remoting.rmi.RmiServiceExporter.prepare() |
extractTypeFromParameterizedType(MethodParameter,ParameterizedType ,Class,int,int,int) | 40 | org.springframework.core.GenericCollectionTypeResolver .extractTypeFromParameterizedType(MethodParameter,ParameterizedType ,Class,int,int,int) |
doFindPathMatchingJarResources(Resource,String) | 40 | org.springframework.core.io.support .PathMatchingResourcePatternResolver.doFindPathMatchingJarResources (Resource,String) |
execute(PreparedStatementCreator,PreparedStatementCallback) | 40 | org.springframework.jdbc.core.JdbcTemplate.execute (PreparedStatementCreator,PreparedStatementCallback) |
processMetaData(DatabaseMetaData) | 40 | org.springframework.jdbc.core.metadata.CallMetaDataProviderFactory$1 .processMetaData(DatabaseMetaData) |
Statistics
Stat | # lines of code (LOC) |
---|---|
Sum: | 8 983 |
Average: | 47.782 |
Minimum: | 31 |
Maximum: | 167 |
Standard deviation: | 21.379 |
Variance: | 457.07 |
![]() | Rule warning: Methods too big (NbBCInstructions) |
// <Name>Methods too big (NbBCInstructions)</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
NbBCInstructions > 200
ORDER BY NbBCInstructions DESC
// METHODS WHERE NbBCInstructions > 200 are extremely complex
// and should be split in smaller methods
// (except if they are automatically generated by a tool).
// See the definition of the NbBCInstructions metric here
// http://www.JavaDepend.com/Metrics.aspx#NbBCInstructions
WARN IF Count > 0 IN SELECT METHODS WHERE
NbBCInstructions > 200
ORDER BY NbBCInstructions DESC
// METHODS WHERE NbBCInstructions > 200 are extremely complex
// and should be split in smaller methods
// (except if they are automatically generated by a tool).
// See the definition of the NbBCInstructions metric here
// http://www.JavaDepend.com/Metrics.aspx#NbBCInstructions
74 methods matched
methods | # ByteCode instructions | Full Name |
---|---|---|
methods | # ByteCode instructions | Full Name |
accept(ClassVisitor,Attribute[],boolean) | 2 174 | org.springframework.asm.ClassReader.accept(ClassVisitor,Attribute[] ,boolean) |
a(int[],int[],int) | 879 | org.springframework.asm.MethodWriter.a(int[],int[],int) |
SpelMessage() | 835 | org.springframework.expression.spel.SpelMessage.SpelMessage() |
setPropertyValue(BeanWrapperImpl$PropertyTokenHolder,PropertyValue) | 721 | org.springframework.beans.BeanWrapperImpl.setPropertyValue (BeanWrapperImpl$PropertyTokenHolder,PropertyValue) |
buildSessionFactory() | 680 | org.springframework.orm.hibernate3.LocalSessionFactoryBean .buildSessionFactory() |
instantiateUsingFactoryMethod(String,RootBeanDefinition,Object[]) | 619 | org.springframework.beans.factory.support.ConstructorResolver .instantiateUsingFactoryMethod(String,RootBeanDefinition,Object[]) |
HttpStatus() | 619 | org.springframework.http.HttpStatus.HttpStatus() |
a(ByteVector) | 602 | org.springframework.asm.MethodWriter.a(ByteVector) |
toByteArray() | 511 | org.springframework.asm.ClassWriter.toByteArray() |
getPropertyValue(BeanWrapperImpl$PropertyTokenHolder) | 476 | org.springframework.beans.BeanWrapperImpl.getPropertyValue (BeanWrapperImpl$PropertyTokenHolder) |
reconcileParameters(List) | 471 | org.springframework.jdbc.core.metadata.CallMetaDataContext .reconcileParameters(List) |
TokenKind() | 468 | org.springframework.expression.spel.standard.TokenKind.TokenKind() |
run() | 464 | org.springframework.jms.listener .DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run() |
visit(String,Object) | 416 | org.springframework.asm.AnnotationWriter.visit(String,Object) |
autowireConstructor(String,RootBeanDefinition,Constructor[],Object[]) | 415 | org.springframework.beans.factory.support.ConstructorResolver .autowireConstructor(String,RootBeanDefinition,Constructor[],Object[]) |
a(int,char[],String,AnnotationVisitor) | 413 | org.springframework.asm.ClassReader.a(int,char[],String ,AnnotationVisitor) |
resolveHandlerArguments(Method,Object,NativeWebRequest ,ExtendedModelMap) | 398 | org.springframework.web.bind.annotation.support.HandlerMethodInvoker .resolveHandlerArguments(Method,Object,NativeWebRequest ,ExtendedModelMap) |
createDefaultEditors() | 395 | org.springframework.beans.PropertyEditorRegistrySupport .createDefaultEditors() |
doTranslate(String,String,SQLException) | 382 | org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator .doTranslate(String,String,SQLException) |
createCustomException(String,String,SQLException,Class) | 361 | org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator .createCustomException(String,String,SQLException,Class) |
getValueInternal(ExpressionState) | 360 | org.springframework.expression.spel.ast.Selection.getValueInternal (ExpressionState) |
getValueInternal(ExpressionState) | 360 | org.springframework.expression.spel.ast.Indexer.getValueInternal (ExpressionState) |
a() | 351 | org.springframework.asm.MethodWriter.a() |
doResolveDependency(DependencyDescriptor,Class,String,Set ,TypeConverter) | 347 | org.springframework.beans.factory.support.DefaultListableBeanFactory .doResolveDependency(DependencyDescriptor,Class,String,Set ,TypeConverter) |
findResourceMetadata(Class) | 334 | org.springframework.context.annotation .CommonAnnotationBeanPostProcessor.findResourceMetadata(Class) |
lexNumericLiteral(boolean) | 319 | org.springframework.expression.spel.standard.Tokenizer .lexNumericLiteral(boolean) |
processProcedureColumns(DatabaseMetaData,String,String,String) | 310 | org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider .processProcedureColumns(DatabaseMetaData,String,String,String) |
doMatch(String,String,boolean,Map) | 306 | org.springframework.util.AntPathMatcher.doMatch(String,String,boolean ,Map) |
convertIfNecessary(String,Object,Object,Class,TypeDescriptor)<T> | 303 | org.springframework.beans.TypeConverterDelegate.convertIfNecessary (String,Object,Object,Class,TypeDescriptor)<T> |
runBare() | 295 | org.springframework.test.jpa.AbstractJpaTests.runBare() |
createArray(ExpressionState) | 292 | org.springframework.expression.spel.ast.ConstructorReference .createArray(ExpressionState) |
parseContainer(Element,Element,ParserContext) | 289 | org.springframework.jms.config.JmsListenerContainerParser .parseContainer(Element,Element,ParserContext) |
UriUtils() | 285 | org.springframework.web.util.UriUtils.UriUtils() |
registerBeanDefinition(String,Map,String,String) | 284 | org.springframework.beans.factory.support .PropertiesBeanDefinitionReader.registerBeanDefinition(String,Map ,String,String) |
loadBeanDefinitionsForModelMethod(ConfigurationClassMethod) | 277 | org.springframework.context.annotation .ConfigurationClassBeanDefinitionReader .loadBeanDefinitionsForModelMethod(ConfigurationClassMethod) |
createArgumentArray(String,RootBeanDefinition ,ConstructorArgumentValues,BeanWrapper,Class[],String[],Object,boolean ) | 274 | org.springframework.beans.factory.support.ConstructorResolver .createArgumentArray(String,RootBeanDefinition ,ConstructorArgumentValues,BeanWrapper,Class[],String[],Object,boolean ) |
setValue(ExpressionState,Object) | 271 | org.springframework.expression.spel.ast.Indexer.setValue (ExpressionState,Object) |
setValue(PreparedStatement,int,int,String,Integer,Object) | 269 | org.springframework.jdbc.core.StatementCreatorUtils.setValue (PreparedStatement,int,int,String,Integer,Object) |
doGetBean(String,Class,Object[],boolean)<T> | 264 | org.springframework.beans.factory.support.AbstractBeanFactory .doGetBean(String,Class,Object[],boolean)<T> |
execute(TransactionDefinition,TransactionCallback) | 264 | org.springframework.transaction.jta.WebSphereUowTransactionManager .execute(TransactionDefinition,TransactionCallback) |
doBegin(Object,TransactionDefinition) | 263 | org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin (Object,TransactionDefinition) |
FormHttpMessageConverter() | 260 | org.springframework.http.converter.FormHttpMessageConverter .FormHttpMessageConverter() |
handleExistingTransaction(TransactionDefinition,Object,boolean) | 256 | org.springframework.transaction.support .AbstractPlatformTransactionManager.handleExistingTransaction (TransactionDefinition,Object,boolean) |
ClassUtils() | 253 | org.springframework.util.ClassUtils.ClassUtils() |
doReceiveAndExecute(Object,Session,MessageConsumer,TransactionStatus) | 251 | org.springframework.jms.listener .AbstractPollingMessageListenerContainer.doReceiveAndExecute(Object ,Session,MessageConsumer,TransactionStatus) |
resolveValueIfNecessary(Object,Object) | 250 | org.springframework.beans.factory.support.BeanDefinitionValueResolver .resolveValueIfNecessary(Object,Object) |
parseMapElement(Element,BeanDefinition) | 249 | org.springframework.beans.factory.xml.BeanDefinitionParserDelegate .parseMapElement(Element,BeanDefinition) |
process() | 243 | org.springframework.expression.spel.standard.Tokenizer.process() |
invoke(Object,Method,Object[]) | 239 | org.springframework.orm.jpa .SharedEntityManagerCreator$SharedEntityManagerInvocationHandler .invoke(Object,Method,Object[]) |
invoke(Object,Method,Object[]) | 238 | org.springframework.jms.connection .SingleConnectionFactory$SharedConnectionInvocationHandler.invoke (Object,Method,Object[]) |
doCreateBean(String,RootBeanDefinition,Object[]) | 237 | org.springframework.beans.factory.support .AbstractAutowireCapableBeanFactory.doCreateBean(String ,RootBeanDefinition,Object[]) |
resolve(EvaluationContext,Object,String,List) | 233 | org.springframework.expression.spel.support.ReflectiveMethodResolver .resolve(EvaluationContext,Object,String,List) |
accept(Method) | 232 | org.springframework.aop.framework.Cglib2AopProxy$ProxyCallbackFilter .accept(Method) |
read(EvaluationContext,Object,String) | 232 | org.springframework.expression.spel.support.ReflectivePropertyAccessor .read(EvaluationContext,Object,String) |
VfsUtils() | 230 | org.springframework.core.io.VfsUtils.VfsUtils() |
invokeBeanFactoryPostProcessors(ConfigurableListableBeanFactory) | 229 | org.springframework.context.support.AbstractApplicationContext .invokeBeanFactoryPostProcessors(ConfigurableListableBeanFactory) |
invoke(Object,Method,Object[]) | 225 | org.springframework.jms.connection .CachingConnectionFactory$CachedSessionInvocationHandler.invoke(Object ,Method,Object[]) |
compareArgumentsVarargs(List,List,TypeConverter) | 225 | org.springframework.expression.spel.support.ReflectionHelper .compareArgumentsVarargs(List,List,TypeConverter) |
getBeanNamesForType(Class,boolean,boolean) | 225 | org.springframework.beans.factory.support.DefaultListableBeanFactory .getBeanNamesForType(Class,boolean,boolean) |
convertHibernateAccessException(HibernateException) | 224 | org.springframework.orm.hibernate3.SessionFactoryUtils .convertHibernateAccessException(HibernateException) |
invoke(Object,Method,Object[]) | 219 | org.springframework.jdbc.datasource .LazyConnectionDataSourceProxy$LazyConnectionInvocationHandler.invoke (Object,Method,Object[]) |
parseBeanDefinitionAttributes(Element,String,BeanDefinition ,AbstractBeanDefinition) | 218 | org.springframework.beans.factory.xml.BeanDefinitionParserDelegate .parseBeanDefinitionAttributes(Element,String,BeanDefinition ,AbstractBeanDefinition) |
getResultSetValue(ResultSet,int,Class) | 217 | org.springframework.jdbc.support.JdbcUtils.getResultSetValue(ResultSet ,int,Class) |
getAnnotations() | 216 | org.springframework.core.convert.support.PropertyTypeDescriptor .getAnnotations() |
locateTableAndProcessMetaData(DatabaseMetaData,String,String,String) | 216 | org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider .locateTableAndProcessMetaData(DatabaseMetaData,String,String,String) |
visitInsn(int) | 216 | org.springframework.asm.commons.AdviceAdapter.visitInsn(int) |
putUTF8(String) | 215 | org.springframework.asm.ByteVector.putUTF8(String) |
getValueInternal(ExpressionState) | 214 | org.springframework.expression.spel.ast.Projection.getValueInternal (ExpressionState) |
convertToTypedMap(Map,String,Class,TypeDescriptor) | 213 | org.springframework.beans.TypeConverterDelegate.convertToTypedMap(Map ,String,Class,TypeDescriptor) |
doInvoke(HessianSkeleton,InputStream,OutputStream) | 213 | org.springframework.remoting.caucho.HessianExporter.doInvoke (HessianSkeleton,InputStream,OutputStream) |
isAssignable(WildcardType,Type) | 213 | org.springframework.util.TypeUtils.isAssignable(WildcardType,Type) |
buildAspectJAdvisors() | 210 | org.springframework.aop.aspectj.annotation .BeanFactoryAspectJAdvisorsBuilder.buildAspectJAdvisors() |
inject(Object,String,PropertyValues) | 206 | org.springframework.beans.factory.annotation .AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject (Object,String,PropertyValues) |
a(ByteVector) | 202 | org.springframework.asm.FieldWriter.a(ByteVector) |
Statistics
Stat | # ByteCode instructions |
---|---|
Sum: | 26 135 |
Average: | 353.18 |
Minimum: | 202 |
Maximum: | 2 174 |
Standard deviation: | 259.15 |
Variance: | 67 158 |
![]() | Rule warning: Methods too complex (BCCyclomaticComplexity) |
// <Name>Methods too complex (BCCyclomaticComplexity)</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
BCCyclomaticComplexity > 40
ORDER BY BCCyclomaticComplexity DESC
// METHODS WHERE BCCyclomaticComplexity > 20
// are hard to understand and maintain.
// METHODS WHERE BCCyclomaticComplexity > 40
// are extremely complex and should be split
// in smaller methods
// (except if they are automatically generated by a tool).
// See the definition of the BCCyclomaticComplexity metric here
// http://www.JavaDepend.com/Metrics.aspx#ILCC
WARN IF Count > 0 IN SELECT METHODS WHERE
BCCyclomaticComplexity > 40
ORDER BY BCCyclomaticComplexity DESC
// METHODS WHERE BCCyclomaticComplexity > 20
// are hard to understand and maintain.
// METHODS WHERE BCCyclomaticComplexity > 40
// are extremely complex and should be split
// in smaller methods
// (except if they are automatically generated by a tool).
// See the definition of the BCCyclomaticComplexity metric here
// http://www.JavaDepend.com/Metrics.aspx#ILCC
13 methods matched
methods | ByteCode Cyclomatic Complexity (BCCC) | Full Name |
---|---|---|
methods | ByteCode Cyclomatic Complexity (BCCC) | Full Name |
visitInsn(int) | 218 | org.springframework.asm.commons.AdviceAdapter.visitInsn(int) |
accept(ClassVisitor,Attribute[],boolean) | 176 | org.springframework.asm.ClassReader.accept(ClassVisitor,Attribute[] ,boolean) |
a(int,char[],String,AnnotationVisitor) | 91 | org.springframework.asm.ClassReader.a(int,char[],String ,AnnotationVisitor) |
a(int[],int[],int) | 80 | org.springframework.asm.MethodWriter.a(int[],int[],int) |
buildSessionFactory() | 61 | org.springframework.orm.hibernate3.LocalSessionFactoryBean .buildSessionFactory() |
instantiateUsingFactoryMethod(String,RootBeanDefinition,Object[]) | 56 | org.springframework.beans.factory.support.ConstructorResolver .instantiateUsingFactoryMethod(String,RootBeanDefinition,Object[]) |
process() | 55 | org.springframework.expression.spel.standard.Tokenizer.process() |
visitJumpInsn(int,Label) | 49 | org.springframework.asm.commons.AdviceAdapter.visitJumpInsn(int,Label) |
run() | 48 | org.springframework.jms.listener .DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run() |
a(ByteVector) | 47 | org.springframework.asm.MethodWriter.a(ByteVector) |
setPropertyValue(BeanWrapperImpl$PropertyTokenHolder,PropertyValue) | 43 | org.springframework.beans.BeanWrapperImpl.setPropertyValue (BeanWrapperImpl$PropertyTokenHolder,PropertyValue) |
autowireConstructor(String,RootBeanDefinition,Constructor[],Object[]) | 42 | org.springframework.beans.factory.support.ConstructorResolver .autowireConstructor(String,RootBeanDefinition,Constructor[],Object[]) |
visitVarInsn(int,int) | 41 | org.springframework.asm.commons.AdviceAdapter.visitVarInsn(int,int) |
Statistics
Stat | ByteCode Cyclomatic Complexity (BCCC) |
---|---|
Sum: | 1 007 |
Average: | 77.462 |
Minimum: | 41 |
Maximum: | 218 |
Standard deviation: | 53.542 |
Variance: | 2 866 |
![]() | Rule warning: Methods too complex (BCNestingDepth) |
// <Name>Methods too complex (BCNestingDepth)</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
BCNestingDepth > 4
ORDER BY BCNestingDepth DESC
// METHODS WHERE BCNestingDepth > 4 are hard
// to understand and maintain.
// METHODS WHERE BCNestingDepth > 8 is higher
// than 8 are extremely complex
// and should be split in smaller methods
// (except if they are automatically generated by a tool).
// See the definition of the NbBCInstructions metric here
// http://www.JavaDepend.com/Metrics.aspx#BCNestingDepth
WARN IF Count > 0 IN SELECT METHODS WHERE
BCNestingDepth > 4
ORDER BY BCNestingDepth DESC
// METHODS WHERE BCNestingDepth > 4 are hard
// to understand and maintain.
// METHODS WHERE BCNestingDepth > 8 is higher
// than 8 are extremely complex
// and should be split in smaller methods
// (except if they are automatically generated by a tool).
// See the definition of the NbBCInstructions metric here
// http://www.JavaDepend.com/Metrics.aspx#BCNestingDepth
224 methods matched
The following list of methods is truncated and contains only the first 100 methods of the 224 methods matched. All matched methods could be listed in the report by unchecking the option:
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched methods.
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched methods.
methods | ByteCode Nesting Depth | Full Name |
---|---|---|
methods | ByteCode Nesting Depth | Full Name |
accept(ClassVisitor,Attribute[],boolean) | 39 | org.springframework.asm.ClassReader.accept(ClassVisitor,Attribute[] ,boolean) |
reconcileParameters(List) | 27 | org.springframework.jdbc.core.metadata.CallMetaDataContext .reconcileParameters(List) |
buildSessionFactory() | 25 | org.springframework.orm.hibernate3.LocalSessionFactoryBean .buildSessionFactory() |
convertIfNecessary(String,Object,Object,Class,TypeDescriptor)<T> | 23 | org.springframework.beans.TypeConverterDelegate.convertIfNecessary (String,Object,Object,Class,TypeDescriptor)<T> |
getBeanNamesForType(Class,boolean,boolean) | 22 | org.springframework.beans.factory.support.DefaultListableBeanFactory .getBeanNamesForType(Class,boolean,boolean) |
instantiateUsingFactoryMethod(String,RootBeanDefinition,Object[]) | 20 | org.springframework.beans.factory.support.ConstructorResolver .instantiateUsingFactoryMethod(String,RootBeanDefinition,Object[]) |
doMatch(String,String,boolean,Map) | 17 | org.springframework.util.AntPathMatcher.doMatch(String,String,boolean ,Map) |
createCustomException(String,String,SQLException,Class) | 17 | org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator .createCustomException(String,String,SQLException,Class) |
compareArgumentsVarargs(List,List,TypeConverter) | 16 | org.springframework.expression.spel.support.ReflectionHelper .compareArgumentsVarargs(List,List,TypeConverter) |
a(int[],int[],int) | 16 | org.springframework.asm.MethodWriter.a(int[],int[],int) |
findResourceMetadata(Class) | 15 | org.springframework.context.annotation .CommonAnnotationBeanPostProcessor.findResourceMetadata(Class) |
invoke(Object,Method,Object[]) | 15 | org.springframework.aop.framework.JdkDynamicAopProxy.invoke(Object ,Method,Object[]) |
autowireConstructor(String,RootBeanDefinition,Constructor[],Object[]) | 14 | org.springframework.beans.factory.support.ConstructorResolver .autowireConstructor(String,RootBeanDefinition,Constructor[],Object[]) |
isTypeMatch(String,Class) | 14 | org.springframework.beans.factory.support.AbstractBeanFactory .isTypeMatch(String,Class) |
getValueInternal(ExpressionState) | 13 | org.springframework.expression.spel.ast.Indexer.getValueInternal (ExpressionState) |
getAnnotations() | 13 | org.springframework.core.convert.support.PropertyTypeDescriptor .getAnnotations() |
setPropertyValue(BeanWrapperImpl$PropertyTokenHolder,PropertyValue) | 13 | org.springframework.beans.BeanWrapperImpl.setPropertyValue (BeanWrapperImpl$PropertyTokenHolder,PropertyValue) |
invoke(Object,Method,Object[]) | 13 | org.springframework.jms.connection .CachingConnectionFactory$CachedSessionInvocationHandler.invoke(Object ,Method,Object[]) |
doTranslate(String,String,SQLException) | 13 | org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator .doTranslate(String,String,SQLException) |
applyFlushMode(Session,boolean) | 12 | org.springframework.orm.hibernate3.HibernateAccessor.applyFlushMode (Session,boolean) |
extractTypeFromParameterizedType(MethodParameter,ParameterizedType ,Class,int,int,int) | 12 | org.springframework.core.GenericCollectionTypeResolver .extractTypeFromParameterizedType(MethodParameter,ParameterizedType ,Class,int,int,int) |
nullSafeEquals(Object,Object) | 12 | org.springframework.util.ObjectUtils.nullSafeEquals(Object,Object) |
buildAutowiringMetadata(Class) | 11 | org.springframework.beans.factory.annotation .AutowiredAnnotationBeanPostProcessor.buildAutowiringMetadata(Class) |
isAssignable(Type,Type) | 11 | org.springframework.util.TypeUtils.isAssignable(Type,Type) |
getBeansOfType(Class,boolean,boolean)<T> | 11 | org.springframework.beans.factory.support.StaticListableBeanFactory .getBeansOfType(Class,boolean,boolean)<T> |
getValueInternal(ExpressionState) | 11 | org.springframework.expression.spel.ast.Selection.getValueInternal (ExpressionState) |
maybeBindThisOrTargetOrArgsFromPointcutExpression() | 11 | org.springframework.aop.aspectj.AspectJAdviceParameterNameDiscoverer .maybeBindThisOrTargetOrArgsFromPointcutExpression() |
getResultSetValue(ResultSet,int,Class) | 11 | org.springframework.jdbc.support.JdbcUtils.getResultSetValue(ResultSet ,int,Class) |
checkQualifier(BeanDefinitionHolder,Annotation,TypeConverter) | 11 | org.springframework.beans.factory.annotation .QualifierAnnotationAutowireCandidateResolver.checkQualifier (BeanDefinitionHolder,Annotation,TypeConverter) |
setAsText(String) | 11 | org.springframework.beans.propertyeditors.CustomBooleanEditor .setAsText(String) |
processProcedureColumns(DatabaseMetaData,String,String,String) | 10 | org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider .processProcedureColumns(DatabaseMetaData,String,String,String) |
parseMapElement(Element,BeanDefinition) | 10 | org.springframework.beans.factory.xml.BeanDefinitionParserDelegate .parseMapElement(Element,BeanDefinition) |
isAssignableTo(TypeDescriptor) | 10 | org.springframework.core.convert.TypeDescriptor.isAssignableTo (TypeDescriptor) |
updateModelAttributes(Object,Map,ExtendedModelMap,NativeWebRequest) | 10 | org.springframework.web.bind.annotation.support.HandlerMethodInvoker .updateModelAttributes(Object,Map,ExtendedModelMap,NativeWebRequest) |
registerEnvironmentBeans(ConfigurableListableBeanFactory ,ServletContext,ServletConfig) | 10 | org.springframework.web.context.support.WebApplicationContextUtils .registerEnvironmentBeans(ConfigurableListableBeanFactory ,ServletContext,ServletConfig) |
invoke(Object,Method,Object[]) | 10 | org.springframework.orm.jpa .ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler .invoke(Object,Method,Object[]) |
registerListeners() | 10 | org.springframework.scheduling.quartz.SchedulerAccessor .registerListeners() |
autodetect(MBeanExporter$AutodetectCallback) | 10 | org.springframework.jmx.export.MBeanExporter.autodetect (MBeanExporter$AutodetectCallback) |
populateBean(String,AbstractBeanDefinition,BeanWrapper) | 10 | org.springframework.beans.factory.support .AbstractAutowireCapableBeanFactory.populateBean(String ,AbstractBeanDefinition,BeanWrapper) |
getBeanNamesForType(Class,boolean,boolean) | 9 | org.springframework.beans.factory.support.StaticListableBeanFactory .getBeanNamesForType(Class,boolean,boolean) |
getInterceptorsAndDynamicInterceptionAdvice(Advised,Method,Class) | 9 | org.springframework.aop.framework.DefaultAdvisorChainFactory .getInterceptorsAndDynamicInterceptionAdvice(Advised,Method,Class) |
getGenericArgumentValue(Class,String,Set) | 9 | org.springframework.beans.factory.config.ConstructorArgumentValues .getGenericArgumentValue(Class,String,Set) |
applyPropertyValues(String,BeanDefinition,BeanWrapper,PropertyValues) | 9 | org.springframework.beans.factory.support .AbstractAutowireCapableBeanFactory.applyPropertyValues(String ,BeanDefinition,BeanWrapper,PropertyValues) |
doCreateBean(String,RootBeanDefinition,Object[]) | 9 | org.springframework.beans.factory.support .AbstractAutowireCapableBeanFactory.doCreateBean(String ,RootBeanDefinition,Object[]) |
invoke(Object,Method,Object[]) | 9 | org.springframework.jdbc.datasource .LazyConnectionDataSourceProxy$LazyConnectionInvocationHandler.invoke (Object,Method,Object[]) |
doGetSession(SessionFactory,Interceptor,SQLExceptionTranslator,boolean ) | 9 | org.springframework.orm.hibernate3.SessionFactoryUtils.doGetSession (SessionFactory,Interceptor,SQLExceptionTranslator,boolean) |
findPersistenceMetadata(Class) | 9 | org.springframework.orm.jpa.support .PersistenceAnnotationBeanPostProcessor.findPersistenceMetadata(Class) |
findGetterForProperty(String,Class,boolean) | 9 | org.springframework.expression.spel.support.ReflectivePropertyAccessor .findGetterForProperty(String,Class,boolean) |
run() | 9 | org.springframework.jms.listener .DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run() |
isAssignable(WildcardType,Type) | 9 | org.springframework.util.TypeUtils.isAssignable(WildcardType,Type) |
isNumeric(int) | 9 | org.springframework.jdbc.support.JdbcUtils.isNumeric(int) |
lexNumericLiteral(boolean) | 9 | org.springframework.expression.spel.standard.Tokenizer .lexNumericLiteral(boolean) |
DisposableBeanAdapter(Object,String,RootBeanDefinition,List ,AccessControlContext) | 8 | org.springframework.beans.factory.support.DisposableBeanAdapter .DisposableBeanAdapter(Object,String,RootBeanDefinition,List ,AccessControlContext) |
isCompatibleWith(MediaType) | 8 | org.springframework.http.MediaType.isCompatibleWith(MediaType) |
setValue(Object) | 8 | org.springframework.core.io.support.ResourceArrayPropertyEditor .setValue(Object) |
invoke(Object,Method,Object[]) | 8 | org.springframework.jms.connection .SingleConnectionFactory$SharedConnectionInvocationHandler.invoke (Object,Method,Object[]) |
isQualifierMatch(String,String,ConfigurableListableBeanFactory) | 8 | org.springframework.transaction.interceptor.TransactionAspectUtils .isQualifierMatch(String,String,ConfigurableListableBeanFactory) |
doRetrieveMatchingServletContextResources(ServletContext,String,String ,Set) | 8 | org.springframework.web.context.support .ServletContextResourcePatternResolver .doRetrieveMatchingServletContextResources(ServletContext,String ,String,Set) |
getValueInternal(ExpressionState) | 8 | org.springframework.expression.spel.ast.PropertyOrFieldReference .getValueInternal(ExpressionState) |
getType(String) | 8 | org.springframework.beans.factory.support.AbstractBeanFactory.getType (String) |
compareArguments(List,List,TypeConverter) | 8 | org.springframework.expression.spel.support.ReflectionHelper .compareArguments(List,List,TypeConverter) |
extractPathWithinPattern(String,String) | 8 | org.springframework.util.AntPathMatcher.extractPathWithinPattern (String,String) |
nextTag() | 8 | org.springframework.util.xml.AbstractXMLStreamReader.nextTag() |
accept(Method) | 8 | org.springframework.aop.framework.Cglib2AopProxy$ProxyCallbackFilter .accept(Method) |
checkRequiredFields(MutablePropertyValues) | 8 | org.springframework.validation.DataBinder.checkRequiredFields (MutablePropertyValues) |
isSimpleValueType(Class) | 8 | org.springframework.beans.BeanUtils.isSimpleValueType(Class) |
afterPropertiesSet() | 8 | org.springframework.scheduling.config.ScheduledTaskRegistrar .afterPropertiesSet() |
parseBeanDefinitionAttributes(Element,String,BeanDefinition ,AbstractBeanDefinition) | 8 | org.springframework.beans.factory.xml.BeanDefinitionParserDelegate .parseBeanDefinitionAttributes(Element,String,BeanDefinition ,AbstractBeanDefinition) |
registerJobsAndTriggers() | 8 | org.springframework.scheduling.quartz.SchedulerAccessor .registerJobsAndTriggers() |
setValue(ExpressionState,Object) | 8 | org.springframework.expression.spel.ast.Indexer.setValue (ExpressionState,Object) |
inject(Object,String,PropertyValues) | 8 | org.springframework.beans.factory.annotation .AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject (Object,String,PropertyValues) |
runManaged(Method) | 7 | org.springframework.test.context.junit38 .AbstractJUnit38SpringContextTests.runManaged(Method) |
preInstantiateSingletons() | 7 | org.springframework.beans.factory.support.DefaultListableBeanFactory .preInstantiateSingletons() |
handleMessage(IMessage) | 7 | org.springframework.aop.aspectj.AspectJWeaverMessageHandler .handleMessage(IMessage) |
resolve(EvaluationContext,Object,String,List) | 7 | org.springframework.expression.spel.support.ReflectiveMethodResolver .resolve(EvaluationContext,Object,String,List) |
parsePropertyValue(Element,BeanDefinition,String) | 7 | org.springframework.beans.factory.xml.BeanDefinitionParserDelegate .parsePropertyValue(Element,BeanDefinition,String) |
read(EvaluationContext,Object,String) | 7 | org.springframework.expression.spel.support.ReflectivePropertyAccessor .read(EvaluationContext,Object,String) |
parseBeanDefinitionElement(Element,BeanDefinition) | 7 | org.springframework.beans.factory.xml.BeanDefinitionParserDelegate .parseBeanDefinitionElement(Element,BeanDefinition) |
getValueInternal(ExpressionState) | 7 | org.springframework.expression.spel.ast.OpMultiply.getValueInternal (ExpressionState) |
registerBeans() | 7 | org.springframework.jmx.export.MBeanExporter.registerBeans() |
findConverterForClassPair(TypeDescriptor,TypeDescriptor) | 7 | org.springframework.core.convert.support.GenericConversionService .findConverterForClassPair(TypeDescriptor,TypeDescriptor) |
substituteNamedParameters(ParsedSql,SqlParameterSource) | 7 | org.springframework.jdbc.core.namedparam.NamedParameterUtils .substituteNamedParameters(ParsedSql,SqlParameterSource) |
parseSqlStatement(String) | 7 | org.springframework.jdbc.core.namedparam.NamedParameterUtils .parseSqlStatement(String) |
doFindMatchingMethod(Object[]) | 7 | org.springframework.beans.support.ArgumentConvertingMethodInvoker .doFindMatchingMethod(Object[]) |
setValue(Object) | 7 | org.springframework.beans.propertyeditors.CustomCollectionEditor .setValue(Object) |
convertToTypedMap(Map,String,Class,TypeDescriptor) | 7 | org.springframework.beans.TypeConverterDelegate.convertToTypedMap(Map ,String,Class,TypeDescriptor) |
copyCustomEditorsTo(PropertyEditorRegistry,String) | 7 | org.springframework.beans.PropertyEditorRegistrySupport .copyCustomEditorsTo(PropertyEditorRegistry,String) |
getPropertyValue(BeanWrapperImpl$PropertyTokenHolder) | 7 | org.springframework.beans.BeanWrapperImpl.getPropertyValue (BeanWrapperImpl$PropertyTokenHolder) |
equals(Object) | 7 | org.springframework.mail.SimpleMailMessage.equals(Object) |
findField(Class,String,Class) | 7 | org.springframework.util.ReflectionUtils.findField(Class,String,Class) |
getMatchingConverterForTarget(TypeDescriptor,TypeDescriptor,Map) | 7 | org.springframework.core.convert.support.GenericConversionService .getMatchingConverterForTarget(TypeDescriptor,TypeDescriptor,Map) |
invoke(MethodInvocation) | 7 | org.springframework.orm.hibernate3.HibernateInterceptor.invoke (MethodInvocation) |
getResultSetValue(ResultSet,int) | 7 | org.springframework.jdbc.support.JdbcUtils.getResultSetValue(ResultSet ,int) |
setValues(PreparedStatement) | 7 | org.springframework.jdbc.core.ArgTypePreparedStatementSetter.setValues (PreparedStatement) |
getJtaSynchronizedSession(SessionHolder,SessionFactory ,SQLExceptionTranslator) | 7 | org.springframework.orm.hibernate3.SessionFactoryUtils .getJtaSynchronizedSession(SessionHolder,SessionFactory ,SQLExceptionTranslator) |
checkDependencies(String,AbstractBeanDefinition,PropertyDescriptor[] ,PropertyValues) | 7 | org.springframework.beans.factory.support .AbstractAutowireCapableBeanFactory.checkDependencies(String ,AbstractBeanDefinition,PropertyDescriptor[],PropertyValues) |
skipCommentsAndQuotes(char[],int) | 7 | org.springframework.jdbc.core.namedparam.NamedParameterUtils .skipCommentsAndQuotes(char[],int) |
a(ByteVector) | 7 | org.springframework.asm.MethodWriter.a(ByteVector) |
extractReturnedResults(CallableStatement,List,List,int) | 7 | org.springframework.jdbc.core.JdbcTemplate.extractReturnedResults (CallableStatement,List,List,int) |
buildLifecycleMetadata(Class) | 7 | org.springframework.beans.factory.annotation .InitDestroyAnnotationBeanPostProcessor.buildLifecycleMetadata(Class) |
Statistics
Stat | ByteCode Nesting Depth |
---|---|
Sum: | 1 703 |
Average: | 7.6027 |
Minimum: | 5 |
Maximum: | 39 |
Standard deviation: | 4.1099 |
Variance: | 16.891 |
![]() | Rule warning: Methods poorly commented (PercentageComment) |
// <Name>Methods poorly commented (PercentageComment)</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
PercentageComment < 20 AND
NbLinesOfCode > 10
ORDER BY PercentageComment ASC
// METHODS WHERE %Comment < 20 and that have
// at least 10 lines of code should be more commented.
// See the definition of the PercentageComment metric here
// http://www.JavaDepend.com/Metrics.aspx#PercentageComment
WARN IF Count > 0 IN SELECT METHODS WHERE
PercentageComment < 20 AND
NbLinesOfCode > 10
ORDER BY PercentageComment ASC
// METHODS WHERE %Comment < 20 and that have
// at least 10 lines of code should be more commented.
// See the definition of the PercentageComment metric here
// http://www.JavaDepend.com/Metrics.aspx#PercentageComment
1,469 methods matched
The following list of methods is truncated and contains only the first 100 methods of the 1469 methods matched. All matched methods could be listed in the report by unchecking the option:
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched methods.
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched methods.
methods | Percentage Comment | # lines of code (LOC) | Full Name |
---|---|---|---|
methods | Percentage Comment | # lines of code (LOC) | Full Name |
parseAttributeSource(Element,ParserContext) | N/A | 36 | org.springframework.transaction.config.TxAdviceBeanDefinitionParser .parseAttributeSource(Element,ParserContext) |
getTransactionAttribute(Method,Class) | N/A | 13 | org.springframework.transaction.interceptor .AbstractFallbackTransactionAttributeSource.getTransactionAttribute (Method,Class) |
doParse(Element,ParserContext,BeanDefinitionBuilder) | N/A | 14 | org.springframework.transaction.config.TxAdviceBeanDefinitionParser .doParse(Element,ParserContext,BeanDefinitionBuilder) |
parseTransactionAnnotation(Transactional) | N/A | 29 | org.springframework.transaction.annotation .SpringTransactionAnnotationParser.parseTransactionAnnotation (Transactional) |
configureAutoProxyCreator(Element,ParserContext) | N/A | 27 | org.springframework.transaction.config .AnnotationDrivenBeanDefinitionParser$AopAutoProxyConfigurer .configureAutoProxyCreator(Element,ParserContext) |
computeTransactionAttribute(Method,Class) | N/A | 17 | org.springframework.transaction.interceptor .AbstractFallbackTransactionAttributeSource .computeTransactionAttribute(Method,Class) |
determineTransactionManager(TransactionAttribute) | N/A | 12 | org.springframework.transaction.interceptor.TransactionAspectSupport .determineTransactionManager(TransactionAttribute) |
createTransactionIfNecessary(PlatformTransactionManager ,TransactionAttribute,String) | N/A | 11 | org.springframework.transaction.interceptor.TransactionAspectSupport .createTransactionIfNecessary(PlatformTransactionManager ,TransactionAttribute,String) |
rollbackOn(Throwable) | N/A | 17 | org.springframework.transaction.interceptor .RuleBasedTransactionAttribute.rollbackOn(Throwable) |
addTransactionalMethod(Class,String,TransactionAttribute) | N/A | 28 | org.springframework.transaction.interceptor .MethodMapTransactionAttributeSource.addTransactionalMethod(Class ,String,TransactionAttribute) |
getTransactionAttribute(Method,Class) | N/A | 11 | org.springframework.transaction.interceptor .NameMatchTransactionAttributeSource.getTransactionAttribute(Method ,Class) |
initConnection() | N/A | 14 | org.springframework.jca.cci.connection.SingleConnectionFactory .initConnection() |
invoke(Object,Method,Object[]) | N/A | 15 | org.springframework.jca.cci.connection .TransactionAwareConnectionFactoryProxy$TransactionAwareInvocationHand ler.invoke(Object,Method,Object[]) |
doGetConnection(ConnectionFactory) | N/A | 13 | org.springframework.jca.cci.connection.ConnectionFactoryUtils .doGetConnection(ConnectionFactory) |
afterPropertiesSet() | N/A | 14 | org.springframework.jca.endpoint.GenericMessageEndpointManager .afterPropertiesSet() |
doBegin(Object,TransactionDefinition) | N/A | 22 | org.springframework.jca.cci.connection.CciLocalTransactionManager .doBegin(Object,TransactionDefinition) |
doInInteraction(Interaction,ConnectionFactory) | N/A | 15 | org.springframework.jca.cci.core.CciTemplate$2.doInInteraction (Interaction,ConnectionFactory) |
execute(Runnable,long) | N/A | 20 | org.springframework.jca.work.WorkManagerTaskExecutor.execute(Runnable ,long) |
getWorkManager(String) | N/A | 12 | org.springframework.jca.work.jboss.JBossWorkManagerUtils .getWorkManager(String) |
executeWork(TaskExecutor,Work,long,boolean,ExecutionContext ,WorkListener) | N/A | 37 | org.springframework.jca.work.SimpleTaskWorkManager.executeWork (TaskExecutor,Work,long,boolean,ExecutionContext,WorkListener) |
execute(ConnectionCallback) | N/A | 14 | org.springframework.jca.cci.core.CciTemplate.execute (ConnectionCallback) |
run() | N/A | 20 | org.springframework.jca.work .SimpleTaskWorkManager$DelegatingWorkAdapter.run() |
prepareTransactionInfo(PlatformTransactionManager,TransactionAttribute ,String,TransactionStatus) | N/A | 11 | org.springframework.transaction.interceptor.TransactionAspectSupport .prepareTransactionInfo(PlatformTransactionManager ,TransactionAttribute,String,TransactionStatus) |
doCommit(DefaultTransactionStatus) | N/A | 24 | org.springframework.transaction.jta.JtaTransactionManager.doCommit (DefaultTransactionStatus) |
doRollback(DefaultTransactionStatus) | N/A | 12 | org.springframework.transaction.jta.JtaTransactionManager.doRollback (DefaultTransactionStatus) |
doBegin(Object,TransactionDefinition) | N/A | 13 | org.springframework.transaction.jta.JtaTransactionManager.doBegin (Object,TransactionDefinition) |
lookupTransactionSynchronizationRegistry(String) | N/A | 11 | org.springframework.transaction.jta.JtaTransactionManager .lookupTransactionSynchronizationRegistry(String) |
findTransactionSynchronizationRegistry(UserTransaction ,TransactionManager) | N/A | 20 | org.springframework.transaction.jta.JtaTransactionManager .findTransactionSynchronizationRegistry(UserTransaction ,TransactionManager) |
doSetRollbackOnly(DefaultTransactionStatus) | N/A | 11 | org.springframework.transaction.jta.JtaTransactionManager .doSetRollbackOnly(DefaultTransactionStatus) |
retrieveUserTransaction() | N/A | 18 | org.springframework.transaction.jta.OC4JJtaTransactionManager .retrieveUserTransaction() |
doJtaBegin(JtaTransactionObject,TransactionDefinition) | N/A | 27 | org.springframework.transaction.jta.OC4JJtaTransactionManager .doJtaBegin(JtaTransactionObject,TransactionDefinition) |
loadOC4JTransactionClasses() | N/A | 21 | org.springframework.transaction.jta.OC4JJtaTransactionManager .loadOC4JTransactionClasses() |
registerAfterCompletionWithExistingTransaction(Object,List) | N/A | 16 | org.springframework.transaction.jta.JtaTransactionManager .registerAfterCompletionWithExistingTransaction(Object,List) |
doRegisterAfterCompletionWithJtaTransaction(JtaTransactionObject,List) | N/A | 17 | org.springframework.transaction.jta.JtaTransactionManager .doRegisterAfterCompletionWithJtaTransaction(JtaTransactionObject,List ) |
setAsText(String) | N/A | 27 | org.springframework.transaction.interceptor.TransactionAttributeEditor .setAsText(String) |
setAsText(String) | N/A | 16 | org.springframework.transaction.interceptor .TransactionAttributeSourceEditor.setAsText(String) |
isQualifierMatch(String,String,ConfigurableListableBeanFactory) | N/A | 15 | org.springframework.transaction.interceptor.TransactionAspectUtils .isQualifierMatch(String,String,ConfigurableListableBeanFactory) |
completeTransactionAfterThrowing (TransactionAspectSupport$TransactionInfo,Throwable) | N/A | 29 | org.springframework.transaction.interceptor.TransactionAspectSupport .completeTransactionAfterThrowing (TransactionAspectSupport$TransactionInfo,Throwable) |
getTransactionManager(ConfigurableListableBeanFactory,String) | N/A | 16 | org.springframework.transaction.interceptor.TransactionAspectUtils .getTransactionManager(ConfigurableListableBeanFactory,String) |
doInTransaction(TransactionStatus) | N/A | 15 | org.springframework.transaction.interceptor.TransactionInterceptor$1 .doInTransaction(TransactionStatus) |
initTransactionSynchronizationRegistry() | N/A | 13 | org.springframework.transaction.jta.JtaTransactionManager .initTransactionSynchronizationRegistry() |
findTransactionManager(UserTransaction) | N/A | 14 | org.springframework.transaction.jta.JtaTransactionManager .findTransactionManager(UserTransaction) |
initUserTransactionAndTransactionManager() | N/A | 16 | org.springframework.transaction.jta.JtaTransactionManager .initUserTransactionAndTransactionManager() |
invoke(MethodInvocation) | N/A | 26 | org.springframework.transaction.interceptor.TransactionInterceptor .invoke(MethodInvocation) |
afterCompletion(int) | N/A | 15 | org.springframework.transaction.jta.JtaAfterCompletionSynchronization .afterCompletion(int) |
invoke(MethodInvocation) | N/A | 26 | org.springframework.jca.endpoint .GenericMessageEndpointFactory$GenericMessageEndpoint.invoke (MethodInvocation) |
createWebApplicationContext(ServletContext,ApplicationContext) | N/A | 24 | org.springframework.web.context.ContextLoader .createWebApplicationContext(ServletContext,ApplicationContext) |
determineContextClass(ServletContext) | N/A | 13 | org.springframework.web.context.ContextLoader.determineContextClass (ServletContext) |
loadParentContext(ServletContext) | N/A | 13 | org.springframework.web.context.ContextLoader.loadParentContext (ServletContext) |
cleanupAttributes(ServletContext) | N/A | 11 | org.springframework.web.context.ContextCleanupListener .cleanupAttributes(ServletContext) |
initWebApplicationContext(ServletContext) | N/A | 33 | org.springframework.web.context.ContextLoader .initWebApplicationContext(ServletContext) |
closeWebApplicationContext(ServletContext) | N/A | 22 | org.springframework.web.context.ContextLoader .closeWebApplicationContext(ServletContext) |
getAttribute(String,int) | N/A | 16 | org.springframework.web.context.request.ServletRequestAttributes .getAttribute(String,int) |
setAttribute(String,Object,int) | N/A | 12 | org.springframework.web.context.request.ServletRequestAttributes .setAttribute(String,Object,int) |
requestDestroyed(ServletRequestEvent) | N/A | 12 | org.springframework.web.context.request.RequestContextListener .requestDestroyed(ServletRequestEvent) |
resolveReference(String) | N/A | 29 | org.springframework.web.context.request.FacesRequestAttributes .resolveReference(String) |
getDescription(boolean) | N/A | 11 | org.springframework.web.context.request.FacesWebRequest.getDescription (boolean) |
readWithMessageConverters(MethodParameter,HttpInputMessage,Class) | N/A | 22 | org.springframework.web.bind.annotation.support.HandlerMethodInvoker .readWithMessageConverters(MethodParameter,HttpInputMessage,Class) |
getHttpEntityType(MethodParameter) | N/A | 14 | org.springframework.web.bind.annotation.support.HandlerMethodInvoker .getHttpEntityType(MethodParameter) |
resolveRequestHeaderMap(Class,NativeWebRequest) | N/A | 18 | org.springframework.web.bind.annotation.support.HandlerMethodInvoker .resolveRequestHeaderMap(Class,NativeWebRequest) |
resolveInitBinderArguments(Object,Method,WebDataBinder ,NativeWebRequest) | N/A | 46 | org.springframework.web.bind.annotation.support.HandlerMethodInvoker .resolveInitBinderArguments(Object,Method,WebDataBinder ,NativeWebRequest) |
resolveRequestParamMap(Class,NativeWebRequest) | N/A | 15 | org.springframework.web.bind.annotation.support.HandlerMethodInvoker .resolveRequestParamMap(Class,NativeWebRequest) |
doWith(Method) | N/A | 12 | org.springframework.web.bind.annotation.support .HandlerMethodResolver$1.doWith(Method) |
doWithRequest(ClientHttpRequest) | N/A | 32 | org.springframework.web.client.RestTemplate$HttpEntityRequestCallback .doWithRequest(ClientHttpRequest) |
doExecute(URI,HttpMethod,RequestCallback,ResponseExtractor)<T> | N/A | 24 | org.springframework.web.client.RestTemplate.doExecute(URI,HttpMethod ,RequestCallback,ResponseExtractor)<T> |
doWithRequest(ClientHttpRequest) | N/A | 18 | org.springframework.web.client .RestTemplate$AcceptHeaderRequestCallback.doWithRequest (ClientHttpRequest) |
init(Class) | N/A | 19 | org.springframework.web.bind.annotation.support.HandlerMethodResolver .init(Class) |
extractData(ClientHttpResponse) | N/A | 16 | org.springframework.web.client.HttpMessageConverterExtractor .extractData(ClientHttpResponse) |
removeAttribute(String,int) | N/A | 13 | org.springframework.web.context.request.ServletRequestAttributes .removeAttribute(String,int) |
parseFileItems(List,String) | N/A | 28 | org.springframework.web.multipart.commons.CommonsFileUploadSupport .parseFileItems(List,String) |
cleanupFileItems(MultiValueMap) | N/A | 12 | org.springframework.web.multipart.commons.CommonsFileUploadSupport .cleanupFileItems(MultiValueMap) |
getType(ELContext,Object,Object) | N/A | 18 | org.springframework.web.jsf.el.WebApplicationContextFacesELResolver .getType(ELContext,Object,Object) |
getWebApplicationContext(FacesContext) | N/A | 13 | org.springframework.web.jsf.FacesContextUtils.getWebApplicationContext (FacesContext) |
getValue(ELContext,Object,Object) | N/A | 18 | org.springframework.web.jsf.el.WebApplicationContextFacesELResolver .getValue(ELContext,Object,Object) |
transferTo(File) | N/A | 23 | org.springframework.web.multipart.commons.CommonsMultipartFile .transferTo(File) |
detectPersistenceExceptionTranslators(ListableBeanFactory) | N/A | 11 | org.springframework.dao.support .PersistenceExceptionTranslationInterceptor .detectPersistenceExceptionTranslators(ListableBeanFactory) |
endTransaction() | N/A | 11 | org.springframework.jca.endpoint .AbstractMessageEndpointFactory$TransactionDelegate.endTransaction() |
objectResult(Collection,Class) | N/A | 14 | org.springframework.dao.support.DataAccessUtils.objectResult (Collection,Class) |
doFilterInternal(HttpServletRequest,HttpServletResponse,FilterChain) | N/A | 18 | org.springframework.web.multipart.support.MultipartFilter .doFilterInternal(HttpServletRequest,HttpServletResponse,FilterChain) |
postProcessAfterInitialization(Object,String) | N/A | 12 | org.springframework.dao.annotation .PersistenceExceptionTranslationPostProcessor .postProcessAfterInitialization(Object,String) |
loadBeanDefinitions(DefaultListableBeanFactory) | N/A | 29 | org.springframework.web.context.support .AnnotationConfigWebApplicationContext.loadBeanDefinitions (DefaultListableBeanFactory) |
service(HttpServletRequest,HttpServletResponse) | N/A | 13 | org.springframework.web.context.support.HttpRequestHandlerServlet .service(HttpServletRequest,HttpServletResponse) |
getDescription(boolean) | N/A | 14 | org.springframework.web.context.request.ServletWebRequest .getDescription(boolean) |
getAttributeNames(int) | N/A | 11 | org.springframework.web.context.request.ServletRequestAttributes .getAttributeNames(int) |
updateAccessedSessionAttributes() | N/A | 14 | org.springframework.web.context.request.ServletRequestAttributes .updateAccessedSessionAttributes() |
doRetrieveMatchingServletContextResources(ServletContext,String,String ,Set) | N/A | 26 | org.springframework.web.context.support .ServletContextResourcePatternResolver .doRetrieveMatchingServletContextResources(ServletContext,String ,String,Set) |
registerEnvironmentBeans(ConfigurableListableBeanFactory ,ServletContext,ServletConfig) | N/A | 33 | org.springframework.web.context.support.WebApplicationContextUtils .registerEnvironmentBeans(ConfigurableListableBeanFactory ,ServletContext,ServletConfig) |
getWebApplicationContext(ServletContext,String) | N/A | 13 | org.springframework.web.context.support.WebApplicationContextUtils .getWebApplicationContext(ServletContext,String) |
registerWebApplicationScopes(ConfigurableListableBeanFactory ,ServletContext) | N/A | 13 | org.springframework.web.context.support.WebApplicationContextUtils .registerWebApplicationScopes(ConfigurableListableBeanFactory ,ServletContext) |
doRetrieveMatchingJarEntries(String,String,Set) | N/A | 18 | org.springframework.web.context.support .ServletContextResourcePatternResolver.doRetrieveMatchingJarEntries (String,String,Set) |
processInjectionBasedOnCurrentContext(Object) | N/A | 12 | org.springframework.web.context.support.SpringBeanAutowiringSupport .processInjectionBasedOnCurrentContext(Object) |
createTransaction(String,int) | N/A | 19 | org.springframework.transaction.jta.OC4JJtaTransactionManager .createTransaction(String,int) |
processRow(ResultSet) | N/A | 11 | org.springframework.jdbc.core.RowCountCallbackHandler.processRow (ResultSet) |
mapRow(ResultSet,int) | N/A | 14 | org.springframework.jdbc.core.SingleColumnRowMapper.mapRow(ResultSet ,int) |
setValues(PreparedStatement) | N/A | 31 | org.springframework.jdbc.core .PreparedStatementCreatorFactory$PreparedStatementCreatorImpl .setValues(PreparedStatement) |
PreparedStatementCreatorFactory$PreparedStatementCreatorImpl (PreparedStatementCreatorFactory,String,List) | N/A | 19 | org.springframework.jdbc.core .PreparedStatementCreatorFactory$PreparedStatementCreatorImpl .PreparedStatementCreatorFactory$PreparedStatementCreatorImpl (PreparedStatementCreatorFactory,String,List) |
createPreparedStatement(Connection) | N/A | 17 | org.springframework.jdbc.core .PreparedStatementCreatorFactory$PreparedStatementCreatorImpl .createPreparedStatement(Connection) |
convertValueToRequiredType(Object,Class) | N/A | 11 | org.springframework.jdbc.core.SingleColumnRowMapper .convertValueToRequiredType(Object,Class) |
setValue(PreparedStatement,int,int,String,Integer,Object) | N/A | 51 | org.springframework.jdbc.core.StatementCreatorUtils.setValue (PreparedStatement,int,int,String,Integer,Object) |
reconcileParameters(List) | N/A | 95 | org.springframework.jdbc.core.metadata.CallMetaDataContext .reconcileParameters(List) |
Statistics
Stat | Percentage Comment | # lines of code (LOC) |
---|---|---|
Sum: | 0 | 30 230 |
Average: | 0 | 20.579 |
Minimum: | 0 | 11 |
Maximum: | 0 | 167 |
Standard deviation: | 0 | 13.803 |
Variance: | 0 | 190.52 |
![]() | Rule warning: Methods with too many parameters (NbParameters) |
// <Name>Methods with too many parameters (NbParameters)</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
NbParameters > 5
ORDER BY NbParameters DESC
// METHODS WHERE NbParameters > 5 might be painful to call
// and might degrade performance. You should prefer using
// additional properties/fields to the declaring type to
// handle numerous states. Another alternative is to provide
// a class dedicated to handle arguments passing
// See the definition of the NbParameters metric here
// http://www.JavaDepend.com/Metrics.aspx#NbParameters
WARN IF Count > 0 IN SELECT METHODS WHERE
NbParameters > 5
ORDER BY NbParameters DESC
// METHODS WHERE NbParameters > 5 might be painful to call
// and might degrade performance. You should prefer using
// additional properties/fields to the declaring type to
// handle numerous states. Another alternative is to provide
// a class dedicated to handle arguments passing
// See the definition of the NbParameters metric here
// http://www.JavaDepend.com/Metrics.aspx#NbParameters
60 methods matched
methods | # Parameters | Full Name |
---|---|---|
methods | # Parameters | Full Name |
encodeUriComponents(String,String,String,String,String,String,String ,String,String) | 9 | org.springframework.web.util.UriUtils.encodeUriComponents(String ,String,String,String,String,String,String,String,String) |
ServletRequestHandledEvent(Object,String,String,String,String,String ,String,long,Throwable) | 9 | org.springframework.web.context.support.ServletRequestHandledEvent .ServletRequestHandledEvent(Object,String,String,String,String,String ,String,long,Throwable) |
ServletRequestHandledEvent(Object,String,String,String,String,String ,String,long) | 8 | org.springframework.web.context.support.ServletRequestHandledEvent .ServletRequestHandledEvent(Object,String,String,String,String,String ,String,long) |
createArgumentArray(String,RootBeanDefinition ,ConstructorArgumentValues,BeanWrapper,Class[],String[],Object,boolean ) | 8 | org.springframework.beans.factory.support.ConstructorResolver .createArgumentArray(String,RootBeanDefinition ,ConstructorArgumentValues,BeanWrapper,Class[],String[],Object,boolean ) |
createAdviceDefinition(Element,ParserContext,String,int ,RootBeanDefinition,RootBeanDefinition,List,List) | 8 | org.springframework.aop.config.ConfigBeanDefinitionParser .createAdviceDefinition(Element,ParserContext,String,int ,RootBeanDefinition,RootBeanDefinition,List,List) |
access$0(WebSphereUowTransactionManager,TransactionDefinition,Object ,boolean,boolean,boolean,Object) | 7 | org.springframework.transaction.jta.WebSphereUowTransactionManager .access$0(WebSphereUowTransactionManager,TransactionDefinition,Object ,boolean,boolean,boolean,Object) |
AbstractPlatformTransactionManager$SuspendedResourcesHolder(Object ,List,String,boolean,Integer,boolean ,AbstractPlatformTransactionManager$SuspendedResourcesHolder) | 7 | org.springframework.transaction.support .AbstractPlatformTransactionManager$SuspendedResourcesHolder .AbstractPlatformTransactionManager$SuspendedResourcesHolder(Object ,List,String,boolean,Integer,boolean ,AbstractPlatformTransactionManager$SuspendedResourcesHolder) |
WebSphereUowTransactionManager$UOWActionAdapter<T> (WebSphereUowTransactionManager,TransactionDefinition ,TransactionCallback,boolean,boolean,boolean,boolean) | 7 | org.springframework.transaction.jta .WebSphereUowTransactionManager$UOWActionAdapter .WebSphereUowTransactionManager$UOWActionAdapter<T> (WebSphereUowTransactionManager,TransactionDefinition ,TransactionCallback,boolean,boolean,boolean,boolean) |
FieldError(String,String,Object,boolean,String[],Object[],String) | 7 | org.springframework.validation.FieldError.FieldError(String,String ,Object,boolean,String[],Object[],String) |
parseAdvice(String,int,Element,Element,ParserContext,List,List) | 7 | org.springframework.aop.config.ConfigBeanDefinitionParser.parseAdvice (String,int,Element,Element,ParserContext,List,List) |
Cglib2AopProxy$CglibMethodInvocation(Object,Object,Method,Object[] ,Class,List,MethodProxy) | 7 | org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation .Cglib2AopProxy$CglibMethodInvocation(Object,Object,Method,Object[] ,Class,List,MethodProxy) |
a(Attribute[],String,int,int,char[],int,Label[]) | 7 | org.springframework.asm.ClassReader.a(Attribute[],String,int,int ,char[],int,Label[]) |
MethodWriter(ClassWriter,int,String,String,String,String[],boolean) | 7 | org.springframework.asm.MethodWriter.MethodWriter(ClassWriter,int ,String,String,String,String[],boolean) |
initialize(Servlet,ServletRequest,ServletResponse,String,boolean,int ,boolean) | 7 | org.springframework.mock.web.MockPageContext.initialize(Servlet ,ServletRequest,ServletResponse,String,boolean,int,boolean) |
createProxy(EntityManager,Class,ClassLoader ,EntityManagerPlusOperations,PersistenceExceptionTranslator,Boolean ,boolean) | 7 | org.springframework.orm.jpa.ExtendedEntityManagerCreator.createProxy (EntityManager,Class,ClassLoader,EntityManagerPlusOperations ,PersistenceExceptionTranslator,Boolean,boolean) |
HandlerMethodInvoker(HandlerMethodResolver,WebBindingInitializer ,SessionAttributeStore,ParameterNameDiscoverer,WebArgumentResolver[] ,HttpMessageConverter[]) | 6 | org.springframework.web.bind.annotation.support.HandlerMethodInvoker .HandlerMethodInvoker(HandlerMethodResolver,WebBindingInitializer ,SessionAttributeStore,ParameterNameDiscoverer,WebArgumentResolver[] ,HttpMessageConverter[]) |
ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler (EntityManager,EntityManagerPlusOperations ,PersistenceExceptionTranslator,Boolean,boolean ,ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler) | 6 | org.springframework.orm.jpa .ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler .ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler (EntityManager,EntityManagerPlusOperations ,PersistenceExceptionTranslator,Boolean,boolean ,ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler) |
resolveRequestParam(String,boolean,String,MethodParameter ,NativeWebRequest,Object) | 6 | org.springframework.web.bind.annotation.support.HandlerMethodInvoker .resolveRequestParam(String,boolean,String,MethodParameter ,NativeWebRequest,Object) |
readFromSource(Class,HttpHeaders,Source) | 6 | org.springframework.http.converter.xml.SourceHttpMessageConverter .readFromSource(Class,HttpHeaders,Source) |
addAttribute(String,Object) | 6 | org.springframework.ui.ExtendedModelMap.addAttribute(String,Object) |
read(ClassReader,int,int,char[],int,Label[]) | 6 | org.springframework.asm.Attribute.read(ClassReader,int,int,char[],int ,Label[]) |
findNextDay(Calendar,BitSet,int,BitSet,int,List) | 6 | org.springframework.scheduling.support.CronSequenceGenerator .findNextDay(Calendar,BitSet,int,BitSet,int,List) |
JdoTemplate$18(JdoTemplate,Class,String,String,String,Map) | 6 | org.springframework.orm.jdo.JdoTemplate$18.JdoTemplate$18(JdoTemplate ,Class,String,String,String,Map) |
AbstractPlatformTransactionManager$SuspendedResourcesHolder(Object ,List,String,boolean,Integer,boolean) | 6 | org.springframework.transaction.support .AbstractPlatformTransactionManager$SuspendedResourcesHolder .AbstractPlatformTransactionManager$SuspendedResourcesHolder(Object ,List,String,boolean,Integer,boolean) |
setParameterValueInternal(PreparedStatement,int,int,String,Integer ,Object) | 6 | org.springframework.jdbc.core.StatementCreatorUtils .setParameterValueInternal(PreparedStatement,int,int,String,Integer ,Object) |
DefaultTransactionStatus(Object,boolean,boolean,boolean,boolean,Object ) | 6 | org.springframework.transaction.support.DefaultTransactionStatus .DefaultTransactionStatus(Object,boolean,boolean,boolean,boolean ,Object) |
newTransactionStatus(TransactionDefinition,Object,boolean,boolean ,boolean,Object) | 6 | org.springframework.transaction.support .AbstractPlatformTransactionManager.newTransactionStatus (TransactionDefinition,Object,boolean,boolean,boolean,Object) |
prepareTransactionStatus(TransactionDefinition,Object,boolean,boolean ,boolean,Object) | 6 | org.springframework.transaction.support .AbstractPlatformTransactionManager.prepareTransactionStatus (TransactionDefinition,Object,boolean,boolean,boolean,Object) |
resolveCookieValue(String,boolean,String,MethodParameter ,NativeWebRequest,Object) | 6 | org.springframework.web.bind.annotation.support.HandlerMethodInvoker .resolveCookieValue(String,boolean,String,MethodParameter ,NativeWebRequest,Object) |
resolveRequestHeader(String,boolean,String,MethodParameter ,NativeWebRequest,Object) | 6 | org.springframework.web.bind.annotation.support.HandlerMethodInvoker .resolveRequestHeader(String,boolean,String,MethodParameter ,NativeWebRequest,Object) |
JdoTemplate$17(JdoTemplate,Class,String,String,String,Object[]) | 6 | org.springframework.orm.jdo.JdoTemplate$17.JdoTemplate$17(JdoTemplate ,Class,String,String,String,Object[]) |
executeWork(TaskExecutor,Work,long,boolean,ExecutionContext ,WorkListener) | 6 | org.springframework.jca.work.SimpleTaskWorkManager.executeWork (TaskExecutor,Work,long,boolean,ExecutionContext,WorkListener) |
setValue(PreparedStatement,int,int,String,Integer,Object) | 6 | org.springframework.jdbc.core.StatementCreatorUtils.setValue (PreparedStatement,int,int,String,Integer,Object) |
findNext(BitSet,int,Calendar,int,int,List) | 6 | org.springframework.scheduling.support.CronSequenceGenerator.findNext (BitSet,int,Calendar,int,int,List) |
visitLocalVariable(String,String,String,Label,Label,int) | 6 | org.springframework.asm.commons.EmptyVisitor.visitLocalVariable(String ,String,String,Label,Label,int) |
visit(int,int,String,String,String,String[]) | 6 | org.springframework.asm.commons.EmptyVisitor.visit(int,int,String ,String,String,String[]) |
visitLocalVariable(String,String,String,Label,Label,int) | 6 | org.springframework.asm.MethodWriter.visitLocalVariable(String,String ,String,Label,Label,int) |
visit(int,int,String,String,String,String[]) | 6 | org.springframework.asm.commons.StaticInitMerger.visit(int,int,String ,String,String,String[]) |
visit(int,int,String,String,String,String[]) | 6 | org.springframework.asm.commons.SerialVersionUIDAdder.visit(int,int ,String,String,String,String[]) |
visitLocalVariable(String,String,String,Label,Label,int) | 6 | org.springframework.asm.commons.LocalVariablesSorter .visitLocalVariable(String,String,String,Label,Label,int) |
visitLocalVariable(String,String,String,Label,Label,int) | 6 | org.springframework.asm.MethodVisitor.visitLocalVariable(String,String ,String,Label,Label,int) |
visit(int,int,String,String,String,String[]) | 6 | org.springframework.asm.ClassVisitor.visit(int,int,String,String ,String,String[]) |
visit(int,int,String,String,String,String[]) | 6 | org.springframework.asm.ClassAdapter.visit(int,int,String,String ,String,String[]) |
a(ClassWriter,byte[],int,int,int,ByteVector) | 6 | org.springframework.asm.Attribute.a(ClassWriter,byte[],int,int,int ,ByteVector) |
visitLocalVariable(String,String,String,Label,Label,int) | 6 | org.springframework.asm.MethodAdapter.visitLocalVariable(String,String ,String,Label,Label,int) |
FieldWriter(ClassWriter,int,String,String,String,Object) | 6 | org.springframework.asm.FieldWriter.FieldWriter(ClassWriter,int,String ,String,String,Object) |
visit(int,int,String,String,String,String[]) | 6 | org.springframework.asm.ClassWriter.visit(int,int,String,String,String ,String[]) |
XmlReaderContext(Resource,ProblemReporter,ReaderEventListener ,SourceExtractor,XmlBeanDefinitionReader,NamespaceHandlerResolver) | 6 | org.springframework.beans.factory.xml.XmlReaderContext .XmlReaderContext(Resource,ProblemReporter,ReaderEventListener ,SourceExtractor,XmlBeanDefinitionReader,NamespaceHandlerResolver) |
instantiate(RootBeanDefinition,String,BeanFactory,Object,Method ,Object[]) | 6 | org.springframework.beans.factory.support.SimpleInstantiationStrategy .instantiate(RootBeanDefinition,String,BeanFactory,Object,Method ,Object[]) |
instantiate(RootBeanDefinition,String,BeanFactory,Object,Method ,Object[]) | 6 | org.springframework.beans.factory.support.InstantiationStrategy .instantiate(RootBeanDefinition,String,BeanFactory,Object,Method ,Object[]) |
processClass(String,byte[],int,int,ProtectionDomain,ClassLoader) | 6 | org.springframework.instrument.classloading.oc4j .OC4JClassPreprocessorAdapter.processClass(String,byte[],int,int ,ProtectionDomain,ClassLoader) |
ReflectiveMethodInvocation(Object,Object,Method,Object[],Class,List) | 6 | org.springframework.aop.framework.ReflectiveMethodInvocation .ReflectiveMethodInvocation(Object,Object,Method,Object[],Class,List) |
InstantiationModelAwarePointcutAdvisorImpl(AspectJAdvisorFactory ,AspectJExpressionPointcut,MetadataAwareAspectInstanceFactory,Method ,int,String) | 6 | org.springframework.aop.aspectj.annotation .InstantiationModelAwarePointcutAdvisorImpl .InstantiationModelAwarePointcutAdvisorImpl(AspectJAdvisorFactory ,AspectJExpressionPointcut,MetadataAwareAspectInstanceFactory,Method ,int,String) |
DisposableBeanAdapter(Object,String,boolean,boolean,String,List) | 6 | org.springframework.beans.factory.support.DisposableBeanAdapter .DisposableBeanAdapter(Object,String,boolean,boolean,String,List) |
extractTypeFromClass(MethodParameter,Class,Class,int,int,int) | 6 | org.springframework.core.GenericCollectionTypeResolver .extractTypeFromClass(MethodParameter,Class,Class,int,int,int) |
extractTypeFromParameterizedType(MethodParameter,ParameterizedType ,Class,int,int,int) | 6 | org.springframework.core.GenericCollectionTypeResolver .extractTypeFromParameterizedType(MethodParameter,ParameterizedType ,Class,int,int,int) |
extractType(MethodParameter,Type,Class,int,int,int) | 6 | org.springframework.core.GenericCollectionTypeResolver.extractType (MethodParameter,Type,Class,int,int,int) |
ConstructorResolver$3(ConstructorResolver,RootBeanDefinition,String ,Object,Method,Object[]) | 6 | org.springframework.beans.factory.support.ConstructorResolver$3 .ConstructorResolver$3(ConstructorResolver,RootBeanDefinition,String ,Object,Method,Object[]) |
visit(int,int,String,String,String,String[]) | 6 | org.springframework.core.type.classreading.ClassMetadataReadingVisitor .visit(int,int,String,String,String,String[]) |
visitLocalVariable(String,String,String,Label,Label,int) | 6 | org.springframework.core .LocalVariableTableParameterNameDiscoverer$LocalVariableTableVisitor .visitLocalVariable(String,String,String,Label,Label,int) |
Statistics
Stat | # Parameters |
---|---|
Sum: | 382 |
Average: | 6.3667 |
Minimum: | 6 |
Maximum: | 9 |
Standard deviation: | 0.72953 |
Variance: | 0.53222 |
![]() | Rule warning: Methods with too many local variables (NbVariables) |
// <Name>Methods with too many local variables (NbVariables)</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
NbVariables > 15
ORDER BY NbVariables DESC
// METHODS WHERE NbVariables > 8 are hard to understand and maintain.
// METHODS WHERE NbVariables > 15 are extremely complex
// and should be split in smaller methods
// (except if they are automatically generated by a tool).
// See the definition of the Nbvariables metric here
// http://www.JavaDepend.com/Metrics.aspx#Nbvariables
WARN IF Count > 0 IN SELECT METHODS WHERE
NbVariables > 15
ORDER BY NbVariables DESC
// METHODS WHERE NbVariables > 8 are hard to understand and maintain.
// METHODS WHERE NbVariables > 15 are extremely complex
// and should be split in smaller methods
// (except if they are automatically generated by a tool).
// See the definition of the Nbvariables metric here
// http://www.JavaDepend.com/Metrics.aspx#Nbvariables
27 methods matched
methods | # Variables | Full Name |
---|---|---|
methods | # Variables | Full Name |
instantiateUsingFactoryMethod(String,RootBeanDefinition,Object[]) | 47 | org.springframework.beans.factory.support.ConstructorResolver .instantiateUsingFactoryMethod(String,RootBeanDefinition,Object[]) |
setPropertyValue(BeanWrapperImpl$PropertyTokenHolder,PropertyValue) | 42 | org.springframework.beans.BeanWrapperImpl.setPropertyValue (BeanWrapperImpl$PropertyTokenHolder,PropertyValue) |
buildSessionFactory() | 32 | org.springframework.orm.hibernate3.LocalSessionFactoryBean .buildSessionFactory() |
autowireConstructor(String,RootBeanDefinition,Constructor[],Object[]) | 31 | org.springframework.beans.factory.support.ConstructorResolver .autowireConstructor(String,RootBeanDefinition,Constructor[],Object[]) |
runBare() | 30 | org.springframework.test.jpa.AbstractJpaTests.runBare() |
getPropertyValue(BeanWrapperImpl$PropertyTokenHolder) | 26 | org.springframework.beans.BeanWrapperImpl.getPropertyValue (BeanWrapperImpl$PropertyTokenHolder) |
resolveHandlerArguments(Method,Object,NativeWebRequest ,ExtendedModelMap) | 25 | org.springframework.web.bind.annotation.support.HandlerMethodInvoker .resolveHandlerArguments(Method,Object,NativeWebRequest ,ExtendedModelMap) |
parseMapElement(Element,BeanDefinition) | 21 | org.springframework.beans.factory.xml.BeanDefinitionParserDelegate .parseMapElement(Element,BeanDefinition) |
createArray(ExpressionState) | 21 | org.springframework.expression.spel.ast.ConstructorReference .createArray(ExpressionState) |
doInvoke(HessianSkeleton,InputStream,OutputStream) | 20 | org.springframework.remoting.caucho.HessianExporter.doInvoke (HessianSkeleton,InputStream,OutputStream) |
doFindPathMatchingJarResources(Resource,String) | 20 | org.springframework.core.io.support .PathMatchingResourcePatternResolver.doFindPathMatchingJarResources (Resource,String) |
registerBeanDefinition(String,Map,String,String) | 20 | org.springframework.beans.factory.support .PropertiesBeanDefinitionReader.registerBeanDefinition(String,Map ,String,String) |
createArgumentArray(String,RootBeanDefinition ,ConstructorArgumentValues,BeanWrapper,Class[],String[],Object,boolean ) | 20 | org.springframework.beans.factory.support.ConstructorResolver .createArgumentArray(String,RootBeanDefinition ,ConstructorArgumentValues,BeanWrapper,Class[],String[],Object,boolean ) |
doMatch(String,String,boolean,Map) | 20 | org.springframework.util.AntPathMatcher.doMatch(String,String,boolean ,Map) |
getValueInternal(ExpressionState) | 19 | org.springframework.expression.spel.ast.Selection.getValueInternal (ExpressionState) |
getValueInternal(ExpressionState) | 19 | org.springframework.expression.spel.ast.Indexer.getValueInternal (ExpressionState) |
invokeBeanFactoryPostProcessors(ConfigurableListableBeanFactory) | 18 | org.springframework.context.support.AbstractApplicationContext .invokeBeanFactoryPostProcessors(ConfigurableListableBeanFactory) |
convertToTypedMap(Map,String,Class,TypeDescriptor) | 18 | org.springframework.beans.TypeConverterDelegate.convertToTypedMap(Map ,String,Class,TypeDescriptor) |
setValue(ExpressionState,Object) | 18 | org.springframework.expression.spel.ast.Indexer.setValue (ExpressionState,Object) |
doGetBean(String,Class,Object[],boolean)<T> | 17 | org.springframework.beans.factory.support.AbstractBeanFactory .doGetBean(String,Class,Object[],boolean)<T> |
resolveValueIfNecessary(Object,Object) | 17 | org.springframework.beans.factory.support.BeanDefinitionValueResolver .resolveValueIfNecessary(Object,Object) |
reconcileParameters(List) | 17 | org.springframework.jdbc.core.metadata.CallMetaDataContext .reconcileParameters(List) |
resolve(EvaluationContext,Object,String,List) | 17 | org.springframework.expression.spel.support.ReflectiveMethodResolver .resolve(EvaluationContext,Object,String,List) |
parseAspect(Element,ParserContext) | 16 | org.springframework.aop.config.ConfigBeanDefinitionParser.parseAspect (Element,ParserContext) |
createCustomException(String,String,SQLException,Class) | 16 | org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator .createCustomException(String,String,SQLException,Class) |
doResolveDependency(DependencyDescriptor,Class,String,Set ,TypeConverter) | 16 | org.springframework.beans.factory.support.DefaultListableBeanFactory .doResolveDependency(DependencyDescriptor,Class,String,Set ,TypeConverter) |
loadBeanDefinitionsForModelMethod(ConfigurationClassMethod) | 16 | org.springframework.context.annotation .ConfigurationClassBeanDefinitionReader .loadBeanDefinitionsForModelMethod(ConfigurationClassMethod) |
Statistics
Stat | # Variables |
---|---|
Sum: | 599 |
Average: | 22.185 |
Minimum: | 16 |
Maximum: | 47 |
Standard deviation: | 7.7605 |
Variance: | 60.225 |
![]() | Rule warning: Methods with too many overloads (NbOverloads) |
// <Name>Methods with too many overloads (NbOverloads)</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
NbOverloads > 6
ORDER BY NbOverloads DESC
// METHODS WHERE NbOverloads > 6 might
// be a problem to maintain and provoke higher coupling
// than necessary.
// See the definition of the NbOverloads metric here
// http://www.JavaDepend.com/Metrics.aspx#NbOverloads
WARN IF Count > 0 IN SELECT METHODS WHERE
NbOverloads > 6
ORDER BY NbOverloads DESC
// METHODS WHERE NbOverloads > 6 might
// be a problem to maintain and provoke higher coupling
// than necessary.
// See the definition of the NbOverloads metric here
// http://www.JavaDepend.com/Metrics.aspx#NbOverloads
417 methods matched
The following list of methods is truncated and contains only the first 100 methods of the 417 methods matched. All matched methods could be listed in the report by unchecking the option:
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched methods.
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched methods.
methods | # Overloads | Full Name |
---|---|---|
methods | # Overloads | Full Name |
query(String,Object[],int[],ResultSetExtractor) | 19 | org.springframework.jdbc.core.JdbcTemplate.query(String,Object[],int[] ,ResultSetExtractor) |
query(String,PreparedStatementSetter,ResultSetExtractor) | 19 | org.springframework.jdbc.core.JdbcTemplate.query(String ,PreparedStatementSetter,ResultSetExtractor) |
query(String,ResultSetExtractor,Object[]) | 19 | org.springframework.jdbc.core.JdbcTemplate.query(String ,ResultSetExtractor,Object[]) |
query(String,Object[],ResultSetExtractor) | 19 | org.springframework.jdbc.core.JdbcTemplate.query(String,Object[] ,ResultSetExtractor) |
query(PreparedStatementCreator,ResultSetExtractor) | 19 | org.springframework.jdbc.core.JdbcTemplate.query (PreparedStatementCreator,ResultSetExtractor) |
query(String,RowCallbackHandler) | 19 | org.springframework.jdbc.core.JdbcTemplate.query(String ,RowCallbackHandler) |
query(String,ResultSetExtractor) | 19 | org.springframework.jdbc.core.JdbcTemplate.query(String ,ResultSetExtractor) |
query(PreparedStatementCreator,PreparedStatementSetter ,ResultSetExtractor) | 19 | org.springframework.jdbc.core.JdbcTemplate.query (PreparedStatementCreator,PreparedStatementSetter,ResultSetExtractor) |
query(String,RowMapper) | 19 | org.springframework.jdbc.core.JdbcTemplate.query(String,RowMapper) |
query(PreparedStatementCreator,RowCallbackHandler) | 19 | org.springframework.jdbc.core.JdbcTemplate.query (PreparedStatementCreator,RowCallbackHandler) |
query(String,Object[],int[],RowMapper) | 19 | org.springframework.jdbc.core.JdbcTemplate.query(String,Object[],int[] ,RowMapper) |
query(String,PreparedStatementSetter,RowMapper) | 19 | org.springframework.jdbc.core.JdbcTemplate.query(String ,PreparedStatementSetter,RowMapper) |
query(String,RowMapper,Object[]) | 19 | org.springframework.jdbc.core.JdbcTemplate.query(String,RowMapper ,Object[]) |
query(String,Object[],RowMapper) | 19 | org.springframework.jdbc.core.JdbcTemplate.query(String,Object[] ,RowMapper) |
query(PreparedStatementCreator,RowMapper) | 19 | org.springframework.jdbc.core.JdbcTemplate.query (PreparedStatementCreator,RowMapper) |
query(String,Object[],int[],RowCallbackHandler) | 19 | org.springframework.jdbc.core.JdbcTemplate.query(String,Object[],int[] ,RowCallbackHandler) |
query(String,PreparedStatementSetter,RowCallbackHandler) | 19 | org.springframework.jdbc.core.JdbcTemplate.query(String ,PreparedStatementSetter,RowCallbackHandler) |
query(String,RowCallbackHandler,Object[]) | 19 | org.springframework.jdbc.core.JdbcTemplate.query(String ,RowCallbackHandler,Object[]) |
query(String,Object[],RowCallbackHandler) | 19 | org.springframework.jdbc.core.JdbcTemplate.query(String,Object[] ,RowCallbackHandler) |
query(String,ResultSetExtractor,Object[]) | 18 | org.springframework.jdbc.core.JdbcOperations.query(String ,ResultSetExtractor,Object[]) |
query(String,Object[],ResultSetExtractor) | 18 | org.springframework.jdbc.core.JdbcOperations.query(String,Object[] ,ResultSetExtractor) |
query(PreparedStatementCreator,RowCallbackHandler) | 18 | org.springframework.jdbc.core.JdbcOperations.query (PreparedStatementCreator,RowCallbackHandler) |
query(String,Object[],int[],RowCallbackHandler) | 18 | org.springframework.jdbc.core.JdbcOperations.query(String,Object[] ,int[],RowCallbackHandler) |
query(String,PreparedStatementSetter,RowCallbackHandler) | 18 | org.springframework.jdbc.core.JdbcOperations.query(String ,PreparedStatementSetter,RowCallbackHandler) |
query(String,Object[],int[],ResultSetExtractor) | 18 | org.springframework.jdbc.core.JdbcOperations.query(String,Object[] ,int[],ResultSetExtractor) |
query(String,RowCallbackHandler) | 18 | org.springframework.jdbc.core.JdbcOperations.query(String ,RowCallbackHandler) |
query(String,ResultSetExtractor) | 18 | org.springframework.jdbc.core.JdbcOperations.query(String ,ResultSetExtractor) |
query(String,RowMapper) | 18 | org.springframework.jdbc.core.JdbcOperations.query(String,RowMapper) |
query(String,PreparedStatementSetter,ResultSetExtractor) | 18 | org.springframework.jdbc.core.JdbcOperations.query(String ,PreparedStatementSetter,ResultSetExtractor) |
query(PreparedStatementCreator,ResultSetExtractor) | 18 | org.springframework.jdbc.core.JdbcOperations.query (PreparedStatementCreator,ResultSetExtractor) |
query(String,Object[],RowCallbackHandler) | 18 | org.springframework.jdbc.core.JdbcOperations.query(String,Object[] ,RowCallbackHandler) |
query(String,Object[],int[],RowMapper) | 18 | org.springframework.jdbc.core.JdbcOperations.query(String,Object[] ,int[],RowMapper) |
query(String,Object[],RowMapper) | 18 | org.springframework.jdbc.core.JdbcOperations.query(String,Object[] ,RowMapper) |
query(String,RowMapper,Object[]) | 18 | org.springframework.jdbc.core.JdbcOperations.query(String,RowMapper ,Object[]) |
query(String,RowCallbackHandler,Object[]) | 18 | org.springframework.jdbc.core.JdbcOperations.query(String ,RowCallbackHandler,Object[]) |
query(PreparedStatementCreator,RowMapper) | 18 | org.springframework.jdbc.core.JdbcOperations.query (PreparedStatementCreator,RowMapper) |
query(String,PreparedStatementSetter,RowMapper) | 18 | org.springframework.jdbc.core.JdbcOperations.query(String ,PreparedStatementSetter,RowMapper) |
execute() | 12 | org.springframework.jdbc.object.SqlQuery.execute() |
execute(int,Map) | 12 | org.springframework.jdbc.object.SqlQuery.execute(int,Map) |
execute(Map) | 12 | org.springframework.jdbc.object.SqlQuery.execute(Map) |
RootBeanDefinition(Class) | 12 | org.springframework.beans.factory.support.RootBeanDefinition .RootBeanDefinition(Class) |
RootBeanDefinition() | 12 | org.springframework.beans.factory.support.RootBeanDefinition .RootBeanDefinition() |
execute(int) | 12 | org.springframework.jdbc.object.SqlQuery.execute(int) |
execute(long) | 12 | org.springframework.jdbc.object.SqlQuery.execute(long) |
execute(String,Map) | 12 | org.springframework.jdbc.object.SqlQuery.execute(String,Map) |
execute(long,Map) | 12 | org.springframework.jdbc.object.SqlQuery.execute(long,Map) |
execute(int,int,Map) | 12 | org.springframework.jdbc.object.SqlQuery.execute(int,int,Map) |
execute(int,int) | 12 | org.springframework.jdbc.object.SqlQuery.execute(int,int) |
RootBeanDefinition(BeanDefinition) | 12 | org.springframework.beans.factory.support.RootBeanDefinition .RootBeanDefinition(BeanDefinition) |
RootBeanDefinition(Class,MutablePropertyValues,boolean) | 12 | org.springframework.beans.factory.support.RootBeanDefinition .RootBeanDefinition(Class,MutablePropertyValues,boolean) |
RootBeanDefinition(Class,MutablePropertyValues) | 12 | org.springframework.beans.factory.support.RootBeanDefinition .RootBeanDefinition(Class,MutablePropertyValues) |
RootBeanDefinition(Class,ConstructorArgumentValues ,MutablePropertyValues) | 12 | org.springframework.beans.factory.support.RootBeanDefinition .RootBeanDefinition(Class,ConstructorArgumentValues ,MutablePropertyValues) |
RootBeanDefinition(String) | 12 | org.springframework.beans.factory.support.RootBeanDefinition .RootBeanDefinition(String) |
RootBeanDefinition(String,ConstructorArgumentValues ,MutablePropertyValues) | 12 | org.springframework.beans.factory.support.RootBeanDefinition .RootBeanDefinition(String,ConstructorArgumentValues ,MutablePropertyValues) |
RootBeanDefinition(Class,int) | 12 | org.springframework.beans.factory.support.RootBeanDefinition .RootBeanDefinition(Class,int) |
RootBeanDefinition(Class,boolean) | 12 | org.springframework.beans.factory.support.RootBeanDefinition .RootBeanDefinition(Class,boolean) |
RootBeanDefinition(Class,int,boolean) | 12 | org.springframework.beans.factory.support.RootBeanDefinition .RootBeanDefinition(Class,int,boolean) |
execute(Object[],Map) | 12 | org.springframework.jdbc.object.SqlQuery.execute(Object[],Map) |
RootBeanDefinition(RootBeanDefinition) | 12 | org.springframework.beans.factory.support.RootBeanDefinition .RootBeanDefinition(RootBeanDefinition) |
execute(Object[]) | 12 | org.springframework.jdbc.object.SqlQuery.execute(Object[]) |
execute(String) | 12 | org.springframework.jdbc.object.SqlQuery.execute(String) |
find(Class) | 11 | org.springframework.orm.jdo.JdoOperations.find(Class) |
find(Class,String) | 11 | org.springframework.orm.jdo.JdoOperations.find(Class,String) |
find(Class,String) | 11 | org.springframework.orm.jdo.JdoTemplate.find(Class,String) |
find(Class,String,String)<T> | 11 | org.springframework.orm.jdo.JdoTemplate.find(Class,String,String)<T> |
find(Class,String,String,Object[],String) | 11 | org.springframework.orm.jdo.JdoOperations.find(Class,String,String ,Object[],String) |
find(Class,String,String,Map) | 11 | org.springframework.orm.jdo.JdoOperations.find(Class,String,String,Map ) |
find(Class,String,String) | 11 | org.springframework.orm.jdo.JdoOperations.find(Class,String,String) |
find(Class,String,String,Object[]) | 11 | org.springframework.orm.jdo.JdoOperations.find(Class,String,String ,Object[]) |
find(String) | 11 | org.springframework.orm.jdo.JdoTemplate.find(String) |
find(String,Object) | 11 | org.springframework.orm.jdo.JdoTemplate.find(String,Object) |
find(String,Map) | 11 | org.springframework.orm.jdo.JdoTemplate.find(String,Map) |
find(String,Object[]) | 11 | org.springframework.orm.jdo.JdoTemplate.find(String,Object[]) |
find(Class,String,String,Object[],String)<T> | 11 | org.springframework.orm.jdo.JdoTemplate.find(Class,String,String ,Object[],String)<T> |
find(Class,String,String,Object[]) | 11 | org.springframework.orm.jdo.JdoTemplate.find(Class,String,String ,Object[]) |
find(Class,String,String,Map,String)<T> | 11 | org.springframework.orm.jdo.JdoTemplate.find(Class,String,String,Map ,String)<T> |
find(Class,String,String,Map) | 11 | org.springframework.orm.jdo.JdoTemplate.find(Class,String,String,Map) |
find(String,Object[]) | 11 | org.springframework.orm.jdo.JdoOperations.find(String,Object[]) |
find(String,Map) | 11 | org.springframework.orm.jdo.JdoOperations.find(String,Map) |
find(Class) | 11 | org.springframework.orm.jdo.JdoTemplate.find(Class) |
find(Class,String,String,Map,String) | 11 | org.springframework.orm.jdo.JdoOperations.find(Class,String,String,Map ,String) |
find(String,Object) | 11 | org.springframework.orm.jdo.JdoOperations.find(String,Object) |
find(String) | 11 | org.springframework.orm.jdo.JdoOperations.find(String) |
getMessage(String,Object[],String) | 10 | org.springframework.context.support.MessageSourceAccessor.getMessage (String,Object[],String) |
getMessage(String,Object[],String,Locale) | 10 | org.springframework.context.support.MessageSourceAccessor.getMessage (String,Object[],String,Locale) |
getMessage(String,String) | 10 | org.springframework.context.support.MessageSourceAccessor.getMessage (String,String) |
getMessage(String,String,Locale) | 10 | org.springframework.context.support.MessageSourceAccessor.getMessage (String,String,Locale) |
getMessage(String) | 10 | org.springframework.context.support.MessageSourceAccessor.getMessage (String) |
getMessage(String,Object[],Locale) | 10 | org.springframework.context.support.MessageSourceAccessor.getMessage (String,Object[],Locale) |
getMessage(MessageSourceResolvable) | 10 | org.springframework.context.support.MessageSourceAccessor.getMessage (MessageSourceResolvable) |
getMessage(String,Locale) | 10 | org.springframework.context.support.MessageSourceAccessor.getMessage (String,Locale) |
getMessage(String,Object[]) | 10 | org.springframework.context.support.MessageSourceAccessor.getMessage (String,Object[]) |
println(String) | 10 | org.springframework.mock.web.MockBodyContent.println(String) |
ClassPathXmlApplicationContext(ApplicationContext) | 10 | org.springframework.context.support.ClassPathXmlApplicationContext .ClassPathXmlApplicationContext(ApplicationContext) |
ClassPathXmlApplicationContext(String) | 10 | org.springframework.context.support.ClassPathXmlApplicationContext .ClassPathXmlApplicationContext(String) |
ClassPathXmlApplicationContext(String[],boolean) | 10 | org.springframework.context.support.ClassPathXmlApplicationContext .ClassPathXmlApplicationContext(String[],boolean) |
ClassPathXmlApplicationContext() | 10 | org.springframework.context.support.ClassPathXmlApplicationContext .ClassPathXmlApplicationContext() |
ClassPathXmlApplicationContext(String[],boolean,ApplicationContext) | 10 | org.springframework.context.support.ClassPathXmlApplicationContext .ClassPathXmlApplicationContext(String[],boolean,ApplicationContext) |
ClassPathXmlApplicationContext(String[],Class) | 10 | org.springframework.context.support.ClassPathXmlApplicationContext .ClassPathXmlApplicationContext(String[],Class) |
ClassPathXmlApplicationContext(String[],Class,ApplicationContext) | 10 | org.springframework.context.support.ClassPathXmlApplicationContext .ClassPathXmlApplicationContext(String[],Class,ApplicationContext) |
Statistics
Stat | # Overloads |
---|---|
Sum: | 3 989 |
Average: | 9.5659 |
Minimum: | 7 |
Maximum: | 19 |
Standard deviation: | 3.1503 |
Variance: | 9.9243 |
Type Metrics |
|
|
![]() | Critical Rule warning: Types too big - critical (NbLinesOfCode) |
// <Name>Types too big - critical (NbLinesOfCode)</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
NbLinesOfCode > 500 OR
NbBCInstructions > 3000
ORDER BY NbLinesOfCode DESC
// METHODS WHERE NbLinesOfCode > 500 are extremely complex
// and should be split in a smaller group of types.
// (except if they are automatically generated by a tool).
// See the definition of the NbLinesOfCode metric here
// http://www.JavaDepend.com/Metrics.aspx#NbLinesOfCode
// In average, a line of code is compiled to around
// 6 BC instructions. This is why the code metric
// NbBCInstructions is used here, in case the
// code metric NbLinesOfCode is un-available because
// of missing code source files.
// See the definition of the NbBCInstructions metric here
// http://www.JavaDepend.com/Metrics.aspx#NbBCInstructions
WARN IF Count > 0 IN SELECT TYPES WHERE
NbLinesOfCode > 500 OR
NbBCInstructions > 3000
ORDER BY NbLinesOfCode DESC
// METHODS WHERE NbLinesOfCode > 500 are extremely complex
// and should be split in a smaller group of types.
// (except if they are automatically generated by a tool).
// See the definition of the NbLinesOfCode metric here
// http://www.JavaDepend.com/Metrics.aspx#NbLinesOfCode
// In average, a line of code is compiled to around
// 6 BC instructions. This is why the code metric
// NbBCInstructions is used here, in case the
// code metric NbLinesOfCode is un-available because
// of missing code source files.
// See the definition of the NbBCInstructions metric here
// http://www.JavaDepend.com/Metrics.aspx#NbBCInstructions
6 types matched
types | # lines of code (LOC) | # ByteCode instructions | Full Name |
---|---|---|---|
types | # lines of code (LOC) | # ByteCode instructions | Full Name |
BeanDefinitionParserDelegate | 643 | 2 704 | org.springframework.beans.factory.xml.BeanDefinitionParserDelegate |
AbstractAutowireCapableBeanFactory | 606 | 2 434 | org.springframework.beans.factory.support .AbstractAutowireCapableBeanFactory |
BeanWrapperImpl | 542 | 2 469 | org.springframework.beans.BeanWrapperImpl |
AbstractBeanFactory | 536 | 2 353 | org.springframework.beans.factory.support.AbstractBeanFactory |
ClassReader | 0 | 3 380 | org.springframework.asm.ClassReader |
MethodWriter | 0 | 3 547 | org.springframework.asm.MethodWriter |
Statistics
Stat | # lines of code (LOC) | # ByteCode instructions |
---|---|---|
Sum: | 2 327 | 16 887 |
Average: | 387.83 | 2 814 |
Minimum: | 0 | 2 353 |
Maximum: | 643 | 3 547 |
Standard deviation: | 276.66 | 473.58 |
Variance: | 76 542 | 224 281 |
![]() | Rule warning: Types with too many methods |
// <Name>Types with too many methods</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
NbMethods > 20
ORDER BY NbMethods DESC
// TYPES WHERE NbMethods > 20 might be hard to
// understand and maintain
// but there might be cases where it is relevant
// to have a high value for NbMethods.
// See the definition of the NbMethods metric here
// http://www.JavaDepend.com/Metrics.aspx#NbMethods
WARN IF Count > 0 IN SELECT TYPES WHERE
NbMethods > 20
ORDER BY NbMethods DESC
// TYPES WHERE NbMethods > 20 might be hard to
// understand and maintain
// but there might be cases where it is relevant
// to have a high value for NbMethods.
// See the definition of the NbMethods metric here
// http://www.JavaDepend.com/Metrics.aspx#NbMethods
168 types matched
The following list of types is truncated and contains only the first 100 types of the 168 types matched. All matched types could be listed in the report by unchecking the option:
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched types.
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched types.
types | # Methods | Full Name |
---|---|---|
types | # Methods | Full Name |
MockHttpServletRequest | 103 | org.springframework.mock.web.MockHttpServletRequest |
JdbcTemplate | 97 | org.springframework.jdbc.core.JdbcTemplate |
HibernateTemplate | 95 | org.springframework.orm.hibernate3.HibernateTemplate |
AbstractBeanDefinition | 82 | org.springframework.beans.factory.support.AbstractBeanDefinition |
AbstractBeanFactory | 82 | org.springframework.beans.factory.support.AbstractBeanFactory |
GeneratorAdapter | 81 | org.springframework.asm.commons.GeneratorAdapter |
JmsTemplate | 78 | org.springframework.jms.core.JmsTemplate |
AbstractApplicationContext | 78 | org.springframework.context.support.AbstractApplicationContext |
MockPortletRequest | 73 | org.springframework.mock.web.portlet.MockPortletRequest |
MimeMessageHelper | 68 | org.springframework.mail.javamail.MimeMessageHelper |
HibernateOperations | 67 | org.springframework.orm.hibernate3.HibernateOperations |
HttpHeaders | 61 | org.springframework.http.HttpHeaders |
JdbcOperations | 61 | org.springframework.jdbc.core.JdbcOperations |
MockHttpServletResponse | 60 | org.springframework.mock.web.MockHttpServletResponse |
DefaultMessageListenerContainer | 58 | org.springframework.jms.listener.DefaultMessageListenerContainer |
StringUtils | 57 | org.springframework.util.StringUtils |
AbstractAutowireCapableBeanFactory | 55 | org.springframework.beans.factory.support .AbstractAutowireCapableBeanFactory |
JtaTransactionManager | 55 | org.springframework.transaction.jta.JtaTransactionManager |
BeanDefinitionParserDelegate | 55 | org.springframework.beans.factory.xml.BeanDefinitionParserDelegate |
ConfigurableListableBeanFactory | 55 | org.springframework.beans.factory.config .ConfigurableListableBeanFactory |
ClassUtils | 53 | org.springframework.util.ClassUtils |
ResultSetWrappingSqlRowSet | 52 | org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet |
AbstractPlatformTransactionManager | 52 | org.springframework.transaction.support .AbstractPlatformTransactionManager |
SqlRowSet | 50 | org.springframework.jdbc.support.rowset.SqlRowSet |
InternalSpelExpressionParser | 50 | org.springframework.expression.spel.standard .InternalSpelExpressionParser |
BeanWrapperImpl | 49 | org.springframework.beans.BeanWrapperImpl |
DataBinder | 47 | org.springframework.validation.DataBinder |
MBeanExporter | 46 | org.springframework.jmx.export.MBeanExporter |
AdvisedSupport | 45 | org.springframework.aop.framework.AdvisedSupport |
BindException | 44 | org.springframework.validation.BindException |
LocalSessionFactoryBean | 43 | org.springframework.orm.hibernate3.LocalSessionFactoryBean |
RestTemplate | 43 | org.springframework.web.client.RestTemplate |
AbstractJdbcInsert | 43 | org.springframework.jdbc.core.simple.AbstractJdbcInsert |
TypeDescriptor | 42 | org.springframework.core.convert.TypeDescriptor |
JdoTemplate | 42 | org.springframework.orm.jdo.JdoTemplate |
DefaultListableBeanFactory | 41 | org.springframework.beans.factory.support.DefaultListableBeanFactory |
JaxRpcPortClientInterceptor | 40 | org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor |
AbstractAspectJAdvice | 40 | org.springframework.aop.aspectj.AbstractAspectJAdvice |
SimpleJdbcTemplate | 40 | org.springframework.jdbc.core.simple.SimpleJdbcTemplate |
ConfigurableBeanFactory | 39 | org.springframework.beans.factory.config.ConfigurableBeanFactory |
BindingResult | 39 | org.springframework.validation.BindingResult |
HandlerMethodInvoker | 39 | org.springframework.web.bind.annotation.support.HandlerMethodInvoker |
StandardEvaluationContext | 38 | org.springframework.expression.spel.support.StandardEvaluationContext |
SchedulerFactoryBean | 38 | org.springframework.scheduling.quartz.SchedulerFactoryBean |
ObjectUtils | 37 | org.springframework.util.ObjectUtils |
JaxWsPortClientInterceptor | 37 | org.springframework.remoting.jaxws.JaxWsPortClientInterceptor |
AbstractJmsListeningContainer | 37 | org.springframework.jms.listener.AbstractJmsListeningContainer |
NamedParameterJdbcTemplate | 37 | org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate |
AbstractMessageListenerContainer | 36 | org.springframework.jms.listener.AbstractMessageListenerContainer |
MethodWriter | 36 | org.springframework.asm.MethodWriter |
SimpleJdbcOperations | 36 | org.springframework.jdbc.core.simple.SimpleJdbcOperations |
XMLEventStreamWriter | 35 | org.springframework.util.xml.XMLEventStreamWriter |
AbstractJdbcCall | 35 | org.springframework.jdbc.core.simple.AbstractJdbcCall |
MockServletContext | 35 | org.springframework.mock.web.MockServletContext |
EmptyVisitor | 34 | org.springframework.asm.commons.EmptyVisitor |
MediaType | 34 | org.springframework.http.MediaType |
SimpleNamingContext | 34 | org.springframework.mock.jndi.SimpleNamingContext |
EscapedErrors | 33 | org.springframework.web.bind.EscapedErrors |
MockPageContext | 33 | org.springframework.mock.web.MockPageContext |
AbstractErrors | 33 | org.springframework.validation.AbstractErrors |
RestOperations | 33 | org.springframework.web.client.RestOperations |
SqlQuery<T> | 33 | org.springframework.jdbc.object.SqlQuery |
AbstractEntityManagerFactoryBean | 33 | org.springframework.orm.jpa.AbstractEntityManagerFactoryBean |
MockBodyContent | 33 | org.springframework.mock.web.MockBodyContent |
AbstractAutoProxyCreator | 33 | org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator |
AbstractBindingResult | 32 | org.springframework.validation.AbstractBindingResult |
MutablePersistenceUnitInfo | 32 | org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo |
HibernateTransactionManager | 32 | org.springframework.orm.hibernate3.HibernateTransactionManager |
ClassWriter | 31 | org.springframework.asm.ClassWriter |
NamedParameterJdbcOperations | 31 | org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations |
ServletRequestUtils | 31 | org.springframework.web.bind.ServletRequestUtils |
SQLErrorCodes | 31 | org.springframework.jdbc.support.SQLErrorCodes |
RdbmsOperation | 31 | org.springframework.jdbc.object.RdbmsOperation |
SingleConnectionFactory | 31 | org.springframework.jms.connection.SingleConnectionFactory |
AbstractXMLStreamReader | 31 | org.springframework.util.xml.AbstractXMLStreamReader |
JmsOperations | 31 | org.springframework.jms.core.JmsOperations |
BeanDefinitionBuilder | 31 | org.springframework.beans.factory.support.BeanDefinitionBuilder |
JdoOperations | 31 | org.springframework.orm.jdo.JdoOperations |
MockJspWriter | 30 | org.springframework.mock.web.MockJspWriter |
BeanDefinition | 30 | org.springframework.beans.factory.config.BeanDefinition |
ReflectionUtils | 30 | org.springframework.util.ReflectionUtils |
PersistenceAnnotationBeanPostProcessor | 29 | org.springframework.orm.jpa.support .PersistenceAnnotationBeanPostProcessor |
SpelExpression | 29 | org.springframework.expression.spel.standard.SpelExpression |
MessageListenerAdapter | 29 | org.springframework.jms.listener.adapter.MessageListenerAdapter |
SqlMapClientTemplate | 29 | org.springframework.orm.ibatis.SqlMapClientTemplate |
GenericCallMetaDataProvider | 29 | org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider |
AutoPopulatingList<E> | 29 | org.springframework.util.AutoPopulatingList |
Errors | 29 | org.springframework.validation.Errors |
CallMetaDataContext | 29 | org.springframework.jdbc.core.metadata.CallMetaDataContext |
JavaMailSenderImpl | 29 | org.springframework.mail.javamail.JavaMailSenderImpl |
PagedListHolder<E> | 28 | org.springframework.beans.support.PagedListHolder |
XmlBeanDefinitionReader | 28 | org.springframework.beans.factory.xml.XmlBeanDefinitionReader |
MockPortletContext | 28 | org.springframework.mock.web.portlet.MockPortletContext |
RootBeanDefinition | 28 | org.springframework.beans.factory.support.RootBeanDefinition |
MockMimeResponse | 28 | org.springframework.mock.web.portlet.MockMimeResponse |
AspectJExpressionPointcut | 28 | org.springframework.aop.aspectj.AspectJExpressionPointcut |
ProxyFactoryBean | 28 | org.springframework.aop.framework.ProxyFactoryBean |
XMLEventStreamReader | 28 | org.springframework.util.xml.XMLEventStreamReader |
ConstructorArgumentValues | 27 | org.springframework.beans.factory.config.ConstructorArgumentValues |
ThreadPoolTaskExecutor | 27 | org.springframework.scheduling.backportconcurrent .ThreadPoolTaskExecutor |
Statistics
Stat | # Methods |
---|---|
Sum: | 5 844 |
Average: | 34.786 |
Minimum: | 21 |
Maximum: | 103 |
Standard deviation: | 16.025 |
Variance: | 256.8 |
![]() | Rule warning: Types with too many fields |
// <Name>Types with too many fields</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
NbFields > 20 AND
!IsEnumeration
ORDER BY NbFields DESC
// TYPES WHERE NbFields > 20 AND !IsEnumeration
// might be hard to understand and maintain
// but there might be cases where it is relevant
// to have a high value for NbFields.
// The value of the metric NbFields might be a better
// indicator of complex type.
// See the definition of the NbFields metric here
// http://www.JavaDepend.com/Metrics.aspx#NbFields
WARN IF Count > 0 IN SELECT TYPES WHERE
NbFields > 20 AND
!IsEnumeration
ORDER BY NbFields DESC
// TYPES WHERE NbFields > 20 AND !IsEnumeration
// might be hard to understand and maintain
// but there might be cases where it is relevant
// to have a high value for NbFields.
// The value of the metric NbFields might be a better
// indicator of complex type.
// See the definition of the NbFields metric here
// http://www.JavaDepend.com/Metrics.aspx#NbFields
19 types matched
types | # Fields | Full Name |
---|---|---|
types | # Fields | Full Name |
Opcodes | 189 | org.springframework.asm.Opcodes |
BeanDefinitionParserDelegate | 77 | org.springframework.beans.factory.xml.BeanDefinitionParserDelegate |
MockHttpServletRequest | 42 | org.springframework.mock.web.MockHttpServletRequest |
GeneratorAdapter | 38 | org.springframework.asm.commons.GeneratorAdapter |
AbstractBeanDefinition | 37 | org.springframework.beans.factory.support.AbstractBeanDefinition |
MethodWriter | 37 | org.springframework.asm.MethodWriter |
ConfigBeanDefinitionParser | 32 | org.springframework.aop.config.ConfigBeanDefinitionParser |
ClassWriter | 30 | org.springframework.asm.ClassWriter |
LocalSessionFactoryBean | 27 | org.springframework.orm.hibernate3.LocalSessionFactoryBean |
MockPortletRequest | 25 | org.springframework.mock.web.portlet.MockPortletRequest |
SchedulerFactoryBean | 24 | org.springframework.scheduling.quartz.SchedulerFactoryBean |
AbstractListenerContainerParser | 24 | org.springframework.jms.config.AbstractListenerContainerParser |
Type | 24 | org.springframework.asm.Type |
AbstractReflectiveMBeanInfoAssembler | 24 | org.springframework.jmx.export.assembler .AbstractReflectiveMBeanInfoAssembler |
WebUtils | 24 | org.springframework.web.util.WebUtils |
MediaType | 23 | org.springframework.http.MediaType |
VfsUtils | 22 | org.springframework.core.io.VfsUtils |
DefaultMessageListenerContainer | 22 | org.springframework.jms.listener.DefaultMessageListenerContainer |
MBeanExporter | 21 | org.springframework.jmx.export.MBeanExporter |
Statistics
Stat | # Fields |
---|---|
Sum: | 742 |
Average: | 39.053 |
Minimum: | 21 |
Maximum: | 189 |
Standard deviation: | 37.497 |
Variance: | 1 406 |
![]() | Rule warning: Types with poor cohesion (LCOM) |
// <Name>Types with poor cohesion (LCOM)</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
LCOM > 0.8 AND
NbFields > 10 AND
NbMethods >10
ORDER BY LCOM DESC
// TYPES WHERE LCOM > 0.8 AND NbFields > 10
// AND NbMethods >10 might be problematic.
// However, it is very hard to avoid such
// non-cohesive types. The LCOMHS metric
// is often considered as more efficient to
// detect non-cohesive types.
// See the definition of the LCOM metric here
// http://www.JavaDepend.com/Metrics.aspx#LCOM
WARN IF Count > 0 IN SELECT TYPES WHERE
LCOM > 0.8 AND
NbFields > 10 AND
NbMethods >10
ORDER BY LCOM DESC
// TYPES WHERE LCOM > 0.8 AND NbFields > 10
// AND NbMethods >10 might be problematic.
// However, it is very hard to avoid such
// non-cohesive types. The LCOMHS metric
// is often considered as more efficient to
// detect non-cohesive types.
// See the definition of the LCOM metric here
// http://www.JavaDepend.com/Metrics.aspx#LCOM
42 types matched
types | Lack of Cohesion Of Methods (LCOM) | # Fields | # Methods | Full Name |
---|---|---|---|---|
types | Lack of Cohesion Of Methods (LCOM) | # Fields | # Methods | Full Name |
MockHttpServletRequest | 0.96359 | 42 | 103 | org.springframework.mock.web.MockHttpServletRequest |
JmsTemplate | 0.957 | 13 | 78 | org.springframework.jms.core.JmsTemplate |
MockPortletRequest | 0.94027 | 25 | 73 | org.springframework.mock.web.portlet.MockPortletRequest |
AbstractBeanFactory | 0.93278 | 18 | 82 | org.springframework.beans.factory.support.AbstractBeanFactory |
JaxWsPortClientInterceptor | 0.93243 | 16 | 37 | org.springframework.remoting.jaxws.JaxWsPortClientInterceptor |
GeneratorAdapter | 0.92593 | 38 | 81 | org.springframework.asm.commons.GeneratorAdapter |
AbstractApplicationContext | 0.92468 | 19 | 78 | org.springframework.context.support.AbstractApplicationContext |
AbstractBeanDefinition | 0.92322 | 37 | 82 | org.springframework.beans.factory.support.AbstractBeanDefinition |
DataBinder | 0.92249 | 16 | 47 | org.springframework.validation.DataBinder |
MockHttpServletResponse | 0.92185 | 20 | 60 | org.springframework.mock.web.MockHttpServletResponse |
DefaultMessageListenerContainer | 0.9186 | 22 | 58 | org.springframework.jms.listener.DefaultMessageListenerContainer |
JaxRpcPortClientInterceptor | 0.915 | 15 | 40 | org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor |
MimeMessageHelper | 0.91422 | 18 | 68 | org.springframework.mail.javamail.MimeMessageHelper |
LocalSessionFactoryBean | 0.91226 | 27 | 43 | org.springframework.orm.hibernate3.LocalSessionFactoryBean |
MutablePersistenceUnitInfo | 0.90625 | 13 | 32 | org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo |
JtaTransactionManager | 0.90123 | 17 | 55 | org.springframework.transaction.jta.JtaTransactionManager |
JavaMailSenderImpl | 0.90038 | 12 | 29 | org.springframework.mail.javamail.JavaMailSenderImpl |
SQLErrorCodes | 0.89862 | 14 | 31 | org.springframework.jdbc.support.SQLErrorCodes |
AbstractAutoProxyCreator | 0.89697 | 17 | 33 | org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator |
AbstractPlatformTransactionManager | 0.89663 | 12 | 52 | org.springframework.transaction.support .AbstractPlatformTransactionManager |
GenericTableMetaDataProvider | 0.89231 | 11 | 26 | org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider |
HibernateAccessor | 0.89062 | 14 | 24 | org.springframework.orm.hibernate3.HibernateAccessor |
MBeanExporter | 0.88547 | 21 | 46 | org.springframework.jmx.export.MBeanExporter |
PropertyPlaceholderConfigurer | 0.88194 | 16 | 22 | org.springframework.beans.factory.config.PropertyPlaceholderConfigurer |
AbstractReflectiveMBeanInfoAssembler | 0.87879 | 24 | 22 | org.springframework.jmx.export.assembler .AbstractReflectiveMBeanInfoAssembler |
StandardEvaluationContext | 0.8756 | 11 | 38 | org.springframework.expression.spel.support.StandardEvaluationContext |
XmlBeanDefinitionReader | 0.875 | 17 | 28 | org.springframework.beans.factory.xml.XmlBeanDefinitionReader |
SchedulerFactoryBean | 0.87387 | 24 | 38 | org.springframework.scheduling.quartz.SchedulerFactoryBean |
AbstractEntityManagerFactoryBean | 0.84375 | 14 | 33 | org.springframework.orm.jpa.AbstractEntityManagerFactoryBean |
AbstractRequestLoggingFilter | 0.84211 | 13 | 19 | org.springframework.web.filter.AbstractRequestLoggingFilter |
DefaultListableBeanFactory | 0.84167 | 11 | 41 | org.springframework.beans.factory.support.DefaultListableBeanFactory |
AbstractHttpInvokerRequestExecutor | 0.83824 | 13 | 17 | org.springframework.remoting.httpinvoker .AbstractHttpInvokerRequestExecutor |
MBeanClientInterceptor | 0.83761 | 18 | 26 | org.springframework.jmx.access.MBeanClientInterceptor |
ThreadPoolTaskExecutor | 0.82621 | 13 | 27 | org.springframework.scheduling.backportconcurrent .ThreadPoolTaskExecutor |
EhCacheFactoryBean | 0.81875 | 20 | 25 | org.springframework.cache.ehcache.EhCacheFactoryBean |
MockMimeResponse | 0.81818 | 11 | 28 | org.springframework.mock.web.portlet.MockMimeResponse |
AbstractJmsListeningContainer | 0.81818 | 11 | 37 | org.springframework.jms.listener.AbstractJmsListeningContainer |
AbstractAspectJAdvice | 0.81094 | 17 | 40 | org.springframework.aop.aspectj.AbstractAspectJAdvice |
ClassWriter | 0.80756 | 30 | 31 | org.springframework.asm.ClassWriter |
CustomizableTraceInterceptor | 0.80556 | 16 | 12 | org.springframework.aop.interceptor.CustomizableTraceInterceptor |
SchedulerAccessor | 0.80162 | 13 | 19 | org.springframework.scheduling.quartz.SchedulerAccessor |
TypeDescriptor | 0.80159 | 13 | 42 | org.springframework.core.convert.TypeDescriptor |
Statistics
Stat | Lack of Cohesion Of Methods (LCOM) | # Fields | # Methods |
---|---|---|---|
Sum: | 36.97 | 762 | 1 803 |
Average: | 0.88024 | 18.143 | 42.929 |
Minimum: | 0.80159 | 11 | 12 |
Maximum: | 0.96359 | 42 | 103 |
Standard deviation: | 0.046109 | 7.3762 | 21.5 |
Variance: | 0.002126 | 54.408 | 462.26 |
![]() | Rule warning: Types with poor cohesion (LCOMHS) |
// <Name>Types with poor cohesion (LCOMHS)</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
LCOMHS > 0.95 AND
NbFields > 10 AND
NbMethods >10
ORDER BY LCOMHS DESC
// TYPES WHERE LCOMHS > 1.0 AND NbFields > 10 AND
// NbMethods >10 should be avoided.
// Note that this rule is stronger
// than the rule
// TYPES WHERE LCOM > 0.8 AND NbFields > 10 AND NbMethods >10.
// See the definition of the LCOMHS metric here
// http://www.JavaDepend.com/Metrics.aspx#LCOMHS
WARN IF Count > 0 IN SELECT TYPES WHERE
LCOMHS > 0.95 AND
NbFields > 10 AND
NbMethods >10
ORDER BY LCOMHS DESC
// TYPES WHERE LCOMHS > 1.0 AND NbFields > 10 AND
// NbMethods >10 should be avoided.
// Note that this rule is stronger
// than the rule
// TYPES WHERE LCOM > 0.8 AND NbFields > 10 AND NbMethods >10.
// See the definition of the LCOMHS metric here
// http://www.JavaDepend.com/Metrics.aspx#LCOMHS
4 types matched
types | LCOM Henderson-Sellers (LCOMHS) | # Fields | # Methods | Full Name |
---|---|---|---|---|
types | LCOM Henderson-Sellers (LCOMHS) | # Fields | # Methods | Full Name |
MockHttpServletRequest | 0.97304 | 42 | 103 | org.springframework.mock.web.MockHttpServletRequest |
JmsTemplate | 0.97011 | 13 | 78 | org.springframework.jms.core.JmsTemplate |
JaxWsPortClientInterceptor | 0.95833 | 16 | 37 | org.springframework.remoting.jaxws.JaxWsPortClientInterceptor |
MockPortletRequest | 0.95333 | 25 | 73 | org.springframework.mock.web.portlet.MockPortletRequest |
Statistics
Stat | LCOM Henderson-Sellers (LCOMHS) | # Fields | # Methods |
---|---|---|---|
Sum: | 3.8548 | 96 | 291 |
Average: | 0.9637 | 24 | 72.75 |
Minimum: | 0.95333 | 13 | 37 |
Maximum: | 0.97304 | 42 | 103 |
Standard deviation: | 0.0081349 | 11.292 | 23.562 |
Variance: | 6.6177E-05 | 127.5 | 555.19 |
Design |
|
|
![]() | Rule warning: Type should not have too many responsibilities (Efferent Coupling) |
// <Name>Type should not have too many responsibilities (Efferent Coupling)</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
TypeCe > 50
ORDER BY TypeCe DESC
// The Efferent Coupling (TypeCe) for a particular type is
// the number of types it directly depends on. Notice that
// types declared in third party packages are taken into account.
// Types that depends on too many others type (more than 50)
// are complex and have more than one responsibility. They
// are good candidate for refactoring.
// More information available in this article:
// http://codebetter.com/blogs/patricksmacchia/archive/2008/02/15/code-metrics-on-coupling-dead-code-design-flaws-and-re-engineering.aspx
WARN IF Count > 0 IN SELECT TYPES WHERE
TypeCe > 50
ORDER BY TypeCe DESC
// The Efferent Coupling (TypeCe) for a particular type is
// the number of types it directly depends on. Notice that
// types declared in third party packages are taken into account.
// Types that depends on too many others type (more than 50)
// are complex and have more than one responsibility. They
// are good candidate for refactoring.
// More information available in this article:
// http://codebetter.com/blogs/patricksmacchia/archive/2008/02/15/code-metrics-on-coupling-dead-code-design-flaws-and-re-engineering.aspx
17 types matched
types | Efferent coupling (TypeCe) | Full Name |
---|---|---|
types | Efferent coupling (TypeCe) | Full Name |
AbstractAutowireCapableBeanFactory | 82 | org.springframework.beans.factory.support .AbstractAutowireCapableBeanFactory |
AbstractBeanFactory | 76 | org.springframework.beans.factory.support.AbstractBeanFactory |
JdbcTemplate | 73 | org.springframework.jdbc.core.JdbcTemplate |
HibernateTemplate | 73 | org.springframework.orm.hibernate3.HibernateTemplate |
MBeanExporter | 68 | org.springframework.jmx.export.MBeanExporter |
HandlerMethodInvoker | 67 | org.springframework.web.bind.annotation.support.HandlerMethodInvoker |
BeanDefinitionParserDelegate | 67 | org.springframework.beans.factory.xml.BeanDefinitionParserDelegate |
AbstractApplicationContext | 66 | org.springframework.context.support.AbstractApplicationContext |
DefaultListableBeanFactory | 63 | org.springframework.beans.factory.support.DefaultListableBeanFactory |
InternalSpelExpressionParser | 59 | org.springframework.expression.spel.standard .InternalSpelExpressionParser |
BeanWrapperImpl | 58 | org.springframework.beans.BeanWrapperImpl |
ConstructorResolver | 56 | org.springframework.beans.factory.support.ConstructorResolver |
MBeanClientInterceptor | 55 | org.springframework.jmx.access.MBeanClientInterceptor |
SessionFactoryUtils | 53 | org.springframework.orm.hibernate3.SessionFactoryUtils |
ScriptFactoryPostProcessor | 53 | org.springframework.scripting.support.ScriptFactoryPostProcessor |
LocalSessionFactoryBean | 52 | org.springframework.orm.hibernate3.LocalSessionFactoryBean |
PropertyEditorRegistrySupport | 51 | org.springframework.beans.PropertyEditorRegistrySupport |
Statistics
Stat | Efferent coupling (TypeCe) |
---|---|
Sum: | 1 072 |
Average: | 63.059 |
Minimum: | 51 |
Maximum: | 82 |
Standard deviation: | 9.1232 |
Variance: | 83.232 |
![]() | Rule warning: A stateless class might be turned into a static type |
// <Name>A stateless class might be turned into a static type</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
SizeOfInst ==0 AND
// For accuracy, this rule doesn't take
// account of types that implement some interfaces.
// and classes that have a base class and don't
// derive directly from java.lang.Object, or classes
// that have sub-classes children.
NbInterfacesImplemented == 0 AND
((IsClass AND DepthOfInheritance == 1
AND NbChildren == 0)
) AND
!IsStatic AND
!IsGeneric
// this rule indicates stateless types that might
// eventually be turned into static classes.
// See the definition of the SizeOfInst metric here
// http://www.JavaDepend.com/Metrics.aspx#SizeOfInst
WARN IF Count > 0 IN SELECT TYPES WHERE
SizeOfInst ==0 AND
// For accuracy, this rule doesn't take
// account of types that implement some interfaces.
// and classes that have a base class and don't
// derive directly from java.lang.Object, or classes
// that have sub-classes children.
NbInterfacesImplemented == 0 AND
((IsClass AND DepthOfInheritance == 1
AND NbChildren == 0)
) AND
!IsStatic AND
!IsGeneric
// this rule indicates stateless types that might
// eventually be turned into static classes.
// See the definition of the SizeOfInst metric here
// http://www.JavaDepend.com/Metrics.aspx#SizeOfInst
142 types matched
The following list of types is truncated and contains only the first 100 types of the 142 types matched. All matched types could be listed in the report by unchecking the option:
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched types.
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched types.
types | Size of instance | # interfaces implemented | Depth of inheritance | # Children | Full Name |
---|---|---|---|---|---|
types | Size of instance | # interfaces implemented | Depth of inheritance | # Children | Full Name |
BridgeMethodResolver | 0 | 0 | 1 | 0 | org.springframework.core.BridgeMethodResolver |
CollectionFactory | 0 | 0 | 1 | 0 | org.springframework.core.CollectionFactory |
ControlFlowFactory | 0 | 0 | 1 | 0 | org.springframework.core.ControlFlowFactory |
Conventions | 0 | 0 | 1 | 0 | org.springframework.core.Conventions |
GenericCollectionTypeResolver | 0 | 0 | 1 | 0 | org.springframework.core.GenericCollectionTypeResolver |
GenericTypeResolver | 0 | 0 | 1 | 0 | org.springframework.core.GenericTypeResolver |
JdkVersion | 0 | 0 | 1 | 0 | org.springframework.core.JdkVersion |
NestedExceptionUtils | 0 | 0 | 1 | 0 | org.springframework.core.NestedExceptionUtils |
SpringVersion | 0 | 0 | 1 | 0 | org.springframework.core.SpringVersion |
AnnotationUtils | 0 | 0 | 1 | 0 | org.springframework.core.annotation.AnnotationUtils |
StylerUtils | 0 | 0 | 1 | 0 | org.springframework.core.style.StylerUtils |
ConversionServiceFactory | 0 | 0 | 1 | 0 | org.springframework.core.convert.support.ConversionServiceFactory |
ConversionUtils | 0 | 0 | 1 | 0 | org.springframework.core.convert.support.ConversionUtils |
AbstractFileResolvingResource$VfsResourceDelegate | 0 | 0 | 1 | 0 | org.springframework.core.io .AbstractFileResolvingResource$VfsResourceDelegate |
PathMatchingResourcePatternResolver$VfsResourceMatchingDelegate | 0 | 0 | 1 | 0 | org.springframework.core.io.support .PathMatchingResourcePatternResolver$VfsResourceMatchingDelegate |
PropertiesLoaderUtils | 0 | 0 | 1 | 0 | org.springframework.core.io.support.PropertiesLoaderUtils |
ResourcePatternUtils | 0 | 0 | 1 | 0 | org.springframework.core.io.support.ResourcePatternUtils |
Assert | 0 | 0 | 1 | 0 | org.springframework.util.Assert |
ClassUtils | 0 | 0 | 1 | 0 | org.springframework.util.ClassUtils |
CollectionUtils | 0 | 0 | 1 | 0 | org.springframework.util.CollectionUtils |
DigestUtils | 0 | 0 | 1 | 0 | org.springframework.util.DigestUtils |
FileCopyUtils | 0 | 0 | 1 | 0 | org.springframework.util.FileCopyUtils |
FileSystemUtils | 0 | 0 | 1 | 0 | org.springframework.util.FileSystemUtils |
Log4jConfigurer | 0 | 0 | 1 | 0 | org.springframework.util.Log4jConfigurer |
NumberUtils | 0 | 0 | 1 | 0 | org.springframework.util.NumberUtils |
ObjectUtils | 0 | 0 | 1 | 0 | org.springframework.util.ObjectUtils |
PatternMatchUtils | 0 | 0 | 1 | 0 | org.springframework.util.PatternMatchUtils |
ReflectionUtils | 0 | 0 | 1 | 0 | org.springframework.util.ReflectionUtils |
ResourceUtils | 0 | 0 | 1 | 0 | org.springframework.util.ResourceUtils |
SerializationUtils | 0 | 0 | 1 | 0 | org.springframework.util.SerializationUtils |
StringUtils | 0 | 0 | 1 | 0 | org.springframework.util.StringUtils |
SystemPropertyUtils | 0 | 0 | 1 | 0 | org.springframework.util.SystemPropertyUtils |
TypeUtils | 0 | 0 | 1 | 0 | org.springframework.util.TypeUtils |
WeakReferenceMonitor | 0 | 0 | 1 | 0 | org.springframework.util.WeakReferenceMonitor |
DomUtils | 0 | 0 | 1 | 0 | org.springframework.util.xml.DomUtils |
StaxUtils$Jaxp14StaxHandler | 0 | 0 | 1 | 0 | org.springframework.util.xml.StaxUtils$Jaxp14StaxHandler |
StaxUtils | 0 | 0 | 1 | 0 | org.springframework.util.xml.StaxUtils |
TransformerUtils | 0 | 0 | 1 | 0 | org.springframework.util.xml.TransformerUtils |
BeanUtils | 0 | 0 | 1 | 0 | org.springframework.beans.BeanUtils |
PropertyAccessorFactory | 0 | 0 | 1 | 0 | org.springframework.beans.PropertyAccessorFactory |
PropertyAccessorUtils | 0 | 0 | 1 | 0 | org.springframework.beans.PropertyAccessorUtils |
AnnotationBeanUtils | 0 | 0 | 1 | 0 | org.springframework.beans.annotation.AnnotationBeanUtils |
BeanFactoryUtils | 0 | 0 | 1 | 0 | org.springframework.beans.factory.BeanFactoryUtils |
AutowireUtils | 0 | 0 | 1 | 0 | org.springframework.beans.factory.support.AutowireUtils |
BeanDefinitionReaderUtils | 0 | 0 | 1 | 0 | org.springframework.beans.factory.support.BeanDefinitionReaderUtils |
ConstructorResolver$AutowiredArgumentMarker | 0 | 0 | 1 | 0 | org.springframework.beans.factory.support .ConstructorResolver$AutowiredArgumentMarker |
ConstructorResolver$ConstructorPropertiesChecker | 0 | 0 | 1 | 0 | org.springframework.beans.factory.support .ConstructorResolver$ConstructorPropertiesChecker |
AopConfigUtils | 0 | 0 | 1 | 0 | org.springframework.aop.config.AopConfigUtils |
AopNamespaceUtils | 0 | 0 | 1 | 0 | org.springframework.aop.config.AopNamespaceUtils |
ExposeBeanNameAdvisors | 0 | 0 | 1 | 0 | org.springframework.aop.interceptor.ExposeBeanNameAdvisors |
ScopedProxyUtils | 0 | 0 | 1 | 0 | org.springframework.aop.scope.ScopedProxyUtils |
AspectJAopUtils | 0 | 0 | 1 | 0 | org.springframework.aop.aspectj.AspectJAopUtils |
AspectJProxyUtils | 0 | 0 | 1 | 0 | org.springframework.aop.aspectj.AspectJProxyUtils |
AopContext | 0 | 0 | 1 | 0 | org.springframework.aop.framework.AopContext |
AopProxyUtils | 0 | 0 | 1 | 0 | org.springframework.aop.framework.AopProxyUtils |
DefaultAopProxyFactory$CglibProxyFactory | 0 | 0 | 1 | 0 | org.springframework.aop.framework .DefaultAopProxyFactory$CglibProxyFactory |
GlobalAdvisorAdapterRegistry | 0 | 0 | 1 | 0 | org.springframework.aop.framework.adapter.GlobalAdvisorAdapterRegistry |
AutoProxyUtils | 0 | 0 | 1 | 0 | org.springframework.aop.framework.autoproxy.AutoProxyUtils |
ProxyCreationContext | 0 | 0 | 1 | 0 | org.springframework.aop.framework.autoproxy.ProxyCreationContext |
AopUtils | 0 | 0 | 1 | 0 | org.springframework.aop.support.AopUtils |
ClassFilters | 0 | 0 | 1 | 0 | org.springframework.aop.support.ClassFilters |
MethodMatchers | 0 | 0 | 1 | 0 | org.springframework.aop.support.MethodMatchers |
Pointcuts | 0 | 0 | 1 | 0 | org.springframework.aop.support.Pointcuts |
ExpressionUtils | 0 | 0 | 1 | 0 | org.springframework.expression.common.ExpressionUtils |
AstUtils | 0 | 0 | 1 | 0 | org.springframework.expression.spel.ast.AstUtils |
FormatHelper | 0 | 0 | 1 | 0 | org.springframework.expression.spel.ast.FormatHelper |
ReflectionHelper | 0 | 0 | 1 | 0 | org.springframework.expression.spel.support.ReflectionHelper |
DefaultLocatorFactory | 0 | 0 | 1 | 0 | org.springframework.context.access.DefaultLocatorFactory |
AnnotationConfigUtils | 0 | 0 | 1 | 0 | org.springframework.context.annotation.AnnotationConfigUtils |
ScopedProxyCreator | 0 | 0 | 1 | 0 | org.springframework.context.annotation.ScopedProxyCreator |
LocaleContextHolder | 0 | 0 | 1 | 0 | org.springframework.context.i18n.LocaleContextHolder |
JodaTimeContextHolder | 0 | 0 | 1 | 0 | org.springframework.format.datetime.joda.JodaTimeContextHolder |
JodaTimeConverters | 0 | 0 | 1 | 0 | org.springframework.format.datetime.joda.JodaTimeConverters |
InstrumentationLoadTimeWeaver$InstrumentationAccessor | 0 | 0 | 1 | 0 | org.springframework.instrument.classloading .InstrumentationLoadTimeWeaver$InstrumentationAccessor |
JmxUtils$MXBeanChecker | 0 | 0 | 1 | 0 | org.springframework.jmx.support.JmxUtils$MXBeanChecker |
JmxUtils | 0 | 0 | 1 | 0 | org.springframework.jmx.support.JmxUtils |
ObjectNameManager | 0 | 0 | 1 | 0 | org.springframework.jmx.support.ObjectNameManager |
JmxMetadataUtils | 0 | 0 | 1 | 0 | org.springframework.jmx.export.metadata.JmxMetadataUtils |
JndiObjectFactoryBean$JndiObjectProxyFactory | 0 | 0 | 1 | 0 | org.springframework.jndi.JndiObjectFactoryBean$JndiObjectProxyFactory |
RmiClientInterceptorUtils | 0 | 0 | 1 | 0 | org.springframework.remoting.rmi.RmiClientInterceptorUtils |
RemoteInvocationUtils | 0 | 0 | 1 | 0 | org.springframework.remoting.support.RemoteInvocationUtils |
TaskUtils | 0 | 0 | 1 | 0 | org.springframework.scheduling.support.TaskUtils |
BshScriptUtils | 0 | 0 | 1 | 0 | org.springframework.scripting.bsh.BshScriptUtils |
LangNamespaceUtils | 0 | 0 | 1 | 0 | org.springframework.scripting.config.LangNamespaceUtils |
JRubyScriptUtils | 0 | 0 | 1 | 0 | org.springframework.scripting.jruby.JRubyScriptUtils |
UiApplicationContextUtils | 0 | 0 | 1 | 0 | org.springframework.ui.context.support.UiApplicationContextUtils |
BindingResultUtils | 0 | 0 | 1 | 0 | org.springframework.validation.BindingResultUtils |
ValidationUtils | 0 | 0 | 1 | 0 | org.springframework.validation.ValidationUtils |
LocalValidatorFactoryBean$HibernateValidatorDelegate | 0 | 0 | 1 | 0 | org.springframework.validation.beanvalidation .LocalValidatorFactoryBean$HibernateValidatorDelegate |
ResourceHttpMessageConverter$ActivationMediaTypeFactory | 0 | 0 | 1 | 0 | org.springframework.http.converter .ResourceHttpMessageConverter$ActivationMediaTypeFactory |
ExpressionEvaluationUtils | 0 | 0 | 1 | 0 | org.springframework.web.util.ExpressionEvaluationUtils |
HtmlUtils | 0 | 0 | 1 | 0 | org.springframework.web.util.HtmlUtils |
JavaScriptUtils | 0 | 0 | 1 | 0 | org.springframework.web.util.JavaScriptUtils |
Log4jWebConfigurer | 0 | 0 | 1 | 0 | org.springframework.web.util.Log4jWebConfigurer |
TagUtils | 0 | 0 | 1 | 0 | org.springframework.web.util.TagUtils |
UriUtils | 0 | 0 | 1 | 0 | org.springframework.web.util.UriUtils |
WebUtils | 0 | 0 | 1 | 0 | org.springframework.web.util.WebUtils |
ServletRequestUtils | 0 | 0 | 1 | 0 | org.springframework.web.bind.ServletRequestUtils |
FacesRequestAttributes$PortletSessionAccessor | 0 | 0 | 1 | 0 | org.springframework.web.context.request .FacesRequestAttributes$PortletSessionAccessor |
RequestContextHolder$FacesRequestAttributesFactory | 0 | 0 | 1 | 0 | org.springframework.web.context.request .RequestContextHolder$FacesRequestAttributesFactory |
Statistics
Stat | Size of instance | # interfaces implemented | Depth of inheritance | # Children |
---|---|---|---|---|
Sum: | 0 | 0 | 142 | 0 |
Average: | 0 | 0 | 1 | 0 |
Minimum: | 0 | 0 | 1 | 0 |
Maximum: | 0 | 0 | 1 | 0 |
Standard deviation: | 0 | 0 | 0 | 0 |
Variance: | 0 | 0 | 0 | 0 |
![]() | Rule warning: Class shouldn't be too deep in inheritance tree |
// <Name>Class shouldn't be too deep in inheritance tree </Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
DepthOfInheritance >= 6
ORDER BY DepthOfInheritance DESC
// Branches too long in the derivation should be avoided.
// See the definition of the DepthOfInheritance metric here
// http://www.JavaDepend.com/Metrics.aspx#DIT
WARN IF Count > 0 IN SELECT TYPES WHERE
DepthOfInheritance >= 6
ORDER BY DepthOfInheritance DESC
// Branches too long in the derivation should be avoided.
// See the definition of the DepthOfInheritance metric here
// http://www.JavaDepend.com/Metrics.aspx#DIT
167 types matched
The following list of types is truncated and contains only the first 100 types of the 167 types matched. All matched types could be listed in the report by unchecking the option:
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched types.
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched types.
types | Depth of inheritance | Full Name |
---|---|---|
types | Depth of inheritance | Full Name |
JpaOptimisticLockingFailureException | 10 | org.springframework.orm.jpa.JpaOptimisticLockingFailureException |
JdoOptimisticLockingFailureException | 10 | org.springframework.orm.jdo.JdoOptimisticLockingFailureException |
HibernateOptimisticLockingFailureException | 10 | org.springframework.orm.hibernate3 .HibernateOptimisticLockingFailureException |
CannotGetCciConnectionException | 9 | org.springframework.jca.cci.CannotGetCciConnectionException |
DeadlockLoserDataAccessException | 9 | org.springframework.dao.DeadlockLoserDataAccessException |
HibernateObjectRetrievalFailureException | 9 | org.springframework.orm.hibernate3 .HibernateObjectRetrievalFailureException |
ObjectOptimisticLockingFailureException | 9 | org.springframework.orm.ObjectOptimisticLockingFailureException |
CannotGetJdbcConnectionException | 9 | org.springframework.jdbc.CannotGetJdbcConnectionException |
CannotCreateRecordException | 9 | org.springframework.jca.cci.CannotCreateRecordException |
EmptyResultDataAccessException | 9 | org.springframework.dao.EmptyResultDataAccessException |
JdbcUpdateAffectedIncorrectNumberOfRowsException | 9 | org.springframework.jdbc .JdbcUpdateAffectedIncorrectNumberOfRowsException |
AbstractAspectjJpaTests | 9 | org.springframework.test.jpa.AbstractAspectjJpaTests |
CannotAcquireLockException | 9 | org.springframework.dao.CannotAcquireLockException |
JpaObjectRetrievalFailureException | 9 | org.springframework.orm.jpa.JpaObjectRetrievalFailureException |
CannotSerializeTransactionException | 9 | org.springframework.dao.CannotSerializeTransactionException |
JdoResourceFailureException | 9 | org.springframework.orm.jdo.JdoResourceFailureException |
JdoObjectRetrievalFailureException | 9 | org.springframework.orm.jdo.JdoObjectRetrievalFailureException |
PessimisticLockingFailureException | 8 | org.springframework.dao.PessimisticLockingFailureException |
TypeMismatchDataAccessException | 8 | org.springframework.dao.TypeMismatchDataAccessException |
CciOperationNotSupportedException | 8 | org.springframework.jca.cci.CciOperationNotSupportedException |
JaxRpcSoapFaultException | 8 | org.springframework.remoting.jaxrpc.JaxRpcSoapFaultException |
IncorrectResultSizeDataAccessException | 8 | org.springframework.dao.IncorrectResultSizeDataAccessException |
DuplicateKeyException | 8 | org.springframework.dao.DuplicateKeyException |
DataAccessResourceFailureException | 8 | org.springframework.dao.DataAccessResourceFailureException |
JaxWsSoapFaultException | 8 | org.springframework.remoting.jaxws.JaxWsSoapFaultException |
OptimisticLockingFailureException | 8 | org.springframework.dao.OptimisticLockingFailureException |
AbstractJpaTests | 8 | org.springframework.test.jpa.AbstractJpaTests |
HibernateJdbcException | 8 | org.springframework.orm.hibernate3.HibernateJdbcException |
HibernateQueryException | 8 | org.springframework.orm.hibernate3.HibernateQueryException |
SqlXmlFeatureNotImplementedException | 8 | org.springframework.jdbc.support.xml .SqlXmlFeatureNotImplementedException |
ObjectRetrievalFailureException | 8 | org.springframework.orm.ObjectRetrievalFailureException |
JdoUsageException | 8 | org.springframework.orm.jdo.JdoUsageException |
JpaSystemException | 8 | org.springframework.orm.jpa.JpaSystemException |
HibernateSystemException | 8 | org.springframework.orm.hibernate3.HibernateSystemException |
JdoSystemException | 8 | org.springframework.orm.jdo.JdoSystemException |
BadSqlGrammarException | 8 | org.springframework.jdbc.BadSqlGrammarException |
IncorrectResultSetColumnCountException | 8 | org.springframework.jdbc.IncorrectResultSetColumnCountException |
InvalidResultSetAccessException | 8 | org.springframework.jca.cci.InvalidResultSetAccessException |
RecordTypeNotSupportedException | 8 | org.springframework.jca.cci.RecordTypeNotSupportedException |
SQLWarningException | 8 | org.springframework.jdbc.SQLWarningException |
UncategorizedSQLException | 8 | org.springframework.jdbc.UncategorizedSQLException |
InvalidResultSetAccessException | 8 | org.springframework.jdbc.InvalidResultSetAccessException |
LobRetrievalFailureException | 8 | org.springframework.jdbc.LobRetrievalFailureException |
NotWritablePropertyException | 8 | org.springframework.beans.NotWritablePropertyException |
NullValueInNestedPathException | 8 | org.springframework.beans.NullValueInNestedPathException |
ConversionNotSupportedException | 8 | org.springframework.beans.ConversionNotSupportedException |
NotReadablePropertyException | 8 | org.springframework.beans.NotReadablePropertyException |
XmlBeanDefinitionStoreException | 8 | org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException |
BeanCreationNotAllowedException | 8 | org.springframework.beans.factory.BeanCreationNotAllowedException |
UnsatisfiedDependencyException | 8 | org.springframework.beans.factory.UnsatisfiedDependencyException |
BeanDefinitionParsingException | 8 | org.springframework.beans.factory.parsing .BeanDefinitionParsingException |
IncorrectUpdateSemanticsDataAccessException | 8 | org.springframework.dao.IncorrectUpdateSemanticsDataAccessException |
BeanIsAbstractException | 8 | org.springframework.beans.factory.BeanIsAbstractException |
BeanCurrentlyInCreationException | 8 | org.springframework.beans.factory.BeanCurrentlyInCreationException |
PermissionDeniedDataAccessException | 7 | org.springframework.dao.PermissionDeniedDataAccessException |
BeanDefinitionStoreException | 7 | org.springframework.beans.factory.BeanDefinitionStoreException |
TransientDataAccessResourceException | 7 | org.springframework.dao.TransientDataAccessResourceException |
XmlBeanFactory | 7 | org.springframework.beans.factory.xml.XmlBeanFactory |
DataSourceLookupFailureException | 7 | org.springframework.jdbc.datasource.lookup .DataSourceLookupFailureException |
ApplicationContextException | 7 | org.springframework.context.ApplicationContextException |
DataRetrievalFailureException | 7 | org.springframework.dao.DataRetrievalFailureException |
InvalidDataAccessApiUsageException | 7 | org.springframework.dao.InvalidDataAccessApiUsageException |
BootstrapException | 7 | org.springframework.beans.factory.access.BootstrapException |
NonTransientDataAccessResourceException | 7 | org.springframework.dao.NonTransientDataAccessResourceException |
InvalidDataAccessResourceUsageException | 7 | org.springframework.dao.InvalidDataAccessResourceUsageException |
NoTransactionException | 7 | org.springframework.transaction.NoTransactionException |
NestedTransactionNotSupportedException | 7 | org.springframework.transaction.NestedTransactionNotSupportedException |
InvalidTimeoutException | 7 | org.springframework.transaction.InvalidTimeoutException |
FactoryBeanNotInitializedException | 7 | org.springframework.beans.factory.FactoryBeanNotInitializedException |
CannotLoadBeanClassException | 7 | org.springframework.beans.factory.CannotLoadBeanClassException |
TransactionSuspensionNotSupportedException | 7 | org.springframework.transaction .TransactionSuspensionNotSupportedException |
BeanExpressionException | 7 | org.springframework.beans.factory.BeanExpressionException |
BeanDefinitionValidationException | 7 | org.springframework.beans.factory.support .BeanDefinitionValidationException |
UncategorizedDataAccessException | 7 | org.springframework.dao.UncategorizedDataAccessException |
BeanIsNotAFactoryException | 7 | org.springframework.beans.factory.BeanIsNotAFactoryException |
BeanInitializationException | 7 | org.springframework.beans.factory.BeanInitializationException |
IllegalTransactionStateException | 7 | org.springframework.transaction.IllegalTransactionStateException |
DataIntegrityViolationException | 7 | org.springframework.dao.DataIntegrityViolationException |
HttpClientErrorException | 7 | org.springframework.web.client.HttpClientErrorException |
BeanCreationException | 7 | org.springframework.beans.factory.BeanCreationException |
SoapFaultException | 7 | org.springframework.remoting.soap.SoapFaultException |
HttpServerErrorException | 7 | org.springframework.web.client.HttpServerErrorException |
InvalidPropertyException | 7 | org.springframework.beans.InvalidPropertyException |
MethodInvocationException | 7 | org.springframework.beans.MethodInvocationException |
TypeMismatchException | 7 | org.springframework.beans.TypeMismatchException |
SimpleRemoteStatelessSessionProxyFactoryBean | 7 | org.springframework.ejb.access .SimpleRemoteStatelessSessionProxyFactoryBean |
UnableToRegisterMBeanException | 7 | org.springframework.jmx.export.UnableToRegisterMBeanException |
ConcurrencyFailureException | 7 | org.springframework.dao.ConcurrencyFailureException |
InvalidIsolationLevelException | 7 | org.springframework.transaction.InvalidIsolationLevelException |
AbstractAnnotationAwareTransactionalTests | 7 | org.springframework.test.annotation .AbstractAnnotationAwareTransactionalTests |
DefaultMessageListenerContainer102 | 7 | org.springframework.jms.listener.DefaultMessageListenerContainer102 |
CleanupFailureDataAccessException | 7 | org.springframework.dao.CleanupFailureDataAccessException |
BeanInstantiationException | 7 | org.springframework.beans.BeanInstantiationException |
ConversionFailedException | 6 | org.springframework.core.convert.ConversionFailedException |
IllegalStateException | 6 | org.springframework.jms.IllegalStateException |
FatalBeanException | 6 | org.springframework.beans.FatalBeanException |
TransactionInProgressException | 6 | org.springframework.jms.TransactionInProgressException |
MailParseException | 6 | org.springframework.mail.MailParseException |
TaskTimeoutException | 6 | org.springframework.core.task.TaskTimeoutException |
MailAuthenticationException | 6 | org.springframework.mail.MailAuthenticationException |
Statistics
Stat | Depth of inheritance |
---|---|
Sum: | 1 169 |
Average: | 7 |
Minimum: | 6 |
Maximum: | 10 |
Standard deviation: | 1.0778 |
Variance: | 1.1617 |
![]() | Rule warning: Class with no descendant should be final if possible |
// <Name>Class with no descendant should be final if possible</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
IsClass AND
NbChildren ==0 AND
!IsFinal AND
!IsStatic
// AND !IsPublic <-- You might want to add this condition
// if you are developping a framework
// with classes that are intended to be
// sub-classed by your clients.
ORDER BY NbLinesOfCode
WARN IF Count > 0 IN SELECT TYPES WHERE
IsClass AND
NbChildren ==0 AND
!IsFinal AND
!IsStatic
// AND !IsPublic <-- You might want to add this condition
// if you are developping a framework
// with classes that are intended to be
// sub-classed by your clients.
ORDER BY NbLinesOfCode
1,622 types matched
The following list of types is truncated and contains only the first 100 types of the 1622 types matched. All matched types could be listed in the report by unchecking the option:
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched types.
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched types.
types | # Children | # lines of code (LOC) | Full Name |
---|---|---|---|
types | # Children | # lines of code (LOC) | Full Name |
DirtiesContext | 0 | 0 | org.springframework.test.annotation.DirtiesContext |
Mapping | 0 | 0 | org.springframework.web.bind.annotation.Mapping |
ExpectedException | 0 | 0 | org.springframework.test.annotation.ExpectedException |
NotTransactional | 0 | 0 | org.springframework.test.annotation.NotTransactional |
IfProfileValue | 0 | 0 | org.springframework.test.annotation.IfProfileValue |
RequestHeader | 0 | 0 | org.springframework.web.bind.annotation.RequestHeader |
Scope | 0 | 0 | org.springframework.context.annotation.Scope |
RequestBody | 0 | 0 | org.springframework.web.bind.annotation.RequestBody |
ModelAttribute | 0 | 0 | org.springframework.web.bind.annotation.ModelAttribute |
PathVariable | 0 | 0 | org.springframework.web.bind.annotation.PathVariable |
ProfileValueSourceConfiguration | 0 | 0 | org.springframework.test.annotation.ProfileValueSourceConfiguration |
NumberFormat | 0 | 0 | org.springframework.format.annotation.NumberFormat |
DateTimeFormat | 0 | 0 | org.springframework.format.annotation.DateTimeFormat |
Timed | 0 | 0 | org.springframework.test.annotation.Timed |
TestExecutionListeners | 0 | 0 | org.springframework.test.context.TestExecutionListeners |
ContextConfiguration | 0 | 0 | org.springframework.test.context.ContextConfiguration |
InitBinder | 0 | 0 | org.springframework.web.bind.annotation.InitBinder |
Repeat | 0 | 0 | org.springframework.test.annotation.Repeat |
ExceptionHandler | 0 | 0 | org.springframework.web.bind.annotation.ExceptionHandler |
Rollback | 0 | 0 | org.springframework.test.annotation.Rollback |
CookieValue | 0 | 0 | org.springframework.web.bind.annotation.CookieValue |
Primary | 0 | 0 | org.springframework.context.annotation.Primary |
Component | 0 | 0 | org.springframework.stereotype.Component |
Transactional | 0 | 0 | org.springframework.transaction.annotation.Transactional |
Controller | 0 | 0 | org.springframework.stereotype.Controller |
Service | 0 | 0 | org.springframework.stereotype.Service |
Repository | 0 | 0 | org.springframework.stereotype.Repository |
Configurable | 0 | 0 | org.springframework.beans.factory.annotation.Configurable |
Autowired | 0 | 0 | org.springframework.beans.factory.annotation.Autowired |
Qualifier | 0 | 0 | org.springframework.beans.factory.annotation.Qualifier |
Value | 0 | 0 | org.springframework.beans.factory.annotation.Value |
Required | 0 | 0 | org.springframework.beans.factory.annotation.Required |
Bean | 0 | 0 | org.springframework.context.annotation.Bean |
Import | 0 | 0 | org.springframework.context.annotation.Import |
DependsOn | 0 | 0 | org.springframework.context.annotation.DependsOn |
ImportResource | 0 | 0 | org.springframework.context.annotation.ImportResource |
Lazy | 0 | 0 | org.springframework.context.annotation.Lazy |
RequestMapping | 0 | 0 | org.springframework.web.bind.annotation.RequestMapping |
SessionAttributes | 0 | 0 | org.springframework.web.bind.annotation.SessionAttributes |
Configuration | 0 | 0 | org.springframework.context.annotation.Configuration |
ResponseStatus | 0 | 0 | org.springframework.web.bind.annotation.ResponseStatus |
RequestParam | 0 | 0 | org.springframework.web.bind.annotation.RequestParam |
ResponseBody | 0 | 0 | org.springframework.web.bind.annotation.ResponseBody |
ManagedOperationParameters | 0 | 0 | org.springframework.jmx.export.annotation.ManagedOperationParameters |
ManagedResource | 0 | 0 | org.springframework.jmx.export.annotation.ManagedResource |
Attribute | 0 | 0 | org.springframework.asm.Attribute |
ManagedOperationParameter | 0 | 0 | org.springframework.jmx.export.annotation.ManagedOperationParameter |
ClassWriter | 0 | 0 | org.springframework.asm.ClassWriter |
ClassReader | 0 | 0 | org.springframework.asm.ClassReader |
ManagedOperation | 0 | 0 | org.springframework.jmx.export.annotation.ManagedOperation |
Label | 0 | 0 | org.springframework.asm.Label |
ByteVector | 0 | 0 | org.springframework.asm.ByteVector |
SignatureReader | 0 | 0 | org.springframework.asm.signature.SignatureReader |
BeforeTransaction | 0 | 0 | org.springframework.test.context.transaction.BeforeTransaction |
Type | 0 | 0 | org.springframework.asm.Type |
TransactionConfiguration | 0 | 0 | org.springframework.test.context.transaction.TransactionConfiguration |
MethodWriter | 0 | 0 | org.springframework.asm.MethodWriter |
AfterTransaction | 0 | 0 | org.springframework.test.context.transaction.AfterTransaction |
Edge | 0 | 0 | org.springframework.asm.Edge |
ManagedAttribute | 0 | 0 | org.springframework.jmx.export.annotation.ManagedAttribute |
Scheduled | 0 | 0 | org.springframework.scheduling.annotation.Scheduled |
Handler | 0 | 0 | org.springframework.asm.Handler |
StaticInitMerger | 0 | 0 | org.springframework.asm.commons.StaticInitMerger |
Method | 0 | 0 | org.springframework.asm.commons.Method |
SerialVersionUIDAdder$Item | 0 | 0 | org.springframework.asm.commons.SerialVersionUIDAdder$Item |
SerialVersionUIDAdder | 0 | 0 | org.springframework.asm.commons.SerialVersionUIDAdder |
Async | 0 | 0 | org.springframework.scheduling.annotation.Async |
ManagedNotification | 0 | 0 | org.springframework.jmx.export.annotation.ManagedNotification |
SignatureWriter | 0 | 0 | org.springframework.asm.signature.SignatureWriter |
ManagedNotifications | 0 | 0 | org.springframework.jmx.export.annotation.ManagedNotifications |
Order | 0 | 0 | org.springframework.core.annotation.Order |
AdviceAdapter | 0 | 0 | org.springframework.asm.commons.AdviceAdapter |
ManagedMetric | 0 | 0 | org.springframework.jmx.export.annotation.ManagedMetric |
MethodInvokingJobDetailFactoryBean$StatefulMethodInvokingJob | 0 | 1 | org.springframework.scheduling.quartz .MethodInvokingJobDetailFactoryBean$StatefulMethodInvokingJob |
GenericStoredProcedure | 0 | 1 | org.springframework.jdbc.object.GenericStoredProcedure |
AbstractJmsMessageDrivenBean | 0 | 1 | org.springframework.ejb.support.AbstractJmsMessageDrivenBean |
ManagedOperation | 0 | 1 | org.springframework.jmx.export.metadata.ManagedOperation |
Cglib2AopProxy$SerializableNoOp | 0 | 1 | org.springframework.aop.framework.Cglib2AopProxy$SerializableNoOp |
DefaultAopProxyFactory$CglibProxyFactory | 0 | 2 | org.springframework.aop.framework .DefaultAopProxyFactory$CglibProxyFactory |
RegexpMethodPointcutAdvisor$SerializableMonitor | 0 | 2 | org.springframework.aop.support .RegexpMethodPointcutAdvisor$SerializableMonitor |
JpaObjectRetrievalFailureException | 0 | 2 | org.springframework.orm.jpa.JpaObjectRetrievalFailureException |
MappingRecordOperation$RecordExtractorImpl | 0 | 2 | org.springframework.jca.cci.object .MappingRecordOperation$RecordExtractorImpl |
LocalJtaDataSourceConnectionProvider | 0 | 2 | org.springframework.orm.hibernate3 .LocalJtaDataSourceConnectionProvider |
InvalidIsolationLevelException | 0 | 2 | org.springframework.transaction.InvalidIsolationLevelException |
SimpleBeanTargetSource | 0 | 2 | org.springframework.aop.target.SimpleBeanTargetSource |
DefaultBeanNameGenerator | 0 | 2 | org.springframework.beans.factory.support.DefaultBeanNameGenerator |
AspectJAdviceParameterNameDiscoverer$AmbiguousBindingException | 0 | 2 | org.springframework.aop.aspectj .AspectJAdviceParameterNameDiscoverer$AmbiguousBindingException |
CannotReadScriptException | 0 | 2 | org.springframework.jdbc.datasource.init.CannotReadScriptException |
OutputStreamFactory | 0 | 2 | org.springframework.jdbc.datasource.embedded.OutputStreamFactory |
JdoSystemException | 0 | 2 | org.springframework.orm.jdo.JdoSystemException |
PassThroughSourceExtractor | 0 | 2 | org.springframework.beans.factory.parsing.PassThroughSourceExtractor |
ConstructorResolver$AutowiredArgumentMarker | 0 | 2 | org.springframework.beans.factory.support .ConstructorResolver$AutowiredArgumentMarker |
ReflectiveAspectJAdvisorFactory$SyntheticInstantiationAdvisor | 0 | 2 | org.springframework.aop.aspectj.annotation .ReflectiveAspectJAdvisorFactory$SyntheticInstantiationAdvisor |
BeanIsNotAFactoryException | 0 | 2 | org.springframework.beans.factory.BeanIsNotAFactoryException |
BeanIsAbstractException | 0 | 2 | org.springframework.beans.factory.BeanIsAbstractException |
TransactionRolledBackException | 0 | 2 | org.springframework.jms.TransactionRolledBackException |
MessageNotWriteableException | 0 | 2 | org.springframework.jms.MessageNotWriteableException |
ResourceAllocationException | 0 | 2 | org.springframework.jms.ResourceAllocationException |
TransactionInProgressException | 0 | 2 | org.springframework.jms.TransactionInProgressException |
AbstractJmsListeningContainer$SharedConnectionNotInitializedException | 0 | 2 | org.springframework.jms.listener .AbstractJmsListeningContainer$SharedConnectionNotInitializedException |
Statistics
Stat | # Children | # lines of code (LOC) |
---|---|---|
Sum: | 0 | 48 706 |
Average: | 0 | 30.028 |
Minimum: | 0 | 0 |
Maximum: | 0 | 643 |
Standard deviation: | 0 | 49.049 |
Variance: | 0 | 2 405 |
![]() | Rule warning: Avoid namespaces with few types |
// <Name>Avoid namespaces with few types</Name>
WARN IF Count > 0 IN SELECT PACKAGES WHERE
NbTypes < 5
ORDER BY NbTypes ASC
// Make sure that there is a logical organization
// to each of your namespaces, and that there is a
// valid reason for putting types in a sparsely
// populated namespace. Namespaces should contain
// types that are used together in most scenarios.
// When their applications are mutually exclusive,
// types should be located in separate namespaces
WARN IF Count > 0 IN SELECT PACKAGES WHERE
NbTypes < 5
ORDER BY NbTypes ASC
// Make sure that there is a logical organization
// to each of your namespaces, and that there is a
// valid reason for putting types in a sparsely
// populated namespace. Namespaces should contain
// types that are used together in most scenarios.
// When their applications are mutually exclusive,
// types should be located in separate namespaces
47 namespaces matched
namespaces | # Types | Full Name |
---|---|---|
namespaces | # Types | Full Name |
org.springframework.format.datetime | 2 | org.springframework.format.datetime |
org.springframework.jca.work.glassfish | 2 | org.springframework.jca.work.glassfish |
org.springframework.ui.jasperreports | 2 | org.springframework.ui.jasperreports |
org.springframework.validation.support | 2 | org.springframework.validation.support |
org.springframework.remoting.soap | 2 | org.springframework.remoting.soap |
org.springframework.http.converter.json | 2 | org.springframework.http.converter.json |
org.springframework.web.client.support | 2 | org.springframework.web.client.support |
org.springframework.jndi.support | 2 | org.springframework.jndi.support |
org.springframework.test.util | 2 | org.springframework.test.util |
org.springframework.beans.annotation | 2 | org.springframework.beans.annotation |
org.springframework.orm.hibernate3.annotation | 2 | org.springframework.orm.hibernate3.annotation |
org.springframework.ejb.interceptor | 2 | org.springframework.ejb.interceptor |
org.springframework.jms.core.support | 2 | org.springframework.jms.core.support |
org.springframework.http.client.support | 3 | org.springframework.http.client.support |
org.springframework.test.jdbc | 3 | org.springframework.test.jdbc |
org.springframework.test.web | 3 | org.springframework.test.web |
org.springframework.web.jsf.el | 3 | org.springframework.web.jsf.el |
org.springframework.jms.support | 3 | org.springframework.jms.support |
org.springframework.jca.work.jboss | 3 | org.springframework.jca.work.jboss |
org.springframework.cache.ehcache | 3 | org.springframework.cache.ehcache |
org.springframework.dao.annotation | 3 | org.springframework.dao.annotation |
org.springframework.jca.cci.core.support | 3 | org.springframework.jca.cci.core.support |
org.springframework.orm | 3 | org.springframework.orm |
org.springframework.test.context.testng | 3 | org.springframework.test.context.testng |
org.springframework.aop.target.dynamic | 3 | org.springframework.aop.target.dynamic |
org.springframework.beans.factory.access.el | 3 | org.springframework.beans.factory.access.el |
org.springframework.aop.framework.autoproxy.target | 3 | org.springframework.aop.framework.autoproxy.target |
org.springframework.asm.signature | 3 | org.springframework.asm.signature |
org.springframework.jmx | 3 | org.springframework.jmx |
org.springframework.ui | 4 | org.springframework.ui |
org.springframework.aop.support.annotation | 4 | org.springframework.aop.support.annotation |
org.springframework.jms.remoting | 4 | org.springframework.jms.remoting |
org.springframework.core.task.support | 4 | org.springframework.core.task.support |
org.springframework.core.serializer.support | 4 | org.springframework.core.serializer.support |
org.springframework.aop.aspectj.autoproxy | 4 | org.springframework.aop.aspectj.autoproxy |
org.springframework.core.annotation | 4 | org.springframework.core.annotation |
org.springframework.http.converter.feed | 4 | org.springframework.http.converter.feed |
org.springframework.scheduling.backportconcurrent | 4 | org.springframework.scheduling.backportconcurrent |
org.springframework.scripting | 4 | org.springframework.scripting |
org.springframework.ui.context | 4 | org.springframework.ui.context |
org.springframework.scripting.groovy | 4 | org.springframework.scripting.groovy |
org.springframework.instrument.classloading.weblogic | 4 | org.springframework.instrument.classloading.weblogic |
org.springframework.instrument.classloading.glassfish | 4 | org.springframework.instrument.classloading.glassfish |
org.springframework.context.i18n | 4 | org.springframework.context.i18n |
org.springframework.instrument.classloading.jboss | 4 | org.springframework.instrument.classloading.jboss |
org.springframework.instrument.classloading.oc4j | 4 | org.springframework.instrument.classloading.oc4j |
org.springframework.jca.support | 4 | org.springframework.jca.support |
Statistics
Stat | # Types |
---|---|
Sum: | 146 |
Average: | 3.1064 |
Minimum: | 2 |
Maximum: | 4 |
Standard deviation: | 0.80514 |
Variance: | 0.64826 |
![]() | Rule warning: Nested types should not be visible |
// <Name>Nested types should not be visible</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
IsNested AND
!IsPrivate AND
!IsInTierJar
// A nested type is a type declared within the
// scope of another type. Nested types are useful
// for encapsulating private implementation details
// of the containing type. Used for this purpose,
// nested types should not be externally visible.
// Do not use externally visible nested types for
// logical grouping or to avoid name collisions;
// instead, use namespaces.
WARN IF Count > 0 IN SELECT TYPES WHERE
IsNested AND
!IsPrivate AND
!IsInTierJar
// A nested type is a type declared within the
// scope of another type. Nested types are useful
// for encapsulating private implementation details
// of the containing type. Used for this purpose,
// nested types should not be externally visible.
// Do not use externally visible nested types for
// logical grouping or to avoid name collisions;
// instead, use namespaces.
22 types matched
types | # ByteCode instructions | Full Name |
---|---|---|
types | # ByteCode instructions | Full Name |
GenericConverter$ConvertiblePair | 21 | org.springframework.core.convert.converter .GenericConverter$ConvertiblePair |
AutoPopulatingList$ElementInstantiationException | 4 | org.springframework.util .AutoPopulatingList$ElementInstantiationException |
PropertyPlaceholderHelper$PlaceholderResolver | 0 | org.springframework.util.PropertyPlaceholderHelper$PlaceholderResolver |
ReflectionUtils$FieldCallback | 0 | org.springframework.util.ReflectionUtils$FieldCallback |
ReflectionUtils$FieldFilter | 0 | org.springframework.util.ReflectionUtils$FieldFilter |
ReflectionUtils$MethodCallback | 0 | org.springframework.util.ReflectionUtils$MethodCallback |
ReflectionUtils$MethodFilter | 0 | org.springframework.util.ReflectionUtils$MethodFilter |
WeakReferenceMonitor$ReleaseListener | 0 | org.springframework.util.WeakReferenceMonitor$ReleaseListener |
InjectionMetadata$InjectedElement | 260 | org.springframework.beans.factory.annotation .InjectionMetadata$InjectedElement |
ConstructorArgumentValues$ValueHolder | 129 | org.springframework.beans.factory.config .ConstructorArgumentValues$ValueHolder |
ParseState$Entry | 0 | org.springframework.beans.factory.parsing.ParseState$Entry |
AbstractAspectJAdvisorFactory$AspectJAnnotationType | 88 | org.springframework.aop.aspectj.annotation .AbstractAspectJAdvisorFactory$AspectJAnnotationType |
ReflectiveAspectJAdvisorFactory$SyntheticInstantiationAdvisor | 10 | org.springframework.aop.aspectj.annotation .ReflectiveAspectJAdvisorFactory$SyntheticInstantiationAdvisor |
CommonAnnotationBeanPostProcessor$LookupElement | 42 | org.springframework.context.annotation .CommonAnnotationBeanPostProcessor$LookupElement |
AbstractMessageEndpointFactory$AbstractMessageEndpoint | 87 | org.springframework.jca.endpoint .AbstractMessageEndpointFactory$AbstractMessageEndpoint |
GenericMessageEndpointFactory$InternalResourceException | 4 | org.springframework.jca.endpoint .GenericMessageEndpointFactory$InternalResourceException |
TransactionAspectSupport$TransactionInfo | 68 | org.springframework.transaction.interceptor .TransactionAspectSupport$TransactionInfo |
AbstractPlatformTransactionManager$SuspendedResourcesHolder | 58 | org.springframework.transaction.support .AbstractPlatformTransactionManager$SuspendedResourcesHolder |
OracleLobHandler$OracleLobCreator | 467 | org.springframework.jdbc.support.lob.OracleLobHandler$OracleLobCreator |
ConnectionFactoryUtils$ResourceFactory | 0 | org.springframework.jms.connection .ConnectionFactoryUtils$ResourceFactory |
SimpleMessageListenerContainer$1 | 24 | org.springframework.jms.listener.SimpleMessageListenerContainer$1 |
JmsMessageEndpointFactory$JmsResourceException | 4 | org.springframework.jms.listener.endpoint .JmsMessageEndpointFactory$JmsResourceException |
Statistics
Stat | # ByteCode instructions |
---|---|
Sum: | 1 266 |
Average: | 57.545 |
Minimum: | 0 |
Maximum: | 467 |
Standard deviation: | 107.81 |
Variance: | 11 623 |
![]() | Rule warning: Avoid empty interfaces |
// <Name>Avoid empty interfaces</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
IsInterface AND
NbMethods == 0
// Interfaces define members that provide a behavior
// or usage contract. The functionality described by
// the interface can be adopted by any type,
// regardless of where the type appears in the
// inheritance hierarchy. A type implements an
// interface by providing implementations for the
// interface's members. An empty interface does not
// define any members, and as such, does not define
// a contract that can be implemented.
// If your design includes empty interfaces that
// types are expected to implement, you are probably
// using an interface as a marker, or a way of
// identifying a group of types. If this identification
// will occur at runtime, the correct way to accomplish
// this is to use a custom attribute. Use the presence
// or absence of the attribute, or the attribute's
// properties, to identify the target types. If the
// identification must occurs at compile time, then using
// an empty interface is acceptable.
WARN IF Count > 0 IN SELECT TYPES WHERE
IsInterface AND
NbMethods == 0
// Interfaces define members that provide a behavior
// or usage contract. The functionality described by
// the interface can be adopted by any type,
// regardless of where the type appears in the
// inheritance hierarchy. A type implements an
// interface by providing implementations for the
// interface's members. An empty interface does not
// define any members, and as such, does not define
// a contract that can be implemented.
// If your design includes empty interfaces that
// types are expected to implement, you are probably
// using an interface as a marker, or a way of
// identifying a group of types. If this identification
// will occur at runtime, the correct way to accomplish
// this is to use a custom attribute. Use the presence
// or absence of the attribute, or the attribute's
// properties, to identify the target types. If the
// identification must occurs at compile time, then using
// an empty interface is acceptable.
236 types matched
The following list of types is truncated and contains only the first 100 types of the 236 types matched. All matched types could be listed in the report by unchecking the option:
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched types.
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched types.
types | # Methods | Full Name |
---|---|---|
types | # Methods | Full Name |
Opcodes | 0 | org.springframework.asm.Opcodes |
PriorityOrdered | 0 | org.springframework.core.PriorityOrdered |
package-info | 0 | org.springframework.core.package-info |
package-info | 0 | org.springframework.core.annotation.package-info |
package-info | 0 | org.springframework.core.enums.package-info |
package-info | 0 | org.springframework.core.style.package-info |
package-info | 0 | org.springframework.core.convert.package-info |
package-info | 0 | org.springframework.core.convert.converter.package-info |
package-info | 0 | org.springframework.core.convert.support.package-info |
package-info | 0 | org.springframework.core.io.package-info |
package-info | 0 | org.springframework.core.io.support.package-info |
package-info | 0 | org.springframework.core.serializer.package-info |
package-info | 0 | org.springframework.core.serializer.support.package-info |
package-info | 0 | org.springframework.core.task.package-info |
package-info | 0 | org.springframework.core.task.support.package-info |
package-info | 0 | org.springframework.core.type.package-info |
package-info | 0 | org.springframework.core.type.classreading.package-info |
package-info | 0 | org.springframework.core.type.filter.package-info |
package-info | 0 | org.springframework.util.package-info |
package-info | 0 | org.springframework.util.comparator.package-info |
package-info | 0 | org.springframework.util.xml.package-info |
package-info | 0 | org.springframework.beans.package-info |
package-info | 0 | org.springframework.beans.annotation.package-info |
package-info | 0 | org.springframework.beans.propertyeditors.package-info |
package-info | 0 | org.springframework.beans.support.package-info |
package-info | 0 | org.springframework.beans.factory.package-info |
package-info | 0 | org.springframework.beans.factory.annotation.package-info |
package-info | 0 | org.springframework.beans.factory.config.package-info |
DefaultsDefinition | 0 | org.springframework.beans.factory.parsing.DefaultsDefinition |
ParseState$Entry | 0 | org.springframework.beans.factory.parsing.ParseState$Entry |
package-info | 0 | org.springframework.beans.factory.parsing.package-info |
package-info | 0 | org.springframework.beans.factory.serviceloader.package-info |
package-info | 0 | org.springframework.beans.factory.support.package-info |
package-info | 0 | org.springframework.beans.factory.wiring.package-info |
package-info | 0 | org.springframework.beans.factory.xml.package-info |
package-info | 0 | org.springframework.beans.factory.access.package-info |
package-info | 0 | org.springframework.beans.factory.access.el.package-info |
AfterAdvice | 0 | org.springframework.aop.AfterAdvice |
BeforeAdvice | 0 | org.springframework.aop.BeforeAdvice |
IntroductionInterceptor | 0 | org.springframework.aop.IntroductionInterceptor |
RawTargetAccess | 0 | org.springframework.aop.RawTargetAccess |
SpringProxy | 0 | org.springframework.aop.SpringProxy |
ThrowsAdvice | 0 | org.springframework.aop.ThrowsAdvice |
package-info | 0 | org.springframework.aop.package-info |
package-info | 0 | org.springframework.aop.config.package-info |
package-info | 0 | org.springframework.aop.interceptor.package-info |
package-info | 0 | org.springframework.aop.scope.package-info |
package-info | 0 | org.springframework.aop.aspectj.package-info |
package-info | 0 | org.springframework.aop.aspectj.annotation.package-info |
package-info | 0 | org.springframework.aop.aspectj.autoproxy.package-info |
AopInfrastructureBean | 0 | org.springframework.aop.framework.AopInfrastructureBean |
package-info | 0 | org.springframework.aop.framework.package-info |
package-info | 0 | org.springframework.aop.framework.adapter.package-info |
package-info | 0 | org.springframework.aop.framework.autoproxy.package-info |
package-info | 0 | org.springframework.aop.support.package-info |
package-info | 0 | org.springframework.aop.support.annotation.package-info |
package-info | 0 | org.springframework.stereotype.package-info |
package-info | 0 | org.springframework.context.package-info |
package-info | 0 | org.springframework.context.access.package-info |
package-info | 0 | org.springframework.context.annotation.package-info |
package-info | 0 | org.springframework.context.config.package-info |
package-info | 0 | org.springframework.context.event.package-info |
package-info | 0 | org.springframework.context.expression.package-info |
package-info | 0 | org.springframework.context.i18n.package-info |
package-info | 0 | org.springframework.context.support.package-info |
package-info | 0 | org.springframework.context.weaving.package-info |
package-info | 0 | org.springframework.ejb.access.package-info |
package-info | 0 | org.springframework.ejb.config.package-info |
package-info | 0 | org.springframework.ejb.interceptor.package-info |
package-info | 0 | org.springframework.ejb.support.package-info |
Formatter<T> | 0 | org.springframework.format.Formatter |
package-info | 0 | org.springframework.format.package-info |
package-info | 0 | org.springframework.format.annotation.package-info |
package-info | 0 | org.springframework.format.number.package-info |
package-info | 0 | org.springframework.format.support.package-info |
package-info | 0 | org.springframework.format.datetime.package-info |
package-info | 0 | org.springframework.format.datetime.joda.package-info |
package-info | 0 | org.springframework.instrument.classloading.package-info |
package-info | 0 | org.springframework.instrument.classloading.glassfish.package-info |
package-info | 0 | org.springframework.instrument.classloading.jboss.package-info |
package-info | 0 | org.springframework.instrument.classloading.oc4j.package-info |
package-info | 0 | org.springframework.instrument.classloading.weblogic.package-info |
package-info | 0 | org.springframework.jmx.package-info |
package-info | 0 | org.springframework.jmx.access.package-info |
package-info | 0 | org.springframework.jmx.support.package-info |
package-info | 0 | org.springframework.jmx.export.package-info |
package-info | 0 | org.springframework.jmx.export.annotation.package-info |
package-info | 0 | org.springframework.jmx.export.assembler.package-info |
package-info | 0 | org.springframework.jmx.export.metadata.package-info |
package-info | 0 | org.springframework.jmx.export.naming.package-info |
package-info | 0 | org.springframework.jmx.export.notification.package-info |
package-info | 0 | org.springframework.jndi.package-info |
package-info | 0 | org.springframework.jndi.support.package-info |
package-info | 0 | org.springframework.remoting.package-info |
package-info | 0 | org.springframework.remoting.rmi.package-info |
package-info | 0 | org.springframework.remoting.soap.package-info |
package-info | 0 | org.springframework.remoting.support.package-info |
package-info | 0 | org.springframework.scheduling.package-info |
package-info | 0 | org.springframework.scheduling.annotation.package-info |
package-info | 0 | org.springframework.scheduling.backportconcurrent.package-info |
Statistics
Stat | # Methods |
---|---|
Sum: | 0 |
Average: | 0 |
Minimum: | 0 |
Maximum: | 0 |
Standard deviation: | 0 |
Variance: | 0 |
![]() | Rule warning: Avoid interfaces with too many methods |
// <Name>Avoid interfaces with too many methods</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
IsInterface AND
NbMethods > 20
// An interface should abstract a clear and well-defined concept.
// Such concept shoudln't be represented with too many methods.
// Here the metric NbMethods might be a bit biased by the fact
// that a read/write property lead to 2 accessor methods,
// the getter and the setter. The same remark applies with event
// add and remove accessor.
// See the definition of the NbMethods metric here
// http://www.JavaDepend.com/Metrics.aspx#NbMethods
WARN IF Count > 0 IN SELECT TYPES WHERE
IsInterface AND
NbMethods > 20
// An interface should abstract a clear and well-defined concept.
// Such concept shoudln't be represented with too many methods.
// Here the metric NbMethods might be a bit biased by the fact
// that a read/write property lead to 2 accessor methods,
// the getter and the setter. The same remark applies with event
// add and remove accessor.
// See the definition of the NbMethods metric here
// http://www.JavaDepend.com/Metrics.aspx#NbMethods
16 types matched
types | # Methods | Full Name |
---|---|---|
types | # Methods | Full Name |
MethodVisitor | 23 | org.springframework.asm.MethodVisitor |
BeanDefinition | 30 | org.springframework.beans.factory.config.BeanDefinition |
ConfigurableBeanFactory | 39 | org.springframework.beans.factory.config.ConfigurableBeanFactory |
ConfigurableListableBeanFactory | 55 | org.springframework.beans.factory.config .ConfigurableListableBeanFactory |
Advised | 22 | org.springframework.aop.framework.Advised |
Expression | 23 | org.springframework.expression.Expression |
BindingResult | 39 | org.springframework.validation.BindingResult |
Errors | 29 | org.springframework.validation.Errors |
RestOperations | 33 | org.springframework.web.client.RestOperations |
JdbcOperations | 61 | org.springframework.jdbc.core.JdbcOperations |
NamedParameterJdbcOperations | 31 | org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations |
SimpleJdbcOperations | 36 | org.springframework.jdbc.core.simple.SimpleJdbcOperations |
SqlRowSet | 50 | org.springframework.jdbc.support.rowset.SqlRowSet |
JmsOperations | 31 | org.springframework.jms.core.JmsOperations |
HibernateOperations | 67 | org.springframework.orm.hibernate3.HibernateOperations |
JdoOperations | 31 | org.springframework.orm.jdo.JdoOperations |
Statistics
Stat | # Methods |
---|---|
Sum: | 600 |
Average: | 37.5 |
Minimum: | 22 |
Maximum: | 67 |
Standard deviation: | 13.295 |
Variance: | 176.75 |
![]() | Rule warning: Empty static constructor can be discarded |
// <Name>Empty static constructor can be discarded</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
IsClassConstructor AND
NbLinesOfCode == 0
WARN IF Count > 0 IN SELECT METHODS WHERE
IsClassConstructor AND
NbLinesOfCode == 0
6 methods matched
methods | # lines of code (LOC) | Full Name |
---|---|---|
methods | # lines of code (LOC) | Full Name |
ClassWriter() | N/A | org.springframework.asm.ClassWriter.ClassWriter() |
MethodWriter() | N/A | org.springframework.asm.MethodWriter.MethodWriter() |
Type() | N/A | org.springframework.asm.Type.Type() |
AdviceAdapter() | N/A | org.springframework.asm.commons.AdviceAdapter.AdviceAdapter() |
GeneratorAdapter() | N/A | org.springframework.asm.commons.GeneratorAdapter.GeneratorAdapter() |
Method() | N/A | org.springframework.asm.commons.Method.Method() |
Statistics
Stat | # lines of code (LOC) |
---|---|
Sum: | 0 |
Average: | 0 |
Minimum: | 0 |
Maximum: | 0 |
Standard deviation: | 0 |
Variance: | 0 |
![]() | Rule warning: Packages with poor cohesion (RelationalCohesion) |
// <Name>Packages with poor cohesion (RelationalCohesion)</Name>
WARN IF Count > 0 IN SELECT JARS WHERE
NbTypes > 20 AND // Relational Cohesion metrics is relevant only if there are several types
(RelationalCohesion < 1.5 OR
RelationalCohesion > 4.0)
// As classes inside an package should be strongly related,
// the cohesion should be high. On the other hand, a value
// which is too high may indicate over-coupling. A good range
// for RelationalCohesion is 1.5 to 4.0.
// See the definition of the RelationalCohesion metric here
// http://www.JavaDepend.com/Metrics.aspx#RelationalCohesion
WARN IF Count > 0 IN SELECT JARS WHERE
NbTypes > 20 AND // Relational Cohesion metrics is relevant only if there are several types
(RelationalCohesion < 1.5 OR
RelationalCohesion > 4.0)
// As classes inside an package should be strongly related,
// the cohesion should be high. On the other hand, a value
// which is too high may indicate over-coupling. A good range
// for RelationalCohesion is 1.5 to 4.0.
// See the definition of the RelationalCohesion metric here
// http://www.JavaDepend.com/Metrics.aspx#RelationalCohesion
10 projects matched
projects | # Types | Relational cohesion | Full Name |
---|---|---|---|
projects | # Types | Relational cohesion | Full Name |
rt | 436 | 0 | rt |
MISSING | 379 | 0 | MISSING |
xml-apis-1.3.03 | 40 | 0 | xml-apis-1.3.03 |
geronimo-stax-api_1.0_spec-1.0.1 | 21 | 0 | geronimo-stax-api_1.0_spec-1.0.1 |
geronimo-servlet_3.0_spec-1.0 | 31 | 0 | geronimo-servlet_3.0_spec-1.0 |
geronimo-jms_1.1_spec-1.1.1 | 41 | 0 | geronimo-jms_1.1_spec-1.1.1 |
hibernate-core-3.3.2.GA | 65 | 0 | hibernate-core-3.3.2.GA |
spring-expression-3.0.5.RELEASE | 111 | 4.8829 | spring-expression-3.0.5.RELEASE |
spring-context-support-3.0.5.RELEASE | 69 | 0.97101 | spring-context-support-3.0.5.RELEASE |
spring-test-3.0.5.RELEASE | 141 | 1.234 | spring-test-3.0.5.RELEASE |
Statistics
Stat | # Types | Relational cohesion |
---|---|---|
Sum: | 1 334 | 7.0879 |
Average: | 133.4 | 0.70879 |
Minimum: | 21 | 0 |
Maximum: | 436 | 4.8829 |
Standard deviation: | 142 | 1.4589 |
Variance: | 20 165 | 2.1284 |
Performance |
|
|
![]() | Rule warning: Instances size shouldn't be too big (SizeOfInst) |
// <Name>Instances size shouldn't be too big (SizeOfInst)</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
SizeOfInst > 64
ORDER BY SizeOfInst DESC
// TYPES WHERE SizeOfInst > 64 might degrade performance
// (depending on the number of instances created at runtime)
// and might be hard to maintain. However it is not a rule
// since sometime there is no alternative (the size of
// instances of the SystemJava.NetworkInformation.SystemIcmpV6Statistics
// standard class is 2064 bytes).
// See the definition of the SizeOfInst metric here
// http://www.JavaDepend.com/Metrics.aspx#SizeOfInst
WARN IF Count > 0 IN SELECT TYPES WHERE
SizeOfInst > 64
ORDER BY SizeOfInst DESC
// TYPES WHERE SizeOfInst > 64 might degrade performance
// (depending on the number of instances created at runtime)
// and might be hard to maintain. However it is not a rule
// since sometime there is no alternative (the size of
// instances of the SystemJava.NetworkInformation.SystemIcmpV6Statistics
// standard class is 2064 bytes).
// See the definition of the SizeOfInst metric here
// http://www.JavaDepend.com/Metrics.aspx#SizeOfInst
98 types matched
types | Size of instance | Full Name |
---|---|---|
types | Size of instance | Full Name |
XmlBeanFactory | 200 | org.springframework.beans.factory.xml.XmlBeanFactory |
DefaultListableBeanFactory | 196 | org.springframework.beans.factory.support.DefaultListableBeanFactory |
DefaultMessageListenerContainer | 188 | org.springframework.jms.listener.DefaultMessageListenerContainer |
DefaultMessageListenerContainer102 | 188 | org.springframework.jms.listener.DefaultMessageListenerContainer102 |
ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefinitio n | 172 | org.springframework.context.annotation .ConfigurationClassBeanDefinitionReader$ConfigurationClassBeanDefiniti on |
RootBeanDefinition | 168 | org.springframework.beans.factory.support.RootBeanDefinition |
AbstractAutowireCapableBeanFactory | 160 | org.springframework.beans.factory.support .AbstractAutowireCapableBeanFactory |
MockMultipartHttpServletRequest | 148 | org.springframework.mock.web.MockMultipartHttpServletRequest |
MethodWriter | 144 | org.springframework.asm.MethodWriter |
MockHttpServletRequest | 144 | org.springframework.mock.web.MockHttpServletRequest |
AbstractPollingMessageListenerContainer | 132 | org.springframework.jms.listener .AbstractPollingMessageListenerContainer |
AnnotationSessionFactoryBean | 132 | org.springframework.orm.hibernate3.annotation .AnnotationSessionFactoryBean |
SimpleMessageListenerContainer102 | 128 | org.springframework.jms.listener.SimpleMessageListenerContainer102 |
SimpleMessageListenerContainer | 128 | org.springframework.jms.listener.SimpleMessageListenerContainer |
MockResourceRequest | 128 | org.springframework.mock.web.portlet.MockResourceRequest |
AbstractBeanFactory | 128 | org.springframework.beans.factory.support.AbstractBeanFactory |
ScannedGenericBeanDefinition | 124 | org.springframework.context.annotation.ScannedGenericBeanDefinition |
SchedulerFactoryBean | 124 | org.springframework.scheduling.quartz.SchedulerFactoryBean |
AnnotatedGenericBeanDefinition | 124 | org.springframework.beans.factory.annotation .AnnotatedGenericBeanDefinition |
GenericBeanDefinition | 120 | org.springframework.beans.factory.support.GenericBeanDefinition |
MockMultipartActionRequest | 120 | org.springframework.mock.web.portlet.MockMultipartActionRequest |
ChildBeanDefinition | 120 | org.springframework.beans.factory.support.ChildBeanDefinition |
ClassWriter | 116 | org.springframework.asm.ClassWriter |
MockClientDataRequest | 116 | org.springframework.mock.web.portlet.MockClientDataRequest |
MockActionRequest | 116 | org.springframework.mock.web.portlet.MockActionRequest |
AbstractBeanDefinition | 116 | org.springframework.beans.factory.support.AbstractBeanDefinition |
LocalSessionFactoryBean | 112 | org.springframework.orm.hibernate3.LocalSessionFactoryBean |
AbstractRefreshableWebApplicationContext | 108 | org.springframework.web.context.support .AbstractRefreshableWebApplicationContext |
ProxyFactoryBean | 108 | org.springframework.aop.framework.ProxyFactoryBean |
WebLogicJtaTransactionManager | 108 | org.springframework.transaction.jta.WebLogicJtaTransactionManager |
AnnotationConfigWebApplicationContext | 108 | org.springframework.web.context.support .AnnotationConfigWebApplicationContext |
XmlWebApplicationContext | 108 | org.springframework.web.context.support.XmlWebApplicationContext |
MockEventRequest | 108 | org.springframework.mock.web.portlet.MockEventRequest |
AbstractMessageListenerContainer | 104 | org.springframework.jms.listener.AbstractMessageListenerContainer |
JaxRpcPortProxyFactoryBean | 104 | org.springframework.remoting.jaxrpc.JaxRpcPortProxyFactoryBean |
StaticWebApplicationContext | 100 | org.springframework.web.context.support.StaticWebApplicationContext |
MockRenderRequest | 100 | org.springframework.mock.web.portlet.MockRenderRequest |
MockPortletRequest | 100 | org.springframework.mock.web.portlet.MockPortletRequest |
ClassPathXmlApplicationContext | 100 | org.springframework.context.support.ClassPathXmlApplicationContext |
JaxRpcPortClientInterceptor | 96 | org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor |
AbstractXmlApplicationContext | 96 | org.springframework.context.support.AbstractXmlApplicationContext |
FileSystemXmlApplicationContext | 96 | org.springframework.context.support.FileSystemXmlApplicationContext |
AnnotationAwareAspectJAutoProxyCreator | 96 | org.springframework.aop.aspectj.annotation .AnnotationAwareAspectJAutoProxyCreator |
DefaultAdvisorAutoProxyCreator | 92 | org.springframework.aop.framework.autoproxy .DefaultAdvisorAutoProxyCreator |
AbstractRefreshableConfigApplicationContext | 92 | org.springframework.context.support .AbstractRefreshableConfigApplicationContext |
OC4JJtaTransactionManager | 88 | org.springframework.transaction.jta.OC4JJtaTransactionManager |
WebSphereUowTransactionManager | 88 | org.springframework.transaction.jta.WebSphereUowTransactionManager |
GenericWebApplicationContext | 88 | org.springframework.web.context.support.GenericWebApplicationContext |
AbstractAspectjJpaTests | 88 | org.springframework.test.jpa.AbstractAspectjJpaTests |
JaxWsPortProxyFactoryBean | 88 | org.springframework.remoting.jaxws.JaxWsPortProxyFactoryBean |
AnnotationConfigApplicationContext | 88 | org.springframework.context.annotation .AnnotationConfigApplicationContext |
InfrastructureAdvisorAutoProxyCreator | 88 | org.springframework.aop.framework.autoproxy .InfrastructureAdvisorAutoProxyCreator |
AbstractJpaTests | 88 | org.springframework.test.jpa.AbstractJpaTests |
StaticApplicationContext | 84 | org.springframework.context.support.StaticApplicationContext |
GenericXmlApplicationContext | 84 | org.springframework.context.support.GenericXmlApplicationContext |
MBeanProxyFactoryBean | 84 | org.springframework.jmx.access.MBeanProxyFactoryBean |
PreferencesPlaceholderConfigurer | 84 | org.springframework.beans.factory.config .PreferencesPlaceholderConfigurer |
AbstractAdvisorAutoProxyCreator | 84 | org.springframework.aop.framework.autoproxy .AbstractAdvisorAutoProxyCreator |
BeanNameAutoProxyCreator | 84 | org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator |
AbstractRefreshableApplicationContext | 84 | org.springframework.context.support .AbstractRefreshableApplicationContext |
AspectJAwareAdvisorAutoProxyCreator | 84 | org.springframework.aop.aspectj.autoproxy .AspectJAwareAdvisorAutoProxyCreator |
ResourceAdapterApplicationContext | 84 | org.springframework.jca.context.ResourceAdapterApplicationContext |
JaxWsPortClientInterceptor | 84 | org.springframework.remoting.jaxws.JaxWsPortClientInterceptor |
AbstractAutoProxyCreator | 80 | org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator |
ServletContextPropertyPlaceholderConfigurer | 80 | org.springframework.web.context.support .ServletContextPropertyPlaceholderConfigurer |
SimpleRemoteStatelessSessionProxyFactoryBean | 80 | org.springframework.ejb.access .SimpleRemoteStatelessSessionProxyFactoryBean |
ThreadPoolTaskExecutor | 80 | org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor |
ThreadPoolExecutorFactoryBean | 80 | org.springframework.scheduling.concurrent .ThreadPoolExecutorFactoryBean |
GenericApplicationContext | 80 | org.springframework.context.support.GenericApplicationContext |
AnnotationMBeanExporter | 80 | org.springframework.jmx.export.annotation.AnnotationMBeanExporter |
JtaTransactionManager | 80 | org.springframework.transaction.jta.JtaTransactionManager |
EhCacheFactoryBean | 80 | org.springframework.cache.ehcache.EhCacheFactoryBean |
RmiServiceExporter | 80 | org.springframework.remoting.rmi.RmiServiceExporter |
ThreadPoolTaskExecutor | 76 | org.springframework.scheduling.backportconcurrent .ThreadPoolTaskExecutor |
MockRenderResponse | 76 | org.springframework.mock.web.portlet.MockRenderResponse |
AbstractAnnotationAwareTransactionalTests | 76 | org.springframework.test.annotation .AbstractAnnotationAwareTransactionalTests |
BeanWrapperImpl | 72 | org.springframework.beans.BeanWrapperImpl |
MockHttpServletResponse | 72 | org.springframework.mock.web.MockHttpServletResponse |
BatchSqlUpdate | 72 | org.springframework.jdbc.object.BatchSqlUpdate |
MockResourceResponse | 72 | org.springframework.mock.web.portlet.MockResourceResponse |
MBeanClientInterceptor | 72 | org.springframework.jmx.access.MBeanClientInterceptor |
ScheduledExecutorFactoryBean | 72 | org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean |
HibernateTransactionManager | 72 | org.springframework.orm.hibernate3.HibernateTransactionManager |
PropertyPlaceholderConfigurer | 68 | org.springframework.beans.factory.config.PropertyPlaceholderConfigurer |
XmlBeanDefinitionReader | 68 | org.springframework.beans.factory.xml.XmlBeanDefinitionReader |
MockMimeResponse | 68 | org.springframework.mock.web.portlet.MockMimeResponse |
ServletRequestDataBinder | 68 | org.springframework.web.bind.ServletRequestDataBinder |
MethodInvokingJobDetailFactoryBean | 68 | org.springframework.scheduling.quartz .MethodInvokingJobDetailFactoryBean |
JmsTemplate | 68 | org.springframework.jms.core.JmsTemplate |
MBeanExporter | 68 | org.springframework.jmx.export.MBeanExporter |
WebDataBinder | 68 | org.springframework.web.bind.WebDataBinder |
WebRequestDataBinder | 68 | org.springframework.web.bind.support.WebRequestDataBinder |
JmsTemplate102 | 68 | org.springframework.jms.core.JmsTemplate102 |
LocalContainerEntityManagerFactoryBean | 68 | org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean |
SpringPersistenceUnitInfo | 68 | org.springframework.orm.jpa.persistenceunit.SpringPersistenceUnitInfo |
AbstractApplicationContext | 68 | org.springframework.context.support.AbstractApplicationContext |
AbstractJmsListeningContainer | 68 | org.springframework.jms.listener.AbstractJmsListeningContainer |
SimpleRemoteSlsbInvokerInterceptor | 68 | org.springframework.ejb.access.SimpleRemoteSlsbInvokerInterceptor |
Statistics
Stat | Size of instance |
---|---|
Sum: | 9 712 |
Average: | 99.102 |
Minimum: | 68 |
Maximum: | 200 |
Standard deviation: | 31.034 |
Variance: | 963.11 |
Dead Code |
|
|
![]() | Rule warning: Potentially unused types |
// <Name>Potentially unused types</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
TypeCa == 0 AND // Ca=0 -> No Afferent Coupling ->
// The type is not used in the
// context of this application.
// Type Afferent Coupling metric definition
// http://www.JavaDepend.com/Metrics.aspx#TypeCa
!IsPublic AND // Public and Protected types
!IsProtected // might be used by client
// applications of your packages.
// Caution: Types used only by reflection might be matched.
WARN IF Count > 0 IN SELECT TYPES WHERE
TypeCa == 0 AND // Ca=0 -> No Afferent Coupling ->
// The type is not used in the
// context of this application.
// Type Afferent Coupling metric definition
// http://www.JavaDepend.com/Metrics.aspx#TypeCa
!IsPublic AND // Public and Protected types
!IsProtected // might be used by client
// applications of your packages.
// Caution: Types used only by reflection might be matched.
221 types matched
The following list of types is truncated and contains only the first 100 types of the 221 types matched. All matched types could be listed in the report by unchecking the option:
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched types.
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched types.
types | Afferent coupling (TypeCa) | Full Name |
---|---|---|
types | Afferent coupling (TypeCa) | Full Name |
package-info | 0 | org.springframework.core.package-info |
package-info | 0 | org.springframework.core.annotation.package-info |
package-info | 0 | org.springframework.core.enums.package-info |
package-info | 0 | org.springframework.core.style.package-info |
package-info | 0 | org.springframework.core.convert.package-info |
package-info | 0 | org.springframework.core.convert.converter.package-info |
package-info | 0 | org.springframework.core.convert.support.package-info |
package-info | 0 | org.springframework.core.io.package-info |
package-info | 0 | org.springframework.core.io.support.package-info |
package-info | 0 | org.springframework.core.serializer.package-info |
package-info | 0 | org.springframework.core.serializer.support.package-info |
package-info | 0 | org.springframework.core.task.package-info |
package-info | 0 | org.springframework.core.task.support.package-info |
package-info | 0 | org.springframework.core.type.package-info |
package-info | 0 | org.springframework.core.type.classreading.package-info |
package-info | 0 | org.springframework.core.type.filter.package-info |
package-info | 0 | org.springframework.util.package-info |
package-info | 0 | org.springframework.util.comparator.package-info |
package-info | 0 | org.springframework.util.xml.package-info |
package-info | 0 | org.springframework.beans.package-info |
package-info | 0 | org.springframework.beans.annotation.package-info |
package-info | 0 | org.springframework.beans.propertyeditors.package-info |
package-info | 0 | org.springframework.beans.support.package-info |
package-info | 0 | org.springframework.beans.factory.package-info |
package-info | 0 | org.springframework.beans.factory.annotation.package-info |
package-info | 0 | org.springframework.beans.factory.config.package-info |
package-info | 0 | org.springframework.beans.factory.parsing.package-info |
package-info | 0 | org.springframework.beans.factory.serviceloader.package-info |
package-info | 0 | org.springframework.beans.factory.support.package-info |
package-info | 0 | org.springframework.beans.factory.wiring.package-info |
package-info | 0 | org.springframework.beans.factory.xml.package-info |
package-info | 0 | org.springframework.beans.factory.access.package-info |
package-info | 0 | org.springframework.beans.factory.access.el.package-info |
package-info | 0 | org.springframework.aop.package-info |
package-info | 0 | org.springframework.aop.config.package-info |
package-info | 0 | org.springframework.aop.interceptor.package-info |
package-info | 0 | org.springframework.aop.scope.package-info |
package-info | 0 | org.springframework.aop.aspectj.package-info |
package-info | 0 | org.springframework.aop.aspectj.annotation.package-info |
package-info | 0 | org.springframework.aop.aspectj.autoproxy.package-info |
package-info | 0 | org.springframework.aop.framework.package-info |
package-info | 0 | org.springframework.aop.framework.adapter.package-info |
package-info | 0 | org.springframework.aop.framework.autoproxy.package-info |
package-info | 0 | org.springframework.aop.support.package-info |
package-info | 0 | org.springframework.aop.support.annotation.package-info |
package-info | 0 | org.springframework.stereotype.package-info |
package-info | 0 | org.springframework.context.package-info |
package-info | 0 | org.springframework.context.access.package-info |
package-info | 0 | org.springframework.context.annotation.package-info |
package-info | 0 | org.springframework.context.config.package-info |
package-info | 0 | org.springframework.context.event.package-info |
package-info | 0 | org.springframework.context.expression.package-info |
package-info | 0 | org.springframework.context.i18n.package-info |
SimpleThreadScope$1 | 0 | org.springframework.context.support.SimpleThreadScope$1 |
package-info | 0 | org.springframework.context.support.package-info |
package-info | 0 | org.springframework.context.weaving.package-info |
package-info | 0 | org.springframework.ejb.access.package-info |
package-info | 0 | org.springframework.ejb.config.package-info |
package-info | 0 | org.springframework.ejb.interceptor.package-info |
package-info | 0 | org.springframework.ejb.support.package-info |
package-info | 0 | org.springframework.format.package-info |
package-info | 0 | org.springframework.format.annotation.package-info |
package-info | 0 | org.springframework.format.number.package-info |
package-info | 0 | org.springframework.format.support.package-info |
package-info | 0 | org.springframework.format.datetime.package-info |
package-info | 0 | org.springframework.format.datetime.joda.package-info |
package-info | 0 | org.springframework.instrument.classloading.package-info |
package-info | 0 | org.springframework.instrument.classloading.glassfish.package-info |
package-info | 0 | org.springframework.instrument.classloading.jboss.package-info |
package-info | 0 | org.springframework.instrument.classloading.oc4j.package-info |
package-info | 0 | org.springframework.instrument.classloading.weblogic.package-info |
package-info | 0 | org.springframework.jmx.package-info |
package-info | 0 | org.springframework.jmx.access.package-info |
package-info | 0 | org.springframework.jmx.support.package-info |
package-info | 0 | org.springframework.jmx.export.package-info |
package-info | 0 | org.springframework.jmx.export.annotation.package-info |
package-info | 0 | org.springframework.jmx.export.assembler.package-info |
package-info | 0 | org.springframework.jmx.export.metadata.package-info |
package-info | 0 | org.springframework.jmx.export.naming.package-info |
package-info | 0 | org.springframework.jmx.export.notification.package-info |
package-info | 0 | org.springframework.jndi.package-info |
package-info | 0 | org.springframework.jndi.support.package-info |
package-info | 0 | org.springframework.remoting.package-info |
package-info | 0 | org.springframework.remoting.rmi.package-info |
package-info | 0 | org.springframework.remoting.soap.package-info |
package-info | 0 | org.springframework.remoting.support.package-info |
package-info | 0 | org.springframework.scheduling.package-info |
package-info | 0 | org.springframework.scheduling.annotation.package-info |
package-info | 0 | org.springframework.scheduling.backportconcurrent.package-info |
package-info | 0 | org.springframework.scheduling.concurrent.package-info |
package-info | 0 | org.springframework.scheduling.support.package-info |
package-info | 0 | org.springframework.scheduling.timer.package-info |
package-info | 0 | org.springframework.scripting.package-info |
package-info | 0 | org.springframework.scripting.bsh.package-info |
package-info | 0 | org.springframework.scripting.config.package-info |
package-info | 0 | org.springframework.scripting.groovy.package-info |
package-info | 0 | org.springframework.scripting.jruby.package-info |
package-info | 0 | org.springframework.scripting.support.package-info |
package-info | 0 | org.springframework.ui.package-info |
package-info | 0 | org.springframework.ui.context.package-info |
Statistics
Stat | Afferent coupling (TypeCa) |
---|---|
Sum: | 0 |
Average: | 0 |
Minimum: | 0 |
Maximum: | 0 |
Standard deviation: | 0 |
Variance: | 0 |
![]() | Rule warning: Potentially unused methods |
// <Name>Potentially unused methods</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
MethodCa == 0 AND // Ca=0 -> No Afferent Coupling ->
// The method is not used in the
// context of this application.
// Method Afferent Coupling metric definition
// http://www.JavaDepend.com/Metrics.aspx#MethodCa
!IsPublic AND // Public and Protected methods
!IsProtected AND // might be used by client
// applications of your packages..
!IsEntryPoint AND // Main() method is not used by-design.
!IsClassConstructor AND // The BC code never explicitely
// calls class constructors.
!IsFinalizer // The BC code never explicitely
// calls finalizers.
// Caution: Methods used only by reflection might be matched.
WARN IF Count > 0 IN SELECT METHODS WHERE
MethodCa == 0 AND // Ca=0 -> No Afferent Coupling ->
// The method is not used in the
// context of this application.
// Method Afferent Coupling metric definition
// http://www.JavaDepend.com/Metrics.aspx#MethodCa
!IsPublic AND // Public and Protected methods
!IsProtected AND // might be used by client
// applications of your packages..
!IsEntryPoint AND // Main() method is not used by-design.
!IsClassConstructor AND // The BC code never explicitely
// calls class constructors.
!IsFinalizer // The BC code never explicitely
// calls finalizers.
// Caution: Methods used only by reflection might be matched.
41 methods matched
methods | Afferent coupling (MethodCa) | Full Name |
---|---|---|
methods | Afferent coupling (MethodCa) | Full Name |
AbstractFileResolvingResource$VfsResourceDelegate() | 0 | org.springframework.core.io .AbstractFileResolvingResource$VfsResourceDelegate .AbstractFileResolvingResource$VfsResourceDelegate() |
PathMatchingResourcePatternResolver$VfsResourceMatchingDelegate() | 0 | org.springframework.core.io.support .PathMatchingResourcePatternResolver$VfsResourceMatchingDelegate .PathMatchingResourcePatternResolver$VfsResourceMatchingDelegate() |
readObject(ObjectInputStream) | 0 | org.springframework.util.ConcurrencyThrottleSupport.readObject (ObjectInputStream) |
StaxUtils$Jaxp14StaxHandler() | 0 | org.springframework.util.xml.StaxUtils$Jaxp14StaxHandler .StaxUtils$Jaxp14StaxHandler() |
convertIfNecessary(String,Object,Object,Class) | 0 | org.springframework.beans.BeanWrapperImpl.convertIfNecessary(String ,Object,Object,Class) |
readObject(ObjectInputStream) | 0 | org.springframework.beans.factory.annotation .InitDestroyAnnotationBeanPostProcessor.readObject(ObjectInputStream) |
readObject(ObjectInputStream) | 0 | org.springframework.beans.factory.config.DependencyDescriptor .readObject(ObjectInputStream) |
ConstructorResolver$ConstructorPropertiesChecker() | 0 | org.springframework.beans.factory.support .ConstructorResolver$ConstructorPropertiesChecker .ConstructorResolver$ConstructorPropertiesChecker() |
readResolve() | 0 | org.springframework.beans.factory.support .DefaultListableBeanFactory$SerializedBeanFactoryReference.readResolve () |
readResolve() | 0 | org.springframework.aop.TrueClassFilter.readResolve() |
readResolve() | 0 | org.springframework.aop.TrueMethodMatcher.readResolve() |
readResolve() | 0 | org.springframework.aop.TruePointcut.readResolve() |
readResolve() | 0 | org.springframework.aop.interceptor.ExposeInvocationInterceptor .readResolve() |
readObject(ObjectInputStream) | 0 | org.springframework.aop.aspectj.AspectJExpressionPointcut.readObject (ObjectInputStream) |
readObject(ObjectInputStream) | 0 | org.springframework.aop.framework.AdvisedSupport.readObject (ObjectInputStream) |
DefaultAopProxyFactory$CglibProxyFactory() | 0 | org.springframework.aop.framework .DefaultAopProxyFactory$CglibProxyFactory .DefaultAopProxyFactory$CglibProxyFactory() |
readObject(ObjectInputStream) | 0 | org.springframework.aop.framework.ProxyFactoryBean.readObject (ObjectInputStream) |
readObject(ObjectInputStream) | 0 | org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor .readObject(ObjectInputStream) |
readObject(ObjectInputStream) | 0 | org.springframework.aop.support.IntroductionInfoSupport.readObject (ObjectInputStream) |
readResolve() | 0 | org.springframework.aop.support.Pointcuts$GetterPointcut.readResolve() |
readResolve() | 0 | org.springframework.aop.support.Pointcuts$SetterPointcut.readResolve() |
readResolve() | 0 | org.springframework.aop.target.EmptyTargetSource.readResolve() |
InstrumentationLoadTimeWeaver$InstrumentationAccessor() | 0 | org.springframework.instrument.classloading .InstrumentationLoadTimeWeaver$InstrumentationAccessor .InstrumentationLoadTimeWeaver$InstrumentationAccessor() |
JmxUtils$MXBeanChecker() | 0 | org.springframework.jmx.support.JmxUtils$MXBeanChecker .JmxUtils$MXBeanChecker() |
JndiObjectFactoryBean$JndiObjectProxyFactory() | 0 | org.springframework.jndi.JndiObjectFactoryBean$JndiObjectProxyFactory .JndiObjectFactoryBean$JndiObjectProxyFactory() |
LocalValidatorFactoryBean$HibernateValidatorDelegate() | 0 | org.springframework.validation.beanvalidation .LocalValidatorFactoryBean$HibernateValidatorDelegate .LocalValidatorFactoryBean$HibernateValidatorDelegate() |
FacesRequestAttributes$PortletSessionAccessor() | 0 | org.springframework.web.context.request .FacesRequestAttributes$PortletSessionAccessor .FacesRequestAttributes$PortletSessionAccessor() |
RequestContextHolder$FacesRequestAttributesFactory() | 0 | org.springframework.web.context.request .RequestContextHolder$FacesRequestAttributesFactory .RequestContextHolder$FacesRequestAttributesFactory() |
WebApplicationContextUtils$FacesDependencyRegistrar() | 0 | org.springframework.web.context.support .WebApplicationContextUtils$FacesDependencyRegistrar .WebApplicationContextUtils$FacesDependencyRegistrar() |
AnnotationDrivenBeanDefinitionParser$AopAutoProxyConfigurer() | 0 | org.springframework.transaction.config .AnnotationDrivenBeanDefinitionParser$AopAutoProxyConfigurer .AnnotationDrivenBeanDefinitionParser$AopAutoProxyConfigurer() |
writeObject(ObjectOutputStream) | 0 | org.springframework.transaction.interceptor.TransactionInterceptor .writeObject(ObjectOutputStream) |
readObject(ObjectInputStream) | 0 | org.springframework.transaction.interceptor.TransactionInterceptor .readObject(ObjectInputStream) |
readObject(ObjectInputStream) | 0 | org.springframework.transaction.jta.JtaTransactionManager.readObject (ObjectInputStream) |
readObject(ObjectInputStream) | 0 | org.springframework.transaction.support .AbstractPlatformTransactionManager.readObject(ObjectInputStream) |
TransactionSynchronizationUtils$ScopedProxyUnwrapper() | 0 | org.springframework.transaction.support .TransactionSynchronizationUtils$ScopedProxyUnwrapper .TransactionSynchronizationUtils$ScopedProxyUnwrapper() |
EmbeddedDatabaseConfigurerFactory() | 0 | org.springframework.jdbc.datasource.embedded .EmbeddedDatabaseConfigurerFactory.EmbeddedDatabaseConfigurerFactory() |
SqlMapClientFactoryBean$SqlMapParserFactory() | 0 | org.springframework.orm.ibatis .SqlMapClientFactoryBean$SqlMapParserFactory .SqlMapClientFactoryBean$SqlMapParserFactory() |
readResolve() | 0 | org.springframework.orm.jpa .AbstractEntityManagerFactoryBean$SerializedEntityManagerFactoryBeanRe ference.readResolve() |
readObject(ObjectInputStream) | 0 | org.springframework.orm.jpa .SharedEntityManagerCreator$SharedEntityManagerInvocationHandler .readObject(ObjectInputStream) |
MockServletContext$MimeTypeResolver() | 0 | org.springframework.mock.web.MockServletContext$MimeTypeResolver .MockServletContext$MimeTypeResolver() |
MockPortletContext$MimeTypeResolver() | 0 | org.springframework.mock.web.portlet .MockPortletContext$MimeTypeResolver .MockPortletContext$MimeTypeResolver() |
Statistics
Stat | Afferent coupling (MethodCa) |
---|---|
Sum: | 0 |
Average: | 0 |
Minimum: | 0 |
Maximum: | 0 |
Standard deviation: | 0 |
Variance: | 0 |
![]() | Rule warning: Potentially unused fields |
// <Name>Potentially unused fields</Name>
WARN IF Count > 0 IN SELECT FIELDS WHERE
FieldCa == 0 AND // Ca=0 -> No Afferent Coupling ->
// The field is not used in the
// context of this application.
// Field Afferent Coupling metric definition
// http://www.JavaDepend.com/Metrics.aspx#FieldCa
!IsPublic AND // Although not recommended,
!IsProtected AND // Public and Protected fields
// might be used by client
// applications of your packages.
!IsEnumValue AND // The BC code never explicitely
// uses enumeration value.
!NameIs "serialVersionUID"
// Caution: Fields used only by reflection might be matched.
WARN IF Count > 0 IN SELECT FIELDS WHERE
FieldCa == 0 AND // Ca=0 -> No Afferent Coupling ->
// The field is not used in the
// context of this application.
// Field Afferent Coupling metric definition
// http://www.JavaDepend.com/Metrics.aspx#FieldCa
!IsPublic AND // Although not recommended,
!IsProtected AND // Public and Protected fields
// might be used by client
// applications of your packages.
!IsEnumValue AND // The BC code never explicitely
// uses enumeration value.
!NameIs "serialVersionUID"
// Caution: Fields used only by reflection might be matched.
342 fields matched
The following list of fields is truncated and contains only the first 100 fields of the 342 fields matched. All matched fields could be listed in the report by unchecking the option:
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched fields.
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched fields.
fields | Afferent coupling (FieldCa) | Full Name |
---|---|---|
fields | Afferent coupling (FieldCa) | Full Name |
PLURAL_SUFFIX | 0 | org.springframework.core.Conventions.PLURAL_SUFFIX |
CONSTRUCTOR | 0 | org.springframework.core .LocalVariableTableParameterNameDiscoverer$LocalVariableTableVisitor .CONSTRUCTOR |
STATIC_CLASS_INIT | 0 | org.springframework.core .LocalVariableTableParameterNameDiscoverer$ParameterNameDiscoveringVis itor.STATIC_CLASS_INIT |
CLASS_FILE_SUFFIX | 0 | org.springframework.core.OverridingClassLoader.CLASS_FILE_SUFFIX |
EMPTY | 0 | org.springframework.core.style.DefaultValueStyler.EMPTY |
NULL | 0 | org.springframework.core.style.DefaultValueStyler.NULL |
COLLECTION | 0 | org.springframework.core.style.DefaultValueStyler.COLLECTION |
SET | 0 | org.springframework.core.style.DefaultValueStyler.SET |
LIST | 0 | org.springframework.core.style.DefaultValueStyler.LIST |
MAP | 0 | org.springframework.core.style.DefaultValueStyler.MAP |
ARRAY | 0 | org.springframework.core.style.DefaultValueStyler.ARRAY |
DELIMITER | 0 | org.springframework.core.convert.support.CollectionToStringConverter .DELIMITER |
VFS2_PKG | 0 | org.springframework.core.io.VfsUtils.VFS2_PKG |
VFS3_PKG | 0 | org.springframework.core.io.VfsUtils.VFS3_PKG |
VFS_NAME | 0 | org.springframework.core.io.VfsUtils.VFS_NAME |
DEFAULT_VARIABLE_PATTERN | 0 | org.springframework.util.AntPathStringMatcher.DEFAULT_VARIABLE_PATTERN |
INTERNAL_ARRAY_PREFIX | 0 | org.springframework.util.ClassUtils.INTERNAL_ARRAY_PREFIX |
NON_PRIMITIVE_ARRAY_PREFIX | 0 | org.springframework.util.ClassUtils.NON_PRIMITIVE_ARRAY_PREFIX |
PACKAGE_SEPARATOR | 0 | org.springframework.util.ClassUtils.PACKAGE_SEPARATOR |
INNER_CLASS_SEPARATOR | 0 | org.springframework.util.ClassUtils.INNER_CLASS_SEPARATOR |
MD5_ALGORITHM_NAME | 0 | org.springframework.util.DigestUtils.MD5_ALGORITHM_NAME |
INITIAL_HASH | 0 | org.springframework.util.ObjectUtils.INITIAL_HASH |
MULTIPLIER | 0 | org.springframework.util.ObjectUtils.MULTIPLIER |
EMPTY_STRING | 0 | org.springframework.util.ObjectUtils.EMPTY_STRING |
NULL_STRING | 0 | org.springframework.util.ObjectUtils.NULL_STRING |
ARRAY_START | 0 | org.springframework.util.ObjectUtils.ARRAY_START |
ARRAY_END | 0 | org.springframework.util.ObjectUtils.ARRAY_END |
EMPTY_ARRAY | 0 | org.springframework.util.ObjectUtils.EMPTY_ARRAY |
ARRAY_ELEMENT_SEPARATOR | 0 | org.springframework.util.ObjectUtils.ARRAY_ELEMENT_SEPARATOR |
FOLDER_SEPARATOR | 0 | org.springframework.util.StringUtils.FOLDER_SEPARATOR |
WINDOWS_FOLDER_SEPARATOR | 0 | org.springframework.util.StringUtils.WINDOWS_FOLDER_SEPARATOR |
TOP_PATH | 0 | org.springframework.util.StringUtils.TOP_PATH |
CURRENT_PATH | 0 | org.springframework.util.StringUtils.CURRENT_PATH |
EXTENSION_SEPARATOR | 0 | org.springframework.util.StringUtils.EXTENSION_SEPARATOR |
NAMESPACES_FEATURE_NAME | 0 | org.springframework.util.xml.AbstractStaxXMLReader .NAMESPACES_FEATURE_NAME |
NAMESPACE_PREFIXES_FEATURE_NAME | 0 | org.springframework.util.xml.AbstractStaxXMLReader .NAMESPACE_PREFIXES_FEATURE_NAME |
IS_STANDALONE_FEATURE_NAME | 0 | org.springframework.util.xml.AbstractStaxXMLReader .IS_STANDALONE_FEATURE_NAME |
DEFAULT_XML_VERSION | 0 | org.springframework.util.xml.StaxEventXMLReader.DEFAULT_XML_VERSION |
DEFAULT_XML_VERSION | 0 | org.springframework.util.xml.StaxStreamXMLReader.DEFAULT_XML_VERSION |
DEFAULT_ENCODING | 0 | org.springframework.util.xml.XMLEventStreamWriter.DEFAULT_ENCODING |
DOCTYPE | 0 | org.springframework.util.xml.XmlValidationModeDetector.DOCTYPE |
START_COMMENT | 0 | org.springframework.util.xml.XmlValidationModeDetector.START_COMMENT |
END_COMMENT | 0 | org.springframework.util.xml.XmlValidationModeDetector.END_COMMENT |
UNICODE_PREFIX | 0 | org.springframework.beans.propertyeditors.CharacterEditor .UNICODE_PREFIX |
UNICODE_LENGTH | 0 | org.springframework.beans.propertyeditors.CharacterEditor .UNICODE_LENGTH |
TAB | 0 | org.springframework.beans.factory.parsing.ParseState.TAB |
PASSTHROUGH | 0 | org.springframework.beans.factory.support .CglibSubclassingInstantiationStrategy.PASSTHROUGH |
LOOKUP_OVERRIDE | 0 | org.springframework.beans.factory.support .CglibSubclassingInstantiationStrategy.LOOKUP_OVERRIDE |
METHOD_REPLACER | 0 | org.springframework.beans.factory.support .CglibSubclassingInstantiationStrategy.METHOD_REPLACER |
CONSTRUCTOR_PROPERTIES_CLASS_NAME | 0 | org.springframework.beans.factory.support.ConstructorResolver .CONSTRUCTOR_PROPERTIES_CLASS_NAME |
DTD_EXTENSION | 0 | org.springframework.beans.factory.xml.BeansDtdResolver.DTD_EXTENSION |
SCHEMA_LANGUAGE_ATTRIBUTE | 0 | org.springframework.beans.factory.xml.DefaultDocumentLoader .SCHEMA_LANGUAGE_ATTRIBUTE |
XSD_SCHEMA_LANGUAGE | 0 | org.springframework.beans.factory.xml.DefaultDocumentLoader .XSD_SCHEMA_LANGUAGE |
REF_SUFFIX | 0 | org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler .REF_SUFFIX |
SCOPE_ATTRIBUTE | 0 | org.springframework.beans.factory.xml.UtilNamespaceHandler .SCOPE_ATTRIBUTE |
DEFAULT_RESOURCE_LOCATION | 0 | org.springframework.beans.factory.access.SingletonBeanFactoryLocator .DEFAULT_RESOURCE_LOCATION |
EXPOSE_PROXY_ATTRIBUTE | 0 | org.springframework.aop.config.AopNamespaceUtils .EXPOSE_PROXY_ATTRIBUTE |
ASPECT | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.ASPECT |
EXPRESSION | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.EXPRESSION |
ID | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.ID |
POINTCUT | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.POINTCUT |
ADVICE_BEAN_NAME | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .ADVICE_BEAN_NAME |
ADVISOR | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.ADVISOR |
ADVICE_REF | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.ADVICE_REF |
POINTCUT_REF | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.POINTCUT_REF |
REF | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.REF |
BEFORE | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.BEFORE |
DECLARE_PARENTS | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .DECLARE_PARENTS |
TYPE_PATTERN | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.TYPE_PATTERN |
DEFAULT_IMPL | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.DEFAULT_IMPL |
DELEGATE_REF | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.DELEGATE_REF |
IMPLEMENT_INTERFACE | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .IMPLEMENT_INTERFACE |
AFTER | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.AFTER |
AFTER_RETURNING_ELEMENT | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .AFTER_RETURNING_ELEMENT |
AFTER_THROWING_ELEMENT | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .AFTER_THROWING_ELEMENT |
AROUND | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.AROUND |
RETURNING | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.RETURNING |
RETURNING_PROPERTY | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .RETURNING_PROPERTY |
THROWING | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.THROWING |
THROWING_PROPERTY | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .THROWING_PROPERTY |
ARG_NAMES | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.ARG_NAMES |
ARG_NAMES_PROPERTY | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .ARG_NAMES_PROPERTY |
ASPECT_NAME_PROPERTY | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .ASPECT_NAME_PROPERTY |
DECLARATION_ORDER_PROPERTY | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .DECLARATION_ORDER_PROPERTY |
ORDER_PROPERTY | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .ORDER_PROPERTY |
METHOD_INDEX | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.METHOD_INDEX |
POINTCUT_INDEX | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .POINTCUT_INDEX |
ASPECT_INSTANCE_FACTORY_INDEX | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .ASPECT_INSTANCE_FACTORY_INDEX |
PROXY_TARGET_CLASS | 0 | org.springframework.aop.config.ScopedProxyBeanDefinitionDecorator .PROXY_TARGET_CLASS |
BEAN_CONFIGURER_ASPECT_CLASS_NAME | 0 | org.springframework.aop.config.SpringConfiguredBeanDefinitionParser .BEAN_CONFIGURER_ASPECT_CLASS_NAME |
DEFAULT_ENTER_MESSAGE | 0 | org.springframework.aop.interceptor.CustomizableTraceInterceptor .DEFAULT_ENTER_MESSAGE |
DEFAULT_EXIT_MESSAGE | 0 | org.springframework.aop.interceptor.CustomizableTraceInterceptor .DEFAULT_EXIT_MESSAGE |
DEFAULT_EXCEPTION_MESSAGE | 0 | org.springframework.aop.interceptor.CustomizableTraceInterceptor .DEFAULT_EXCEPTION_MESSAGE |
TARGET_NAME_PREFIX | 0 | org.springframework.aop.scope.ScopedProxyUtils.TARGET_NAME_PREFIX |
THIS_JOIN_POINT | 0 | org.springframework.aop.aspectj.AspectJAdviceParameterNameDiscoverer .THIS_JOIN_POINT |
THIS_JOIN_POINT_STATIC_PART | 0 | org.springframework.aop.aspectj.AspectJAdviceParameterNameDiscoverer .THIS_JOIN_POINT_STATIC_PART |
STEP_JOIN_POINT_BINDING | 0 | org.springframework.aop.aspectj.AspectJAdviceParameterNameDiscoverer .STEP_JOIN_POINT_BINDING |
STEP_THROWING_BINDING | 0 | org.springframework.aop.aspectj.AspectJAdviceParameterNameDiscoverer .STEP_THROWING_BINDING |
STEP_ANNOTATION_BINDING | 0 | org.springframework.aop.aspectj.AspectJAdviceParameterNameDiscoverer .STEP_ANNOTATION_BINDING |
STEP_RETURNING_BINDING | 0 | org.springframework.aop.aspectj.AspectJAdviceParameterNameDiscoverer .STEP_RETURNING_BINDING |
Statistics
Stat | Afferent coupling (FieldCa) |
---|---|
Sum: | 0 |
Average: | 0 |
Minimum: | 0 |
Maximum: | 0 |
Standard deviation: | 0 |
Variance: | 0 |
Encapsulation |
|
|
![]() | Rule warning: Fields should be declared as private |
// <Name>Fields should be declared as private</Name>
WARN IF Count > 0 IN SELECT FIELDS WHERE
!IsPrivate AND
// These conditions filter cases where fields
// doesn't represent state that should be encapsulated.
!IsInTierJar AND
!IsGeneratedByCompiler AND
!IsInitOnly AND
!IsEnumValue
WARN IF Count > 0 IN SELECT FIELDS WHERE
!IsPrivate AND
// These conditions filter cases where fields
// doesn't represent state that should be encapsulated.
!IsInTierJar AND
!IsGeneratedByCompiler AND
!IsInitOnly AND
!IsEnumValue
164 fields matched
The following list of fields is truncated and contains only the first 100 fields of the 164 fields matched. All matched fields could be listed in the report by unchecking the option:
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched fields.
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched fields.
fields | Size of instance | Full Name |
---|---|---|
fields | Size of instance | Full Name |
g | 4 | org.springframework.asm.AnnotationWriter.g |
h | 4 | org.springframework.asm.AnnotationWriter.h |
b | 4 | org.springframework.asm.Attribute.b |
a | 4 | org.springframework.asm.Attribute.a |
b | 4 | org.springframework.asm.ByteVector.b |
a | 4 | org.springframework.asm.ByteVector.a |
cv | 4 | org.springframework.asm.ClassAdapter.cv |
d | 4 | org.springframework.asm.ClassWriter.d |
e | 4 | org.springframework.asm.ClassWriter.e |
f | 4 | org.springframework.asm.ClassWriter.f |
c | 4 | org.springframework.asm.ClassWriter.c |
D | 4 | org.springframework.asm.ClassWriter.D |
a | 0 | org.springframework.asm.ClassWriter.a |
b | 4 | org.springframework.asm.ClassWriter.b |
g | 4 | org.springframework.asm.ClassWriter.g |
h | 4 | org.springframework.asm.ClassWriter.h |
i | 4 | org.springframework.asm.ClassWriter.i |
y | 4 | org.springframework.asm.ClassWriter.y |
z | 4 | org.springframework.asm.ClassWriter.z |
A | 4 | org.springframework.asm.ClassWriter.A |
B | 4 | org.springframework.asm.ClassWriter.B |
a | 4 | org.springframework.asm.Edge.a |
b | 4 | org.springframework.asm.Edge.b |
c | 4 | org.springframework.asm.Edge.c |
a | 4 | org.springframework.asm.FieldWriter.a |
a | 4 | org.springframework.asm.Handler.a |
b | 4 | org.springframework.asm.Handler.b |
c | 4 | org.springframework.asm.Handler.c |
d | 4 | org.springframework.asm.Handler.d |
e | 4 | org.springframework.asm.Handler.e |
f | 4 | org.springframework.asm.Handler.f |
a | 4 | org.springframework.asm.Item.a |
b | 4 | org.springframework.asm.Item.b |
j | 4 | org.springframework.asm.Item.j |
k | 4 | org.springframework.asm.Item.k |
c | 4 | org.springframework.asm.Item.c |
d | 4 | org.springframework.asm.Item.d |
e | 4 | org.springframework.asm.Item.e |
f | 4 | org.springframework.asm.Item.f |
g | 4 | org.springframework.asm.Item.g |
h | 4 | org.springframework.asm.Item.h |
i | 4 | org.springframework.asm.Item.i |
k | 4 | org.springframework.asm.Label.k |
a | 4 | org.springframework.asm.Label.a |
b | 4 | org.springframework.asm.Label.b |
c | 4 | org.springframework.asm.Label.c |
f | 4 | org.springframework.asm.Label.f |
g | 4 | org.springframework.asm.Label.g |
h | 4 | org.springframework.asm.Label.h |
i | 4 | org.springframework.asm.Label.i |
j | 4 | org.springframework.asm.Label.j |
mv | 4 | org.springframework.asm.MethodAdapter.mv |
b | 4 | org.springframework.asm.MethodWriter.b |
g | 4 | org.springframework.asm.MethodWriter.g |
h | 4 | org.springframework.asm.MethodWriter.h |
i | 4 | org.springframework.asm.MethodWriter.i |
I | 4 | org.springframework.asm.MethodWriter.I |
J | 4 | org.springframework.asm.MethodWriter.J |
a | 4 | org.springframework.asm.MethodWriter.a |
methodAccess | 4 | org.springframework.asm.commons.AdviceAdapter.methodAccess |
methodDesc | 4 | org.springframework.asm.commons.AdviceAdapter.methodDesc |
name | 4 | org.springframework.asm.commons.SerialVersionUIDAdder$Item.name |
access | 4 | org.springframework.asm.commons.SerialVersionUIDAdder$Item.access |
desc | 4 | org.springframework.asm.commons.SerialVersionUIDAdder$Item.desc |
computeSVUID | 4 | org.springframework.asm.commons.SerialVersionUIDAdder.computeSVUID |
hasSVUID | 4 | org.springframework.asm.commons.SerialVersionUIDAdder.hasSVUID |
access | 4 | org.springframework.asm.commons.SerialVersionUIDAdder.access |
name | 4 | org.springframework.asm.commons.SerialVersionUIDAdder.name |
interfaces | 4 | org.springframework.asm.commons.SerialVersionUIDAdder.interfaces |
svuidFields | 4 | org.springframework.asm.commons.SerialVersionUIDAdder.svuidFields |
hasStaticInitializer | 4 | org.springframework.asm.commons.SerialVersionUIDAdder .hasStaticInitializer |
svuidConstructors | 4 | org.springframework.asm.commons.SerialVersionUIDAdder .svuidConstructors |
svuidMethods | 4 | org.springframework.asm.commons.SerialVersionUIDAdder.svuidMethods |
typeVariableMap | 4 | org.springframework.core.MethodParameter.typeVariableMap |
INSTANCE | 0 | org.springframework.core.OrderComparator.INSTANCE |
VIRTUAL_FILE_VISITOR_INTERFACE | 0 | org.springframework.core.io.VfsUtils.VIRTUAL_FILE_VISITOR_INTERFACE |
VIRTUAL_FILE_METHOD_VISIT | 0 | org.springframework.core.io.VfsUtils.VIRTUAL_FILE_METHOD_VISIT |
logger | 4 | org.springframework.util.ConcurrencyThrottleSupport.logger |
USER_DECLARED_METHODS | 0 | org.springframework.util.ReflectionUtils.USER_DECLARED_METHODS |
COPYABLE_FIELDS | 0 | org.springframework.util.ReflectionUtils.COPYABLE_FIELDS |
NON_BRIDGED_METHODS | 0 | org.springframework.util.ReflectionUtils.NON_BRIDGED_METHODS |
canonicalName | 4 | org.springframework.beans.BeanWrapperImpl$PropertyTokenHolder .canonicalName |
actualName | 4 | org.springframework.beans.BeanWrapperImpl$PropertyTokenHolder .actualName |
keys | 4 | org.springframework.beans.BeanWrapperImpl$PropertyTokenHolder.keys |
resolvedTokens | 4 | org.springframework.beans.PropertyValue.resolvedTokens |
resolvedDescriptor | 4 | org.springframework.beans.PropertyValue.resolvedDescriptor |
conversionNecessary | 4 | org.springframework.beans.PropertyValue.conversionNecessary |
logger | 4 | org.springframework.beans.factory.annotation .InitDestroyAnnotationBeanPostProcessor.logger |
skip | 4 | org.springframework.beans.factory.annotation .InjectionMetadata$InjectedElement.skip |
logger | 4 | org.springframework.beans.factory.config.DeprecatedBeanWarner.logger |
VALUE_KEY | 0 | org.springframework.beans.factory.support.AutowireCandidateQualifier .VALUE_KEY |
resolveNecessary | 4 | org.springframework.beans.factory.support .ConstructorResolver$ArgumentsHolder.resolveNecessary |
resolvedElementType | 4 | org.springframework.beans.factory.support.ManagedArray .resolvedElementType |
postProcessed | 4 | org.springframework.beans.factory.support.RootBeanDefinition .postProcessed |
beforeInstantiationResolved | 4 | org.springframework.beans.factory.support.RootBeanDefinition .beforeInstantiationResolved |
resolvedConstructorOrFactoryMethod | 4 | org.springframework.beans.factory.support.RootBeanDefinition .resolvedConstructorOrFactoryMethod |
constructorArgumentsResolved | 4 | org.springframework.beans.factory.support.RootBeanDefinition .constructorArgumentsResolved |
preparedConstructorArguments | 4 | org.springframework.beans.factory.support.RootBeanDefinition .preparedConstructorArguments |
resolvedConstructorArguments | 4 | org.springframework.beans.factory.support.RootBeanDefinition .resolvedConstructorArguments |
isFactoryMethodUnique | 4 | org.springframework.beans.factory.support.RootBeanDefinition .isFactoryMethodUnique |
Statistics
Stat | Size of instance |
---|---|
Sum: | 604 |
Average: | 3.6829 |
Minimum: | 0 |
Maximum: | 4 |
Standard deviation: | 1.0806 |
Variance: | 1.1678 |
Methods Optimal Encapsulation |
|
|
![]() | Rule warning: Methods that could be declared as 'protected' |
// <Name>Methods that could be declared as 'protected' </Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
CouldBeProtected
WARN IF Count > 0 IN SELECT METHODS WHERE
CouldBeProtected
59 methods matched
methods | # ByteCode instructions | Full Name |
---|---|---|
methods | # ByteCode instructions | Full Name |
getPath() | 3 | org.springframework.core.io.ClassPathResource.getPath() |
getClassLoader() | 10 | org.springframework.core.io.ClassPathResource.getClassLoader() |
getPath() | 3 | org.springframework.core.io.FileSystemResource.getPath() |
VfsUtils() | 230 | org.springframework.core.io.VfsUtils.VfsUtils() |
ClassMetadataReadingVisitor() | 3 | org.springframework.core.type.classreading.ClassMetadataReadingVisitor .ClassMetadataReadingVisitor() |
getClassName() | 3 | org.springframework.core.type.classreading.ClassMetadataReadingVisitor .getClassName() |
CachingMapDecorator(boolean) | 0 | org.springframework.util.CachingMapDecorator.CachingMapDecorator (boolean) |
AbstractStaxContentHandler() | 11 | org.springframework.util.xml.AbstractStaxContentHandler .AbstractStaxContentHandler() |
AbstractStaxXMLReader() | 14 | org.springframework.util.xml.AbstractStaxXMLReader .AbstractStaxXMLReader() |
AbstractXMLReader() | 3 | org.springframework.util.xml.AbstractXMLReader.AbstractXMLReader() |
getFeature(String) | 5 | org.springframework.util.xml.AbstractXMLReader.getFeature(String) |
setFeature(String,boolean) | 5 | org.springframework.util.xml.AbstractXMLReader.setFeature(String ,boolean) |
getContentHandler() | 3 | org.springframework.util.xml.AbstractXMLReader.getContentHandler() |
getDTDHandler() | 3 | org.springframework.util.xml.AbstractXMLReader.getDTDHandler() |
getErrorHandler() | 3 | org.springframework.util.xml.AbstractXMLReader.getErrorHandler() |
AbstractXMLStreamReader() | 3 | org.springframework.util.xml.AbstractXMLStreamReader .AbstractXMLStreamReader() |
DependencyDescriptor(MethodParameter,boolean,boolean) | 43 | org.springframework.beans.factory.config.DependencyDescriptor .DependencyDescriptor(MethodParameter,boolean,boolean) |
Problem(String,Location) | 7 | org.springframework.beans.factory.parsing.Problem.Problem(String ,Location) |
getObject() | 12 | org.springframework.beans.factory.support .DefaultListableBeanFactory$DependencyObjectFactory.getObject() |
RootBeanDefinition(RootBeanDefinition) | 4 | org.springframework.beans.factory.support.RootBeanDefinition .RootBeanDefinition(RootBeanDefinition) |
AbstractSimpleBeanDefinitionParser() | 3 | org.springframework.beans.factory.xml .AbstractSimpleBeanDefinitionParser.AbstractSimpleBeanDefinitionParser () |
RuntimeTestWalker$InstanceOfResidueTestVisitor(Class,boolean,int) | 13 | org.springframework.aop.aspectj .RuntimeTestWalker$InstanceOfResidueTestVisitor .RuntimeTestWalker$InstanceOfResidueTestVisitor(Class,boolean,int) |
instanceOfMatches(Test) | 6 | org.springframework.aop.aspectj .RuntimeTestWalker$InstanceOfResidueTestVisitor.instanceOfMatches(Test ) |
BeanFactoryAspectJAdvisorsBuilder(ListableBeanFactory ,AspectJAdvisorFactory) | 25 | org.springframework.aop.aspectj.annotation .BeanFactoryAspectJAdvisorsBuilder.BeanFactoryAspectJAdvisorsBuilder (ListableBeanFactory,AspectJAdvisorFactory) |
BeanFactoryAdvisorRetrievalHelper(ConfigurableListableBeanFactory) | 9 | org.springframework.aop.framework.autoproxy .BeanFactoryAdvisorRetrievalHelper.BeanFactoryAdvisorRetrievalHelper (ConfigurableListableBeanFactory) |
invoke(MethodInvocation) | 37 | org.springframework.aop.support.DelegatingIntroductionInterceptor .invoke(MethodInvocation) |
DynamicMethodMatcherPointcut() | 3 | org.springframework.aop.support.DynamicMethodMatcherPointcut .DynamicMethodMatcherPointcut() |
equals(Object) | 29 | org.springframework.aop.support.MethodMatchers$UnionMethodMatcher .equals(Object) |
AbstractLazyCreationTargetSource() | 8 | org.springframework.aop.target.AbstractLazyCreationTargetSource .AbstractLazyCreationTargetSource() |
CommonAnnotationBeanPostProcessor$LookupElement (CommonAnnotationBeanPostProcessor,Member,PropertyDescriptor) | 15 | org.springframework.context.annotation .CommonAnnotationBeanPostProcessor$LookupElement .CommonAnnotationBeanPostProcessor$LookupElement (CommonAnnotationBeanPostProcessor,Member,PropertyDescriptor) |
AbstractPropertyLoadingBeanDefinitionParser() | 3 | org.springframework.context.config .AbstractPropertyLoadingBeanDefinitionParser .AbstractPropertyLoadingBeanDefinitionParser() |
ReadOnlySystemAttributesMap() | 3 | org.springframework.context.support.ReadOnlySystemAttributesMap .ReadOnlySystemAttributesMap() |
AbstractJndiLocatingBeanDefinitionParser() | 3 | org.springframework.ejb.config .AbstractJndiLocatingBeanDefinitionParser .AbstractJndiLocatingBeanDefinitionParser() |
run() | 10 | org.springframework.scheduling.support.DelegatingErrorHandlingRunnable .run() |
handleError(Throwable) | 10 | org.springframework.scheduling.support.TaskUtils$LoggingErrorHandler .handleError(Throwable) |
AbstractClientHttpRequest() | 16 | org.springframework.http.client.AbstractClientHttpRequest .AbstractClientHttpRequest() |
UriTemplate(String) | 20 | org.springframework.web.util.UriTemplate.UriTemplate(String) |
ServletRequestUtils$ParameterParser (ServletRequestUtils$ParameterParser) | 0 | org.springframework.web.bind.ServletRequestUtils$ParameterParser .ServletRequestUtils$ParameterParser (ServletRequestUtils$ParameterParser) |
doWithRequest(ClientHttpRequest) | 81 | org.springframework.web.client .RestTemplate$AcceptHeaderRequestCallback.doWithRequest (ClientHttpRequest) |
DefaultMultipartHttpServletRequest(HttpServletRequest) | 4 | org.springframework.web.multipart.support .DefaultMultipartHttpServletRequest.DefaultMultipartHttpServletRequest (HttpServletRequest) |
beforeDelivery(Method) | 25 | org.springframework.jca.endpoint .AbstractMessageEndpointFactory$AbstractMessageEndpoint.beforeDelivery (Method) |
afterDelivery() | 22 | org.springframework.jca.endpoint .AbstractMessageEndpointFactory$AbstractMessageEndpoint.afterDelivery( ) |
DelegatingTransactionAttribute(TransactionAttribute) | 7 | org.springframework.transaction.interceptor .DelegatingTransactionAttribute.DelegatingTransactionAttribute (TransactionAttribute) |
TransactionAttributeSourcePointcut() | 3 | org.springframework.transaction.interceptor .TransactionAttributeSourcePointcut.TransactionAttributeSourcePointcut () |
ResourceHolderSynchronization(ResourceHolder,Object) | 0 | org.springframework.transaction.support.ResourceHolderSynchronization .ResourceHolderSynchronization(ResourceHolder,Object) |
afterCommit() | 8 | org.springframework.transaction.support.ResourceHolderSynchronization .afterCommit() |
afterCompletion(int) | 52 | org.springframework.transaction.support.ResourceHolderSynchronization .afterCompletion(int) |
JdbcTransactionObjectSupport() | 4 | org.springframework.jdbc.datasource.JdbcTransactionObjectSupport .JdbcTransactionObjectSupport() |
isSavepointAllowed() | 3 | org.springframework.jdbc.datasource.JdbcTransactionObjectSupport .isSavepointAllowed() |
AbstractEmbeddedDatabaseConfigurer() | 8 | org.springframework.jdbc.datasource.embedded .AbstractEmbeddedDatabaseConfigurer.AbstractEmbeddedDatabaseConfigurer () |
timerExpired(Timer) | 4 | org.springframework.scheduling.commonj .TimerManagerTaskScheduler$TimerScheduledFuture.timerExpired(Timer) |
AbstractListenerContainerParser() | 3 | org.springframework.jms.config.AbstractListenerContainerParser .AbstractListenerContainerParser() |
ChainedExceptionListener() | 9 | org.springframework.jms.connection.ChainedExceptionListener .ChainedExceptionListener() |
JmsResourceHolder(Session) | 27 | org.springframework.jms.connection.JmsResourceHolder.JmsResourceHolder (Session) |
MutablePersistenceUnitInfo() | 29 | org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo .MutablePersistenceUnitInfo() |
getPersistenceProviderPackageName() | 3 | org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo .getPersistenceProviderPackageName() |
DelegatingServletOutputStream(OutputStream) | 9 | org.springframework.mock.web.DelegatingServletOutputStream .DelegatingServletOutputStream(OutputStream) |
write(int) | 5 | org.springframework.mock.web.DelegatingServletOutputStream.write(int) |
flush() | 6 | org.springframework.mock.web.DelegatingServletOutputStream.flush() |
Statistics
Stat | # ByteCode instructions |
---|---|
Sum: | 893 |
Average: | 15.136 |
Minimum: | 0 |
Maximum: | 230 |
Standard deviation: | 31.55 |
Variance: | 995.41 |
![]() | Rule warning: Methods that could be declared as 'private' |
// <Name>Methods that could be declared as 'private' </Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
CouldBePrivate
WARN IF Count > 0 IN SELECT METHODS WHERE
CouldBePrivate
8,123 methods matched
The following list of methods is truncated and contains only the first 100 methods of the 8123 methods matched. All matched methods could be listed in the report by unchecking the option:
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched methods.
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched methods.
methods | # ByteCode instructions | Full Name |
---|---|---|
methods | # ByteCode instructions | Full Name |
visit(String,Object) | 416 | org.springframework.asm.AnnotationWriter.visit(String,Object) |
visitEnum(String,String,String) | 32 | org.springframework.asm.AnnotationWriter.visitEnum(String,String ,String) |
visitAnnotation(String,String) | 44 | org.springframework.asm.AnnotationWriter.visitAnnotation(String,String ) |
visitArray(String) | 39 | org.springframework.asm.AnnotationWriter.visitArray(String) |
visitEnd() | 26 | org.springframework.asm.AnnotationWriter.visitEnd() |
Attribute(String) | 6 | org.springframework.asm.Attribute.Attribute(String) |
isUnknown() | 2 | org.springframework.asm.Attribute.isUnknown() |
getLabels() | 2 | org.springframework.asm.Attribute.getLabels() |
read(ClassReader,int,int,char[],int,Label[]) | 20 | org.springframework.asm.Attribute.read(ClassReader,int,int,char[],int ,Label[]) |
write(ClassWriter,byte[],int,int,int) | 15 | org.springframework.asm.Attribute.write(ClassWriter,byte[],int,int,int ) |
ClassReader(byte[]) | 7 | org.springframework.asm.ClassReader.ClassReader(byte[]) |
ClassReader(byte[],int,int) | 80 | org.springframework.asm.ClassReader.ClassReader(byte[],int,int) |
readUnsignedShort(int) | 19 | org.springframework.asm.ClassReader.readUnsignedShort(int) |
readClass(int,char[]) | 10 | org.springframework.asm.ClassReader.readClass(int,char[]) |
readUTF8(int,char[]) | 33 | org.springframework.asm.ClassReader.readUTF8(int,char[]) |
readInt(int) | 39 | org.springframework.asm.ClassReader.readInt(int) |
readLong(int) | 20 | org.springframework.asm.ClassReader.readLong(int) |
ClassReader(String) | 15 | org.springframework.asm.ClassReader.ClassReader(String) |
accept(ClassVisitor,Attribute[],boolean) | 2 174 | org.springframework.asm.ClassReader.accept(ClassVisitor,Attribute[] ,boolean) |
readConst(int,char[]) | 71 | org.springframework.asm.ClassReader.readConst(int,char[]) |
readShort(int) | 20 | org.springframework.asm.ClassReader.readShort(int) |
readByte(int) | 7 | org.springframework.asm.ClassReader.readByte(int) |
getItem(int) | 5 | org.springframework.asm.ClassReader.getItem(int) |
ClassWriter(boolean) | 5 | org.springframework.asm.ClassWriter.ClassWriter(boolean) |
ClassWriter(boolean,boolean) | 41 | org.springframework.asm.ClassWriter.ClassWriter(boolean,boolean) |
ClassWriter(ClassReader,boolean) | 11 | org.springframework.asm.ClassWriter.ClassWriter(ClassReader,boolean) |
visit(int,int,String,String,String,String[]) | 59 | org.springframework.asm.ClassWriter.visit(int,int,String,String,String ,String[]) |
visitSource(String,String) | 17 | org.springframework.asm.ClassWriter.visitSource(String,String) |
visitOuterClass(String,String,String) | 16 | org.springframework.asm.ClassWriter.visitOuterClass(String,String ,String) |
newNameType(String,String) | 42 | org.springframework.asm.ClassWriter.newNameType(String,String) |
visitAnnotation(String,boolean) | 40 | org.springframework.asm.ClassWriter.visitAnnotation(String,boolean) |
visitAttribute(Attribute) | 8 | org.springframework.asm.ClassWriter.visitAttribute(Attribute) |
visitInnerClass(String,String,String,int) | 53 | org.springframework.asm.ClassWriter.visitInnerClass(String,String ,String,int) |
visitField(int,String,String,String,Object) | 10 | org.springframework.asm.ClassWriter.visitField(int,String,String ,String,Object) |
visitMethod(int,String,String,String,String[]) | 12 | org.springframework.asm.ClassWriter.visitMethod(int,String,String ,String,String[]) |
visitEnd() | 1 | org.springframework.asm.ClassWriter.visitEnd() |
toByteArray() | 511 | org.springframework.asm.ClassWriter.toByteArray() |
newConst(Object) | 5 | org.springframework.asm.ClassWriter.newConst(Object) |
newMethod(String,String,String,boolean) | 8 | org.springframework.asm.ClassWriter.newMethod(String,String,String ,boolean) |
ClassWriter() | 25 | org.springframework.asm.ClassWriter.ClassWriter() |
FieldWriter(ClassWriter,int,String,String,String,Object) | 48 | org.springframework.asm.FieldWriter.FieldWriter(ClassWriter,int,String ,String,String,Object) |
visitAnnotation(String,boolean) | 42 | org.springframework.asm.FieldWriter.visitAnnotation(String,boolean) |
visitAttribute(Attribute) | 8 | org.springframework.asm.FieldWriter.visitAttribute(Attribute) |
visitEnd() | 1 | org.springframework.asm.FieldWriter.visitEnd() |
getOffset() | 11 | org.springframework.asm.Label.getOffset() |
toString() | 10 | org.springframework.asm.Label.toString() |
visitAnnotationDefault() | 16 | org.springframework.asm.MethodWriter.visitAnnotationDefault() |
visitAnnotation(String,boolean) | 42 | org.springframework.asm.MethodWriter.visitAnnotation(String,boolean) |
visitParameterAnnotation(int,String,boolean) | 68 | org.springframework.asm.MethodWriter.visitParameterAnnotation(int ,String,boolean) |
visitAttribute(Attribute) | 19 | org.springframework.asm.MethodWriter.visitAttribute(Attribute) |
visitCode() | 1 | org.springframework.asm.MethodWriter.visitCode() |
visitInsn(int) | 46 | org.springframework.asm.MethodWriter.visitInsn(int) |
visitIntInsn(int,int) | 38 | org.springframework.asm.MethodWriter.visitIntInsn(int,int) |
visitVarInsn(int,int) | 118 | org.springframework.asm.MethodWriter.visitVarInsn(int,int) |
visitTypeInsn(int,String) | 31 | org.springframework.asm.MethodWriter.visitTypeInsn(int,String) |
visitFieldInsn(int,String,String,String) | 86 | org.springframework.asm.MethodWriter.visitFieldInsn(int,String,String ,String) |
visitMethodInsn(int,String,String,String) | 101 | org.springframework.asm.MethodWriter.visitMethodInsn(int,String,String ,String) |
visitJumpInsn(int,Label) | 139 | org.springframework.asm.MethodWriter.visitJumpInsn(int,Label) |
visitLabel(Label) | 40 | org.springframework.asm.MethodWriter.visitLabel(Label) |
visitLdcInsn(Object) | 72 | org.springframework.asm.MethodWriter.visitLdcInsn(Object) |
visitIincInsn(int,int) | 43 | org.springframework.asm.MethodWriter.visitIincInsn(int,int) |
visitTableSwitchInsn(int,int,Label,Label[]) | 93 | org.springframework.asm.MethodWriter.visitTableSwitchInsn(int,int ,Label,Label[]) |
visitLookupSwitchInsn(Label,int[],Label[]) | 99 | org.springframework.asm.MethodWriter.visitLookupSwitchInsn(Label,int[] ,Label[]) |
visitMultiANewArrayInsn(String,int) | 23 | org.springframework.asm.MethodWriter.visitMultiANewArrayInsn(String ,int) |
visitTryCatchBlock(Label,Label,Label,String) | 66 | org.springframework.asm.MethodWriter.visitTryCatchBlock(Label,Label ,Label,String) |
visitLocalVariable(String,String,String,Label,Label,int) | 105 | org.springframework.asm.MethodWriter.visitLocalVariable(String,String ,String,Label,Label,int) |
visitLineNumber(int,Label) | 26 | org.springframework.asm.MethodWriter.visitLineNumber(int,Label) |
visitMaxs(int,int) | 69 | org.springframework.asm.MethodWriter.visitMaxs(int,int) |
visitEnd() | 1 | org.springframework.asm.MethodWriter.visitEnd() |
c(byte[],int) | 16 | org.springframework.asm.MethodWriter.c(byte[],int) |
b(byte[],int) | 17 | org.springframework.asm.MethodWriter.b(byte[],int) |
a(int[],int[],int,int) | 47 | org.springframework.asm.MethodWriter.a(int[],int[],int,int) |
a(byte[],int) | 36 | org.springframework.asm.MethodWriter.a(byte[],int) |
a(int[],int[],Label) | 15 | org.springframework.asm.MethodWriter.a(int[],int[],Label) |
a(byte[],int,int) | 15 | org.springframework.asm.MethodWriter.a(byte[],int,int) |
MethodWriter() | 24 | org.springframework.asm.MethodWriter.MethodWriter() |
getType(Class) | 49 | org.springframework.asm.Type.getType(Class) |
getDescriptor(Class) | 10 | org.springframework.asm.Type.getDescriptor(Class) |
getArgumentTypes(Method) | 24 | org.springframework.asm.Type.getArgumentTypes(Method) |
getReturnType(Method) | 4 | org.springframework.asm.Type.getReturnType(Method) |
getDimensions() | 15 | org.springframework.asm.Type.getDimensions() |
getElementType() | 9 | org.springframework.asm.Type.getElementType() |
getInternalName(Class) | 6 | org.springframework.asm.Type.getInternalName(Class) |
getMethodDescriptor(Method) | 35 | org.springframework.asm.Type.getMethodDescriptor(Method) |
hashCode() | 37 | org.springframework.asm.Type.hashCode() |
toString() | 3 | org.springframework.asm.Type.toString() |
Type() | 46 | org.springframework.asm.Type.Type() |
SignatureReader(String) | 6 | org.springframework.asm.signature.SignatureReader.SignatureReader (String) |
accept(SignatureVisitor) | 128 | org.springframework.asm.signature.SignatureReader.accept (SignatureVisitor) |
acceptType(SignatureVisitor) | 7 | org.springframework.asm.signature.SignatureReader.acceptType (SignatureVisitor) |
SignatureWriter() | 8 | org.springframework.asm.signature.SignatureWriter.SignatureWriter() |
visitFormalTypeParameter(String) | 22 | org.springframework.asm.signature.SignatureWriter .visitFormalTypeParameter(String) |
visitClassBound() | 2 | org.springframework.asm.signature.SignatureWriter.visitClassBound() |
visitInterfaceBound() | 7 | org.springframework.asm.signature.SignatureWriter.visitInterfaceBound( ) |
visitSuperclass() | 4 | org.springframework.asm.signature.SignatureWriter.visitSuperclass() |
visitInterface() | 2 | org.springframework.asm.signature.SignatureWriter.visitInterface() |
visitParameterType() | 15 | org.springframework.asm.signature.SignatureWriter.visitParameterType() |
visitReturnType() | 17 | org.springframework.asm.signature.SignatureWriter.visitReturnType() |
visitExceptionType() | 7 | org.springframework.asm.signature.SignatureWriter.visitExceptionType() |
visitBaseType(char) | 6 | org.springframework.asm.signature.SignatureWriter.visitBaseType(char) |
Statistics
Stat | # ByteCode instructions |
---|---|
Sum: | 131 816 |
Average: | 16.228 |
Minimum: | 0 |
Maximum: | 2 174 |
Standard deviation: | 37.011 |
Variance: | 1 369 |
Fields Optimal Encapsulation |
|
|
![]() | Rule warning: Fields that could be declared as 'private' |
// <Name>Fields that could be declared as 'private' </Name>
WARN IF Count > 0 IN SELECT FIELDS WHERE
CouldBePrivate
WARN IF Count > 0 IN SELECT FIELDS WHERE
CouldBePrivate
475 fields matched
The following list of fields is truncated and contains only the first 100 fields of the 475 fields matched. All matched fields could be listed in the report by unchecking the option:
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched fields.
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched fields.
fields | Size of instance | Full Name |
---|---|---|
fields | Size of instance | Full Name |
h | 4 | org.springframework.asm.AnnotationWriter.h |
b | 4 | org.springframework.asm.Attribute.b |
header | 4 | org.springframework.asm.ClassReader.header |
g | 4 | org.springframework.asm.ClassWriter.g |
h | 4 | org.springframework.asm.ClassWriter.h |
i | 4 | org.springframework.asm.ClassWriter.i |
d | 4 | org.springframework.asm.Item.d |
e | 4 | org.springframework.asm.Item.e |
f | 4 | org.springframework.asm.Item.f |
g | 4 | org.springframework.asm.Item.g |
h | 4 | org.springframework.asm.Item.h |
i | 4 | org.springframework.asm.Item.i |
VOID | 0 | org.springframework.asm.Type.VOID |
BOOLEAN | 0 | org.springframework.asm.Type.BOOLEAN |
CHAR | 0 | org.springframework.asm.Type.CHAR |
BYTE | 0 | org.springframework.asm.Type.BYTE |
SHORT | 0 | org.springframework.asm.Type.SHORT |
INT | 0 | org.springframework.asm.Type.INT |
FLOAT | 0 | org.springframework.asm.Type.FLOAT |
LONG | 0 | org.springframework.asm.Type.LONG |
DOUBLE | 0 | org.springframework.asm.Type.DOUBLE |
ARRAY | 0 | org.springframework.asm.Type.ARRAY |
OBJECT | 0 | org.springframework.asm.Type.OBJECT |
BOOLEAN_TYPE | 0 | org.springframework.asm.Type.BOOLEAN_TYPE |
methodAccess | 4 | org.springframework.asm.commons.AdviceAdapter.methodAccess |
methodDesc | 4 | org.springframework.asm.commons.AdviceAdapter.methodDesc |
computeSVUID | 4 | org.springframework.asm.commons.SerialVersionUIDAdder.computeSVUID |
hasSVUID | 4 | org.springframework.asm.commons.SerialVersionUIDAdder.hasSVUID |
access | 4 | org.springframework.asm.commons.SerialVersionUIDAdder.access |
name | 4 | org.springframework.asm.commons.SerialVersionUIDAdder.name |
interfaces | 4 | org.springframework.asm.commons.SerialVersionUIDAdder.interfaces |
svuidFields | 4 | org.springframework.asm.commons.SerialVersionUIDAdder.svuidFields |
hasStaticInitializer | 4 | org.springframework.asm.commons.SerialVersionUIDAdder .hasStaticInitializer |
svuidConstructors | 4 | org.springframework.asm.commons.SerialVersionUIDAdder .svuidConstructors |
svuidMethods | 4 | org.springframework.asm.commons.SerialVersionUIDAdder.svuidMethods |
JAVA_13 | 0 | org.springframework.core.JdkVersion.JAVA_13 |
JAVA_14 | 0 | org.springframework.core.JdkVersion.JAVA_14 |
JAVA_15 | 0 | org.springframework.core.JdkVersion.JAVA_15 |
JAVA_16 | 0 | org.springframework.core.JdkVersion.JAVA_16 |
JAVA_17 | 0 | org.springframework.core.JdkVersion.JAVA_17 |
VALUE | 0 | org.springframework.core.annotation.AnnotationUtils.VALUE |
DEFAULT_SEPARATOR | 0 | org.springframework.core.io.support.LocalizedResourceHelper .DEFAULT_SEPARATOR |
UNBOUNDED_CONCURRENCY | 0 | org.springframework.core.task.SimpleAsyncTaskExecutor .UNBOUNDED_CONCURRENCY |
NO_CONCURRENCY | 0 | org.springframework.core.task.SimpleAsyncTaskExecutor.NO_CONCURRENCY |
DEFAULT_CACHE_LIMIT | 0 | org.springframework.core.type.classreading .CachingMetadataReaderFactory.DEFAULT_CACHE_LIMIT |
DEFAULT_PATH_SEPARATOR | 0 | org.springframework.util.AntPathMatcher.DEFAULT_PATH_SEPARATOR |
ARRAY_SUFFIX | 0 | org.springframework.util.ClassUtils.ARRAY_SUFFIX |
CGLIB_CLASS_SEPARATOR | 0 | org.springframework.util.ClassUtils.CGLIB_CLASS_SEPARATOR |
CLASS_FILE_SUFFIX | 0 | org.springframework.util.ClassUtils.CLASS_FILE_SUFFIX |
BUFFER_SIZE | 0 | org.springframework.util.FileCopyUtils.BUFFER_SIZE |
CLASSPATH_URL_PREFIX | 0 | org.springframework.util.Log4jConfigurer.CLASSPATH_URL_PREFIX |
XML_FILE_EXTENSION | 0 | org.springframework.util.Log4jConfigurer.XML_FILE_EXTENSION |
COPYABLE_FIELDS | 0 | org.springframework.util.ReflectionUtils.COPYABLE_FIELDS |
NON_BRIDGED_METHODS | 0 | org.springframework.util.ReflectionUtils.NON_BRIDGED_METHODS |
CLASSPATH_URL_PREFIX | 0 | org.springframework.util.ResourceUtils.CLASSPATH_URL_PREFIX |
FILE_URL_PREFIX | 0 | org.springframework.util.ResourceUtils.FILE_URL_PREFIX |
URL_PROTOCOL_FILE | 0 | org.springframework.util.ResourceUtils.URL_PROTOCOL_FILE |
URL_PROTOCOL_JAR | 0 | org.springframework.util.ResourceUtils.URL_PROTOCOL_JAR |
URL_PROTOCOL_ZIP | 0 | org.springframework.util.ResourceUtils.URL_PROTOCOL_ZIP |
URL_PROTOCOL_VFSZIP | 0 | org.springframework.util.ResourceUtils.URL_PROTOCOL_VFSZIP |
URL_PROTOCOL_VFS | 0 | org.springframework.util.ResourceUtils.URL_PROTOCOL_VFS |
URL_PROTOCOL_WSJAR | 0 | org.springframework.util.ResourceUtils.URL_PROTOCOL_WSJAR |
URL_PROTOCOL_CODE_SOURCE | 0 | org.springframework.util.ResourceUtils.URL_PROTOCOL_CODE_SOURCE |
JAR_URL_SEPARATOR | 0 | org.springframework.util.ResourceUtils.JAR_URL_SEPARATOR |
PLACEHOLDER_PREFIX | 0 | org.springframework.util.SystemPropertyUtils.PLACEHOLDER_PREFIX |
PLACEHOLDER_SUFFIX | 0 | org.springframework.util.SystemPropertyUtils.PLACEHOLDER_SUFFIX |
VALUE_SEPARATOR | 0 | org.springframework.util.SystemPropertyUtils.VALUE_SEPARATOR |
TRUE_LOW | 0 | org.springframework.util.comparator.BooleanComparator.TRUE_LOW |
TRUE_HIGH | 0 | org.springframework.util.comparator.BooleanComparator.TRUE_HIGH |
NULLS_LOW | 0 | org.springframework.util.comparator.NullSafeComparator.NULLS_LOW |
NULLS_HIGH | 0 | org.springframework.util.comparator.NullSafeComparator.NULLS_HIGH |
DEFAULT_INDENT_AMOUNT | 0 | org.springframework.util.xml.TransformerUtils.DEFAULT_INDENT_AMOUNT |
VALIDATION_NONE | 0 | org.springframework.util.xml.XmlValidationModeDetector.VALIDATION_NONE |
VALIDATION_AUTO | 0 | org.springframework.util.xml.XmlValidationModeDetector.VALIDATION_AUTO |
VALIDATION_DTD | 0 | org.springframework.util.xml.XmlValidationModeDetector.VALIDATION_DTD |
VALIDATION_XSD | 0 | org.springframework.util.xml.XmlValidationModeDetector.VALIDATION_XSD |
acceptedClassLoaders | 0 | org.springframework.beans.CachedIntrospectionResults .acceptedClassLoaders |
classCache | 0 | org.springframework.beans.CachedIntrospectionResults.classCache |
ERROR_CODE | 0 | org.springframework.beans.MethodInvocationException.ERROR_CODE |
DEFAULT_MAX_DISTANCE | 0 | org.springframework.beans.PropertyMatches.DEFAULT_MAX_DISTANCE |
VALUE_TRUE | 0 | org.springframework.beans.propertyeditors.CustomBooleanEditor .VALUE_TRUE |
VALUE_FALSE | 0 | org.springframework.beans.propertyeditors.CustomBooleanEditor .VALUE_FALSE |
VALUE_ON | 0 | org.springframework.beans.propertyeditors.CustomBooleanEditor.VALUE_ON |
VALUE_OFF | 0 | org.springframework.beans.propertyeditors.CustomBooleanEditor .VALUE_OFF |
VALUE_YES | 0 | org.springframework.beans.propertyeditors.CustomBooleanEditor .VALUE_YES |
VALUE_NO | 0 | org.springframework.beans.propertyeditors.CustomBooleanEditor.VALUE_NO |
VALUE_1 | 0 | org.springframework.beans.propertyeditors.CustomBooleanEditor.VALUE_1 |
VALUE_0 | 0 | org.springframework.beans.propertyeditors.CustomBooleanEditor.VALUE_0 |
BASE_NAME_SEPARATOR | 0 | org.springframework.beans.propertyeditors.ResourceBundleEditor .BASE_NAME_SEPARATOR |
DEFAULT_SEPARATOR | 0 | org.springframework.beans.propertyeditors.StringArrayPropertyEditor .DEFAULT_SEPARATOR |
DEFAULT_PAGE_SIZE | 0 | org.springframework.beans.support.PagedListHolder.DEFAULT_PAGE_SIZE |
DEFAULT_MAX_LINKED_PAGES | 0 | org.springframework.beans.support.PagedListHolder .DEFAULT_MAX_LINKED_PAGES |
logger | 4 | org.springframework.beans.support.PropertyComparator.logger |
GENERATED_BEAN_NAME_SEPARATOR | 0 | org.springframework.beans.factory.BeanFactoryUtils .GENERATED_BEAN_NAME_SEPARATOR |
logger | 4 | org.springframework.beans.factory.annotation .AutowiredAnnotationBeanPostProcessor.logger |
logger | 4 | org.springframework.beans.factory.config.CustomEditorConfigurer.logger |
logger | 4 | org.springframework.beans.factory.config.DeprecatedBeanWarner.logger |
DEFAULT_BEAN_NAME_SEPARATOR | 0 | org.springframework.beans.factory.config.PropertyOverrideConfigurer .DEFAULT_BEAN_NAME_SEPARATOR |
GENERATED_BEAN_NAME_SEPARATOR | 0 | org.springframework.beans.factory.support.BeanDefinitionReaderUtils .GENERATED_BEAN_NAME_SEPARATOR |
TRUE_VALUE | 0 | org.springframework.beans.factory.support .PropertiesBeanDefinitionReader.TRUE_VALUE |
Statistics
Stat | Size of instance |
---|---|
Sum: | 400 |
Average: | 0.84211 |
Minimum: | 0 |
Maximum: | 4 |
Standard deviation: | 1.6307 |
Variance: | 2.6593 |
Purity - Immutability - Side-Effects |
|
|
![]() | Rule warning: Fields should be marked as ReadOnly when possible |
// <Name>Fields should be marked as ReadOnly when possible</Name>
WARN IF Count > 0 IN SELECT FIELDS WHERE
IsImmutable AND
!IsInitOnly AND
!IsGeneratedByCompiler
// A field that matches the condition IsImmutable
// is a field that is assigned only by constructors
// of its class.
// For an instance field, this means its value
// will remain constant throught the lifetime
// of the object.
// For a static field, this means its value will
// remain constant throught the lifetime of the
// program.
// In both cases, such field can safely be marked
// with the final keyword
//
// The condition IsInitOnly matches fields that
// are marked with the final keyword
WARN IF Count > 0 IN SELECT FIELDS WHERE
IsImmutable AND
!IsInitOnly AND
!IsGeneratedByCompiler
// A field that matches the condition IsImmutable
// is a field that is assigned only by constructors
// of its class.
// For an instance field, this means its value
// will remain constant throught the lifetime
// of the object.
// For a static field, this means its value will
// remain constant throught the lifetime of the
// program.
// In both cases, such field can safely be marked
// with the final keyword
//
// The condition IsInitOnly matches fields that
// are marked with the final keyword
305 fields matched
The following list of fields is truncated and contains only the first 100 fields of the 305 fields matched. All matched fields could be listed in the report by unchecking the option:
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched fields.
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched fields.
fields | Size of instance | Full Name |
---|---|---|
fields | Size of instance | Full Name |
a | 4 | org.springframework.asm.ClassReader.a |
c | 4 | org.springframework.asm.ClassReader.c |
d | 4 | org.springframework.asm.ClassReader.d |
C | 4 | org.springframework.asm.ClassWriter.C |
b | 4 | org.springframework.asm.FieldWriter.b |
c | 4 | org.springframework.asm.FieldWriter.c |
d | 4 | org.springframework.asm.FieldWriter.d |
e | 4 | org.springframework.asm.FieldWriter.e |
f | 4 | org.springframework.asm.FieldWriter.f |
g | 4 | org.springframework.asm.FieldWriter.g |
c | 4 | org.springframework.asm.MethodWriter.c |
d | 4 | org.springframework.asm.MethodWriter.d |
e | 4 | org.springframework.asm.MethodWriter.e |
f | 4 | org.springframework.asm.MethodWriter.f |
b | 4 | org.springframework.asm.Type.b |
c | 4 | org.springframework.asm.Type.c |
d | 4 | org.springframework.asm.Type.d |
branches | 4 | org.springframework.asm.commons.AdviceAdapter.branches |
prefix | 4 | org.springframework.asm.commons.StaticInitMerger.prefix |
navigableSetClass | 0 | org.springframework.core.CollectionFactory.navigableSetClass |
navigableMapClass | 0 | org.springframework.core.CollectionFactory.navigableMapClass |
stack | 4 | org.springframework.core.ControlFlowFactory$Jdk14ControlFlow.stack |
parameterNames | 4 | org.springframework.core .LocalVariableTableParameterNameDiscoverer$LocalVariableTableVisitor .parameterNames |
logger | 0 | org.springframework.core.LocalVariableTableParameterNameDiscoverer .logger |
method | 4 | org.springframework.core.MethodParameter.method |
constructor | 4 | org.springframework.core.MethodParameter.constructor |
buffer | 4 | org.springframework.core.style.ToStringCreator.buffer |
styler | 4 | org.springframework.core.style.ToStringCreator.styler |
object | 4 | org.springframework.core.style.ToStringCreator.object |
type | 4 | org.springframework.core.convert.TypeDescriptor.type |
methodParameter | 4 | org.springframework.core.convert.TypeDescriptor.methodParameter |
field | 4 | org.springframework.core.convert.TypeDescriptor.field |
fieldNestingLevel | 4 | org.springframework.core.convert.TypeDescriptor.fieldNestingLevel |
value | 4 | org.springframework.core.convert.TypeDescriptor.value |
classLoader | 4 | org.springframework.core.io.ClassPathResource.classLoader |
clazz | 4 | org.springframework.core.io.ClassPathResource.clazz |
version | 0 | org.springframework.core.io.VfsUtils.version |
VFS_METHOD_GET_ROOT_URL | 0 | org.springframework.core.io.VfsUtils.VFS_METHOD_GET_ROOT_URL |
VFS_METHOD_GET_ROOT_URI | 0 | org.springframework.core.io.VfsUtils.VFS_METHOD_GET_ROOT_URI |
VIRTUAL_FILE_METHOD_EXISTS | 0 | org.springframework.core.io.VfsUtils.VIRTUAL_FILE_METHOD_EXISTS |
VIRTUAL_FILE_METHOD_GET_SIZE | 0 | org.springframework.core.io.VfsUtils.VIRTUAL_FILE_METHOD_GET_SIZE |
VIRTUAL_FILE_METHOD_GET_LAST_MODIFIED | 0 | org.springframework.core.io.VfsUtils .VIRTUAL_FILE_METHOD_GET_LAST_MODIFIED |
VIRTUAL_FILE_METHOD_GET_CHILD | 0 | org.springframework.core.io.VfsUtils.VIRTUAL_FILE_METHOD_GET_CHILD |
VIRTUAL_FILE_METHOD_GET_INPUT_STREAM | 0 | org.springframework.core.io.VfsUtils .VIRTUAL_FILE_METHOD_GET_INPUT_STREAM |
VIRTUAL_FILE_METHOD_TO_URL | 0 | org.springframework.core.io.VfsUtils.VIRTUAL_FILE_METHOD_TO_URL |
VIRTUAL_FILE_METHOD_TO_URI | 0 | org.springframework.core.io.VfsUtils.VIRTUAL_FILE_METHOD_TO_URI |
VIRTUAL_FILE_METHOD_GET_NAME | 0 | org.springframework.core.io.VfsUtils.VIRTUAL_FILE_METHOD_GET_NAME |
VIRTUAL_FILE_METHOD_GET_PATH_NAME | 0 | org.springframework.core.io.VfsUtils.VIRTUAL_FILE_METHOD_GET_PATH_NAME |
VFS_UTILS_METHOD_IS_NESTED_FILE | 0 | org.springframework.core.io.VfsUtils.VFS_UTILS_METHOD_IS_NESTED_FILE |
VFS_UTILS_METHOD_GET_COMPATIBLE_URI | 0 | org.springframework.core.io.VfsUtils .VFS_UTILS_METHOD_GET_COMPATIBLE_URI |
VISITOR_ATTRIBUTES_FIELD_RECURSE | 0 | org.springframework.core.io.VfsUtils.VISITOR_ATTRIBUTES_FIELD_RECURSE |
GET_PHYSICAL_FILE | 0 | org.springframework.core.io.VfsUtils.GET_PHYSICAL_FILE |
equinoxResolveMethod | 0 | org.springframework.core.io.support .PathMatchingResourcePatternResolver.equinoxResolveMethod |
concurrentExecutor | 4 | org.springframework.core.task.support.TaskExecutorAdapter .concurrentExecutor |
declaringClassName | 4 | org.springframework.core.type.classreading .MethodMetadataReadingVisitor.declaringClassName |
str | 4 | org.springframework.util.AntPathStringMatcher.str |
NULL_VALUE | 0 | org.springframework.util.CachingMapDecorator.NULL_VALUE |
enumeration | 4 | org.springframework.util.CollectionUtils$EnumerationIterator .enumeration |
iterators | 4 | org.springframework.util.CompositeIterator.iterators |
namespaceContext | 4 | org.springframework.util.xml.AbstractStaxContentHandler .namespaceContext |
location | 4 | org.springframework.util.xml.AbstractStaxXMLReader$StaxLocator .location |
prefixToNamespaceUri | 4 | org.springframework.util.xml.SimpleNamespaceContext .prefixToNamespaceUri |
namespaceUriToPrefixes | 4 | org.springframework.util.xml.SimpleNamespaceContext .namespaceUriToPrefixes |
eventWriter | 4 | org.springframework.util.xml.StaxResult.eventWriter |
streamWriter | 4 | org.springframework.util.xml.StaxResult.streamWriter |
eventReader | 4 | org.springframework.util.xml.StaxSource.eventReader |
streamReader | 4 | org.springframework.util.xml.StaxSource.streamReader |
jaxp14Available | 0 | org.springframework.util.xml.StaxUtils.jaxp14Available |
endElements | 4 | org.springframework.util.xml.XMLEventStreamWriter.endElements |
beanClass | 4 | org.springframework.beans.BeanInstantiationException.beanClass |
beanClass | 4 | org.springframework.beans.InvalidPropertyException.beanClass |
propertyName | 4 | org.springframework.beans.InvalidPropertyException.propertyName |
possibleMatches | 4 | org.springframework.beans.NotWritablePropertyException.possibleMatches |
propertyChangeEvent | 4 | org.springframework.beans.PropertyAccessException.propertyChangeEvent |
propertyAccessExceptions | 4 | org.springframework.beans.PropertyBatchUpdateException .propertyAccessExceptions |
possibleMatches | 4 | org.springframework.beans.PropertyMatches.possibleMatches |
source | 4 | org.springframework.beans.PropertyValue.source |
value | 4 | org.springframework.beans.TypeMismatchException.value |
requiredType | 4 | org.springframework.beans.TypeMismatchException.requiredType |
beanName | 4 | org.springframework.beans.factory.BeanCreationException.beanName |
resourceDescription | 4 | org.springframework.beans.factory.BeanCreationException .resourceDescription |
resourceDescription | 4 | org.springframework.beans.factory.BeanDefinitionStoreException .resourceDescription |
beanName | 4 | org.springframework.beans.factory.BeanDefinitionStoreException .beanName |
beanName | 4 | org.springframework.beans.factory.BeanNotOfRequiredTypeException .beanName |
requiredType | 4 | org.springframework.beans.factory.BeanNotOfRequiredTypeException .requiredType |
actualType | 4 | org.springframework.beans.factory.BeanNotOfRequiredTypeException .actualType |
resourceDescription | 4 | org.springframework.beans.factory.CannotLoadBeanClassException .resourceDescription |
beanName | 4 | org.springframework.beans.factory.CannotLoadBeanClassException .beanName |
beanClassName | 4 | org.springframework.beans.factory.CannotLoadBeanClassException .beanClassName |
beanName | 4 | org.springframework.beans.factory.NoSuchBeanDefinitionException .beanName |
beanType | 4 | org.springframework.beans.factory.NoSuchBeanDefinitionException .beanType |
valueResolver | 4 | org.springframework.beans.factory.config.BeanDefinitionVisitor .valueResolver |
declaringClass | 4 | org.springframework.beans.factory.config.DependencyDescriptor .declaringClass |
methodName | 4 | org.springframework.beans.factory.config.DependencyDescriptor .methodName |
parameterTypes | 4 | org.springframework.beans.factory.config.DependencyDescriptor .parameterTypes |
parameterIndex | 4 | org.springframework.beans.factory.config.DependencyDescriptor .parameterIndex |
fieldName | 4 | org.springframework.beans.factory.config.DependencyDescriptor .fieldName |
beanNames | 4 | org.springframework.beans.factory.config.PropertyOverrideConfigurer .beanNames |
beanDefinitionName | 4 | org.springframework.beans.factory.parsing.BeanEntry.beanDefinitionName |
typeName | 4 | org.springframework.beans.factory.parsing.QualifierEntry.typeName |
Statistics
Stat | Size of instance |
---|---|
Sum: | 1 032 |
Average: | 3.3836 |
Minimum: | 0 |
Maximum: | 4 |
Standard deviation: | 1.4442 |
Variance: | 2.0856 |
Naming Conventions |
|
|
![]() | Rule warning: Type name should begin with an Upper character |
// <Name>Type name should begin with an Upper character</Name>
WARN IF Count > 0 IN SELECT TOP 10 TYPES WHERE
!NameLike "^[A-Z][a-zA-Z0-9]" AND
!IsNested AND
!IsInTierJar
// See SUN Naming Conventions : http://www.oracle.com/technetwork/java/codeconventions-135099.html
// See also Checkstyle Naming Conventions : http://checkstyle.sourceforge.net/config_naming.html
WARN IF Count > 0 IN SELECT TOP 10 TYPES WHERE
!NameLike "^[A-Z][a-zA-Z0-9]" AND
!IsNested AND
!IsInTierJar
// See SUN Naming Conventions : http://www.oracle.com/technetwork/java/codeconventions-135099.html
// See also Checkstyle Naming Conventions : http://checkstyle.sourceforge.net/config_naming.html
10 types matched
types | # ByteCode instructions | Full Name |
---|---|---|
types | # ByteCode instructions | Full Name |
package-info | 0 | org.springframework.core.package-info |
package-info | 0 | org.springframework.core.annotation.package-info |
package-info | 0 | org.springframework.core.enums.package-info |
package-info | 0 | org.springframework.core.style.package-info |
package-info | 0 | org.springframework.core.convert.package-info |
package-info | 0 | org.springframework.core.convert.converter.package-info |
package-info | 0 | org.springframework.core.convert.support.package-info |
package-info | 0 | org.springframework.core.io.package-info |
package-info | 0 | org.springframework.core.io.support.package-info |
package-info | 0 | org.springframework.core.serializer.package-info |
Statistics
Stat | # ByteCode instructions |
---|---|
Sum: | 0 |
Average: | 0 |
Minimum: | 0 |
Maximum: | 0 |
Standard deviation: | 0 |
Variance: | 0 |
![]() | Rule warning: Methods name should begin with an Lower character |
// <Name>Methods name should begin with an Lower character</Name>
WARN IF Count > 0 IN SELECT TOP 10 METHODS WHERE
!NameLike "^[a-z]" AND
!(IsClassConstructor OR IsConstructor) AND !IsInTierJar
// See SUN Naming Conventions : http://www.oracle.com/technetwork/java/codeconventions-135099.html
// See also Checkstyle Naming Conventions : http://checkstyle.sourceforge.net/config_naming.html
WARN IF Count > 0 IN SELECT TOP 10 METHODS WHERE
!NameLike "^[a-z]" AND
!(IsClassConstructor OR IsConstructor) AND !IsInTierJar
// See SUN Naming Conventions : http://www.oracle.com/technetwork/java/codeconventions-135099.html
// See also Checkstyle Naming Conventions : http://checkstyle.sourceforge.net/config_naming.html
10 methods matched
methods | # ByteCode instructions | Full Name |
---|---|---|
methods | # ByteCode instructions | Full Name |
NamedInheritableThreadLocal(String) | 0 | org.springframework.core.NamedInheritableThreadLocal .NamedInheritableThreadLocal(String) |
NamedThreadLocal(String) | 0 | org.springframework.core.NamedThreadLocal.NamedThreadLocal(String) |
CachingMapDecorator(boolean) | 0 | org.springframework.util.CachingMapDecorator.CachingMapDecorator (boolean) |
LinkedCaseInsensitiveMap(int,Locale) | 0 | org.springframework.util.LinkedCaseInsensitiveMap .LinkedCaseInsensitiveMap(int,Locale) |
LinkedCaseInsensitiveMap(int) | 0 | org.springframework.util.LinkedCaseInsensitiveMap .LinkedCaseInsensitiveMap(int) |
LinkedMultiValueMap(int) | 0 | org.springframework.util.LinkedMultiValueMap.LinkedMultiValueMap(int) |
LinkedMultiValueMap() | 0 | org.springframework.util.LinkedMultiValueMap.LinkedMultiValueMap() |
LinkedMultiValueMap(Map) | 0 | org.springframework.util.LinkedMultiValueMap.LinkedMultiValueMap(Map) |
CompoundComparator(Comparator[]) | 0 | org.springframework.util.comparator.CompoundComparator .CompoundComparator(Comparator[]) |
InvertibleComparator(Comparator) | 0 | org.springframework.util.comparator.InvertibleComparator .InvertibleComparator(Comparator) |
Statistics
Stat | # ByteCode instructions |
---|---|
Sum: | 0 |
Average: | 0 |
Minimum: | 0 |
Maximum: | 0 |
Standard deviation: | 0 |
Variance: | 0 |
Name too long |
|
|
![]() | Rule warning: Avoid methods with name too long |
// <Name>Avoid methods with name too long</Name>
WARN IF Count > 0 IN SELECT TOP 10 METHODS
WHERE NameLike "^[^\<\(]{35,}.*$" AND
!IsInTierJar
// The regex matches methods with name longer than 35 characters.
// Method Name doesn't contain the type and package prefix, FullName does.
// The regex computes the method name length from the beginning until the first open parenthesis or first lower than (for generic methods).
// Explicit Interface Implementation methods are discarded because their names are prefixed with the interface name.
10 methods matched
methods | # ByteCode instructions | Full Name |
---|---|---|
methods | # ByteCode instructions | Full Name |
CollectionFactory$JdkConcurrentHashMap(int) | 4 | org.springframework.core.CollectionFactory$JdkConcurrentHashMap .CollectionFactory$JdkConcurrentHashMap(int) |
CollectionFactory$JdkConcurrentHashMap(int ,CollectionFactory$JdkConcurrentHashMap) | 4 | org.springframework.core.CollectionFactory$JdkConcurrentHashMap .CollectionFactory$JdkConcurrentHashMap(int ,CollectionFactory$JdkConcurrentHashMap) |
createLinkedCaseInsensitiveMapIfPossible(int) | 5 | org.springframework.core.CollectionFactory .createLinkedCaseInsensitiveMapIfPossible(int) |
ControlFlowFactory$Jdk14ControlFlow() | 9 | org.springframework.core.ControlFlowFactory$Jdk14ControlFlow .ControlFlowFactory$Jdk14ControlFlow() |
extractTypeVariablesFromGenericInterfaces(Type[],Map) | 45 | org.springframework.core.GenericTypeResolver .extractTypeVariablesFromGenericInterfaces(Type[],Map) |
populateTypeMapFromParameterizedType(ParameterizedType,Map) | 77 | org.springframework.core.GenericTypeResolver .populateTypeMapFromParameterizedType(ParameterizedType,Map) |
LocalVariableTableParameterNameDiscoverer$LocalVariableTableVisitor (Class,Map,String,String,boolean) | 33 | org.springframework.core .LocalVariableTableParameterNameDiscoverer$LocalVariableTableVisitor .LocalVariableTableParameterNameDiscoverer$LocalVariableTableVisitor (Class,Map,String,String,boolean) |
LocalVariableTableParameterNameDiscoverer$ParameterNameDiscoveringVisi tor(Class,Map) | 9 | org.springframework.core .LocalVariableTableParameterNameDiscoverer$ParameterNameDiscoveringVis itor .LocalVariableTableParameterNameDiscoverer$ParameterNameDiscoveringVis itor(Class,Map) |
LocalVariableTableParameterNameDiscoverer() | 6 | org.springframework.core.LocalVariableTableParameterNameDiscoverer .LocalVariableTableParameterNameDiscoverer() |
AbstractCachingLabeledEnumResolver$LabeledEnumCache (AbstractCachingLabeledEnumResolver) | 7 | org.springframework.core.enums .AbstractCachingLabeledEnumResolver$LabeledEnumCache .AbstractCachingLabeledEnumResolver$LabeledEnumCache (AbstractCachingLabeledEnumResolver) |
Statistics
Stat | # ByteCode instructions |
---|---|
Sum: | 199 |
Average: | 19.9 |
Minimum: | 4 |
Maximum: | 77 |
Standard deviation: | 23.21 |
Variance: | 538.69 |
![]() | Rule warning: Avoid types with name too long |
// <Name>Avoid types with name too long</Name>
WARN IF Count > 0 IN SELECT TOP 10 TYPES WHERE
NameLike "^[^\<]{35,}.*$" AND
!IsNested AND !IsInTierJar
// The regex matches types with name longer than 35 characters.
// Type Name doesn't contain the Package prefix, FullName does.
// The regex computes the type name length from the beginning until the end or the first lower than (for generic types).
// Nested types are discarded because their names are prefixed with outer type's name.
10 types matched
types | # ByteCode instructions | Full Name |
---|---|---|
types | # ByteCode instructions | Full Name |
CollectionFactory$JdkConcurrentHashMap | 8 | org.springframework.core.CollectionFactory$JdkConcurrentHashMap |
ControlFlowFactory$Jdk14ControlFlow | 132 | org.springframework.core.ControlFlowFactory$Jdk14ControlFlow |
LocalVariableTableParameterNameDiscoverer$LocalVariableTableVisitor | 180 | org.springframework.core .LocalVariableTableParameterNameDiscoverer$LocalVariableTableVisitor |
LocalVariableTableParameterNameDiscoverer$ParameterNameDiscoveringVisi tor | 50 | org.springframework.core .LocalVariableTableParameterNameDiscoverer$ParameterNameDiscoveringVis itor |
LocalVariableTableParameterNameDiscoverer | 148 | org.springframework.core.LocalVariableTableParameterNameDiscoverer |
AbstractCachingLabeledEnumResolver$LabeledEnumCache | 106 | org.springframework.core.enums .AbstractCachingLabeledEnumResolver$LabeledEnumCache |
CharacterToNumberFactory$CharacterToNumber<T> | 19 | org.springframework.core.convert.support .CharacterToNumberFactory$CharacterToNumber |
GenericConversionService$ConverterAdapter | 52 | org.springframework.core.convert.support .GenericConversionService$ConverterAdapter |
GenericConversionService$ConverterCacheKey | 64 | org.springframework.core.convert.support .GenericConversionService$ConverterCacheKey |
GenericConversionService$ConverterFactoryAdapter | 55 | org.springframework.core.convert.support .GenericConversionService$ConverterFactoryAdapter |
Statistics
Stat | # ByteCode instructions |
---|---|
Sum: | 814 |
Average: | 81.4 |
Minimum: | 8 |
Maximum: | 180 |
Standard deviation: | 54.272 |
Variance: | 2 945 |
![]() | Rule warning: Avoid fields with name too long |
// <Name>Avoid fields with name too long</Name>
WARN IF Count > 0 IN SELECT TOP 10 FIELDS WHERE
NameLike "^[^\<]{35,}.*$" AND
!IsInTierJar
// The regex matches fields with name longer than 35 characters.
// Field Name doesn't contain the type and Package prefix, FullName does.
10 fields matched
fields | Size of instance | Full Name |
---|---|---|
fields | Size of instance | Full Name |
VIRTUAL_FILE_METHOD_GET_LAST_MODIFIED | 0 | org.springframework.core.io.VfsUtils .VIRTUAL_FILE_METHOD_GET_LAST_MODIFIED |
VIRTUAL_FILE_METHOD_GET_INPUT_STREAM | 0 | org.springframework.core.io.VfsUtils .VIRTUAL_FILE_METHOD_GET_INPUT_STREAM |
VFS_UTILS_METHOD_GET_COMPATIBLE_URI | 0 | org.springframework.core.io.VfsUtils .VFS_UTILS_METHOD_GET_COMPATIBLE_URI |
hasInstantiationAwareBeanPostProcessors | 4 | org.springframework.beans.factory.support.AbstractBeanFactory .hasInstantiationAwareBeanPostProcessors |
hasDestructionAwareBeanPostProcessors | 4 | org.springframework.beans.factory.support.AbstractBeanFactory .hasDestructionAwareBeanPostProcessors |
constructorPropertiesAnnotationAvailable | 0 | org.springframework.beans.factory.support.ConstructorResolver .constructorPropertiesAnnotationAvailable |
DEPENDENCY_CHECK_ALL_ATTRIBUTE_VALUE | 0 | org.springframework.beans.factory.xml.BeanDefinitionParserDelegate .DEPENDENCY_CHECK_ALL_ATTRIBUTE_VALUE |
DEPENDENCY_CHECK_SIMPLE_ATTRIBUTE_VALUE | 0 | org.springframework.beans.factory.xml.BeanDefinitionParserDelegate .DEPENDENCY_CHECK_SIMPLE_ATTRIBUTE_VALUE |
DEPENDENCY_CHECK_OBJECTS_ATTRIBUTE_VALUE | 0 | org.springframework.beans.factory.xml.BeanDefinitionParserDelegate .DEPENDENCY_CHECK_OBJECTS_ATTRIBUTE_VALUE |
DEFAULT_AUTOWIRE_CANDIDATES_ATTRIBUTE | 0 | org.springframework.beans.factory.xml.BeanDefinitionParserDelegate .DEFAULT_AUTOWIRE_CANDIDATES_ATTRIBUTE |
Statistics
Stat | Size of instance |
---|---|
Sum: | 8 |
Average: | 0.8 |
Minimum: | 0 |
Maximum: | 4 |
Standard deviation: | 1.6 |
Variance: | 2.56 |
Code Diff
Code Diff section won't display any data because the Baseline for Comparison is not defined. To define a Baseline for Comparison use the interactive UI through the standalone executable VisualNDepend.exe go to: JavaDepend Project Properties Panel > Analysis > Baseline for Comparison > During Analysis |
|
API Breaking Changes: Types
// <Name>API Breaking Changes: Types</Name>
WARN IF Count > 0 IN SELECT TYPES
WHERE IsPublic AND (VisibilityWasChanged OR WasRemoved)
// This rule warns if a public type is not public anymore or if it has been removed.
// This can break the code of your clients.
// More information on breaking changes here:
// http://codebetter.com/blogs/patricksmacchia/archive/2008/01/20/avoid-api-breaking-changes.aspx
// To run this rule properly 2 analysis
// must be compared.
// This can be done throught the menu:
// JavaDepend -> Compare -> Define the project's Baseline for Comparison
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Analysis Comparison
WARN IF Count > 0 IN SELECT TYPES
WHERE IsPublic AND (VisibilityWasChanged OR WasRemoved)
// This rule warns if a public type is not public anymore or if it has been removed.
// This can break the code of your clients.
// More information on breaking changes here:
// http://codebetter.com/blogs/patricksmacchia/archive/2008/01/20/avoid-api-breaking-changes.aspx
// To run this rule properly 2 analysis
// must be compared.
// This can be done throught the menu:
// JavaDepend -> Compare -> Define the project's Baseline for Comparison
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Analysis Comparison
No types matched
Methods added
// <Name>Methods added</Name>
SELECT METHODS WHERE WasAdded
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// JavaDepend -> Compare -> Define the project's Baseline for Comparison
SELECT METHODS WHERE WasAdded
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// JavaDepend -> Compare -> Define the project's Baseline for Comparison
No methods matched
Methods where code was changed
// <Name>Methods where code was changed</Name>
SELECT METHODS WHERE CodeWasChanged
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// JavaDepend -> Compare -> Define the project's Baseline for Comparison
SELECT METHODS WHERE CodeWasChanged
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// JavaDepend -> Compare -> Define the project's Baseline for Comparison
No methods matched
Public Types added
// <Name>Public Types added</Name>
SELECT TYPES WHERE WasAdded AND IsPublic
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// JavaDepend -> Compare -> Define the project's Baseline for Comparison
SELECT TYPES WHERE WasAdded AND IsPublic
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// JavaDepend -> Compare -> Define the project's Baseline for Comparison
No types matched
Types added
// <Name>Types added</Name>
SELECT TYPES WHERE WasAdded
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// JavaDepend -> Compare -> Define the project's Baseline for Comparison
SELECT TYPES WHERE WasAdded
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// JavaDepend -> Compare -> Define the project's Baseline for Comparison
No types matched
Types where code was changed
// <Name>Types where code was changed</Name>
SELECT TYPES WHERE CodeWasChanged
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// JavaDepend -> Compare -> Define the project's Baseline for Comparison
SELECT TYPES WHERE CodeWasChanged
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// JavaDepend -> Compare -> Define the project's Baseline for Comparison
No types matched
Namespaces added
// <Name>Namespaces added</Name>
SELECT PACKAGES WHERE WasAdded
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// JavaDepend -> Compare -> Define the project's Baseline for Comparison
SELECT PACKAGES WHERE WasAdded
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// JavaDepend -> Compare -> Define the project's Baseline for Comparison
No namespaces matched
Namespaces where code was changed
// <Name>Namespaces where code was changed</Name>
SELECT PACKAGES WHERE CodeWasChanged
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// JavaDepend -> Compare -> Define the project's Baseline for Comparison
SELECT PACKAGES WHERE CodeWasChanged
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// JavaDepend -> Compare -> Define the project's Baseline for Comparison
No namespaces matched
Third party Types that were not used and that are now used
// <Name>Third party Types that were not used and that are now used</Name>
SELECT TYPES WHERE IsUsedRecently
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// JavaDepend -> Compare -> Define the project's Baseline for Comparison
SELECT TYPES WHERE IsUsedRecently
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// JavaDepend -> Compare -> Define the project's Baseline for Comparison
No types matched
Third party Methods that were not used and that are now used
// <Name>Third party Methods that were not used and that are now used</Name>
SELECT METHODS WHERE IsUsedRecently
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// JavaDepend -> Compare -> Define the project's Baseline for Comparison
SELECT METHODS WHERE IsUsedRecently
// To run this query properly 2 analysis
// must be compared.
// This can be done throught the menu:
// JavaDepend -> Compare -> Define the project's Baseline for Comparison
No methods matched
Code Coverage
Code Coverage section won't display any data because no Code Coverage file to import is defined. To define Code Coverage files from the tool cobertura, read the online documentation Coverage Data FAQ. To set Code Coverage files from which, JavaDepend imports Code Coverage data at analysis time, use the interactive UI through the standalone executable VisualNDepend.exe,go to: JavaDepend Project Properties Panel > Analysis > Code Coverage |
Complex methods should be 100% covered by tests
// <Name>Complex methods should be 100% covered by tests</Name>
WARN IF Count > 0 IN SELECT METHODS
/*OUT OF "YourGeneratedCode" */
WHERE
// These metrics' definitions are available here:
// http://www.JavaDepend.com/Metrics.aspx#MetricsOnMethods
( NbLinesOfCode > 30 OR
BCCyclomaticComplexity > 50 OR
BCNestingDepth > 4 OR
NbParameters > 5 OR
NbVariables > 8 OR
NbOverloads > 6 ) AND
// Take care only of complex methods
// already covered a bit, but not completely covered.
PercentageCoverage > 0 AND
PercentageCoverage < 100
ORDER BY NbLinesOfCode DESC,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this rule properly coverage data must be
// gathered from Cobertura Coverage.
// This can be done throught the menu:
// JavaDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.JavaDepend.com/Coverage.aspx
WARN IF Count > 0 IN SELECT METHODS
/*OUT OF "YourGeneratedCode" */
WHERE
// These metrics' definitions are available here:
// http://www.JavaDepend.com/Metrics.aspx#MetricsOnMethods
( NbLinesOfCode > 30 OR
BCCyclomaticComplexity > 50 OR
BCNestingDepth > 4 OR
NbParameters > 5 OR
NbVariables > 8 OR
NbOverloads > 6 ) AND
// Take care only of complex methods
// already covered a bit, but not completely covered.
PercentageCoverage > 0 AND
PercentageCoverage < 100
ORDER BY NbLinesOfCode DESC,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this rule properly coverage data must be
// gathered from Cobertura Coverage.
// This can be done throught the menu:
// JavaDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.JavaDepend.com/Coverage.aspx
No methods matched
Method changed poorly covered
// <Name>Method changed poorly covered</Name>
SELECT METHODS WHERE
PercentageCoverage < 30 AND
CodeWasChanged
ORDER BY NbLinesOfCode DESC,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this query properly 2 analysis must be compared.
// This can be done throught the menu:
// JavaDepend -> Compare -> Define the project's Baseline for Comparison
// To run this query properly coverage data must be
// gathered from Cobertura Coverage.
// This can be done throught the menu:
// JavaDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.JavaDepend.com/Coverage.aspx
SELECT METHODS WHERE
PercentageCoverage < 30 AND
CodeWasChanged
ORDER BY NbLinesOfCode DESC,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this query properly 2 analysis must be compared.
// This can be done throught the menu:
// JavaDepend -> Compare -> Define the project's Baseline for Comparison
// To run this query properly coverage data must be
// gathered from Cobertura Coverage.
// This can be done throught the menu:
// JavaDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.JavaDepend.com/Coverage.aspx
No methods matched
Method added poorly covered
// <Name>Method added poorly covered</Name>
SELECT METHODS WHERE
PercentageCoverage < 30 AND
WasAdded
ORDER BY NbLinesOfCode DESC,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this query properly 2 analysis must be compared.
// This can be done throught the menu:
// JavaDepend -> Compare -> Define the project's Baseline for Comparison
// To run this query properly coverage data must be
// gathered from Cobertura Coverage.
// This can be done throught the menu:
// JavaDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.JavaDepend.com/Coverage.aspx
SELECT METHODS WHERE
PercentageCoverage < 30 AND
WasAdded
ORDER BY NbLinesOfCode DESC,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this query properly 2 analysis must be compared.
// This can be done throught the menu:
// JavaDepend -> Compare -> Define the project's Baseline for Comparison
// To run this query properly coverage data must be
// gathered from Cobertura Coverage.
// This can be done throught the menu:
// JavaDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.JavaDepend.com/Coverage.aspx
No methods matched
Types 95% to 99% covered
// <Name>Types 95% to 99% covered</Name>
SELECT TYPES WHERE
PercentageCoverage >= 95 AND
PercentageCoverage <= 99
ORDER BY NbLinesOfCode DESC ,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this query properly coverage data must be
// gathered from Cobertura Coverage.
// This can be done throught the menu:
// JavaDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.JavaDepend.com/Coverage.asp
SELECT TYPES WHERE
PercentageCoverage >= 95 AND
PercentageCoverage <= 99
ORDER BY NbLinesOfCode DESC ,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this query properly coverage data must be
// gathered from Cobertura Coverage.
// This can be done throught the menu:
// JavaDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.JavaDepend.com/Coverage.asp
No types matched
Namespaces 95% to 99% covered
// <Name>Namespaces 95% to 99% covered</Name>
SELECT PACKAGES WHERE
PercentageCoverage >= 95 AND
PercentageCoverage <= 99
ORDER BY NbLinesOfCode DESC ,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this query properly coverage data must be
// gathered from Cobertura Coverage.
// This can be done throught the menu:
// JavaDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.JavaDepend.com/Coverage.aspx
SELECT PACKAGES WHERE
PercentageCoverage >= 95 AND
PercentageCoverage <= 99
ORDER BY NbLinesOfCode DESC ,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this query properly coverage data must be
// gathered from Cobertura Coverage.
// This can be done throught the menu:
// JavaDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.JavaDepend.com/Coverage.aspx
No namespaces matched
Types not covered
// <Name>Types not covered</Name>
SELECT TYPES WHERE
PercentageCoverage == 0
ORDER BY NbLinesOfCode DESC ,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this query properly coverage data must be
// gathered from Cobertura Coverage.
// This can be done throught the menu:
// JavaDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.JavaDepend.com/Coverage.aspx
SELECT TYPES WHERE
PercentageCoverage == 0
ORDER BY NbLinesOfCode DESC ,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this query properly coverage data must be
// gathered from Cobertura Coverage.
// This can be done throught the menu:
// JavaDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.JavaDepend.com/Coverage.aspx
No types matched
Namespaces not covered
// <Name>Namespaces not covered</Name>
SELECT PACKAGES WHERE
PercentageCoverage == 0
ORDER BY NbLinesOfCode DESC ,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this query properly coverage data must be
// gathered from Cobertura Coverage.
// This can be done throught the menu:
// JavaDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.JavaDepend.com/Coverage.aspx
SELECT PACKAGES WHERE
PercentageCoverage == 0
ORDER BY NbLinesOfCode DESC ,
NbLinesOfCodeNotCovered ,
PercentageCoverage
// To run this query properly coverage data must be
// gathered from Cobertura Coverage.
// This can be done throught the menu:
// JavaDepend -> Coverage -> Import Coverage Files
// This can be done at analysis time throught the menu:
// Project Properties -> Analysis -> Code Coverage
// More information on how to import coverage data here:
// http://www.JavaDepend.com/Coverage.aspx
No namespaces matched
Dead Code
|
Potentially unused types
// <Name>Potentially unused types</Name>
WARN IF Count > 0 IN SELECT TYPES WHERE
TypeCa == 0 AND // Ca=0 -> No Afferent Coupling ->
// The type is not used in the
// context of this application.
// Type Afferent Coupling metric definition
// http://www.JavaDepend.com/Metrics.aspx#TypeCa
!IsPublic AND // Public and Protected types
!IsProtected // might be used by client
// applications of your packages.
// Caution: Types used only by reflection might be matched.
WARN IF Count > 0 IN SELECT TYPES WHERE
TypeCa == 0 AND // Ca=0 -> No Afferent Coupling ->
// The type is not used in the
// context of this application.
// Type Afferent Coupling metric definition
// http://www.JavaDepend.com/Metrics.aspx#TypeCa
!IsPublic AND // Public and Protected types
!IsProtected // might be used by client
// applications of your packages.
// Caution: Types used only by reflection might be matched.
221 types matched
The following list of types is truncated and contains only the first 100 types of the 221 types matched. All matched types could be listed in the report by unchecking the option:
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched types.
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched types.
types | Afferent coupling (TypeCa) | Full Name |
---|---|---|
types | Afferent coupling (TypeCa) | Full Name |
package-info | 0 | org.springframework.core.package-info |
package-info | 0 | org.springframework.core.annotation.package-info |
package-info | 0 | org.springframework.core.enums.package-info |
package-info | 0 | org.springframework.core.style.package-info |
package-info | 0 | org.springframework.core.convert.package-info |
package-info | 0 | org.springframework.core.convert.converter.package-info |
package-info | 0 | org.springframework.core.convert.support.package-info |
package-info | 0 | org.springframework.core.io.package-info |
package-info | 0 | org.springframework.core.io.support.package-info |
package-info | 0 | org.springframework.core.serializer.package-info |
package-info | 0 | org.springframework.core.serializer.support.package-info |
package-info | 0 | org.springframework.core.task.package-info |
package-info | 0 | org.springframework.core.task.support.package-info |
package-info | 0 | org.springframework.core.type.package-info |
package-info | 0 | org.springframework.core.type.classreading.package-info |
package-info | 0 | org.springframework.core.type.filter.package-info |
package-info | 0 | org.springframework.util.package-info |
package-info | 0 | org.springframework.util.comparator.package-info |
package-info | 0 | org.springframework.util.xml.package-info |
package-info | 0 | org.springframework.beans.package-info |
package-info | 0 | org.springframework.beans.annotation.package-info |
package-info | 0 | org.springframework.beans.propertyeditors.package-info |
package-info | 0 | org.springframework.beans.support.package-info |
package-info | 0 | org.springframework.beans.factory.package-info |
package-info | 0 | org.springframework.beans.factory.annotation.package-info |
package-info | 0 | org.springframework.beans.factory.config.package-info |
package-info | 0 | org.springframework.beans.factory.parsing.package-info |
package-info | 0 | org.springframework.beans.factory.serviceloader.package-info |
package-info | 0 | org.springframework.beans.factory.support.package-info |
package-info | 0 | org.springframework.beans.factory.wiring.package-info |
package-info | 0 | org.springframework.beans.factory.xml.package-info |
package-info | 0 | org.springframework.beans.factory.access.package-info |
package-info | 0 | org.springframework.beans.factory.access.el.package-info |
package-info | 0 | org.springframework.aop.package-info |
package-info | 0 | org.springframework.aop.config.package-info |
package-info | 0 | org.springframework.aop.interceptor.package-info |
package-info | 0 | org.springframework.aop.scope.package-info |
package-info | 0 | org.springframework.aop.aspectj.package-info |
package-info | 0 | org.springframework.aop.aspectj.annotation.package-info |
package-info | 0 | org.springframework.aop.aspectj.autoproxy.package-info |
package-info | 0 | org.springframework.aop.framework.package-info |
package-info | 0 | org.springframework.aop.framework.adapter.package-info |
package-info | 0 | org.springframework.aop.framework.autoproxy.package-info |
package-info | 0 | org.springframework.aop.support.package-info |
package-info | 0 | org.springframework.aop.support.annotation.package-info |
package-info | 0 | org.springframework.stereotype.package-info |
package-info | 0 | org.springframework.context.package-info |
package-info | 0 | org.springframework.context.access.package-info |
package-info | 0 | org.springframework.context.annotation.package-info |
package-info | 0 | org.springframework.context.config.package-info |
package-info | 0 | org.springframework.context.event.package-info |
package-info | 0 | org.springframework.context.expression.package-info |
package-info | 0 | org.springframework.context.i18n.package-info |
SimpleThreadScope$1 | 0 | org.springframework.context.support.SimpleThreadScope$1 |
package-info | 0 | org.springframework.context.support.package-info |
package-info | 0 | org.springframework.context.weaving.package-info |
package-info | 0 | org.springframework.ejb.access.package-info |
package-info | 0 | org.springframework.ejb.config.package-info |
package-info | 0 | org.springframework.ejb.interceptor.package-info |
package-info | 0 | org.springframework.ejb.support.package-info |
package-info | 0 | org.springframework.format.package-info |
package-info | 0 | org.springframework.format.annotation.package-info |
package-info | 0 | org.springframework.format.number.package-info |
package-info | 0 | org.springframework.format.support.package-info |
package-info | 0 | org.springframework.format.datetime.package-info |
package-info | 0 | org.springframework.format.datetime.joda.package-info |
package-info | 0 | org.springframework.instrument.classloading.package-info |
package-info | 0 | org.springframework.instrument.classloading.glassfish.package-info |
package-info | 0 | org.springframework.instrument.classloading.jboss.package-info |
package-info | 0 | org.springframework.instrument.classloading.oc4j.package-info |
package-info | 0 | org.springframework.instrument.classloading.weblogic.package-info |
package-info | 0 | org.springframework.jmx.package-info |
package-info | 0 | org.springframework.jmx.access.package-info |
package-info | 0 | org.springframework.jmx.support.package-info |
package-info | 0 | org.springframework.jmx.export.package-info |
package-info | 0 | org.springframework.jmx.export.annotation.package-info |
package-info | 0 | org.springframework.jmx.export.assembler.package-info |
package-info | 0 | org.springframework.jmx.export.metadata.package-info |
package-info | 0 | org.springframework.jmx.export.naming.package-info |
package-info | 0 | org.springframework.jmx.export.notification.package-info |
package-info | 0 | org.springframework.jndi.package-info |
package-info | 0 | org.springframework.jndi.support.package-info |
package-info | 0 | org.springframework.remoting.package-info |
package-info | 0 | org.springframework.remoting.rmi.package-info |
package-info | 0 | org.springframework.remoting.soap.package-info |
package-info | 0 | org.springframework.remoting.support.package-info |
package-info | 0 | org.springframework.scheduling.package-info |
package-info | 0 | org.springframework.scheduling.annotation.package-info |
package-info | 0 | org.springframework.scheduling.backportconcurrent.package-info |
package-info | 0 | org.springframework.scheduling.concurrent.package-info |
package-info | 0 | org.springframework.scheduling.support.package-info |
package-info | 0 | org.springframework.scheduling.timer.package-info |
package-info | 0 | org.springframework.scripting.package-info |
package-info | 0 | org.springframework.scripting.bsh.package-info |
package-info | 0 | org.springframework.scripting.config.package-info |
package-info | 0 | org.springframework.scripting.groovy.package-info |
package-info | 0 | org.springframework.scripting.jruby.package-info |
package-info | 0 | org.springframework.scripting.support.package-info |
package-info | 0 | org.springframework.ui.package-info |
package-info | 0 | org.springframework.ui.context.package-info |
Statistics
Stat | Afferent coupling (TypeCa) |
---|---|
Sum: | 0 |
Average: | 0 |
Minimum: | 0 |
Maximum: | 0 |
Standard deviation: | 0 |
Variance: | 0 |
Potentially unused methods
// <Name>Potentially unused methods</Name>
WARN IF Count > 0 IN SELECT METHODS WHERE
MethodCa == 0 AND // Ca=0 -> No Afferent Coupling ->
// The method is not used in the
// context of this application.
// Method Afferent Coupling metric definition
// http://www.JavaDepend.com/Metrics.aspx#MethodCa
!IsPublic AND // Public and Protected methods
!IsProtected AND // might be used by client
// applications of your packages..
!IsEntryPoint AND // Main() method is not used by-design.
!IsClassConstructor AND // The BC code never explicitely
// calls class constructors.
!IsFinalizer // The BC code never explicitely
// calls finalizers.
// Caution: Methods used only by reflection might be matched.
WARN IF Count > 0 IN SELECT METHODS WHERE
MethodCa == 0 AND // Ca=0 -> No Afferent Coupling ->
// The method is not used in the
// context of this application.
// Method Afferent Coupling metric definition
// http://www.JavaDepend.com/Metrics.aspx#MethodCa
!IsPublic AND // Public and Protected methods
!IsProtected AND // might be used by client
// applications of your packages..
!IsEntryPoint AND // Main() method is not used by-design.
!IsClassConstructor AND // The BC code never explicitely
// calls class constructors.
!IsFinalizer // The BC code never explicitely
// calls finalizers.
// Caution: Methods used only by reflection might be matched.
41 methods matched
methods | Afferent coupling (MethodCa) | Full Name |
---|---|---|
methods | Afferent coupling (MethodCa) | Full Name |
AbstractFileResolvingResource$VfsResourceDelegate() | 0 | org.springframework.core.io .AbstractFileResolvingResource$VfsResourceDelegate .AbstractFileResolvingResource$VfsResourceDelegate() |
PathMatchingResourcePatternResolver$VfsResourceMatchingDelegate() | 0 | org.springframework.core.io.support .PathMatchingResourcePatternResolver$VfsResourceMatchingDelegate .PathMatchingResourcePatternResolver$VfsResourceMatchingDelegate() |
readObject(ObjectInputStream) | 0 | org.springframework.util.ConcurrencyThrottleSupport.readObject (ObjectInputStream) |
StaxUtils$Jaxp14StaxHandler() | 0 | org.springframework.util.xml.StaxUtils$Jaxp14StaxHandler .StaxUtils$Jaxp14StaxHandler() |
convertIfNecessary(String,Object,Object,Class) | 0 | org.springframework.beans.BeanWrapperImpl.convertIfNecessary(String ,Object,Object,Class) |
readObject(ObjectInputStream) | 0 | org.springframework.beans.factory.annotation .InitDestroyAnnotationBeanPostProcessor.readObject(ObjectInputStream) |
readObject(ObjectInputStream) | 0 | org.springframework.beans.factory.config.DependencyDescriptor .readObject(ObjectInputStream) |
ConstructorResolver$ConstructorPropertiesChecker() | 0 | org.springframework.beans.factory.support .ConstructorResolver$ConstructorPropertiesChecker .ConstructorResolver$ConstructorPropertiesChecker() |
readResolve() | 0 | org.springframework.beans.factory.support .DefaultListableBeanFactory$SerializedBeanFactoryReference.readResolve () |
readResolve() | 0 | org.springframework.aop.TrueClassFilter.readResolve() |
readResolve() | 0 | org.springframework.aop.TrueMethodMatcher.readResolve() |
readResolve() | 0 | org.springframework.aop.TruePointcut.readResolve() |
readResolve() | 0 | org.springframework.aop.interceptor.ExposeInvocationInterceptor .readResolve() |
readObject(ObjectInputStream) | 0 | org.springframework.aop.aspectj.AspectJExpressionPointcut.readObject (ObjectInputStream) |
readObject(ObjectInputStream) | 0 | org.springframework.aop.framework.AdvisedSupport.readObject (ObjectInputStream) |
DefaultAopProxyFactory$CglibProxyFactory() | 0 | org.springframework.aop.framework .DefaultAopProxyFactory$CglibProxyFactory .DefaultAopProxyFactory$CglibProxyFactory() |
readObject(ObjectInputStream) | 0 | org.springframework.aop.framework.ProxyFactoryBean.readObject (ObjectInputStream) |
readObject(ObjectInputStream) | 0 | org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor .readObject(ObjectInputStream) |
readObject(ObjectInputStream) | 0 | org.springframework.aop.support.IntroductionInfoSupport.readObject (ObjectInputStream) |
readResolve() | 0 | org.springframework.aop.support.Pointcuts$GetterPointcut.readResolve() |
readResolve() | 0 | org.springframework.aop.support.Pointcuts$SetterPointcut.readResolve() |
readResolve() | 0 | org.springframework.aop.target.EmptyTargetSource.readResolve() |
InstrumentationLoadTimeWeaver$InstrumentationAccessor() | 0 | org.springframework.instrument.classloading .InstrumentationLoadTimeWeaver$InstrumentationAccessor .InstrumentationLoadTimeWeaver$InstrumentationAccessor() |
JmxUtils$MXBeanChecker() | 0 | org.springframework.jmx.support.JmxUtils$MXBeanChecker .JmxUtils$MXBeanChecker() |
JndiObjectFactoryBean$JndiObjectProxyFactory() | 0 | org.springframework.jndi.JndiObjectFactoryBean$JndiObjectProxyFactory .JndiObjectFactoryBean$JndiObjectProxyFactory() |
LocalValidatorFactoryBean$HibernateValidatorDelegate() | 0 | org.springframework.validation.beanvalidation .LocalValidatorFactoryBean$HibernateValidatorDelegate .LocalValidatorFactoryBean$HibernateValidatorDelegate() |
FacesRequestAttributes$PortletSessionAccessor() | 0 | org.springframework.web.context.request .FacesRequestAttributes$PortletSessionAccessor .FacesRequestAttributes$PortletSessionAccessor() |
RequestContextHolder$FacesRequestAttributesFactory() | 0 | org.springframework.web.context.request .RequestContextHolder$FacesRequestAttributesFactory .RequestContextHolder$FacesRequestAttributesFactory() |
WebApplicationContextUtils$FacesDependencyRegistrar() | 0 | org.springframework.web.context.support .WebApplicationContextUtils$FacesDependencyRegistrar .WebApplicationContextUtils$FacesDependencyRegistrar() |
AnnotationDrivenBeanDefinitionParser$AopAutoProxyConfigurer() | 0 | org.springframework.transaction.config .AnnotationDrivenBeanDefinitionParser$AopAutoProxyConfigurer .AnnotationDrivenBeanDefinitionParser$AopAutoProxyConfigurer() |
writeObject(ObjectOutputStream) | 0 | org.springframework.transaction.interceptor.TransactionInterceptor .writeObject(ObjectOutputStream) |
readObject(ObjectInputStream) | 0 | org.springframework.transaction.interceptor.TransactionInterceptor .readObject(ObjectInputStream) |
readObject(ObjectInputStream) | 0 | org.springframework.transaction.jta.JtaTransactionManager.readObject (ObjectInputStream) |
readObject(ObjectInputStream) | 0 | org.springframework.transaction.support .AbstractPlatformTransactionManager.readObject(ObjectInputStream) |
TransactionSynchronizationUtils$ScopedProxyUnwrapper() | 0 | org.springframework.transaction.support .TransactionSynchronizationUtils$ScopedProxyUnwrapper .TransactionSynchronizationUtils$ScopedProxyUnwrapper() |
EmbeddedDatabaseConfigurerFactory() | 0 | org.springframework.jdbc.datasource.embedded .EmbeddedDatabaseConfigurerFactory.EmbeddedDatabaseConfigurerFactory() |
SqlMapClientFactoryBean$SqlMapParserFactory() | 0 | org.springframework.orm.ibatis .SqlMapClientFactoryBean$SqlMapParserFactory .SqlMapClientFactoryBean$SqlMapParserFactory() |
readResolve() | 0 | org.springframework.orm.jpa .AbstractEntityManagerFactoryBean$SerializedEntityManagerFactoryBeanRe ference.readResolve() |
readObject(ObjectInputStream) | 0 | org.springframework.orm.jpa .SharedEntityManagerCreator$SharedEntityManagerInvocationHandler .readObject(ObjectInputStream) |
MockServletContext$MimeTypeResolver() | 0 | org.springframework.mock.web.MockServletContext$MimeTypeResolver .MockServletContext$MimeTypeResolver() |
MockPortletContext$MimeTypeResolver() | 0 | org.springframework.mock.web.portlet .MockPortletContext$MimeTypeResolver .MockPortletContext$MimeTypeResolver() |
Statistics
Stat | Afferent coupling (MethodCa) |
---|---|
Sum: | 0 |
Average: | 0 |
Minimum: | 0 |
Maximum: | 0 |
Standard deviation: | 0 |
Variance: | 0 |
Potentially unused fields
// <Name>Potentially unused fields</Name>
WARN IF Count > 0 IN SELECT FIELDS WHERE
FieldCa == 0 AND // Ca=0 -> No Afferent Coupling ->
// The field is not used in the
// context of this application.
// Field Afferent Coupling metric definition
// http://www.JavaDepend.com/Metrics.aspx#FieldCa
!IsPublic AND // Although not recommended,
!IsProtected AND // Public and Protected fields
// might be used by client
// applications of your packages.
!IsEnumValue AND // The BC code never explicitely
// uses enumeration value.
!NameIs "serialVersionUID"
// Caution: Fields used only by reflection might be matched.
WARN IF Count > 0 IN SELECT FIELDS WHERE
FieldCa == 0 AND // Ca=0 -> No Afferent Coupling ->
// The field is not used in the
// context of this application.
// Field Afferent Coupling metric definition
// http://www.JavaDepend.com/Metrics.aspx#FieldCa
!IsPublic AND // Although not recommended,
!IsProtected AND // Public and Protected fields
// might be used by client
// applications of your packages.
!IsEnumValue AND // The BC code never explicitely
// uses enumeration value.
!NameIs "serialVersionUID"
// Caution: Fields used only by reflection might be matched.
342 fields matched
The following list of fields is truncated and contains only the first 100 fields of the 342 fields matched. All matched fields could be listed in the report by unchecking the option:
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched fields.
JavaDepend Project Properties > Report > Avoid too big report for large code base > Don't show more than 100 matched items for a CQL Rule violated
It is recommended to use the JavaDepend interactive UI capabilities to browse a large list of matched fields.
fields | Afferent coupling (FieldCa) | Full Name |
---|---|---|
fields | Afferent coupling (FieldCa) | Full Name |
PLURAL_SUFFIX | 0 | org.springframework.core.Conventions.PLURAL_SUFFIX |
CONSTRUCTOR | 0 | org.springframework.core .LocalVariableTableParameterNameDiscoverer$LocalVariableTableVisitor .CONSTRUCTOR |
STATIC_CLASS_INIT | 0 | org.springframework.core .LocalVariableTableParameterNameDiscoverer$ParameterNameDiscoveringVis itor.STATIC_CLASS_INIT |
CLASS_FILE_SUFFIX | 0 | org.springframework.core.OverridingClassLoader.CLASS_FILE_SUFFIX |
EMPTY | 0 | org.springframework.core.style.DefaultValueStyler.EMPTY |
NULL | 0 | org.springframework.core.style.DefaultValueStyler.NULL |
COLLECTION | 0 | org.springframework.core.style.DefaultValueStyler.COLLECTION |
SET | 0 | org.springframework.core.style.DefaultValueStyler.SET |
LIST | 0 | org.springframework.core.style.DefaultValueStyler.LIST |
MAP | 0 | org.springframework.core.style.DefaultValueStyler.MAP |
ARRAY | 0 | org.springframework.core.style.DefaultValueStyler.ARRAY |
DELIMITER | 0 | org.springframework.core.convert.support.CollectionToStringConverter .DELIMITER |
VFS2_PKG | 0 | org.springframework.core.io.VfsUtils.VFS2_PKG |
VFS3_PKG | 0 | org.springframework.core.io.VfsUtils.VFS3_PKG |
VFS_NAME | 0 | org.springframework.core.io.VfsUtils.VFS_NAME |
DEFAULT_VARIABLE_PATTERN | 0 | org.springframework.util.AntPathStringMatcher.DEFAULT_VARIABLE_PATTERN |
INTERNAL_ARRAY_PREFIX | 0 | org.springframework.util.ClassUtils.INTERNAL_ARRAY_PREFIX |
NON_PRIMITIVE_ARRAY_PREFIX | 0 | org.springframework.util.ClassUtils.NON_PRIMITIVE_ARRAY_PREFIX |
PACKAGE_SEPARATOR | 0 | org.springframework.util.ClassUtils.PACKAGE_SEPARATOR |
INNER_CLASS_SEPARATOR | 0 | org.springframework.util.ClassUtils.INNER_CLASS_SEPARATOR |
MD5_ALGORITHM_NAME | 0 | org.springframework.util.DigestUtils.MD5_ALGORITHM_NAME |
INITIAL_HASH | 0 | org.springframework.util.ObjectUtils.INITIAL_HASH |
MULTIPLIER | 0 | org.springframework.util.ObjectUtils.MULTIPLIER |
EMPTY_STRING | 0 | org.springframework.util.ObjectUtils.EMPTY_STRING |
NULL_STRING | 0 | org.springframework.util.ObjectUtils.NULL_STRING |
ARRAY_START | 0 | org.springframework.util.ObjectUtils.ARRAY_START |
ARRAY_END | 0 | org.springframework.util.ObjectUtils.ARRAY_END |
EMPTY_ARRAY | 0 | org.springframework.util.ObjectUtils.EMPTY_ARRAY |
ARRAY_ELEMENT_SEPARATOR | 0 | org.springframework.util.ObjectUtils.ARRAY_ELEMENT_SEPARATOR |
FOLDER_SEPARATOR | 0 | org.springframework.util.StringUtils.FOLDER_SEPARATOR |
WINDOWS_FOLDER_SEPARATOR | 0 | org.springframework.util.StringUtils.WINDOWS_FOLDER_SEPARATOR |
TOP_PATH | 0 | org.springframework.util.StringUtils.TOP_PATH |
CURRENT_PATH | 0 | org.springframework.util.StringUtils.CURRENT_PATH |
EXTENSION_SEPARATOR | 0 | org.springframework.util.StringUtils.EXTENSION_SEPARATOR |
NAMESPACES_FEATURE_NAME | 0 | org.springframework.util.xml.AbstractStaxXMLReader .NAMESPACES_FEATURE_NAME |
NAMESPACE_PREFIXES_FEATURE_NAME | 0 | org.springframework.util.xml.AbstractStaxXMLReader .NAMESPACE_PREFIXES_FEATURE_NAME |
IS_STANDALONE_FEATURE_NAME | 0 | org.springframework.util.xml.AbstractStaxXMLReader .IS_STANDALONE_FEATURE_NAME |
DEFAULT_XML_VERSION | 0 | org.springframework.util.xml.StaxEventXMLReader.DEFAULT_XML_VERSION |
DEFAULT_XML_VERSION | 0 | org.springframework.util.xml.StaxStreamXMLReader.DEFAULT_XML_VERSION |
DEFAULT_ENCODING | 0 | org.springframework.util.xml.XMLEventStreamWriter.DEFAULT_ENCODING |
DOCTYPE | 0 | org.springframework.util.xml.XmlValidationModeDetector.DOCTYPE |
START_COMMENT | 0 | org.springframework.util.xml.XmlValidationModeDetector.START_COMMENT |
END_COMMENT | 0 | org.springframework.util.xml.XmlValidationModeDetector.END_COMMENT |
UNICODE_PREFIX | 0 | org.springframework.beans.propertyeditors.CharacterEditor .UNICODE_PREFIX |
UNICODE_LENGTH | 0 | org.springframework.beans.propertyeditors.CharacterEditor .UNICODE_LENGTH |
TAB | 0 | org.springframework.beans.factory.parsing.ParseState.TAB |
PASSTHROUGH | 0 | org.springframework.beans.factory.support .CglibSubclassingInstantiationStrategy.PASSTHROUGH |
LOOKUP_OVERRIDE | 0 | org.springframework.beans.factory.support .CglibSubclassingInstantiationStrategy.LOOKUP_OVERRIDE |
METHOD_REPLACER | 0 | org.springframework.beans.factory.support .CglibSubclassingInstantiationStrategy.METHOD_REPLACER |
CONSTRUCTOR_PROPERTIES_CLASS_NAME | 0 | org.springframework.beans.factory.support.ConstructorResolver .CONSTRUCTOR_PROPERTIES_CLASS_NAME |
DTD_EXTENSION | 0 | org.springframework.beans.factory.xml.BeansDtdResolver.DTD_EXTENSION |
SCHEMA_LANGUAGE_ATTRIBUTE | 0 | org.springframework.beans.factory.xml.DefaultDocumentLoader .SCHEMA_LANGUAGE_ATTRIBUTE |
XSD_SCHEMA_LANGUAGE | 0 | org.springframework.beans.factory.xml.DefaultDocumentLoader .XSD_SCHEMA_LANGUAGE |
REF_SUFFIX | 0 | org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler .REF_SUFFIX |
SCOPE_ATTRIBUTE | 0 | org.springframework.beans.factory.xml.UtilNamespaceHandler .SCOPE_ATTRIBUTE |
DEFAULT_RESOURCE_LOCATION | 0 | org.springframework.beans.factory.access.SingletonBeanFactoryLocator .DEFAULT_RESOURCE_LOCATION |
EXPOSE_PROXY_ATTRIBUTE | 0 | org.springframework.aop.config.AopNamespaceUtils .EXPOSE_PROXY_ATTRIBUTE |
ASPECT | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.ASPECT |
EXPRESSION | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.EXPRESSION |
ID | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.ID |
POINTCUT | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.POINTCUT |
ADVICE_BEAN_NAME | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .ADVICE_BEAN_NAME |
ADVISOR | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.ADVISOR |
ADVICE_REF | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.ADVICE_REF |
POINTCUT_REF | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.POINTCUT_REF |
REF | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.REF |
BEFORE | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.BEFORE |
DECLARE_PARENTS | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .DECLARE_PARENTS |
TYPE_PATTERN | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.TYPE_PATTERN |
DEFAULT_IMPL | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.DEFAULT_IMPL |
DELEGATE_REF | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.DELEGATE_REF |
IMPLEMENT_INTERFACE | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .IMPLEMENT_INTERFACE |
AFTER | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.AFTER |
AFTER_RETURNING_ELEMENT | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .AFTER_RETURNING_ELEMENT |
AFTER_THROWING_ELEMENT | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .AFTER_THROWING_ELEMENT |
AROUND | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.AROUND |
RETURNING | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.RETURNING |
RETURNING_PROPERTY | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .RETURNING_PROPERTY |
THROWING | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.THROWING |
THROWING_PROPERTY | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .THROWING_PROPERTY |
ARG_NAMES | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.ARG_NAMES |
ARG_NAMES_PROPERTY | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .ARG_NAMES_PROPERTY |
ASPECT_NAME_PROPERTY | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .ASPECT_NAME_PROPERTY |
DECLARATION_ORDER_PROPERTY | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .DECLARATION_ORDER_PROPERTY |
ORDER_PROPERTY | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .ORDER_PROPERTY |
METHOD_INDEX | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser.METHOD_INDEX |
POINTCUT_INDEX | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .POINTCUT_INDEX |
ASPECT_INSTANCE_FACTORY_INDEX | 0 | org.springframework.aop.config.ConfigBeanDefinitionParser .ASPECT_INSTANCE_FACTORY_INDEX |
PROXY_TARGET_CLASS | 0 | org.springframework.aop.config.ScopedProxyBeanDefinitionDecorator .PROXY_TARGET_CLASS |
BEAN_CONFIGURER_ASPECT_CLASS_NAME | 0 | org.springframework.aop.config.SpringConfiguredBeanDefinitionParser .BEAN_CONFIGURER_ASPECT_CLASS_NAME |
DEFAULT_ENTER_MESSAGE | 0 | org.springframework.aop.interceptor.CustomizableTraceInterceptor .DEFAULT_ENTER_MESSAGE |
DEFAULT_EXIT_MESSAGE | 0 | org.springframework.aop.interceptor.CustomizableTraceInterceptor .DEFAULT_EXIT_MESSAGE |
DEFAULT_EXCEPTION_MESSAGE | 0 | org.springframework.aop.interceptor.CustomizableTraceInterceptor .DEFAULT_EXCEPTION_MESSAGE |
TARGET_NAME_PREFIX | 0 | org.springframework.aop.scope.ScopedProxyUtils.TARGET_NAME_PREFIX |
THIS_JOIN_POINT | 0 | org.springframework.aop.aspectj.AspectJAdviceParameterNameDiscoverer .THIS_JOIN_POINT |
THIS_JOIN_POINT_STATIC_PART | 0 | org.springframework.aop.aspectj.AspectJAdviceParameterNameDiscoverer .THIS_JOIN_POINT_STATIC_PART |
STEP_JOIN_POINT_BINDING | 0 | org.springframework.aop.aspectj.AspectJAdviceParameterNameDiscoverer .STEP_JOIN_POINT_BINDING |
STEP_THROWING_BINDING | 0 | org.springframework.aop.aspectj.AspectJAdviceParameterNameDiscoverer .STEP_THROWING_BINDING |
STEP_ANNOTATION_BINDING | 0 | org.springframework.aop.aspectj.AspectJAdviceParameterNameDiscoverer .STEP_ANNOTATION_BINDING |
STEP_RETURNING_BINDING | 0 | org.springframework.aop.aspectj.AspectJAdviceParameterNameDiscoverer .STEP_RETURNING_BINDING |
Statistics
Stat | Afferent coupling (FieldCa) |
---|---|
Sum: | 0 |
Average: | 0 |
Minimum: | 0 |
Maximum: | 0 |
Standard deviation: | 0 |
Variance: | 0 |
Projects Dependencies
Project | Depends on | Is referenced by |
---|---|---|
Project | Depends on | Is referenced by |
rt v1.0 | - | - |
commons-logging-1.1.1 v1.0 | - | - |
MISSING v1.0 | - | - |
log4j-1.2.8 v1.0 | - | - |
xml-apis-1.3.03 v1.0 | - | - |
geronimo-stax-api_1.0_spec-1.0.1 v1.0 | - | - |
commons-httpclient-3.0.1 v1.0 | - | - |
cglib-2.1_3 v1.0 | - | - |
geronimo-activation_1.1_spec-1.1 v1.0 | - | - |
jaxb-api-2.2.1 v1.0 | - | - |
geronimo-servlet_3.0_spec-1.0 v1.0 | - | - |
aopalliance-1.0 v1.0 | - | - |
geronimo-annotation_1.0_spec-1.1.1 v1.0 | - | - |
geronimo-jaxws_2.2_spec-1.0 v1.0 | - | - |
commons-pool-1.5.5 v1.0 | - | - |
geronimo-jms_1.1_spec-1.1.1 v1.0 | - | - |
joda-time-1.6.2 v1.0 | - | - |
ejb3-persistence-1.0.2.GA v1.0 | - | - |
jaxrpc v1.0 | - | - |
geronimo-ws-metadata_2.0_spec-1.1.3 v1.0 | - | - |
saaj v1.0 | - | - |
commons-fileupload-1.2 v1.0 | - | - |
ehcache-core-2.2.0 v1.0 | - | - |
mailapi v1.0 | - | - |
jta-1.1 v1.0 | - | - |
velocity-1.6.4 v1.0 | - | - |
commons-collections-3.2.1 v1.0 | - | - |
hibernate-core-3.3.2.GA v1.0 | - | - |
hibernate-annotations-3.4.0.GA v1.0 | - | - |
hibernate-entitymanager-3.4.0.GA v1.0 | - | - |
slf4j-api-1.5.6 v1.0 | - | - |
spring-asm-3.0.5.RELEASE v1.0 | rt v1.0 ; | spring-core-3.0.5.RELEASE v1.0 ; |
spring-core-3.0.5.RELEASE v1.0 | rt v1.0 ; spring-asm-3.0.5.RELEASE v1.0 ; commons-logging-1.1.1 v1.0 ; MISSING v1.0 ; log4j-1.2.8 v1.0 ; xml-apis-1.3.03 v1.0 ; geronimo-stax-api_1.0_spec-1.0.1 v1.0 ; | spring-web-3.0.5.RELEASE v1.0 ; spring-aop-3.0.5.RELEASE v1.0 ; spring-beans-3.0.5.RELEASE v1.0 ; spring-context-3.0.5.RELEASE v1.0 ; spring-context-support-3.0.5.RELEASE v1.0 ; spring-expression-3.0.5.RELEASE v1.0 ; spring-jdbc-3.0.5.RELEASE v1.0 ; spring-jms-3.0.5.RELEASE v1.0 ; spring-orm-3.0.5.RELEASE v1.0 ; spring-test-3.0.5.RELEASE v1.0 ; spring-tx-3.0.5.RELEASE v1.0 ; |
spring-beans-3.0.5.RELEASE v1.0 | rt v1.0 ; spring-core-3.0.5.RELEASE v1.0 ; commons-logging-1.1.1 v1.0 ; MISSING v1.0 ; cglib-2.1_3 v1.0 ; xml-apis-1.3.03 v1.0 ; | spring-web-3.0.5.RELEASE v1.0 ; spring-aop-3.0.5.RELEASE v1.0 ; spring-context-3.0.5.RELEASE v1.0 ; spring-context-support-3.0.5.RELEASE v1.0 ; spring-jdbc-3.0.5.RELEASE v1.0 ; spring-jms-3.0.5.RELEASE v1.0 ; spring-orm-3.0.5.RELEASE v1.0 ; spring-test-3.0.5.RELEASE v1.0 ; spring-tx-3.0.5.RELEASE v1.0 ; |
spring-aop-3.0.5.RELEASE v1.0 | aopalliance-1.0 v1.0 ; rt v1.0 ; spring-core-3.0.5.RELEASE v1.0 ; MISSING v1.0 ; spring-beans-3.0.5.RELEASE v1.0 ; commons-logging-1.1.1 v1.0 ; xml-apis-1.3.03 v1.0 ; cglib-2.1_3 v1.0 ; commons-pool-1.5.5 v1.0 ; | spring-web-3.0.5.RELEASE v1.0 ; spring-context-3.0.5.RELEASE v1.0 ; spring-jms-3.0.5.RELEASE v1.0 ; spring-orm-3.0.5.RELEASE v1.0 ; spring-tx-3.0.5.RELEASE v1.0 ; |
spring-expression-3.0.5.RELEASE v1.0 | rt v1.0 ; spring-core-3.0.5.RELEASE v1.0 ; | spring-context-3.0.5.RELEASE v1.0 ; |
spring-context-3.0.5.RELEASE v1.0 | spring-beans-3.0.5.RELEASE v1.0 ; spring-core-3.0.5.RELEASE v1.0 ; rt v1.0 ; commons-logging-1.1.1 v1.0 ; xml-apis-1.3.03 v1.0 ; MISSING v1.0 ; geronimo-annotation_1.0_spec-1.1.1 v1.0 ; geronimo-jaxws_2.2_spec-1.0 v1.0 ; cglib-2.1_3 v1.0 ; spring-aop-3.0.5.RELEASE v1.0 ; aopalliance-1.0 v1.0 ; spring-expression-3.0.5.RELEASE v1.0 ; geronimo-jms_1.1_spec-1.1.1 v1.0 ; joda-time-1.6.2 v1.0 ; ejb3-persistence-1.0.2.GA v1.0 ; | spring-web-3.0.5.RELEASE v1.0 ; spring-context-support-3.0.5.RELEASE v1.0 ; spring-jdbc-3.0.5.RELEASE v1.0 ; spring-jms-3.0.5.RELEASE v1.0 ; spring-orm-3.0.5.RELEASE v1.0 ; spring-test-3.0.5.RELEASE v1.0 ; spring-tx-3.0.5.RELEASE v1.0 ; |
spring-web-3.0.5.RELEASE v1.0 | rt v1.0 ; spring-core-3.0.5.RELEASE v1.0 ; commons-httpclient-3.0.1 v1.0 ; spring-beans-3.0.5.RELEASE v1.0 ; commons-logging-1.1.1 v1.0 ; geronimo-activation_1.1_spec-1.1 v1.0 ; MISSING v1.0 ; jaxb-api-2.2.1 v1.0 ; xml-apis-1.3.03 v1.0 ; geronimo-servlet_3.0_spec-1.0 v1.0 ; aopalliance-1.0 v1.0 ; spring-context-3.0.5.RELEASE v1.0 ; spring-aop-3.0.5.RELEASE v1.0 ; jaxrpc v1.0 ; geronimo-jaxws_2.2_spec-1.0 v1.0 ; geronimo-ws-metadata_2.0_spec-1.1.3 v1.0 ; saaj v1.0 ; log4j-1.2.8 v1.0 ; commons-fileupload-1.2 v1.0 ; | spring-orm-3.0.5.RELEASE v1.0 ; spring-test-3.0.5.RELEASE v1.0 ; |
spring-tx-3.0.5.RELEASE v1.0 | rt v1.0 ; spring-core-3.0.5.RELEASE v1.0 ; spring-aop-3.0.5.RELEASE v1.0 ; spring-beans-3.0.5.RELEASE v1.0 ; aopalliance-1.0 v1.0 ; commons-logging-1.1.1 v1.0 ; MISSING v1.0 ; spring-context-3.0.5.RELEASE v1.0 ; jta-1.1 v1.0 ; xml-apis-1.3.03 v1.0 ; | spring-context-support-3.0.5.RELEASE v1.0 ; spring-jdbc-3.0.5.RELEASE v1.0 ; spring-jms-3.0.5.RELEASE v1.0 ; spring-orm-3.0.5.RELEASE v1.0 ; spring-test-3.0.5.RELEASE v1.0 ; |
spring-jdbc-3.0.5.RELEASE v1.0 | rt v1.0 ; spring-tx-3.0.5.RELEASE v1.0 ; spring-beans-3.0.5.RELEASE v1.0 ; xml-apis-1.3.03 v1.0 ; spring-core-3.0.5.RELEASE v1.0 ; spring-context-3.0.5.RELEASE v1.0 ; commons-logging-1.1.1 v1.0 ; MISSING v1.0 ; jta-1.1 v1.0 ; | spring-context-support-3.0.5.RELEASE v1.0 ; spring-orm-3.0.5.RELEASE v1.0 ; spring-test-3.0.5.RELEASE v1.0 ; |
spring-context-support-3.0.5.RELEASE v1.0 | spring-beans-3.0.5.RELEASE v1.0 ; ehcache-core-2.2.0 v1.0 ; rt v1.0 ; commons-logging-1.1.1 v1.0 ; spring-core-3.0.5.RELEASE v1.0 ; geronimo-activation_1.1_spec-1.1 v1.0 ; mailapi v1.0 ; MISSING v1.0 ; spring-context-3.0.5.RELEASE v1.0 ; spring-jdbc-3.0.5.RELEASE v1.0 ; spring-tx-3.0.5.RELEASE v1.0 ; velocity-1.6.4 v1.0 ; commons-collections-3.2.1 v1.0 ; | - |
spring-jms-3.0.5.RELEASE v1.0 | geronimo-jms_1.1_spec-1.1.1 v1.0 ; rt v1.0 ; spring-core-3.0.5.RELEASE v1.0 ; spring-beans-3.0.5.RELEASE v1.0 ; xml-apis-1.3.03 v1.0 ; commons-logging-1.1.1 v1.0 ; spring-tx-3.0.5.RELEASE v1.0 ; spring-context-3.0.5.RELEASE v1.0 ; MISSING v1.0 ; aopalliance-1.0 v1.0 ; spring-aop-3.0.5.RELEASE v1.0 ; | - |
spring-orm-3.0.5.RELEASE v1.0 | rt v1.0 ; spring-tx-3.0.5.RELEASE v1.0 ; spring-beans-3.0.5.RELEASE v1.0 ; hibernate-core-3.3.2.GA v1.0 ; commons-logging-1.1.1 v1.0 ; spring-jdbc-3.0.5.RELEASE v1.0 ; spring-core-3.0.5.RELEASE v1.0 ; aopalliance-1.0 v1.0 ; jta-1.1 v1.0 ; spring-context-3.0.5.RELEASE v1.0 ; hibernate-annotations-3.4.0.GA v1.0 ; spring-web-3.0.5.RELEASE v1.0 ; geronimo-servlet_3.0_spec-1.0 v1.0 ; spring-aop-3.0.5.RELEASE v1.0 ; MISSING v1.0 ; ejb3-persistence-1.0.2.GA v1.0 ; xml-apis-1.3.03 v1.0 ; hibernate-entitymanager-3.4.0.GA v1.0 ; | spring-test-3.0.5.RELEASE v1.0 ; |
spring-test-3.0.5.RELEASE v1.0 | rt v1.0 ; spring-context-3.0.5.RELEASE v1.0 ; commons-logging-1.1.1 v1.0 ; spring-core-3.0.5.RELEASE v1.0 ; geronimo-servlet_3.0_spec-1.0 v1.0 ; MISSING v1.0 ; spring-web-3.0.5.RELEASE v1.0 ; geronimo-activation_1.1_spec-1.1 v1.0 ; xml-apis-1.3.03 v1.0 ; spring-beans-3.0.5.RELEASE v1.0 ; spring-jdbc-3.0.5.RELEASE v1.0 ; spring-tx-3.0.5.RELEASE v1.0 ; spring-orm-3.0.5.RELEASE v1.0 ; ejb3-persistence-1.0.2.GA v1.0 ; | - |
Projects Build Order
- spring-asm-3.0.5.RELEASE
- spring-core-3.0.5.RELEASE
- spring-beans-3.0.5.RELEASE
- spring-aop-3.0.5.RELEASE
- spring-expression-3.0.5.RELEASE
- spring-context-3.0.5.RELEASE
- spring-web-3.0.5.RELEASE
- spring-tx-3.0.5.RELEASE
- spring-jdbc-3.0.5.RELEASE
- spring-context-support-3.0.5.RELEASE
- spring-jms-3.0.5.RELEASE
- spring-orm-3.0.5.RELEASE
- spring-test-3.0.5.RELEASE
Analysis Log : Information and Warnings
Here are Logs emitted during JavaDepend analysis.
The Warnings can reveal potential flaws concerning the health of the build process.
A particular warn can be disabled through the JavaDepend interactive UI, panel Error List, tick the checkbox Disabled corresponding to the warn to disable.
The Warnings can reveal potential flaws concerning the health of the build process.
A particular warn can be disabled through the JavaDepend interactive UI, panel Error List, tick the checkbox Disabled corresponding to the warn to disable.
Kind | Message |
---|---|
Kind | Message |
Info | 10/30/2011 00:50:15 Begin full analysis with JavaDepend v2.0.0 |
Info | No Baseline for Comparison loaded. |
Info | Bytecode parsing |
Info | Third Party parsing |
Info | Parsing Source Files |
Warning | Source code info won't be available : Some code metrics like CyclomaticComplexity,Comments,NBLineofCode won't be available. Source files directories could be added in the project properties panel |
Info | No dependency cycle detected in assemblies referencement graph. |
Info | 10/30/2011 00:50:45 Analyse dependencies of your application. |
Info | 10/30/2011 00:50:47 Building the report (standard). |
Warning | 3 critical rules are violated. - Methods too complex - critical (BCCyclomaticComplexity) - Methods with too many parameters - critical (NbParameters) - Types too big - critical (NbLinesOfCode) |