MCPcopy Create free account
hub / github.com/evernat/dead-code-detector / listFiles

Method listFiles

src/main/java/dcd/DcdHelper.java:218–224  ·  view source on GitHub ↗
(File directory)

Source from the content-addressed store, hash-verified

216 }
217
218 static File[] listFiles(File directory) {
219 final File[] files = directory.listFiles();
220 if (files == null) {
221 return new File[] {};
222 }
223 return files;
224 }
225
226 static boolean isJarOrWarFile(File file) {
227 return file.getName().endsWith(".jar") || file.getName().endsWith(".war");

Callers 4

analyzeViewFilesMethod · 0.95
getClassTotalSizeMethod · 0.95
rmdirMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected