|
1
|
|
package fi.eis.libraries.di.context.deployment; |
|
2
|
|
|
|
3
|
|
import fi.eis.libraries.di.logger.LogLevel; |
|
4
|
|
import fi.eis.libraries.di.logger.SimpleLogger; |
|
5
|
|
|
|
6
|
|
import java.io.File; |
|
7
|
|
import java.io.IOException; |
|
8
|
|
import java.lang.reflect.Modifier; |
|
9
|
|
import java.net.URL; |
|
10
|
|
import java.util.ArrayList; |
|
11
|
|
import java.util.Enumeration; |
|
12
|
|
import java.util.List; |
|
13
|
|
import java.util.zip.ZipEntry; |
|
14
|
|
import java.util.zip.ZipException; |
|
15
|
|
import java.util.zip.ZipFile; |
|
16
|
|
|
|
17
|
|
/** |
|
18
|
|
* <p> |
|
19
|
|
* This class borrows heavily from JBoss Weld class FileSystemBeanArchiveHandler, which authors are: |
|
20
|
|
* Pete Muir, Marko Luksa, Martin Kouba |
|
21
|
|
* </p> |
|
22
|
|
* <p> |
|
23
|
|
* FileSystemBeanArchiveHandler has been licensed under Apache License, |
|
24
|
|
* Version 2.0. It permits releasing under different license. |
|
25
|
|
* (http://en.wikipedia.org/wiki/Comparison_of_free_and_open-source_software_licenses) |
|
26
|
|
* </p> |
|
27
|
|
* |
|
28
|
|
* @author eis |
|
29
|
|
*/ |
|
30
|
|
class BeanArchive { |
|
31
|
8
1. <init> : removed call to java/util/ArrayList::<init> → NO_COVERAGE
2. <init> : Removed assignment to member variable classes → NO_COVERAGE
3. <init> : removed call to java/util/ArrayList::<init> → KILLED
4. <init> : removed call to java/util/ArrayList::<init> → KILLED
5. <init> : removed call to java/util/ArrayList::<init> → KILLED
6. <init> : Removed assignment to member variable classes → KILLED
7. <init> : Removed assignment to member variable classes → KILLED
8. <init> : Removed assignment to member variable classes → KILLED
|
private final List<Class> classes = new ArrayList<>(); |
|
32
|
|
private final SimpleLogger logger = new SimpleLogger(this.getClass()); |
|
33
|
|
|
|
34
|
|
public BeanArchive(URL url) { |
|
35
|
1
1. <init> : removed call to fi/eis/libraries/di/context/deployment/BeanArchive::initArchive → KILLED
|
initArchive(url); |
|
36
|
|
} |
|
37
|
|
public BeanArchive(URL url, LogLevel logLevel) { |
|
38
|
1
1. <init> : removed call to fi/eis/libraries/di/context/deployment/BeanArchive::setLogLevel → KILLED
|
setLogLevel(logLevel); |
|
39
|
1
1. <init> : removed call to fi/eis/libraries/di/context/deployment/BeanArchive::initArchive → KILLED
|
initArchive(url); |
|
40
|
|
} |
|
41
|
|
public BeanArchive(File file) { |
|
42
|
1
1. <init> : removed call to fi/eis/libraries/di/context/deployment/BeanArchive::initArchive → KILLED
|
initArchive(file); |
|
43
|
|
} |
|
44
|
|
public BeanArchive(File file, LogLevel logLevel) { |
|
45
|
1
1. <init> : removed call to fi/eis/libraries/di/context/deployment/BeanArchive::setLogLevel → NO_COVERAGE
|
setLogLevel(logLevel); |
|
46
|
1
1. <init> : removed call to fi/eis/libraries/di/context/deployment/BeanArchive::initArchive → NO_COVERAGE
|
initArchive(file); |
|
47
|
|
} |
|
48
|
|
|
|
49
|
|
public List<Class> getClasses() { |
|
50
|
1
1. getClasses : replaced return value with Collections.emptyList for fi/eis/libraries/di/context/deployment/BeanArchive::getClasses → KILLED
|
return this.classes; |
|
51
|
|
} |
|
52
|
|
|
|
53
|
|
private static final String PROCOTOL_JAR = "jar"; |
|
54
|
|
private static final String CLASS_FILE_EXTENSION = ".class"; |
|
55
|
|
|
|
56
|
|
private void initArchive(URL url) { |
|
57
|
3
1. initArchive : removed call to java/io/File::<init> → KILLED
2. initArchive : removed call to java/net/URL::getPath → KILLED
3. initArchive : removed call to fi/eis/libraries/di/context/deployment/BeanArchive::initArchive → KILLED
|
initArchive(new File(url.getPath())); |
|
58
|
|
} |
|
59
|
|
|
|
60
|
|
private void initArchive(File file) { |
|
61
|
|
|
|
62
|
4
1. initArchive : removed conditional - replaced equality check with false → KILLED
2. initArchive : negated conditional → KILLED
3. initArchive : removed call to java/io/File::exists → KILLED
4. initArchive : removed conditional - replaced equality check with true → KILLED
|
if (!file.exists()) { |
|
63
|
2
1. initArchive : Substituted 0 with 1 → KILLED
2. initArchive : Substituted 1 with 0 → KILLED
|
throw new IllegalArgumentException( |
|
64
|
3
1. initArchive : replaced call to java/lang/String::format with argument → SURVIVED
2. initArchive : removed call to java/lang/String::format → SURVIVED
3. initArchive : removed call to java/lang/IllegalArgumentException::<init> → KILLED
|
String.format("Doesn't exist: %s", file)); |
|
65
|
|
} |
|
66
|
|
|
|
67
|
|
try { |
|
68
|
|
logger.debug("Handle path: %s", file.toPath()); |
|
69
|
|
|
|
70
|
4
1. initArchive : removed call to java/io/File::isDirectory → KILLED
2. initArchive : removed conditional - replaced equality check with true → KILLED
3. initArchive : removed conditional - replaced equality check with false → KILLED
4. initArchive : negated conditional → KILLED
|
if (file.isDirectory()) { |
|
71
|
4
1. initArchive : removed call to fi/eis/libraries/di/context/deployment/BeanArchive::handleDirectory → KILLED
2. initArchive : removed call to fi/eis/libraries/di/context/deployment/DirectoryEntry::setFile → KILLED
3. initArchive : replaced call to fi/eis/libraries/di/context/deployment/DirectoryEntry::setFile with receiver → KILLED
4. initArchive : removed call to fi/eis/libraries/di/context/deployment/DirectoryEntry::<init> → KILLED
|
handleDirectory(new DirectoryEntry().setFile(file)); |
|
72
|
|
} else { |
|
73
|
1
1. initArchive : removed call to fi/eis/libraries/di/context/deployment/BeanArchive::handleFile → KILLED
|
handleFile(file); |
|
74
|
|
} |
|
75
|
|
} catch (IOException e) { |
|
76
|
8
1. initArchive : replaced call to java/lang/StringBuilder::append with receiver → NO_COVERAGE
2. initArchive : removed call to java/lang/StringBuilder::append → NO_COVERAGE
3. initArchive : removed call to java/io/File::toPath → NO_COVERAGE
4. initArchive : removed call to java/lang/StringBuilder::append → NO_COVERAGE
5. initArchive : replaced call to java/lang/StringBuilder::append with receiver → NO_COVERAGE
6. initArchive : removed call to java/lang/IllegalStateException::<init> → NO_COVERAGE
7. initArchive : removed call to java/lang/StringBuilder::<init> → NO_COVERAGE
8. initArchive : removed call to java/lang/StringBuilder::toString → NO_COVERAGE
|
throw new IllegalStateException("Could not handle path: " + file.toPath(), e); |
|
77
|
|
} |
|
78
|
|
} |
|
79
|
|
|
|
80
|
|
/** |
|
81
|
|
* Method to go through all entries in a .jar file on disk |
|
82
|
|
* |
|
83
|
|
* @param file jar file that we want to use basis for dependency injection |
|
84
|
|
* @throws IOException |
|
85
|
|
*/ |
|
86
|
|
private void handleFile(File file) throws IOException { |
|
87
|
|
|
|
88
|
|
logger.debug("Handle archive file: %s", file); |
|
89
|
|
|
|
90
|
|
try { |
|
91
|
1
1. handleFile : removed call to java/util/zip/ZipFile::<init> → KILLED
|
ZipFile zip = new ZipFile(file); |
|
92
|
1
1. handleFile : removed call to java/util/zip/ZipFile::entries → KILLED
|
Enumeration<? extends ZipEntry> entries = zip.entries(); |
|
93
|
12
1. handleFile : replaced call to java/lang/StringBuilder::append with receiver → SURVIVED
2. handleFile : removed call to java/net/URL::toExternalForm → SURVIVED
3. handleFile : replaced call to java/lang/StringBuilder::append with receiver → SURVIVED
4. handleFile : replaced call to java/lang/StringBuilder::append with receiver → SURVIVED
5. handleFile : removed call to java/lang/StringBuilder::toString → SURVIVED
6. handleFile : removed call to java/io/File::toURI → KILLED
7. handleFile : removed call to java/net/URI::toURL → KILLED
8. handleFile : removed call to fi/eis/libraries/di/context/deployment/ZipFileEntry::<init> → KILLED
9. handleFile : removed call to java/lang/StringBuilder::append → KILLED
10. handleFile : removed call to java/lang/StringBuilder::<init> → KILLED
11. handleFile : removed call to java/lang/StringBuilder::append → KILLED
12. handleFile : removed call to java/lang/StringBuilder::append → KILLED
|
ZipFileEntry entry = new ZipFileEntry(PROCOTOL_JAR + ":" + file.toURI().toURL().toExternalForm() + "!/"); |
|
94
|
4
1. handleFile : negated conditional → KILLED
2. handleFile : removed call to java/util/Enumeration::hasMoreElements → KILLED
3. handleFile : removed conditional - replaced equality check with false → KILLED
4. handleFile : removed conditional - replaced equality check with true → KILLED
|
while (entries.hasMoreElements()) { |
|
95
|
5
1. handleFile : replaced call to fi/eis/libraries/di/context/deployment/ZipFileEntry::setName with receiver → KILLED
2. handleFile : removed call to java/util/Enumeration::nextElement → KILLED
3. handleFile : removed call to fi/eis/libraries/di/context/deployment/BeanArchive::addIfClass → KILLED
4. handleFile : removed call to java/util/zip/ZipEntry::getName → KILLED
5. handleFile : removed call to fi/eis/libraries/di/context/deployment/ZipFileEntry::setName → KILLED
|
addIfClass(entry.setName(entries.nextElement().getName())); |
|
96
|
|
} |
|
97
|
1
1. handleFile : removed call to java/util/zip/ZipFile::close → SURVIVED
|
zip.close(); |
|
98
|
|
} catch (ZipException e) { |
|
99
|
1
1. handleFile : removed call to java/lang/IllegalArgumentException::<init> → NO_COVERAGE
|
throw new IllegalArgumentException(e); |
|
100
|
|
} |
|
101
|
|
} |
|
102
|
|
|
|
103
|
|
/** |
|
104
|
|
* Recursive method to handle a directory tree of classes loaded runtime. |
|
105
|
|
* |
|
106
|
|
* @param entry an entry in a directory. A file instance that might or might not have a path. |
|
107
|
|
* @throws IOException |
|
108
|
|
*/ |
|
109
|
|
private void handleDirectory(DirectoryEntry entry) throws IOException { |
|
110
|
|
|
|
111
|
1
1. handleDirectory : removed call to fi/eis/libraries/di/context/deployment/DirectoryEntry::getName → KILLED
|
String directoryPath = entry.getName(); |
|
112
|
|
|
|
113
|
|
logger.debug("Handle file %s with a path: %s", entry.getFile(), directoryPath); |
|
114
|
|
|
|
115
|
5
1. handleDirectory : negated conditional → KILLED
2. handleDirectory : removed conditional - replaced equality check with false → KILLED
3. handleDirectory : Substituted 1 with 0 → KILLED
4. handleDirectory : removed conditional - replaced equality check with true → KILLED
5. handleDirectory : Substituted 0 with 1 → KILLED
|
boolean hasPath = directoryPath != null; |
|
116
|
|
|
|
117
|
2
1. handleDirectory : removed call to fi/eis/libraries/di/context/deployment/DirectoryEntry::getFile → KILLED
2. handleDirectory : removed call to java/io/File::listFiles → KILLED
|
File[] files = entry.getFile().listFiles(); |
|
118
|
|
|
|
119
|
3
1. handleDirectory : removed conditional - replaced equality check with false → SURVIVED
2. handleDirectory : negated conditional → KILLED
3. handleDirectory : removed conditional - replaced equality check with true → KILLED
|
if (files == null) { |
|
120
|
2
1. handleDirectory : Substituted 0 with 1 → NO_COVERAGE
2. handleDirectory : Substituted 1 with 0 → NO_COVERAGE
|
throw new IllegalArgumentException( |
|
121
|
4
1. handleDirectory : replaced call to java/lang/String::format with argument → NO_COVERAGE
2. handleDirectory : removed call to fi/eis/libraries/di/context/deployment/DirectoryEntry::getFile → NO_COVERAGE
3. handleDirectory : removed call to java/lang/IllegalArgumentException::<init> → NO_COVERAGE
4. handleDirectory : removed call to java/lang/String::format → NO_COVERAGE
|
String.format("Unable to list directory files: %s", entry.getFile())); |
|
122
|
|
} |
|
123
|
|
|
|
124
|
|
for (File childFile : files) { |
|
125
|
|
|
|
126
|
3
1. handleDirectory : negated conditional → KILLED
2. handleDirectory : removed conditional - replaced equality check with false → KILLED
3. handleDirectory : removed conditional - replaced equality check with true → KILLED
|
if (hasPath) { |
|
127
|
11
1. handleDirectory : replaced call to java/lang/StringBuilder::append with receiver → KILLED
2. handleDirectory : removed call to java/lang/StringBuilder::<init> → KILLED
3. handleDirectory : removed call to java/io/File::getName → KILLED
4. handleDirectory : replaced call to java/lang/StringBuilder::append with receiver → KILLED
5. handleDirectory : removed call to java/lang/StringBuilder::append → KILLED
6. handleDirectory : removed call to fi/eis/libraries/di/context/deployment/DirectoryEntry::setPath → KILLED
7. handleDirectory : removed call to java/lang/StringBuilder::toString → KILLED
8. handleDirectory : replaced call to java/lang/StringBuilder::append with receiver → KILLED
9. handleDirectory : removed call to java/lang/StringBuilder::append → KILLED
10. handleDirectory : replaced call to fi/eis/libraries/di/context/deployment/DirectoryEntry::setPath with receiver → KILLED
11. handleDirectory : removed call to java/lang/StringBuilder::append → KILLED
|
entry.setPath(directoryPath + "/" + childFile.getName()); |
|
128
|
|
} else { |
|
129
|
3
1. handleDirectory : removed call to java/io/File::getName → KILLED
2. handleDirectory : removed call to fi/eis/libraries/di/context/deployment/DirectoryEntry::setPath → KILLED
3. handleDirectory : replaced call to fi/eis/libraries/di/context/deployment/DirectoryEntry::setPath with receiver → KILLED
|
entry.setPath(childFile.getName()); |
|
130
|
|
} |
|
131
|
2
1. handleDirectory : removed call to fi/eis/libraries/di/context/deployment/DirectoryEntry::setFile → KILLED
2. handleDirectory : replaced call to fi/eis/libraries/di/context/deployment/DirectoryEntry::setFile with receiver → KILLED
|
entry.setFile(childFile); |
|
132
|
|
|
|
133
|
4
1. handleDirectory : removed call to java/io/File::isDirectory → KILLED
2. handleDirectory : removed conditional - replaced equality check with true → KILLED
3. handleDirectory : negated conditional → KILLED
4. handleDirectory : removed conditional - replaced equality check with false → KILLED
|
if (childFile.isDirectory()) { |
|
134
|
1
1. handleDirectory : removed call to fi/eis/libraries/di/context/deployment/BeanArchive::handleDirectory → KILLED
|
handleDirectory(entry); |
|
135
|
|
} else { |
|
136
|
1
1. handleDirectory : removed call to fi/eis/libraries/di/context/deployment/BeanArchive::addIfClass → KILLED
|
addIfClass(entry); |
|
137
|
|
} |
|
138
|
|
} |
|
139
|
|
} |
|
140
|
|
|
|
141
|
|
private void addIfClass(Entry entry) { |
|
142
|
5
1. addIfClass : removed conditional - replaced equality check with false → KILLED
2. addIfClass : removed conditional - replaced equality check with true → KILLED
3. addIfClass : removed call to fi/eis/libraries/di/context/deployment/Entry::getName → KILLED
4. addIfClass : removed call to fi/eis/libraries/di/context/deployment/BeanArchive::isClass → KILLED
5. addIfClass : negated conditional → KILLED
|
if (isClass(entry.getName())) { |
|
143
|
4
1. addIfClass : replaced call to fi/eis/libraries/di/context/deployment/BeanArchive::filenameToClassname with argument → KILLED
2. addIfClass : removed call to fi/eis/libraries/di/context/deployment/BeanArchive::addClassWithName → KILLED
3. addIfClass : removed call to fi/eis/libraries/di/context/deployment/Entry::getName → KILLED
4. addIfClass : removed call to fi/eis/libraries/di/context/deployment/BeanArchive::filenameToClassname → KILLED
|
addClassWithName(filenameToClassname(entry.getName())); |
|
144
|
|
} |
|
145
|
|
} |
|
146
|
|
|
|
147
|
|
private void addClassWithName(String className) { |
|
148
|
|
try { |
|
149
|
1
1. addClassWithName : removed call to java/lang/Class::forName → KILLED
|
Class targetClass = Class.forName(className); |
|
150
|
|
// we want instantiable classes, so don't add interfaces or |
|
151
|
|
// abstract classes |
|
152
|
9
1. addClassWithName : removed conditional - replaced equality check with false → SURVIVED
2. addClassWithName : removed call to java/lang/reflect/Modifier::isAbstract → SURVIVED
3. addClassWithName : removed call to java/lang/Class::getModifiers → SURVIVED
4. addClassWithName : removed conditional - replaced equality check with true → SURVIVED
5. addClassWithName : removed call to java/lang/Class::isInterface → SURVIVED
6. addClassWithName : removed conditional - replaced equality check with true → KILLED
7. addClassWithName : negated conditional → KILLED
8. addClassWithName : removed conditional - replaced equality check with false → KILLED
9. addClassWithName : negated conditional → KILLED
|
if (targetClass.isInterface() || Modifier.isAbstract(targetClass.getModifiers())) { |
|
153
|
|
return; |
|
154
|
|
} |
|
155
|
1
1. addClassWithName : removed call to java/util/List::add → KILLED
|
classes.add(targetClass); |
|
156
|
|
} catch (ClassNotFoundException | NoClassDefFoundError e) { |
|
157
|
7
1. addClassWithName : removed call to java/lang/StringBuilder::append → NO_COVERAGE
2. addClassWithName : removed call to java/lang/StringBuilder::<init> → NO_COVERAGE
3. addClassWithName : removed call to java/lang/StringBuilder::toString → NO_COVERAGE
4. addClassWithName : replaced call to java/lang/StringBuilder::append with receiver → NO_COVERAGE
5. addClassWithName : removed call to java/lang/StringBuilder::append → NO_COVERAGE
6. addClassWithName : replaced call to java/lang/StringBuilder::append with receiver → NO_COVERAGE
7. addClassWithName : removed call to java/lang/IllegalArgumentException::<init> → NO_COVERAGE
|
throw new IllegalArgumentException("Not found: " + className); |
|
158
|
|
} |
|
159
|
|
} |
|
160
|
|
|
|
161
|
|
private boolean isClass(String fileName) { |
|
162
|
3
1. isClass : replaced boolean return with false for fi/eis/libraries/di/context/deployment/BeanArchive::isClass → KILLED
2. isClass : removed call to java/lang/String::endsWith → KILLED
3. isClass : replaced boolean return with true for fi/eis/libraries/di/context/deployment/BeanArchive::isClass → KILLED
|
return fileName.endsWith(CLASS_FILE_EXTENSION); |
|
163
|
|
} |
|
164
|
|
|
|
165
|
|
private String filenameToClassname(String fileName) { |
|
166
|
7
1. filenameToClassname : replaced return value with "" for fi/eis/libraries/di/context/deployment/BeanArchive::filenameToClassname → KILLED
2. filenameToClassname : Substituted 0 with 1 → KILLED
3. filenameToClassname : Substituted 46 with 47 → KILLED
4. filenameToClassname : removed call to java/lang/String::substring → KILLED
5. filenameToClassname : removed call to java/lang/String::lastIndexOf → KILLED
6. filenameToClassname : replaced call to java/lang/String::substring with receiver → KILLED
7. filenameToClassname : Substituted 47 with 48 → KILLED
|
return fileName.substring(0, fileName.lastIndexOf(CLASS_FILE_EXTENSION)) |
|
167
|
6
1. filenameToClassname : Substituted 92 with 93 → SURVIVED
2. filenameToClassname : Substituted 46 with 47 → SURVIVED
3. filenameToClassname : replaced call to java/lang/String::replace with receiver → SURVIVED
4. filenameToClassname : removed call to java/lang/String::replace → KILLED
5. filenameToClassname : replaced call to java/lang/String::replace with receiver → KILLED
6. filenameToClassname : removed call to java/lang/String::replace → KILLED
|
.replace('/', '.').replace('\\', '.'); |
|
168
|
|
} |
|
169
|
|
|
|
170
|
|
private void setLogLevel(LogLevel logLevel) { |
|
171
|
|
this.logger.setLogLevel(logLevel); |
|
172
|
|
} |
|
173
|
|
|
|
174
|
|
} |
| | Mutations |
| 31 |
|
1.1 Location : <init> Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingDisabled(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to java/util/ArrayList::<init> → KILLED
2.2 Location : <init> Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to java/util/ArrayList::<init> → KILLED
3.3 Location : <init> Killed by : none removed call to java/util/ArrayList::<init> → NO_COVERAGE
4.4 Location : <init> Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to java/util/ArrayList::<init> → KILLED
5.5 Location : <init> Killed by : none Removed assignment to member variable classes → NO_COVERAGE
6.6 Location : <init> Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) Removed assignment to member variable classes → KILLED
7.7 Location : <init> Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingDisabled(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) Removed assignment to member variable classes → KILLED
8.8 Location : <init> Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) Removed assignment to member variable classes → KILLED
|
| 35 |
|
1.1 Location : <init> Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to fi/eis/libraries/di/context/deployment/BeanArchive::initArchive → KILLED
|
| 38 |
|
1.1 Location : <init> Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingEnabled(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to fi/eis/libraries/di/context/deployment/BeanArchive::setLogLevel → KILLED
|
| 39 |
|
1.1 Location : <init> Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingDisabled(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to fi/eis/libraries/di/context/deployment/BeanArchive::initArchive → KILLED
|
| 42 |
|
1.1 Location : <init> Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDiWithNonExistingFile(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to fi/eis/libraries/di/context/deployment/BeanArchive::initArchive → KILLED
|
| 45 |
|
1.1 Location : <init> Killed by : none removed call to fi/eis/libraries/di/context/deployment/BeanArchive::setLogLevel → NO_COVERAGE
|
| 46 |
|
1.1 Location : <init> Killed by : none removed call to fi/eis/libraries/di/context/deployment/BeanArchive::initArchive → NO_COVERAGE
|
| 50 |
|
1.1 Location : getClasses Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) replaced return value with Collections.emptyList for fi/eis/libraries/di/context/deployment/BeanArchive::getClasses → KILLED
|
| 57 |
|
1.1 Location : initArchive Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to java/io/File::<init> → KILLED
2.2 Location : initArchive Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to java/net/URL::getPath → KILLED
3.3 Location : initArchive Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to fi/eis/libraries/di/context/deployment/BeanArchive::initArchive → KILLED
|
| 62 |
|
1.1 Location : initArchive Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDiWithNonExistingFile(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed conditional - replaced equality check with false → KILLED
2.2 Location : initArchive Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDiWithNonExistingFile(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) negated conditional → KILLED
3.3 Location : initArchive Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to java/io/File::exists → KILLED
4.4 Location : initArchive Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed conditional - replaced equality check with true → KILLED
|
| 63 |
|
1.1 Location : initArchive Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDiWithNonExistingFile(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) Substituted 0 with 1 → KILLED
2.2 Location : initArchive Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDiWithNonExistingFile(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) Substituted 1 with 0 → KILLED
|
| 64 |
|
1.1 Location : initArchive Killed by : none replaced call to java/lang/String::format with argument → SURVIVED
Covering tests
Covered by tests:
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDiWithNonExistingFile(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest)
2.2 Location : initArchive Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDiWithNonExistingFile(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to java/lang/IllegalArgumentException::<init> → KILLED
3.3 Location : initArchive Killed by : none removed call to java/lang/String::format → SURVIVED
Covering tests
Covered by tests:
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDiWithNonExistingFile(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest)
|
| 70 |
|
1.1 Location : initArchive Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to java/io/File::isDirectory → KILLED
2.2 Location : initArchive Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed conditional - replaced equality check with true → KILLED
3.3 Location : initArchive Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed conditional - replaced equality check with false → KILLED
4.4 Location : initArchive Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) negated conditional → KILLED
|
| 71 |
|
1.1 Location : initArchive Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to fi/eis/libraries/di/context/deployment/BeanArchive::handleDirectory → KILLED
2.2 Location : initArchive Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to fi/eis/libraries/di/context/deployment/DirectoryEntry::setFile → KILLED
3.3 Location : initArchive Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) replaced call to fi/eis/libraries/di/context/deployment/DirectoryEntry::setFile with receiver → KILLED
4.4 Location : initArchive Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to fi/eis/libraries/di/context/deployment/DirectoryEntry::<init> → KILLED
|
| 73 |
|
1.1 Location : initArchive Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to fi/eis/libraries/di/context/deployment/BeanArchive::handleFile → KILLED
|
| 76 |
|
1.1 Location : initArchive Killed by : none replaced call to java/lang/StringBuilder::append with receiver → NO_COVERAGE
2.2 Location : initArchive Killed by : none removed call to java/lang/StringBuilder::append → NO_COVERAGE
3.3 Location : initArchive Killed by : none removed call to java/io/File::toPath → NO_COVERAGE
4.4 Location : initArchive Killed by : none removed call to java/lang/StringBuilder::append → NO_COVERAGE
5.5 Location : initArchive Killed by : none replaced call to java/lang/StringBuilder::append with receiver → NO_COVERAGE
6.6 Location : initArchive Killed by : none removed call to java/lang/IllegalStateException::<init> → NO_COVERAGE
7.7 Location : initArchive Killed by : none removed call to java/lang/StringBuilder::<init> → NO_COVERAGE
8.8 Location : initArchive Killed by : none removed call to java/lang/StringBuilder::toString → NO_COVERAGE
|
| 91 |
|
1.1 Location : handleFile Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to java/util/zip/ZipFile::<init> → KILLED
|
| 92 |
|
1.1 Location : handleFile Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to java/util/zip/ZipFile::entries → KILLED
|
| 93 |
|
1.1 Location : handleFile Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to java/io/File::toURI → KILLED
2.2 Location : handleFile Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to java/net/URI::toURL → KILLED
3.3 Location : handleFile Killed by : none replaced call to java/lang/StringBuilder::append with receiver → SURVIVED
Covering tests
Covered by tests:
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest)
4.4 Location : handleFile Killed by : none removed call to java/net/URL::toExternalForm → SURVIVED
Covering tests
Covered by tests:
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest)
5.5 Location : handleFile Killed by : none replaced call to java/lang/StringBuilder::append with receiver → SURVIVED
Covering tests
Covered by tests:
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest)
6.6 Location : handleFile Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to fi/eis/libraries/di/context/deployment/ZipFileEntry::<init> → KILLED
7.7 Location : handleFile Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to java/lang/StringBuilder::append → KILLED
8.8 Location : handleFile Killed by : none replaced call to java/lang/StringBuilder::append with receiver → SURVIVED
Covering tests
Covered by tests:
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest)
9.9 Location : handleFile Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to java/lang/StringBuilder::<init> → KILLED
10.10 Location : handleFile Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to java/lang/StringBuilder::append → KILLED
11.11 Location : handleFile Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to java/lang/StringBuilder::append → KILLED
12.12 Location : handleFile Killed by : none removed call to java/lang/StringBuilder::toString → SURVIVED
Covering tests
Covered by tests:
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest)
|
| 94 |
|
1.1 Location : handleFile Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) negated conditional → KILLED
2.2 Location : handleFile Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to java/util/Enumeration::hasMoreElements → KILLED
3.3 Location : handleFile Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed conditional - replaced equality check with false → KILLED
4.4 Location : handleFile Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed conditional - replaced equality check with true → KILLED
|
| 95 |
|
1.1 Location : handleFile Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) replaced call to fi/eis/libraries/di/context/deployment/ZipFileEntry::setName with receiver → KILLED
2.2 Location : handleFile Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to java/util/Enumeration::nextElement → KILLED
3.3 Location : handleFile Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to fi/eis/libraries/di/context/deployment/BeanArchive::addIfClass → KILLED
4.4 Location : handleFile Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to java/util/zip/ZipEntry::getName → KILLED
5.5 Location : handleFile Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to fi/eis/libraries/di/context/deployment/ZipFileEntry::setName → KILLED
|
| 97 |
|
1.1 Location : handleFile Killed by : none removed call to java/util/zip/ZipFile::close → SURVIVED
Covering tests
Covered by tests:
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest)
|
| 99 |
|
1.1 Location : handleFile Killed by : none removed call to java/lang/IllegalArgumentException::<init> → NO_COVERAGE
|
| 111 |
|
1.1 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to fi/eis/libraries/di/context/deployment/DirectoryEntry::getName → KILLED
|
| 115 |
|
1.1 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) negated conditional → KILLED
2.2 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed conditional - replaced equality check with false → KILLED
3.3 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) Substituted 1 with 0 → KILLED
4.4 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed conditional - replaced equality check with true → KILLED
5.5 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) Substituted 0 with 1 → KILLED
|
| 117 |
|
1.1 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to fi/eis/libraries/di/context/deployment/DirectoryEntry::getFile → KILLED
2.2 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to java/io/File::listFiles → KILLED
|
| 119 |
|
1.1 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) negated conditional → KILLED
2.2 Location : handleDirectory Killed by : none removed conditional - replaced equality check with false → SURVIVED
Covering tests
Covered by tests:
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingDefault(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingDisabled(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingEnabled(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
3.3 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed conditional - replaced equality check with true → KILLED
|
| 120 |
|
1.1 Location : handleDirectory Killed by : none Substituted 0 with 1 → NO_COVERAGE
2.2 Location : handleDirectory Killed by : none Substituted 1 with 0 → NO_COVERAGE
|
| 121 |
|
1.1 Location : handleDirectory Killed by : none replaced call to java/lang/String::format with argument → NO_COVERAGE
2.2 Location : handleDirectory Killed by : none removed call to fi/eis/libraries/di/context/deployment/DirectoryEntry::getFile → NO_COVERAGE
3.3 Location : handleDirectory Killed by : none removed call to java/lang/IllegalArgumentException::<init> → NO_COVERAGE
4.4 Location : handleDirectory Killed by : none removed call to java/lang/String::format → NO_COVERAGE
|
| 126 |
|
1.1 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) negated conditional → KILLED
2.2 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed conditional - replaced equality check with false → KILLED
3.3 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed conditional - replaced equality check with true → KILLED
|
| 127 |
|
1.1 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) replaced call to java/lang/StringBuilder::append with receiver → KILLED
2.2 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to java/lang/StringBuilder::<init> → KILLED
3.3 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to java/io/File::getName → KILLED
4.4 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) replaced call to java/lang/StringBuilder::append with receiver → KILLED
5.5 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to java/lang/StringBuilder::append → KILLED
6.6 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to fi/eis/libraries/di/context/deployment/DirectoryEntry::setPath → KILLED
7.7 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to java/lang/StringBuilder::toString → KILLED
8.8 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) replaced call to java/lang/StringBuilder::append with receiver → KILLED
9.9 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to java/lang/StringBuilder::append → KILLED
10.10 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) replaced call to fi/eis/libraries/di/context/deployment/DirectoryEntry::setPath with receiver → KILLED
11.11 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to java/lang/StringBuilder::append → KILLED
|
| 129 |
|
1.1 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to java/io/File::getName → KILLED
2.2 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to fi/eis/libraries/di/context/deployment/DirectoryEntry::setPath → KILLED
3.3 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) replaced call to fi/eis/libraries/di/context/deployment/DirectoryEntry::setPath with receiver → KILLED
|
| 131 |
|
1.1 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to fi/eis/libraries/di/context/deployment/DirectoryEntry::setFile → KILLED
2.2 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) replaced call to fi/eis/libraries/di/context/deployment/DirectoryEntry::setFile with receiver → KILLED
|
| 133 |
|
1.1 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to java/io/File::isDirectory → KILLED
2.2 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed conditional - replaced equality check with true → KILLED
3.3 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) negated conditional → KILLED
4.4 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed conditional - replaced equality check with false → KILLED
|
| 134 |
|
1.1 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to fi/eis/libraries/di/context/deployment/BeanArchive::handleDirectory → KILLED
|
| 136 |
|
1.1 Location : handleDirectory Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest) removed call to fi/eis/libraries/di/context/deployment/BeanArchive::addIfClass → KILLED
|
| 142 |
|
1.1 Location : addIfClass Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed conditional - replaced equality check with false → KILLED
2.2 Location : addIfClass Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed conditional - replaced equality check with true → KILLED
3.3 Location : addIfClass Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to fi/eis/libraries/di/context/deployment/Entry::getName → KILLED
4.4 Location : addIfClass Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to fi/eis/libraries/di/context/deployment/BeanArchive::isClass → KILLED
5.5 Location : addIfClass Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) negated conditional → KILLED
|
| 143 |
|
1.1 Location : addIfClass Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) replaced call to fi/eis/libraries/di/context/deployment/BeanArchive::filenameToClassname with argument → KILLED
2.2 Location : addIfClass Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to fi/eis/libraries/di/context/deployment/BeanArchive::addClassWithName → KILLED
3.3 Location : addIfClass Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to fi/eis/libraries/di/context/deployment/Entry::getName → KILLED
4.4 Location : addIfClass Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to fi/eis/libraries/di/context/deployment/BeanArchive::filenameToClassname → KILLED
|
| 149 |
|
1.1 Location : addClassWithName Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to java/lang/Class::forName → KILLED
|
| 152 |
|
1.1 Location : addClassWithName Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed conditional - replaced equality check with true → KILLED
2.2 Location : addClassWithName Killed by : none removed conditional - replaced equality check with false → SURVIVED
Covering tests
Covered by tests:
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingDefault(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingDisabled(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingEnabled(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
3.3 Location : addClassWithName Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) negated conditional → KILLED
4.4 Location : addClassWithName Killed by : none removed call to java/lang/reflect/Modifier::isAbstract → SURVIVED
Covering tests
Covered by tests:
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingDefault(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingDisabled(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingEnabled(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
5.5 Location : addClassWithName Killed by : none removed call to java/lang/Class::getModifiers → SURVIVED
Covering tests
Covered by tests:
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingDefault(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingDisabled(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingEnabled(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
6.6 Location : addClassWithName Killed by : none removed conditional - replaced equality check with true → SURVIVED
Covering tests
Covered by tests:
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingDefault(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingDisabled(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingEnabled(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
7.7 Location : addClassWithName Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed conditional - replaced equality check with false → KILLED
8.8 Location : addClassWithName Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) negated conditional → KILLED
9.9 Location : addClassWithName Killed by : none removed call to java/lang/Class::isInterface → SURVIVED
Covering tests
Covered by tests:
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingDefault(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingDisabled(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingEnabled(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
|
| 155 |
|
1.1 Location : addClassWithName Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to java/util/List::add → KILLED
|
| 157 |
|
1.1 Location : addClassWithName Killed by : none removed call to java/lang/StringBuilder::append → NO_COVERAGE
2.2 Location : addClassWithName Killed by : none removed call to java/lang/StringBuilder::<init> → NO_COVERAGE
3.3 Location : addClassWithName Killed by : none removed call to java/lang/StringBuilder::toString → NO_COVERAGE
4.4 Location : addClassWithName Killed by : none replaced call to java/lang/StringBuilder::append with receiver → NO_COVERAGE
5.5 Location : addClassWithName Killed by : none removed call to java/lang/StringBuilder::append → NO_COVERAGE
6.6 Location : addClassWithName Killed by : none replaced call to java/lang/StringBuilder::append with receiver → NO_COVERAGE
7.7 Location : addClassWithName Killed by : none removed call to java/lang/IllegalArgumentException::<init> → NO_COVERAGE
|
| 162 |
|
1.1 Location : isClass Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) replaced boolean return with false for fi/eis/libraries/di/context/deployment/BeanArchive::isClass → KILLED
2.2 Location : isClass Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to java/lang/String::endsWith → KILLED
3.3 Location : isClass Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) replaced boolean return with true for fi/eis/libraries/di/context/deployment/BeanArchive::isClass → KILLED
|
| 166 |
|
1.1 Location : filenameToClassname Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) replaced return value with "" for fi/eis/libraries/di/context/deployment/BeanArchive::filenameToClassname → KILLED
2.2 Location : filenameToClassname Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) Substituted 0 with 1 → KILLED
3.3 Location : filenameToClassname Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) Substituted 46 with 47 → KILLED
4.4 Location : filenameToClassname Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to java/lang/String::substring → KILLED
5.5 Location : filenameToClassname Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to java/lang/String::lastIndexOf → KILLED
6.6 Location : filenameToClassname Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) replaced call to java/lang/String::substring with receiver → KILLED
7.7 Location : filenameToClassname Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) Substituted 47 with 48 → KILLED
|
| 167 |
|
1.1 Location : filenameToClassname Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to java/lang/String::replace → KILLED
2.2 Location : filenameToClassname Killed by : none Substituted 92 with 93 → SURVIVED
Covering tests
Covered by tests:
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingDefault(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingDisabled(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingEnabled(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
3.3 Location : filenameToClassname Killed by : none Substituted 46 with 47 → SURVIVED
Covering tests
Covered by tests:
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingDefault(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingDisabled(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingEnabled(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
4.4 Location : filenameToClassname Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) replaced call to java/lang/String::replace with receiver → KILLED
5.5 Location : filenameToClassname Killed by : fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest) removed call to java/lang/String::replace → KILLED
6.6 Location : filenameToClassname Killed by : none replaced call to java/lang/String::replace with receiver → SURVIVED
Covering tests
Covered by tests:
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningJarLoadingTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDi(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingDefault(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingDisabled(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
- fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest.testDiLoggingEnabled(fi.eis.libraries.di.test.deploymentunit.DIClassScanningTest)
|