Select:
guice
guice
1.0
|
Testability Report: guice/guice/1.0
Artifact Information:
- Project Website:
- Jar Location:
- Source Location:
- Analysis tool used:
- Command: java -jar -cp -print html .
Class breakdown
Overall : 14
Analyzed classes : 196
Excellent classes : 193 98.5%
Good classes : 3 1.5%
Needs work classes : 0 0.0%
Highest Cost
[+]com.google.inject.tools.jmx.Manager [ 87 ]
[+] void main( java.lang.String []) [ 87 ]
line 104: com.google.inject.Injector createInjector( com.google.inject.Module []) [ 80 ]
line 106: void manage( java.lang.String , com.google.inject.Injector ) [ 6 ]
[+] void manage( javax.management.MBeanServer , java.lang.String , com.google.inject.Injector ) [ 6 ]
line 60: java.lang.String toString() [ 1 ]
line 59: com.google.inject.Key getKey() [ 0 ]
line 60: com.google.inject.TypeLiteral getTypeLiteral() [ 0 ]
[+] void manage( java.lang.String , com.google.inject.Injector ) [ 6 ]
line 44: void manage( javax.management.MBeanServer , java.lang.String , com.google.inject.Injector ) [ 6 ]
[+]com.google.inject.Guice [ 80 ]
[+] com.google.inject.Injector createInjector( com.google.inject.Stage , java.lang.Iterable ) [ 80 ]
line 79: com.google.inject.Injector createInjector() [ 62 ]
line 75: com.google.inject.BinderImpl( com.google.inject.Stage ) [ 17 ]
line 77: void install( com.google.inject.Module ) [ 0 ]
[+] com.google.inject.Injector createEmptyInjector() [ 80 ]
line 33: com.google.inject.Injector createInjector( com.google.inject.Module []) [ 80 ]
[+] com.google.inject.Injector createInjector( java.lang.Iterable ) [ 80 ]
line 53: com.google.inject.Injector createInjector( com.google.inject.Stage , java.lang.Iterable ) [ 80 ]
[+]com.google.inject.BinderImpl [ 79 ]
[+] com.google.inject.Injector createInjector() [ 79 ]
line 255: void createBindings( java.util.List ) [ 36 ]
line 54: com.google.inject.BinderImpl() [ 20 ]
line 249: void createConstantBindings() [ 11 ]
[+] void createBindings( java.util.List ) [ 59 ]
line 319: void createBinding( com.google.inject.BindingBuilderImpl , java.util.List ) [ 35 ]
line 54: com.google.inject.BinderImpl() [ 20 ]
line 110: com.google.inject.BinderImpl( com.google.inject.Stage ) [ 3 ]
[+] void createConstantBindings() [ 34 ]
line 54: com.google.inject.BinderImpl() [ 20 ]
line 349: void createConstantBinding( com.google.inject.ConstantBindingBuilderImpl ) [ 10 ]
line 110: com.google.inject.BinderImpl( com.google.inject.Stage ) [ 3 ]
[+]com.google.inject.InjectorImpl [ 44 ]
[+] com.google.inject.InternalFactory getInternalFactory( java.lang.reflect.Member , com.google.inject.Key ) [ 44 ]
line 60: com.google.inject.InjectorImpl() [ 9 ]
line 192: void handleMissingBinding( com.google.inject.ErrorHandler , java.lang.reflect.Member , com.google.inject.Key , java.util.List ) [ 8 ]
line 96: com.google.inject.InjectorImpl( com.google.inject.ConstructionProxyFactory , java.util.Map , java.util.Map ) [ 4 ]
[+] com.google.inject.InjectorImpl$SingleParameterInjector []getParametersInjectors( java.lang.reflect.AccessibleObject , java.lang.annotation.Annotation [][], java.lang.reflect.Type []) [ 38 ]
line 513: com.google.inject.Key get( java.lang.reflect.Type , java.lang.reflect.Member , java.lang.annotation.Annotation [], com.google.inject.ErrorHandler ) [ 24 ]
line 60: com.google.inject.InjectorImpl() [ 9 ]
line 96: com.google.inject.InjectorImpl( com.google.inject.ConstructionProxyFactory , java.util.Map , java.util.Map ) [ 4 ]
[+] com.google.inject.InternalFactory getImplicitBinding( java.lang.reflect.Member , java.lang.Class , com.google.inject.Scope ) [ 38 ]
line 60: com.google.inject.InjectorImpl() [ 9 ]
line 898: com.google.inject.Key get( java.lang.Class ) [ 9 ]
line 96: com.google.inject.InjectorImpl( com.google.inject.ConstructionProxyFactory , java.util.Map , java.util.Map ) [ 4 ]
[+]com.google.inject.InjectorImpl$SingleFieldInjector [ 31 ]
[+] void inject( com.google.inject.InternalContext , java.lang.Object ) [ 31 ]
line 453: com.google.inject.InjectorImpl$SingleFieldInjector( com.google.inject.InjectorImpl , com.google.inject.InjectorImpl , java.lang.reflect.Field ) [ 25 ]
line 486: com.google.inject.ProvisionException( com.google.inject.ExternalContext , java.lang.Throwable ) [ 2 ]
[+] com.google.inject.InjectorImpl$SingleFieldInjector( com.google.inject.InjectorImpl , com.google.inject.InjectorImpl , java.lang.reflect.Field ) [ 25 ]
line 459: com.google.inject.Key get( java.lang.reflect.Type , java.lang.reflect.Member , java.lang.annotation.Annotation [], com.google.inject.ErrorHandler ) [ 24 ]
line 463: com.google.inject.InjectorImpl$MissingDependencyException( com.google.inject.InjectorImpl , com.google.inject.Key , java.lang.reflect.Member ) [ 0 ]
line 466: com.google.inject.ExternalContext newInstance( java.lang.reflect.Member , com.google.inject.Key , com.google.inject.InjectorImpl ) [ 0 ]
[+]com.google.inject.spi.SourceProviders [ 30 ]
[+] com.google.inject.spi.SourceProviders() [ 30 ]
line 33: com.google.inject.spi.SourceProviders() [ 30 ]
[+] com.google.inject.spi.SourceProviders() [ 30 ]
line 40: void skip( java.lang.Class ) [ 10 ]
line 35: com.google.inject.spi.SourceProviders$StacktraceSourceProvider() [ 0 ]
line 67: com.google.inject.spi.SourceProviders$1() [ 0 ]
[+] java.lang.Object defaultSource() [ 30 ]
line 33: com.google.inject.spi.SourceProviders() [ 30 ]
line 78: java.lang.Object source() [ 0 ]
[+]com.google.inject.BindingBuilderImpl [ 29 ]
[+] com.google.inject.InternalFactory getInternalFactory( com.google.inject.InjectorImpl ) [ 29 ]
line 238: com.google.inject.Scope getScopeForType( java.lang.Class , java.util.Map , com.google.inject.ErrorHandler ) [ 14 ]
line 35: com.google.inject.BindingBuilderImpl() [ 10 ]
line 46: com.google.inject.BindingBuilderImpl( com.google.inject.BinderImpl , com.google.inject.Key , java.lang.Object ) [ 1 ]
[+] com.google.inject.BindingBuilderImpl annotatedWith( java.lang.annotation.Annotation ) [ 21 ]
line 35: com.google.inject.BindingBuilderImpl() [ 10 ]
line 92: boolean isRetainedAtRuntime( java.lang.Class ) [ 2 ]
line 107: com.google.inject.Key get( com.google.inject.TypeLiteral , java.lang.annotation.Annotation ) [ 2 ]
[+] com.google.inject.BindingBuilderImpl annotatedWith( java.lang.Class ) [ 21 ]
line 35: com.google.inject.BindingBuilderImpl() [ 10 ]
line 65: boolean isRetainedAtRuntime( java.lang.Class ) [ 2 ]
line 80: com.google.inject.Key get( com.google.inject.TypeLiteral , java.lang.Class ) [ 2 ]
[+]com.google.inject.ConstructorInjector [ 28 ]
[+] java.lang.Object construct( com.google.inject.InternalContext , java.lang.Class ) [ 28 ]
line 35: com.google.inject.ConstructorInjector( com.google.inject.InjectorImpl , java.lang.Class ) [ 14 ]
line 140: java.lang.Object []getParameters( com.google.inject.InternalContext , com.google.inject.InjectorImpl$SingleParameterInjector []) [ 6 ]
line 126: java.lang.Object createProxy( java.lang.Class ) [ 2 ]
[+] com.google.inject.InjectorImpl$SingleParameterInjector []createParameterInjector( com.google.inject.InjectorImpl , java.lang.reflect.Constructor ) [ 22 ]
line 35: com.google.inject.ConstructorInjector( com.google.inject.InjectorImpl , java.lang.Class ) [ 14 ]
line 66: void handle( com.google.inject.ErrorHandler ) [ 6 ]
[+] com.google.inject.ConstructorInjector( com.google.inject.InjectorImpl , java.lang.Class ) [ 14 ]
line 37: java.lang.reflect.Constructor findConstructorIn( com.google.inject.InjectorImpl , java.lang.Class ) [ 14 ]
line 41: com.google.inject.ConstructionProxy get( java.lang.reflect.Constructor ) [ 0 ]
[+]com.google.inject.InjectorImpl$7 [ 27 ]
[+] com.google.inject.ConstructorInjector create( java.lang.Class ) [ 27 ]
line 601: com.google.inject.ConstructorInjector( com.google.inject.InjectorImpl , java.lang.Class ) [ 22 ]
line 594: com.google.inject.InjectorImpl$7( com.google.inject.InjectorImpl ) [ 4 ]
line 596: void handle( java.lang.Object , java.lang.String , java.lang.Object []) [ 0 ]
[+] java.lang.Object create( java.lang.Object ) [ 4 ]
line 594: com.google.inject.InjectorImpl$7( com.google.inject.InjectorImpl ) [ 4 ]
[+] com.google.inject.InjectorImpl$7( com.google.inject.InjectorImpl ) [ 4 ]
line 594: com.google.inject.util.ReferenceCache() [ 4 ]
[+]com.google.inject.InjectorImpl$6 [ 25 ]
[+] com.google.inject.InjectorImpl$SingleMemberInjector create( com.google.inject.InjectorImpl , java.lang.reflect.Field ) [ 25 ]
line 371: com.google.inject.InjectorImpl$SingleFieldInjector( com.google.inject.InjectorImpl , com.google.inject.InjectorImpl , java.lang.reflect.Field ) [ 25 ]
line 369: com.google.inject.InjectorImpl$6( com.google.inject.InjectorImpl ) [ 0 ]
[+] com.google.inject.InjectorImpl$SingleMemberInjector create( com.google.inject.InjectorImpl , java.lang.reflect.Member ) [ 0 ]
line 369: com.google.inject.InjectorImpl$6( com.google.inject.InjectorImpl ) [ 0 ]
[+] com.google.inject.InjectorImpl$6( com.google.inject.InjectorImpl ) [ 0 ]
[+]com.google.inject.Key [ 24 ]
[+] com.google.inject.Key get( java.lang.reflect.Type , java.lang.reflect.Member , java.lang.annotation.Annotation [], com.google.inject.ErrorHandler ) [ 24 ]
line 288: com.google.inject.Key get( java.lang.reflect.Type ) [ 9 ]
line 283: java.lang.Object forMember( java.lang.reflect.Member ) [ 7 ]
line 288: com.google.inject.Key get( java.lang.reflect.Type , java.lang.annotation.Annotation ) [ 4 ]
[+] com.google.inject.Key( java.lang.annotation.Annotation ) [ 14 ]
line 89: com.google.inject.TypeLiteral fromSuperclassTypeParameter( java.lang.Class ) [ 9 ]
line 88: com.google.inject.Key$AnnotationStrategy strategyFor( java.lang.annotation.Annotation ) [ 5 ]
line 344: com.google.inject.Key() [ 0 ]
[+] com.google.inject.Key( java.lang.Class ) [ 14 ]
line 68: com.google.inject.TypeLiteral fromSuperclassTypeParameter( java.lang.Class ) [ 9 ]
line 67: com.google.inject.Key$AnnotationStrategy strategyFor( java.lang.Class ) [ 5 ]
line 344: com.google.inject.Key() [ 0 ]
[+]com.google.inject.TypeLiteral [ 20 ]
[+] boolean equals( java.lang.Object ) [ 20 ]
line 68: com.google.inject.TypeLiteral( java.lang.reflect.Type ) [ 9 ]
line 149: boolean equals( java.lang.reflect.Type , java.lang.reflect.Type ) [ 9 ]
[+] com.google.inject.TypeLiteral fromSuperclassTypeParameter( java.lang.Class ) [ 10 ]
line 89: com.google.inject.TypeLiteral$SimpleTypeLiteral( java.lang.reflect.Type ) [ 9 ]
line 89: java.lang.reflect.Type getSuperclassTypeParameter( java.lang.Class ) [ 1 ]
[+] java.lang.String toString() [ 10 ]
line 68: com.google.inject.TypeLiteral( java.lang.reflect.Type ) [ 9 ]
[+]com.google.inject.InjectorImpl$SingleMethodInjector [ 17 ]
[+] void inject( com.google.inject.InternalContext , java.lang.Object ) [ 17 ]
line 575: java.lang.Object []getParameters( com.google.inject.InternalContext , com.google.inject.InjectorImpl$SingleParameterInjector []) [ 13 ]
line 540: com.google.inject.InjectorImpl$SingleMethodInjector( com.google.inject.InjectorImpl , java.lang.reflect.Method ) [ 3 ]
[+] com.google.inject.InjectorImpl$SingleMethodInjector( com.google.inject.InjectorImpl , java.lang.reflect.Method ) [ 3 ]
line 545: com.google.inject.InjectorImpl$SingleMethodInjector$1( com.google.inject.InjectorImpl$SingleMethodInjector , java.lang.reflect.Method ) [ 0 ]
line 554: com.google.inject.cglib.reflect.FastClass create( java.lang.Class ) [ 0 ]
line 557: com.google.inject.InjectorImpl$SingleMethodInjector$2( com.google.inject.InjectorImpl$SingleMethodInjector , com.google.inject.cglib.reflect.FastMethod ) [ 0 ]
[+]com.google.inject.util.AbstractReferenceCache [ 17 ]
[+] java.lang.Object internalCreate( java.lang.Object ) [ 17 ]
line 83: java.lang.Object get() [ 7 ]
line 38: com.google.inject.util.AbstractReferenceCache( com.google.inject.util.ReferenceType , com.google.inject.util.ReferenceType ) [ 4 ]
line 54: void setValue( java.lang.Object ) [ 1 ]
[+] java.lang.Object get( java.lang.Object ) [ 5 ]
line 38: com.google.inject.util.AbstractReferenceCache( com.google.inject.util.ReferenceType , com.google.inject.util.ReferenceType ) [ 4 ]
[+] com.google.inject.util.AbstractReferenceCache( com.google.inject.util.ReferenceType , com.google.inject.util.ReferenceType ) [ 4 ]
line 38: com.google.inject.util.ReferenceMap( com.google.inject.util.ReferenceType , com.google.inject.util.ReferenceType ) [ 4 ]
[+]com.google.inject.ProxyFactory [ 16 ]
[+] com.google.inject.ConstructionProxy createConstructionProxy( java.lang.reflect.Constructor ) [ 16 ]
line 50: com.google.inject.ProxyFactory( java.util.List ) [ 4 ]
line 114: void addAll( java.util.List ) [ 1 ]
line 131: boolean hasInterceptors() [ 1 ]
[+] com.google.inject.ConstructionProxy createConstructionProxy( java.lang.Class , java.lang.Class []) [ 4 ]
line 50: com.google.inject.ProxyFactory( java.util.List ) [ 4 ]
line 168: com.google.inject.cglib.reflect.FastClass create( java.lang.Class ) [ 0 ]
line 171: com.google.inject.ProxyFactory$4( com.google.inject.ProxyFactory , com.google.inject.cglib.reflect.FastConstructor ) [ 0 ]
[+] com.google.inject.ConstructionProxy get( java.lang.reflect.Constructor ) [ 4 ]
line 50: com.google.inject.ProxyFactory( java.util.List ) [ 4 ]
[+]com.google.inject.name.Names$1 [ 14 ]
[+] void run() [ 14 ]
line 58: com.google.inject.Key get( java.lang.Class , java.lang.annotation.Annotation ) [ 12 ]
line 58: com.google.inject.name.NamedImpl( java.lang.String ) [ 1 ]
line 54: com.google.inject.name.Names$1( java.util.Map , com.google.inject.Binder ) [ 0 ]
[+] com.google.inject.name.Names$1( java.util.Map , com.google.inject.Binder ) [ 0 ]
[+]com.google.inject.name.Names$2 [ 14 ]
[+] void run() [ 14 ]
line 76: com.google.inject.Key get( java.lang.Class , java.lang.annotation.Annotation ) [ 12 ]
line 76: com.google.inject.name.NamedImpl( java.lang.String ) [ 1 ]
line 72: com.google.inject.name.Names$2( java.util.Properties , com.google.inject.Binder ) [ 0 ]
[+] com.google.inject.name.Names$2( java.util.Properties , com.google.inject.Binder ) [ 0 ]
[+]com.google.inject.AbstractModule [ 12 ]
[+] void configure( com.google.inject.Binder ) [ 12 ]
line 54: com.google.inject.AbstractModule() [ 10 ]
line 64: java.lang.Object nonNull( java.lang.Object , java.lang.String ) [ 1 ]
line 51: com.google.inject.AbstractModule() [ 0 ]
[+] com.google.inject.binder.AnnotatedBindingBuilder bind( java.lang.Class ) [ 10 ]
line 54: com.google.inject.AbstractModule() [ 10 ]
line 51: com.google.inject.AbstractModule() [ 0 ]
[+] com.google.inject.AbstractModule() [ 10 ]
line 54: com.google.inject.AbstractModule() [ 10 ]
[+]com.google.inject.InternalFactoryToProviderAdapter [ 12 ]
[+] java.lang.Object get( com.google.inject.InternalContext ) [ 12 ]
line 52: com.google.inject.ProvisionException( com.google.inject.ExternalContext , java.lang.Throwable ) [ 9 ]
line 35: com.google.inject.InternalFactoryToProviderAdapter( com.google.inject.Provider , java.lang.Object ) [ 1 ]
line 41: java.lang.Object get() [ 0 ]
[+] java.lang.String toString() [ 1 ]
line 35: com.google.inject.InternalFactoryToProviderAdapter( com.google.inject.Provider , java.lang.Object ) [ 1 ]
[+] com.google.inject.InternalFactoryToProviderAdapter( com.google.inject.Provider ) [ 1 ]
line 31: com.google.inject.InternalFactoryToProviderAdapter( com.google.inject.Provider , java.lang.Object ) [ 1 ]
[+]com.google.inject.spi.SourceProviders$StacktraceSourceProvider [ 12 ]
[+] java.lang.Object source() [ 12 ]
line 101: java.util.Set getSkippedClassNames() [ 10 ]
line 98: com.google.inject.spi.SourceProviders$StacktraceSourceProvider() [ 0 ]
[+] com.google.inject.spi.SourceProviders$StacktraceSourceProvider() [ 0 ]
Post Comment
|
|