MCPcopy Create free account
hub / github.com/HtmlUnit/htmlunit / addAll

Method addAll

src/test/java/org/htmlunit/CodeStyleTest.java:126–141  ·  view source on GitHub ↗
(final File dir, final List<File> files)

Source from the content-addressed store, hash-verified

124 }
125
126 private void addAll(final File dir, final List<File> files) throws IOException {
127 final File[] children = dir.listFiles();
128 if (children != null) {
129 for (final File child : children) {
130 if (child.isDirectory()
131 && !".git".equals(child.getName())
132 && !"brotli".equals(child.getName())
133 && !("test".equals(dir.getName()) && "resources".equals(child.getName()))) {
134 addAll(child, files);
135 }
136 else {
137 files.add(child);
138 }
139 }
140 }
141 }
142
143 private void process(final List<File> files, final List<String> classNames) throws IOException {
144 final String excludeQuercus = "org" + File.separatorChar + "htmlunit" + File.separatorChar + "util" + File.separatorChar + "quercus" + File.separatorChar + "servlet";

Callers 13

codeStyleMethod · 0.95
ext-all-debug.jsFile · 0.45
ext-all.jsFile · 0.45
SwitchButton.jsFile · 0.45
ext-all.jsFile · 0.45
charsetMethod · 0.45
charsetMethod · 0.45
setupXmlResponseMethod · 0.45
charsetMethod · 0.45
treeOrderMethod · 0.45
treeOrderMethod · 0.45
typeOnChangeMethod · 0.45

Calls 3

getNameMethod · 0.65
equalsMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected