1
|
|
package fr.sii.ogham.core.util.bean; |
2
|
|
|
3
|
|
import static org.apache.commons.lang3.ClassUtils.isPrimitiveOrWrapper; |
4
|
|
|
5
|
|
import java.beans.BeanInfo; |
6
|
|
import java.beans.IntrospectionException; |
7
|
|
import java.beans.Introspector; |
8
|
|
import java.beans.PropertyDescriptor; |
9
|
|
import java.lang.reflect.Method; |
10
|
|
import java.util.ArrayList; |
11
|
|
import java.util.HashMap; |
12
|
|
import java.util.List; |
13
|
|
import java.util.Map; |
14
|
|
|
15
|
|
import fr.sii.ogham.core.exception.util.BeanWrapperException; |
16
|
|
|
17
|
|
/** |
18
|
|
* Some utility methods for bean wrapper management |
19
|
|
* |
20
|
|
* @author Aurélien Baudet |
21
|
|
* |
22
|
|
*/ |
23
|
|
public final class BeanWrapperUtils { |
24
|
|
|
25
|
|
private static final List<Class<?>> INVALID_TYPES = new ArrayList<>(); |
26
|
|
static { |
27
|
|
INVALID_TYPES.add(String.class); |
28
|
|
INVALID_TYPES.add(Number.class); |
29
|
|
} |
30
|
|
|
31
|
|
/** |
32
|
|
* Check if the bean type can be wrapped or not. |
33
|
|
* |
34
|
|
* @param bean |
35
|
|
* the bean instance |
36
|
|
* @return false if null or valid type, true if primitive type or string |
37
|
|
*/ |
38
|
|
@SuppressWarnings("squid:S2250") |
39
|
|
public static boolean isInvalid(Object bean) { |
40
|
4
1. isInvalid : negated conditional → NO_COVERAGE
2. isInvalid : negated conditional → SURVIVED
3. isInvalid : negated conditional → TIMED_OUT
4. isInvalid : negated conditional → KILLED
|
if (bean == null) { |
41
|
1
1. isInvalid : replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInvalid → NO_COVERAGE
|
return false; |
42
|
|
} |
43
|
16
1. isInvalid : replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInvalid → NO_COVERAGE
2. isInvalid : negated conditional → NO_COVERAGE
3. isInvalid : replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInvalid → TIMED_OUT
4. isInvalid : negated conditional → TIMED_OUT
5. isInvalid : replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInvalid → KILLED
6. isInvalid : replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInvalid → KILLED
7. isInvalid : replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInvalid → KILLED
8. isInvalid : replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInvalid → KILLED
9. isInvalid : replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInvalid → KILLED
10. isInvalid : replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInvalid → KILLED
11. isInvalid : negated conditional → KILLED
12. isInvalid : negated conditional → KILLED
13. isInvalid : negated conditional → KILLED
14. isInvalid : negated conditional → KILLED
15. isInvalid : negated conditional → KILLED
16. isInvalid : negated conditional → KILLED
|
return isPrimitiveOrWrapper(bean.getClass()) |
44
|
8
1. isInvalid : negated conditional → NO_COVERAGE
2. isInvalid : negated conditional → TIMED_OUT
3. isInvalid : negated conditional → KILLED
4. isInvalid : negated conditional → KILLED
5. isInvalid : negated conditional → KILLED
6. isInvalid : negated conditional → KILLED
7. isInvalid : negated conditional → KILLED
8. isInvalid : negated conditional → KILLED
|
|| INVALID_TYPES.contains(bean.getClass()) |
45
|
8
1. isInvalid : negated conditional → NO_COVERAGE
2. isInvalid : negated conditional → TIMED_OUT
3. isInvalid : negated conditional → KILLED
4. isInvalid : negated conditional → KILLED
5. isInvalid : negated conditional → KILLED
6. isInvalid : negated conditional → KILLED
7. isInvalid : negated conditional → KILLED
8. isInvalid : negated conditional → KILLED
|
|| isInstanceOfInvalid(bean.getClass()); |
46
|
|
} |
47
|
|
|
48
|
|
/** |
49
|
|
* Get the class name of the bean even if null. |
50
|
|
* |
51
|
|
* @param bean |
52
|
|
* the bean instance |
53
|
|
* @return the class of the bean |
54
|
|
*/ |
55
|
|
public static String getClassName(Object bean) { |
56
|
4
1. getClassName : replaced return value with "" for fr/sii/ogham/core/util/bean/BeanWrapperUtils::getClassName → NO_COVERAGE
2. getClassName : negated conditional → NO_COVERAGE
3. getClassName : replaced return value with "" for fr/sii/ogham/core/util/bean/BeanWrapperUtils::getClassName → KILLED
4. getClassName : negated conditional → KILLED
|
return bean == null ? "null" : bean.getClass().getName(); |
57
|
|
} |
58
|
|
|
59
|
|
/** |
60
|
|
* Get the whole list of read {@link Method}s using introspection. |
61
|
|
* |
62
|
|
* @param bean |
63
|
|
* the bean to introspect |
64
|
|
* @return the map of bean property getters (indexed by property name) |
65
|
|
*/ |
66
|
|
public static Map<String, Method> getReadMethods(Object bean) { |
67
|
|
Class<? extends Object> beanClass = bean.getClass(); |
68
|
|
try { |
69
|
|
Map<String, Method> readMethods = new HashMap<>(); |
70
|
|
final BeanInfo beanInfo = Introspector.getBeanInfo(beanClass); |
71
|
|
final PropertyDescriptor[] propertyDescriptors = beanInfo.getPropertyDescriptors(); |
72
|
8
1. getReadMethods : negated conditional → NO_COVERAGE
2. getReadMethods : negated conditional → TIMED_OUT
3. getReadMethods : negated conditional → KILLED
4. getReadMethods : negated conditional → KILLED
5. getReadMethods : negated conditional → KILLED
6. getReadMethods : negated conditional → KILLED
7. getReadMethods : negated conditional → KILLED
8. getReadMethods : negated conditional → KILLED
|
if (propertyDescriptors != null) { |
73
|
8
1. getReadMethods : removed call to fr/sii/ogham/core/util/bean/BeanWrapperUtils::putReadMethods → NO_COVERAGE
2. getReadMethods : removed call to fr/sii/ogham/core/util/bean/BeanWrapperUtils::putReadMethods → TIMED_OUT
3. getReadMethods : removed call to fr/sii/ogham/core/util/bean/BeanWrapperUtils::putReadMethods → KILLED
4. getReadMethods : removed call to fr/sii/ogham/core/util/bean/BeanWrapperUtils::putReadMethods → KILLED
5. getReadMethods : removed call to fr/sii/ogham/core/util/bean/BeanWrapperUtils::putReadMethods → KILLED
6. getReadMethods : removed call to fr/sii/ogham/core/util/bean/BeanWrapperUtils::putReadMethods → KILLED
7. getReadMethods : removed call to fr/sii/ogham/core/util/bean/BeanWrapperUtils::putReadMethods → KILLED
8. getReadMethods : removed call to fr/sii/ogham/core/util/bean/BeanWrapperUtils::putReadMethods → KILLED
|
putReadMethods(readMethods, propertyDescriptors); |
74
|
|
} |
75
|
8
1. getReadMethods : replaced return value with null for fr/sii/ogham/core/util/bean/BeanWrapperUtils::getReadMethods → NO_COVERAGE
2. getReadMethods : replaced return value with null for fr/sii/ogham/core/util/bean/BeanWrapperUtils::getReadMethods → TIMED_OUT
3. getReadMethods : replaced return value with null for fr/sii/ogham/core/util/bean/BeanWrapperUtils::getReadMethods → KILLED
4. getReadMethods : replaced return value with null for fr/sii/ogham/core/util/bean/BeanWrapperUtils::getReadMethods → KILLED
5. getReadMethods : replaced return value with null for fr/sii/ogham/core/util/bean/BeanWrapperUtils::getReadMethods → KILLED
6. getReadMethods : replaced return value with null for fr/sii/ogham/core/util/bean/BeanWrapperUtils::getReadMethods → KILLED
7. getReadMethods : replaced return value with null for fr/sii/ogham/core/util/bean/BeanWrapperUtils::getReadMethods → KILLED
8. getReadMethods : replaced return value with null for fr/sii/ogham/core/util/bean/BeanWrapperUtils::getReadMethods → KILLED
|
return readMethods; |
76
|
|
} catch (final IntrospectionException e) { |
77
|
|
throw new BeanWrapperException("Failed to initialize bean wrapper on " + beanClass, e); |
78
|
|
} |
79
|
|
} |
80
|
|
|
81
|
|
/** |
82
|
|
* Get a read {@link Method} for a particular property. |
83
|
|
* |
84
|
|
* @param bean |
85
|
|
* the bean instance |
86
|
|
* @param name |
87
|
|
* the name of the property |
88
|
|
* @return the getter method for the property |
89
|
|
*/ |
90
|
|
public static Method getReadMethod(Object bean, String name) { |
91
|
2
1. getReadMethod : replaced return value with null for fr/sii/ogham/core/util/bean/BeanWrapperUtils::getReadMethod → SURVIVED
2. getReadMethod : replaced return value with null for fr/sii/ogham/core/util/bean/BeanWrapperUtils::getReadMethod → NO_COVERAGE
|
return getReadMethods(bean).get(name); |
92
|
|
} |
93
|
|
|
94
|
|
private static void putReadMethods(Map<String, Method> readMethods, final PropertyDescriptor[] propertyDescriptors) { |
95
|
|
for (final PropertyDescriptor propertyDescriptor : propertyDescriptors) { |
96
|
8
1. putReadMethods : negated conditional → NO_COVERAGE
2. putReadMethods : negated conditional → TIMED_OUT
3. putReadMethods : negated conditional → KILLED
4. putReadMethods : negated conditional → KILLED
5. putReadMethods : negated conditional → KILLED
6. putReadMethods : negated conditional → KILLED
7. putReadMethods : negated conditional → KILLED
8. putReadMethods : negated conditional → KILLED
|
if (propertyDescriptor != null) { |
97
|
|
final String name = propertyDescriptor.getName(); |
98
|
|
final Method readMethod = propertyDescriptor.getReadMethod(); |
99
|
|
|
100
|
8
1. putReadMethods : negated conditional → NO_COVERAGE
2. putReadMethods : negated conditional → TIMED_OUT
3. putReadMethods : negated conditional → KILLED
4. putReadMethods : negated conditional → KILLED
5. putReadMethods : negated conditional → KILLED
6. putReadMethods : negated conditional → KILLED
7. putReadMethods : negated conditional → KILLED
8. putReadMethods : negated conditional → KILLED
|
if (readMethod != null) { |
101
|
|
readMethods.put(name, readMethod); |
102
|
|
} |
103
|
|
} |
104
|
|
} |
105
|
|
} |
106
|
|
|
107
|
|
private static boolean isInstanceOfInvalid(Class<?> clazz) { |
108
|
|
for(Class<?> c : INVALID_TYPES) { |
109
|
8
1. isInstanceOfInvalid : negated conditional → NO_COVERAGE
2. isInstanceOfInvalid : negated conditional → TIMED_OUT
3. isInstanceOfInvalid : negated conditional → KILLED
4. isInstanceOfInvalid : negated conditional → KILLED
5. isInstanceOfInvalid : negated conditional → KILLED
6. isInstanceOfInvalid : negated conditional → KILLED
7. isInstanceOfInvalid : negated conditional → KILLED
8. isInstanceOfInvalid : negated conditional → KILLED
|
if(c.isAssignableFrom(clazz)) { |
110
|
2
1. isInstanceOfInvalid : replaced boolean return with false for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInstanceOfInvalid → NO_COVERAGE
2. isInstanceOfInvalid : replaced boolean return with false for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInstanceOfInvalid → KILLED
|
return true; |
111
|
|
} |
112
|
|
} |
113
|
8
1. isInstanceOfInvalid : replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInstanceOfInvalid → NO_COVERAGE
2. isInstanceOfInvalid : replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInstanceOfInvalid → TIMED_OUT
3. isInstanceOfInvalid : replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInstanceOfInvalid → KILLED
4. isInstanceOfInvalid : replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInstanceOfInvalid → KILLED
5. isInstanceOfInvalid : replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInstanceOfInvalid → KILLED
6. isInstanceOfInvalid : replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInstanceOfInvalid → KILLED
7. isInstanceOfInvalid : replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInstanceOfInvalid → KILLED
8. isInstanceOfInvalid : replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInstanceOfInvalid → KILLED
|
return false; |
114
|
|
} |
115
|
|
|
116
|
|
private BeanWrapperUtils() { |
117
|
|
super(); |
118
|
|
} |
119
|
|
|
120
|
|
} |
| | Mutations |
40 |
|
1.1 Location : isInvalid Killed by : none negated conditional → TIMED_OUT 2.2 Location : isInvalid Killed by : none negated conditional → NO_COVERAGE 3.3 Location : isInvalid Killed by : none negated conditional → SURVIVED 4.4 Location : isInvalid Killed by : oghamcore.it.core.util.bean.RecursiveBeanReadMethodBeanWrapperSpec negated conditional → KILLED
|
41 |
|
1.1 Location : isInvalid Killed by : none replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInvalid → NO_COVERAGE
|
43 |
|
1.1 Location : isInvalid Killed by : oghamthymeleafv3.it.ThymeleafParserTest.invalid(oghamthymeleafv3.it.ThymeleafParserTest) replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInvalid → KILLED 2.2 Location : isInvalid Killed by : oghamall.it.email.EmailSMTPDefaultsTest.invalidTemplate(oghamall.it.email.EmailSMTPDefaultsTest) replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInvalid → KILLED 3.3 Location : isInvalid Killed by : oghamthymeleafv2.it.resolver.StringResourceResolverTest.text(oghamthymeleafv2.it.resolver.StringResourceResolverTest) replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInvalid → KILLED 4.4 Location : isInvalid Killed by : oghamcore.it.core.util.bean.RecursiveBeanReadMethodBeanWrapperSpec replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInvalid → KILLED 5.5 Location : isInvalid Killed by : oghamfremarker.it.FreeMarkerParserTest.nested(oghamfremarker.it.FreeMarkerParserTest) replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInvalid → KILLED 6.6 Location : isInvalid Killed by : oghamovh.it.OvhSmsTest.phoneNumberConversion(oghamovh.it.OvhSmsTest) replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInvalid → KILLED 7.7 Location : isInvalid Killed by : none replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInvalid → TIMED_OUT 8.8 Location : isInvalid Killed by : none replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInvalid → NO_COVERAGE 9.9 Location : isInvalid Killed by : oghamthymeleafv3.it.ThymeleafParserTest.invalid(oghamthymeleafv3.it.ThymeleafParserTest) negated conditional → KILLED 10.10 Location : isInvalid Killed by : oghamcore.it.core.util.bean.RecursiveBeanReadMethodBeanWrapperSpec negated conditional → KILLED 11.11 Location : isInvalid Killed by : none negated conditional → NO_COVERAGE 12.12 Location : isInvalid Killed by : none negated conditional → TIMED_OUT 13.13 Location : isInvalid Killed by : oghamfremarker.it.FreeMarkerParserTest.nested(oghamfremarker.it.FreeMarkerParserTest) negated conditional → KILLED 14.14 Location : isInvalid Killed by : oghamovh.it.OvhSmsTest.phoneNumberConversion(oghamovh.it.OvhSmsTest) negated conditional → KILLED 15.15 Location : isInvalid Killed by : oghamthymeleafv2.it.resolver.StringResourceResolverTest.text(oghamthymeleafv2.it.resolver.StringResourceResolverTest) negated conditional → KILLED 16.16 Location : isInvalid Killed by : oghamall.it.email.EmailSMTPDefaultsTest.invalidTemplate(oghamall.it.email.EmailSMTPDefaultsTest) negated conditional → KILLED
|
44 |
|
1.1 Location : isInvalid Killed by : oghamall.it.email.EmailSMTPDefaultsTest.invalidTemplate(oghamall.it.email.EmailSMTPDefaultsTest) negated conditional → KILLED 2.2 Location : isInvalid Killed by : oghamfremarker.it.FreeMarkerParserTest.nested(oghamfremarker.it.FreeMarkerParserTest) negated conditional → KILLED 3.3 Location : isInvalid Killed by : oghamcore.it.core.util.bean.RecursiveBeanReadMethodBeanWrapperSpec negated conditional → KILLED 4.4 Location : isInvalid Killed by : oghamthymeleafv2.it.resolver.StringResourceResolverTest.text(oghamthymeleafv2.it.resolver.StringResourceResolverTest) negated conditional → KILLED 5.5 Location : isInvalid Killed by : none negated conditional → TIMED_OUT 6.6 Location : isInvalid Killed by : oghamovh.it.OvhSmsTest.phoneNumberConversion(oghamovh.it.OvhSmsTest) negated conditional → KILLED 7.7 Location : isInvalid Killed by : oghamthymeleafv3.it.ThymeleafParserTest.invalid(oghamthymeleafv3.it.ThymeleafParserTest) negated conditional → KILLED 8.8 Location : isInvalid Killed by : none negated conditional → NO_COVERAGE
|
45 |
|
1.1 Location : isInvalid Killed by : oghamfremarker.it.FreeMarkerParserTest.nested(oghamfremarker.it.FreeMarkerParserTest) negated conditional → KILLED 2.2 Location : isInvalid Killed by : oghamthymeleafv2.it.resolver.StringResourceResolverTest.text(oghamthymeleafv2.it.resolver.StringResourceResolverTest) negated conditional → KILLED 3.3 Location : isInvalid Killed by : oghamcore.it.core.util.bean.RecursiveBeanReadMethodBeanWrapperSpec negated conditional → KILLED 4.4 Location : isInvalid Killed by : oghamall.it.email.EmailSMTPDefaultsTest.invalidTemplate(oghamall.it.email.EmailSMTPDefaultsTest) negated conditional → KILLED 5.5 Location : isInvalid Killed by : oghamovh.it.OvhSmsTest.phoneNumberConversion(oghamovh.it.OvhSmsTest) negated conditional → KILLED 6.6 Location : isInvalid Killed by : none negated conditional → NO_COVERAGE 7.7 Location : isInvalid Killed by : oghamthymeleafv3.it.ThymeleafParserTest.invalid(oghamthymeleafv3.it.ThymeleafParserTest) negated conditional → KILLED 8.8 Location : isInvalid Killed by : none negated conditional → TIMED_OUT
|
56 |
|
1.1 Location : getClassName Killed by : none replaced return value with "" for fr/sii/ogham/core/util/bean/BeanWrapperUtils::getClassName → NO_COVERAGE 2.2 Location : getClassName Killed by : oghamcore.it.core.util.bean.MapBeanReadWrapperSpec replaced return value with "" for fr/sii/ogham/core/util/bean/BeanWrapperUtils::getClassName → KILLED 3.3 Location : getClassName Killed by : oghamcore.it.core.util.bean.MapBeanReadWrapperSpec negated conditional → KILLED 4.4 Location : getClassName Killed by : none negated conditional → NO_COVERAGE
|
72 |
|
1.1 Location : getReadMethods Killed by : oghamthymeleafv3.it.resolver.StringResourceResolverTest.text(oghamthymeleafv3.it.resolver.StringResourceResolverTest) negated conditional → KILLED 2.2 Location : getReadMethods Killed by : oghamcore.it.core.util.bean.RecursiveBeanReadMethodBeanWrapperSpec negated conditional → KILLED 3.3 Location : getReadMethods Killed by : none negated conditional → NO_COVERAGE 4.4 Location : getReadMethods Killed by : oghamall.it.email.EmailMultiTemplateTest.withFreemarkerOneVariantWithInvalidResourcePath(oghamall.it.email.EmailMultiTemplateTest) negated conditional → KILLED 5.5 Location : getReadMethods Killed by : oghamthymeleafv2.it.resolver.StringResourceResolverTest.text(oghamthymeleafv2.it.resolver.StringResourceResolverTest) negated conditional → KILLED 6.6 Location : getReadMethods Killed by : none negated conditional → TIMED_OUT 7.7 Location : getReadMethods Killed by : oghamovh.it.OvhSmsTest.phoneNumberConversion(oghamovh.it.OvhSmsTest) negated conditional → KILLED 8.8 Location : getReadMethods Killed by : oghamfremarker.it.FreeMarkerParserTest.nested(oghamfremarker.it.FreeMarkerParserTest) negated conditional → KILLED
|
73 |
|
1.1 Location : getReadMethods Killed by : none removed call to fr/sii/ogham/core/util/bean/BeanWrapperUtils::putReadMethods → NO_COVERAGE 2.2 Location : getReadMethods Killed by : none removed call to fr/sii/ogham/core/util/bean/BeanWrapperUtils::putReadMethods → TIMED_OUT 3.3 Location : getReadMethods Killed by : oghamcore.it.core.util.bean.RecursiveBeanReadMethodBeanWrapperSpec removed call to fr/sii/ogham/core/util/bean/BeanWrapperUtils::putReadMethods → KILLED 4.4 Location : getReadMethods Killed by : oghamovh.it.OvhSmsTest.phoneNumberConversion(oghamovh.it.OvhSmsTest) removed call to fr/sii/ogham/core/util/bean/BeanWrapperUtils::putReadMethods → KILLED 5.5 Location : getReadMethods Killed by : oghamall.it.email.EmailMultiTemplateTest.withFreemarkerOneVariantWithInvalidResourcePath(oghamall.it.email.EmailMultiTemplateTest) removed call to fr/sii/ogham/core/util/bean/BeanWrapperUtils::putReadMethods → KILLED 6.6 Location : getReadMethods Killed by : oghamfremarker.it.FreeMarkerParserTest.nested(oghamfremarker.it.FreeMarkerParserTest) removed call to fr/sii/ogham/core/util/bean/BeanWrapperUtils::putReadMethods → KILLED 7.7 Location : getReadMethods Killed by : oghamthymeleafv3.it.resolver.StringResourceResolverTest.text(oghamthymeleafv3.it.resolver.StringResourceResolverTest) removed call to fr/sii/ogham/core/util/bean/BeanWrapperUtils::putReadMethods → KILLED 8.8 Location : getReadMethods Killed by : oghamthymeleafv2.it.resolver.StringResourceResolverTest.text(oghamthymeleafv2.it.resolver.StringResourceResolverTest) removed call to fr/sii/ogham/core/util/bean/BeanWrapperUtils::putReadMethods → KILLED
|
75 |
|
1.1 Location : getReadMethods Killed by : oghamthymeleafv3.it.ThymeleafParserTest.invalid(oghamthymeleafv3.it.ThymeleafParserTest) replaced return value with null for fr/sii/ogham/core/util/bean/BeanWrapperUtils::getReadMethods → KILLED 2.2 Location : getReadMethods Killed by : oghamovh.it.OvhSmsTest.phoneNumberConversion(oghamovh.it.OvhSmsTest) replaced return value with null for fr/sii/ogham/core/util/bean/BeanWrapperUtils::getReadMethods → KILLED 3.3 Location : getReadMethods Killed by : none replaced return value with null for fr/sii/ogham/core/util/bean/BeanWrapperUtils::getReadMethods → TIMED_OUT 4.4 Location : getReadMethods Killed by : none replaced return value with null for fr/sii/ogham/core/util/bean/BeanWrapperUtils::getReadMethods → NO_COVERAGE 5.5 Location : getReadMethods Killed by : oghamfremarker.it.FreeMarkerParserTest.nested(oghamfremarker.it.FreeMarkerParserTest) replaced return value with null for fr/sii/ogham/core/util/bean/BeanWrapperUtils::getReadMethods → KILLED 6.6 Location : getReadMethods Killed by : oghamall.it.email.EmailSMTPDefaultsTest.invalidTemplate(oghamall.it.email.EmailSMTPDefaultsTest) replaced return value with null for fr/sii/ogham/core/util/bean/BeanWrapperUtils::getReadMethods → KILLED 7.7 Location : getReadMethods Killed by : oghamthymeleafv2.it.resolver.StringResourceResolverTest.text(oghamthymeleafv2.it.resolver.StringResourceResolverTest) replaced return value with null for fr/sii/ogham/core/util/bean/BeanWrapperUtils::getReadMethods → KILLED 8.8 Location : getReadMethods Killed by : oghamcore.ut.core.bean.util.ReadMethodAccessorTest.invalidField(oghamcore.ut.core.bean.util.ReadMethodAccessorTest) replaced return value with null for fr/sii/ogham/core/util/bean/BeanWrapperUtils::getReadMethods → KILLED
|
91 |
|
1.1 Location : getReadMethod Killed by : none replaced return value with null for fr/sii/ogham/core/util/bean/BeanWrapperUtils::getReadMethod → SURVIVED 2.2 Location : getReadMethod Killed by : none replaced return value with null for fr/sii/ogham/core/util/bean/BeanWrapperUtils::getReadMethod → NO_COVERAGE
|
96 |
|
1.1 Location : putReadMethods Killed by : oghamfremarker.it.FreeMarkerParserTest.nested(oghamfremarker.it.FreeMarkerParserTest) negated conditional → KILLED 2.2 Location : putReadMethods Killed by : oghamthymeleafv2.it.resolver.StringResourceResolverTest.text(oghamthymeleafv2.it.resolver.StringResourceResolverTest) negated conditional → KILLED 3.3 Location : putReadMethods Killed by : oghamthymeleafv3.it.resolver.StringResourceResolverTest.text(oghamthymeleafv3.it.resolver.StringResourceResolverTest) negated conditional → KILLED 4.4 Location : putReadMethods Killed by : oghamcore.it.core.util.bean.RecursiveBeanReadMethodBeanWrapperSpec negated conditional → KILLED 5.5 Location : putReadMethods Killed by : oghamovh.it.OvhSmsTest.phoneNumberConversion(oghamovh.it.OvhSmsTest) negated conditional → KILLED 6.6 Location : putReadMethods Killed by : none negated conditional → TIMED_OUT 7.7 Location : putReadMethods Killed by : oghamall.it.email.EmailMultiTemplateTest.withFreemarkerOneVariantWithInvalidResourcePath(oghamall.it.email.EmailMultiTemplateTest) negated conditional → KILLED 8.8 Location : putReadMethods Killed by : none negated conditional → NO_COVERAGE
|
100 |
|
1.1 Location : putReadMethods Killed by : oghamovh.it.OvhSmsTest.phoneNumberConversion(oghamovh.it.OvhSmsTest) negated conditional → KILLED 2.2 Location : putReadMethods Killed by : oghamcore.it.core.util.bean.RecursiveBeanReadMethodBeanWrapperSpec negated conditional → KILLED 3.3 Location : putReadMethods Killed by : oghamall.it.email.EmailMultiTemplateTest.withFreemarkerOneVariantWithInvalidResourcePath(oghamall.it.email.EmailMultiTemplateTest) negated conditional → KILLED 4.4 Location : putReadMethods Killed by : none negated conditional → TIMED_OUT 5.5 Location : putReadMethods Killed by : none negated conditional → NO_COVERAGE 6.6 Location : putReadMethods Killed by : oghamfremarker.it.FreeMarkerParserTest.nested(oghamfremarker.it.FreeMarkerParserTest) negated conditional → KILLED 7.7 Location : putReadMethods Killed by : oghamthymeleafv3.it.resolver.StringResourceResolverTest.text(oghamthymeleafv3.it.resolver.StringResourceResolverTest) negated conditional → KILLED 8.8 Location : putReadMethods Killed by : oghamthymeleafv2.it.resolver.StringResourceResolverTest.text(oghamthymeleafv2.it.resolver.StringResourceResolverTest) negated conditional → KILLED
|
109 |
|
1.1 Location : isInstanceOfInvalid Killed by : none negated conditional → NO_COVERAGE 2.2 Location : isInstanceOfInvalid Killed by : oghamthymeleafv2.it.resolver.StringResourceResolverTest.text(oghamthymeleafv2.it.resolver.StringResourceResolverTest) negated conditional → KILLED 3.3 Location : isInstanceOfInvalid Killed by : oghamovh.it.OvhSmsTest.phoneNumberConversion(oghamovh.it.OvhSmsTest) negated conditional → KILLED 4.4 Location : isInstanceOfInvalid Killed by : oghamcore.it.core.util.bean.RecursiveBeanReadMethodBeanWrapperSpec negated conditional → KILLED 5.5 Location : isInstanceOfInvalid Killed by : none negated conditional → TIMED_OUT 6.6 Location : isInstanceOfInvalid Killed by : oghamthymeleafv3.it.ThymeleafParserTest.invalid(oghamthymeleafv3.it.ThymeleafParserTest) negated conditional → KILLED 7.7 Location : isInstanceOfInvalid Killed by : oghamfremarker.it.FreeMarkerParserTest.nested(oghamfremarker.it.FreeMarkerParserTest) negated conditional → KILLED 8.8 Location : isInstanceOfInvalid Killed by : oghamall.it.email.EmailSMTPDefaultsTest.invalidTemplate(oghamall.it.email.EmailSMTPDefaultsTest) negated conditional → KILLED
|
110 |
|
1.1 Location : isInstanceOfInvalid Killed by : none replaced boolean return with false for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInstanceOfInvalid → NO_COVERAGE 2.2 Location : isInstanceOfInvalid Killed by : oghamcore.it.core.util.bean.MapBeanReadWrapperSpec replaced boolean return with false for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInstanceOfInvalid → KILLED
|
113 |
|
1.1 Location : isInstanceOfInvalid Killed by : none replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInstanceOfInvalid → TIMED_OUT 2.2 Location : isInstanceOfInvalid Killed by : none replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInstanceOfInvalid → NO_COVERAGE 3.3 Location : isInstanceOfInvalid Killed by : oghamthymeleafv3.it.ThymeleafParserTest.invalid(oghamthymeleafv3.it.ThymeleafParserTest) replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInstanceOfInvalid → KILLED 4.4 Location : isInstanceOfInvalid Killed by : oghamall.it.email.EmailSMTPDefaultsTest.invalidTemplate(oghamall.it.email.EmailSMTPDefaultsTest) replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInstanceOfInvalid → KILLED 5.5 Location : isInstanceOfInvalid Killed by : oghamcore.it.core.util.bean.RecursiveBeanReadMethodBeanWrapperSpec replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInstanceOfInvalid → KILLED 6.6 Location : isInstanceOfInvalid Killed by : oghamfremarker.it.FreeMarkerParserTest.nested(oghamfremarker.it.FreeMarkerParserTest) replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInstanceOfInvalid → KILLED 7.7 Location : isInstanceOfInvalid Killed by : oghamthymeleafv2.it.resolver.StringResourceResolverTest.text(oghamthymeleafv2.it.resolver.StringResourceResolverTest) replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInstanceOfInvalid → KILLED 8.8 Location : isInstanceOfInvalid Killed by : oghamovh.it.OvhSmsTest.phoneNumberConversion(oghamovh.it.OvhSmsTest) replaced boolean return with true for fr/sii/ogham/core/util/bean/BeanWrapperUtils::isInstanceOfInvalid → KILLED
|