PMD report

Problems found

#FileLineProblem
1 freenet/ConnectionJob.java 197 Avoid unused private fields such as 'blockedConnectionCount'
2 freenet/FieldSet.java 414 Avoid unused private methods such as 'parseFields(ReadInputStream,char,char,char)'
3 freenet/FieldSet.java 485 Avoid unused private methods such as 'parseFields(ReadInputStream,char,char,char,char,Filter,Filter)'
4 freenet/FieldSet.java 498 Avoid unused private methods such as 'parseFields(ReadInputStream,char,char,char,Filter,Filter)'
5 freenet/FieldSetTest.java 44 Avoid unused local variables such as 'fs'
6 freenet/HTMLRenderer.java 312 Avoid unused local variables such as 'sendingConnectionsCount'
7 freenet/HTMLRenderer.java 313 Avoid unused local variables such as 'receivingConnectionsCount'
8 freenet/HTMLRenderer.java 314 Avoid unused local variables such as 'transferringConnectionsCount'
9 freenet/MuxConnectionHandler.java 113 Avoid unused local variables such as 'rsl'
10 freenet/OpenConnectionManager.java 267 Avoid unused local variables such as 'id'
11 freenet/PeerHandler.java 420 Avoid unused private fields such as 'lastOutboundAttemptTime'
12 freenet/PeerHandler.java 422 Avoid unused private fields such as 'lastOutboundSuccessTime'
13 freenet/PeerHandler.java 424 Avoid unused private fields such as 'lastOutboundFailureTime'
14 freenet/PeerHandler.java 434 Avoid unused private fields such as 'consecutiveOutboundFailures'
15 freenet/PeerMessageQueue.java 320 Avoid unused private fields such as 'id'
16 freenet/client/AutoRequester.java 760 Avoid unused private fields such as 'requestSucceeded'
17 freenet/client/ClientMessageHandler.java 21 Avoid unused private fields such as 'cc'
18 freenet/client/EventInputStream.java 17 Avoid unused private fields such as 'data'
19 freenet/client/EventInputStream.java 17 Avoid unused private fields such as 'meta'
20 freenet/client/FCPClient.java 429 Avoid unused local variables such as 'time'
21 freenet/client/FECTools.java 339 Avoid unused private methods such as 'arrayToString(int)'
22 freenet/client/InternalClient.java 410 Avoid unused private fields such as 'req'
23 freenet/client/SplitFileDownloader.java 494 Avoid unused private methods such as 'arrayToString(int)'
24 freenet/client/SplitFileDownloader.java 854 Avoid unused private methods such as 'getCHK(String,Bucket,Bucket)'
25 freenet/client/http/FproxyServlet.java 401 Avoid unused local variables such as 'queryVerbose'
26 freenet/client/http/FproxyServlet.java 1527 Avoid unused private fields such as 'isDNF'
27 freenet/client/http/FproxyServlet.java 1529 Avoid unused private fields such as 'summary'
28 freenet/client/http/ImageInfo.java 907 Avoid unused formal parameters such as 'sourceName'
29 freenet/client/http/ImageInfo.java 918 Avoid unused private methods such as 'printLine(int,String,int,int)'
30 freenet/client/http/ImageInfo.java 1064 Avoid unused private methods such as 'readLine(int)'
31 freenet/client/http/NodeStatusServlet.java 999 Avoid unused private methods such as 'peakValue(int,int,float,String)'
32 freenet/client/http/NodeStatusServlet.java 1318 Avoid unused formal parameters such as 'req'
33 freenet/client/http/StreamInsertServlet.java 59 Avoid unused private fields such as 'node'
34 freenet/client/http/StreamServlet.java 54 Avoid unused private fields such as 'node'
35 freenet/client/http/filter/CSSTokenizerFilter.java 555 Avoid unused private fields such as 'YY_ILLEGAL_STATE'
36 freenet/client/http/filter/CSSTokenizerFilter.java 622 Avoid unused private fields such as 'yyline'
37 freenet/client/http/filter/CSSTokenizerFilter.java 625 Avoid unused private fields such as 'yychar'
38 freenet/client/http/filter/CSSTokenizerFilter.java 631 Avoid unused private fields such as 'yycolumn'
39 freenet/client/http/filter/CSSTokenizerFilter.java 636 Avoid unused private fields such as 'yy_atBOL'
40 freenet/client/http/filter/CSSTokenizerFilter.java 856 Avoid unused private methods such as 'yy_unpack()'
41 freenet/client/http/filter/CSSTokenizerFilter.java 888 Avoid unused private methods such as 'yy_unpack_cmap(String)'
42 freenet/client/http/filter/CSSTokenizerFilter.java 1086 Avoid unused local variables such as 'yy_startRead_l'
43 freenet/client/http/filter/Parser.java 1443 Avoid unused private fields such as 'YY_ILLEGAL_STATE'
44 freenet/client/http/filter/Parser.java 1528 Avoid unused private fields such as 'yyline'
45 freenet/client/http/filter/Parser.java 1531 Avoid unused private fields such as 'yychar'
46 freenet/client/http/filter/Parser.java 1537 Avoid unused private fields such as 'yycolumn'
47 freenet/client/http/filter/Parser.java 1542 Avoid unused private fields such as 'yy_atBOL'
48 freenet/client/http/filter/Parser.java 1583 Avoid unused local variables such as 'result'
49 freenet/client/http/filter/Parser.java 1625 Avoid unused private methods such as 'yy_unpack()'
50 freenet/client/http/filter/Parser.java 1657 Avoid unused private methods such as 'yy_unpack_cmap(String)'
51 freenet/client/http/filter/Parser.java 1834 Avoid unused private methods such as 'yypushback(int)'
52 freenet/client/http/filter/Parser.java 1855 Avoid unused local variables such as 'yy_startRead_l'
53 freenet/client/http/filter/Parser.java 2195 Avoid unused local variables such as 'str'
54 freenet/client/http/filter/Parser.java 2255 Avoid unused local variables such as 'str'
55 freenet/client/http/filter/SaferFilter.java 38 Avoid unused private fields such as 'debug'
56 freenet/client/http/filter/SaferFilter.java 42 Avoid unused private fields such as 'allowSecurityWarnings'
57 freenet/client/http/filter/SaferFilter.java 491 Avoid unused local variables such as 'deletedStyle'
58 freenet/client/http/filter/SaferFilter.java 1643 Avoid unused local variables such as 'scheme'
59 freenet/client/inFlightRequestTrackingAutoRequester.java 51 Avoid unused private fields such as 'terminalEvent'
60 freenet/client/inFlightRequestTrackingAutoRequester.java 52 Avoid unused private fields such as 'terminalEventTimestamp'
61 freenet/client/inFlightRequestTrackingAutoRequester.java 120 Avoid unused local variables such as 'bFirstIteration'
62 freenet/client/inFlightRequestTrackingAutoRequester.java 122 Avoid unused local variables such as 'lTransfer'
63 freenet/client/inFlightRequestTrackingAutoRequester.java 126 Avoid unused local variables such as 'timestamp'
64 freenet/client/inFlightRequestTrackingAutoRequester.java 287 Avoid unused private fields such as 'barTmp'
65 freenet/client/inFlightRequestTrackingAutoRequester.java 287 Avoid unused private fields such as 'relBarTmp'
66 freenet/client/metadata/ExtInfo.java 14 Avoid unused private fields such as 'uridata'
67 freenet/client/metadata/ExtInfo.java 30 Avoid unused local variables such as 'ms'
68 freenet/client/metadata/SplitFile.java 87 Avoid unused local variables such as 'ms'
69 freenet/client/metadata/StreamPart.java 41 Avoid unused local variables such as 'ms'
70 freenet/client/metadata/VersionCommand.java 12 Avoid unused private fields such as 'md'
71 freenet/config/Option.java 79 Avoid unused private methods such as 'getNum(String)'
72 freenet/config/RandomPortOption.java 34 Avoid unused local variables such as 'ss'
73 freenet/config/Setup.java 335 Avoid unused private methods such as 'comment(String,boolean,PrintWriter)'
74 freenet/config/Setup.java 536 Avoid unused private methods such as 'setParam(Option,int,PrintWriter)'
75 freenet/config/Setup.java 548 Avoid unused private methods such as 'setParam(Option,long,PrintWriter)'
76 freenet/config/Setup.java 560 Avoid unused private methods such as 'setParam(Option,float,PrintWriter)'
77 freenet/config/Setup.java 572 Avoid unused private methods such as 'setParam(Option,double,PrintWriter)'
78 freenet/config/Setup.java 584 Avoid unused private methods such as 'setParam(Option,String,PrintWriter)'
79 freenet/config/Setup.java 596 Avoid unused private methods such as 'updateParam(Option,boolean,boolean,PrintWriter)'
80 freenet/config/Setup.java 610 Avoid unused private methods such as 'updateParam(Option,int,int,PrintWriter)'
81 freenet/config/Setup.java 624 Avoid unused private methods such as 'updateParam(Option,long,long,PrintWriter)'
82 freenet/config/Setup.java 637 Avoid unused private methods such as 'updateParam(Option,float,float,PrintWriter)'
83 freenet/config/Setup.java 651 Avoid unused private methods such as 'updateParam(Option,double,double,PrintWriter)'
84 freenet/crypt/CryptTest.java 71 Avoid unused local variables such as 'j'
85 freenet/crypt/DHGroup.java 37 Avoid unused local variables such as 'q'
86 freenet/crypt/DLES.java 77 Avoid unused local variables such as 'logDEBUG'
87 freenet/crypt/DLES.java 84 Avoid unused local variables such as 'gotStuffTime'
88 freenet/crypt/DLES.java 101 Avoid unused local variables such as 'encipheredTime'
89 freenet/crypt/DLES.java 165 Avoid unused local variables such as 'rd'
90 freenet/crypt/DSAGroup.java 21 Avoid unused private fields such as 'DEBUG'
91 freenet/crypt/DSAPrivateKey.java 71 Avoid unused local variables such as 'pk'
92 freenet/crypt/SHA1.java 61 Avoid unused private fields such as 'digestValid'
93 freenet/crypt/SHA1.java 325 Avoid unused local variables such as 'j'
94 freenet/crypt/SHA1.java 398 Avoid unused local variables such as 'afterDigested'
95 freenet/crypt/SHA1.java 457 Avoid unused local variables such as 'j'
96 freenet/crypt/SHA256.java 196 Avoid unused formal parameters such as 'len'
97 freenet/crypt/Yarrow.java 175 Avoid unused private methods such as 'readEntropyFromFiles()'
98 freenet/crypt/Yarrow.java 247 Avoid unused private fields such as 'block_bytes'
99 freenet/crypt/Yarrow.java 365 Avoid unused private fields such as 'digestSize'
100 freenet/crypt/Yarrow.java 367 Avoid unused private fields such as 'long_buffer'
101 freenet/crypt/ciphers/Rijndael_Algorithm.java 838 Avoid unused private methods such as 'toString(byte)'
102 freenet/crypt/ciphers/Twofish_Algorithm.java 69 Avoid unused private fields such as 'TOTAL_SUBKEYS'
103 freenet/crypt/ciphers/Twofish_Algorithm.java 241 Avoid unused private fields such as 'GF256_FDBK'
104 freenet/crypt/ciphers/Twofish_Algorithm.java 334 Avoid unused private methods such as 'Mx_1(int)'
105 freenet/crypt/ciphers/Twofish_Algorithm.java 642 Avoid unused private methods such as 'b0(int)'
106 freenet/crypt/ciphers/Twofish_Algorithm.java 643 Avoid unused private methods such as 'b1(int)'
107 freenet/crypt/ciphers/Twofish_Algorithm.java 644 Avoid unused private methods such as 'b2(int)'
108 freenet/crypt/ciphers/Twofish_Algorithm.java 645 Avoid unused private methods such as 'b3(int)'
109 freenet/diagnostics/StandardDiagnostics.java 158 Avoid unused private fields such as 'changed'
110 freenet/fs/dir/NativeFSDirectory.java 2105 Avoid unused private fields such as 'usedSinceCommit'
111 freenet/interfaces/AllowedHosts.java 138 Avoid unused private methods such as 'intAddress(String)'
112 freenet/interfaces/LocalInterface.java 27 Avoid unused private methods such as 'intAddress(String)'
113 freenet/interfaces/servlet/MultipleHttpServletContainer.java 316 Avoid unused formal parameters such as 'method'
114 freenet/message/client/FEC/BlockMap.java 160 Avoid unused private fields such as 'value'
115 freenet/message/client/MetadataHint.java 48 Avoid unused private fields such as 'timeSec'
116 freenet/message/client/Restarted.java 11 Avoid unused private fields such as 'reason'
117 freenet/node/ConnectionOpenerManager.java 82 Avoid unused private fields such as 'scheduled'
118 freenet/node/IPAddressDetector.java 228 Avoid unused local variables such as 'detectedInetAddress'
119 freenet/node/Main.java 213 Avoid unused private fields such as 'cipher'
120 freenet/node/Main.java 735 Avoid unused local variables such as 'maxARKLookups'
121 freenet/node/Main.java 1129 Avoid unused local variables such as 'useRT'
122 freenet/node/Main.java 1248 Avoid unused private methods such as 'readSeedStrings(String)'
123 freenet/node/Main.java 1256 Avoid unused private methods such as 'readSeedStrings(File)'
124 freenet/node/Main.java 1569 Avoid unused formal parameters such as 'addr'
125 freenet/node/Main.java 2846 Avoid unused private methods such as 'copyBuffer(Buffer,Buffer)'
126 freenet/node/Main.java 3579 Avoid unused local variables such as 'out'
127 freenet/node/Node.java 4762 Avoid unused formal parameters such as 'hopsToLive'
128 freenet/node/Node.java 4762 Avoid unused formal parameters such as 'searchKey'
129 freenet/node/Node.java 4762 Avoid unused formal parameters such as 'verstr'
130 freenet/node/Node.java 4773 Avoid unused formal parameters such as 'diagAddr'
131 freenet/node/Node.java 4773 Avoid unused formal parameters such as 'hopsToLive'
132 freenet/node/Node.java 4773 Avoid unused formal parameters such as 'searchKey'
133 freenet/node/Node.java 4773 Avoid unused formal parameters such as 'verstr'
134 freenet/node/Node.java 4966 Avoid unused private methods such as 'getRankFraction(Comparable)'
135 freenet/node/NodeConsole.java 70 Avoid unused formal parameters such as 'req'
136 freenet/node/StateChain.java 227 Avoid unused private fields such as 'message'
137 freenet/node/StateChain.java 228 Avoid unused private fields such as 'state'
138 freenet/node/StateChain.java 229 Avoid unused private fields such as 'time'
139 freenet/node/StateChainManagingMessageHandler.java 246 Avoid unused formal parameters such as 'n'
140 freenet/node/http/BookmarkManagerServlet.java 279 Avoid unused local variables such as 'removed'
141 freenet/node/http/BookmarkManagerServlet.java 956 Avoid unused local variables such as 'titleOpt'
142 freenet/node/http/BookmarkManagerServlet.java 958 Avoid unused local variables such as 'activelinkOpt'
143 freenet/node/http/BookmarkManagerServlet.java 961 Avoid unused local variables such as 'descOpt'
144 freenet/node/http/DiagnosticsServlet.java 78 Avoid unused formal parameters such as 'req'
145 freenet/node/http/DiagnosticsServlet.java 104 Avoid unused formal parameters such as 'req'
146 freenet/node/http/DistributionServlet.java 1059 Avoid unused private fields such as 'hits'
147 freenet/node/http/infolets/DownloadsInfolet.java 20 Avoid unused private fields such as 'titleBoxTmp'
148 freenet/node/rt/BucketStore.java 41 Avoid unused local variables such as 'type'
149 freenet/node/rt/CPAlgoRoutingTable.java 78 Avoid unused local variables such as 'id'
150 freenet/node/rt/CPAlgoRoutingTable.java 118 Avoid unused local variables such as 'r'
151 freenet/node/rt/CPAlgoRoutingTable.java 423 Avoid unused private fields such as 'LONG_MINUS_ONE'
152 freenet/node/rt/CPAlgoRoutingTable.java 424 Avoid unused private fields such as 'INT_ZERO'
153 freenet/node/rt/CPAlgoRoutingTable.java 425 Avoid unused private fields such as 'LONG_ZERO'
154 freenet/node/rt/DataObjectRoutingMemory.java 40 Avoid unused private fields such as 'logDebug'
155 freenet/node/rt/DataObjectRoutingStore.java 224 Avoid unused private methods such as 'getNode(FileNumber)'
156 freenet/node/rt/DecayingKeyspaceEstimator.java 31 Avoid unused private fields such as 'BYTES'
157 freenet/node/rt/FloatBucketStore.java 44 Avoid unused local variables such as 'type'
158 freenet/node/rt/FloatBucketStore.java 128 Avoid unused local variables such as 'type'
159 freenet/node/rt/FloatBucketStore.java 490 Avoid unused local variables such as 'prevCenter'
160 freenet/node/rt/NGRouting.java 31 Avoid unused private fields such as 'hasRouteFailed'
161 freenet/node/rt/NGRoutingTable.java 1148 Avoid unused local variables such as 'count'
162 freenet/node/rt/SimpleBigIntegerRunningAverage.java 23 Avoid unused local variables such as 'pos'
163 freenet/node/rt/StandardHTMLReportTool.java 66 Avoid unused local variables such as 't'
164 freenet/node/rt/StandardNodeEstimator.java 1319 Avoid unused local variables such as 'factor'
165 freenet/node/simulator/Main.java 384 Avoid unused private methods such as 'addNodeToNetwork(KeyspaceEstimatorFactory,Simulator)'
166 freenet/node/simulator/Main.java 441 Avoid unused local variables such as 'startCount'
167 freenet/node/simulator/Main.java 445 Avoid unused local variables such as 'rounds'
168 freenet/node/simulator/Node.java 291 Avoid unused formal parameters such as 'node'
169 freenet/node/simulator/ThreadedNode.java 159 Avoid unused local variables such as 'p'
170 freenet/node/simulator/ThreadedNode.java 169 Avoid unused local variables such as 'p'
171 freenet/node/simulator/whackysim/Main.java 497 Avoid unused private methods such as 'calculateGreedyRoutingAverageDistribution()'
172 freenet/node/simulator/whackysim/Main.java 678 Avoid unused local variables such as 'nodeCount'
173 freenet/node/simulator/whackysim/Main.java 684 Avoid unused local variables such as 'sra'
174 freenet/node/simulator/whackysim/Main.java 997 Avoid unused private methods such as 'randomKey()'
175 freenet/node/simulator/whackysim/Main.java 1005 Avoid unused local variables such as 'totalRequests'
176 freenet/node/simulator/whackysim/Main.java 1006 Avoid unused local variables such as 'totalHops'
177 freenet/node/simulator/whackysim/Main.java 1035 Avoid unused private methods such as 'setUpExplicitOneOverDStructureHobxForward()'
178 freenet/node/simulator/whackysim/Node.java 331 Avoid unused formal parameters such as 'htl'