MCPcopy Create free account
hub / github.com/spotbugs/spotbugs / main

Method main

spotbugsTestCases/src/java/NPIncomplete.java:21–53  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

19 }
20
21 public static void main(String[] args) {
22 try {
23 BufferedReader findFiles = new BufferedReader(new FileReader("/mainList.txt"));
24 while (true) {
25 BufferedReader ReadFiles = new BufferedReader(new FileReader(findFiles.readLine().trim()));
26 System.out.println(ReadFiles.readLine().trim());
27 }
28 } catch (FileNotFoundException e) {
29 System.exit(7);
30 e.printStackTrace();
31 } catch (IOException e) {
32 e.printStackTrace();
33 }
34
35 try {
36 BufferedReader FindCenter = new BufferedReader(new FileReader("/FindCenter.txt"));
37 System.out.println(getMiddle(FindCenter.readLine()));
38 } catch (FileNotFoundException e) {
39 e.printStackTrace();
40 } catch (IOException e) {
41 e.printStackTrace();
42 }
43
44 System.out.println(new NPIncomplete().deREFERENCER(null));
45 System.out.println(new NPIncomplete().getMiddle2(null));
46
47 int y = 1;
48 int hello = 0;
49 for (int x = 0; x < 100; y++) {
50 System.out.println(hello);
51 }
52
53 }
54}

Callers

nothing calls this directly

Calls 6

getMiddleMethod · 0.95
trimMethod · 0.80
readLineMethod · 0.80
deREFERENCERMethod · 0.80
getMiddle2Method · 0.80
printlnMethod · 0.45

Tested by

no test coverage detected