Skip to content

Commit a7b5963

Browse files
author
mmohan01
committed
Added files
1 parent 8fc608b commit a7b5963

File tree

1,500 files changed

+66229
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,500 files changed

+66229
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
======== Search Information ========
2+
Search: Many-Objective Genetic Algorithm
3+
Generations: 100
4+
Population Size: 50
5+
Crossover Probability: 0.200000
6+
Mutation Probability: 0.800000
7+
8+
======== Initial Metric Info ========
9+
Fitness function 1 score: 0.000000
10+
Fitness function 2 score: 0.000000
11+
Fitness function 3 score: 0.000000
12+
Fitness function 4 score: 0.000000
13+
14+
======== Applied Refactorings ========
15+
Iteration 1: "Make Field Non Static" applied at class XmlRpcErrorLogger to field log
16+
Iteration 2: "Make Method Non Static" applied at class Util to method getMethodHelp(java.lang.Class,java.lang.reflect.Method)
17+
Iteration 3: "Make Class Final" applied to class XmlRpcNotAuthorizedException
18+
Iteration 4: "Remove Method" applied at class AbstractReflectiveHandlerMapping to method getTypeConverterFactory()
19+
Iteration 5: "Decrease Method Visibility" applied at class ObjectArrayParser to method addResult(java.lang.Object) from protected to public
20+
Iteration 6: "Decrease Method Visibility" applied at class XmlRpcWriter to method writeValue(java.lang.Object) from protected to public
21+
Iteration 7: "Make Class Final" applied to class XmlRpcLite14HttpTransportFactory
22+
23+
Time taken to refactor: 405.80s
24+
25+
======== Final Metric Info ========
26+
Fitness function 1 score: -0.008814
27+
Fitness function 2 score: 0.285714
28+
Fitness function 3 score: 1.000000
29+
Fitness function 4 score: 0.642857
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
======== Search Information ========
2+
Search: Many-Objective Genetic Algorithm
3+
Generations: 100
4+
Population Size: 50
5+
Crossover Probability: 0.200000
6+
Mutation Probability: 0.800000
7+
8+
======== Initial Metric Info ========
9+
Fitness function 1 score: 0.000000
10+
Fitness function 2 score: 0.000000
11+
Fitness function 3 score: 0.000000
12+
Fitness function 4 score: 0.000000
13+
14+
======== Applied Refactorings ========
15+
Iteration 1: "Make Field Non Static" applied at class TypeConverterFactoryImpl to field voidTypeConverter
16+
Iteration 2: "Decrease Method Visibility" applied at class XmlRpcStreamServer to method convertThrowable(java.lang.Throwable) from protected to public
17+
Iteration 3: "Move Method Up" applied to method newHttpClient() from XmlRpcCommonsTransport to XmlRpcHttpTransport
18+
Iteration 4: "Make Field Static" applied at class JaxbTypeFactory to field context
19+
Iteration 5: "Increase Field Visibility" applied at class JaxbSerializer to field JAXB_TAG from public to protected
20+
Iteration 6: "Remove Method" applied at class WebServer to method start()
21+
Iteration 7: "Make Class Concrete" applied to class Connection\RequestException
22+
Iteration 8: "Decrease Method Visibility" applied at class XmlRpcTransportImpl to method XmlRpcTransportImpl(org.apache.xmlrpc.client.XmlRpcClient) from protected to public
23+
Iteration 9: "Move Method Down" applied to method setRequestHeader(java.lang.String,java.lang.String) from XmlRpcSunHttpTransport to XmlRpcSun14HttpTransport
24+
Iteration 10: "Make Method Static" applied at class TypeParserImpl to method endDocument()
25+
Iteration 11: "Make Field Non Static" applied at class XmlRpcServlet to field log
26+
Iteration 12: "Make Class Concrete" applied to class TypeSerializerImpl
27+
Iteration 13: "Decrease Method Visibility" applied at class BaseXmlWriterFactory to method newXmlWriter() from protected to public
28+
Iteration 14: "Move Field Up" applied to field USER_AGENT from XmlRpcHttpTransport to XmlRpcStreamTransport
29+
Iteration 15: "Make Method Non Final" applied at class Connection to method toHTTPBytes(java.lang.String)
30+
Iteration 16: "Make Field Non Final" applied at class CalendarParser to LocalVariableDeclaration msg [in method setResult(java.lang.String)]
31+
Iteration 17: "Make Field Static" applied at class XmlRpcSun15HttpTransportFactory to field proxy
32+
Iteration 18: "Make Field Final" applied at class XmlRpcLocalStreamServer to ParameterDeclaration pRequest [in method execute(org.apache.xmlrpc.XmlRpcRequest)]
33+
Iteration 19: "Move Field Down" applied to field USER_AGENT from XmlRpcStreamTransport to XmlRpcHttpTransport
34+
Iteration 20: "Decrease Method Visibility" applied at class XmlRpcClientWorkerFactory to method newWorker() from protected to public
35+
Iteration 21: "Move Method Down" applied to method setRequestHeader(java.lang.String,java.lang.String) from XmlRpcSun14HttpTransport to XmlRpcSun15HttpTransport
36+
Iteration 22: "Make Class Concrete" applied to class XmlRpcConfigImpl
37+
Iteration 23: "Decrease Method Visibility" applied at class ServerHttpConnection to method setResponseHeader(java.lang.String,java.lang.String) from package to protected
38+
Iteration 24: "Make Method Final" applied at class Connection\RequestException to method getRequestData()
39+
Iteration 25: "Make Class Final" applied to class BooleanSerializer
40+
Iteration 26: "Decrease Method Visibility" applied at class ConnectionServer to method writeResponse(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig,java.io.OutputStream,java.lang.Object) from protected to public
41+
Iteration 27: "Make Method Static" applied at class XmlRpcServer to method getDefaultXmlRpcWorkerFactory()
42+
Iteration 28: "Move Field Up" applied to field USER_AGENT from XmlRpcHttpTransport to XmlRpcStreamTransport
43+
Iteration 29: "Make Class Abstract" applied to class TypeSerializerImpl
44+
Iteration 30: "Move Field Up" applied to field sb from AtomicParser to TypeParserImpl
45+
Iteration 31: "Make Method Final" applied at class LongParser to method setResult(java.lang.String)
46+
Iteration 32: "Make Class Final" applied to class XmlRpcLite14HttpTransportFactory
47+
Iteration 33: "Decrease Method Visibility" applied at class TypeParserImpl to method isEmpty(char[],int,int) from protected to public
48+
Iteration 34: "Make Class Non Final" applied to class BooleanSerializer
49+
50+
Time taken to refactor: 405.80s
51+
52+
======== Final Metric Info ========
53+
Fitness function 1 score: 0.054645
54+
Fitness function 2 score: 0.176471
55+
Fitness function 3 score: 0.852941
56+
Fitness function 4 score: 0.580882
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
======== Search Information ========
2+
Search: Many-Objective Genetic Algorithm
3+
Generations: 100
4+
Population Size: 50
5+
Crossover Probability: 0.200000
6+
Mutation Probability: 0.800000
7+
8+
======== Initial Metric Info ========
9+
Fitness function 1 score: 0.000000
10+
Fitness function 2 score: 0.000000
11+
Fitness function 3 score: 0.000000
12+
Fitness function 4 score: 0.000000
13+
14+
======== Applied Refactorings ========
15+
Iteration 1: "Make Method Non Static" applied at class Connection to method toHTTPBytes(java.lang.String)
16+
Iteration 2: "Move Method Up" applied to method newURLConnection(java.net.URL) from XmlRpcSunHttpTransport to XmlRpcHttpTransport
17+
Iteration 3: "Increase Field Visibility" applied at class I8Serializer to field EX_I8_TAG from public to protected
18+
Iteration 4: "Make Field Final" applied at class XmlRpcLocalStreamServer to ParameterDeclaration pRequest [in method execute(org.apache.xmlrpc.XmlRpcRequest)]
19+
Iteration 5: "Increase Method Visibility" applied at class TypeConverterFactoryImpl\ListTypeConverter to method newList(int) from protected to package
20+
Iteration 6: "Decrease Method Visibility" applied at class XmlRpcController to method getDefaultXmlRpcWorkerFactory() from protected to public
21+
Iteration 7: "Increase Field Visibility" applied at class AbstractReflectiveHandlerMapping to field handlerMap from protected to package
22+
Iteration 8: "Remove Method" applied at class WebServer to method start()
23+
Iteration 9: "Make Class Final" applied to class I4Serializer
24+
Iteration 10: "Move Method Up" applied to method getTransport() from XmlRpcLiteHttpTransportFactory to XmlRpcTransportFactoryImpl
25+
Iteration 11: "Decrease Method Visibility" applied at class XmlRpcLite14HttpTransport to method newSocket(boolean,java.lang.String,int) from protected to public
26+
Iteration 12: "Move Field Up" applied to field EX_NIL_TAG from NullSerializer to TypeSerializerImpl
27+
Iteration 13: "Increase Field Visibility" applied at class RecursiveTypeParserImpl to field cfg from protected to package
28+
Iteration 14: "Decrease Method Visibility" applied at class WebServer to method newThreadPool() from protected to public
29+
Iteration 15: "Make Class Concrete" applied to class XmlRpcStreamServer
30+
Iteration 16: "Remove Method" applied at class LocalStreamConnection to method getRequest()
31+
32+
Time taken to refactor: 405.80s
33+
34+
======== Final Metric Info ========
35+
Fitness function 1 score: -0.000170
36+
Fitness function 2 score: 0.312500
37+
Fitness function 3 score: 1.000000
38+
Fitness function 4 score: 0.546875
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
======== Search Information ========
2+
Search: Many-Objective Genetic Algorithm
3+
Generations: 100
4+
Population Size: 50
5+
Crossover Probability: 0.200000
6+
Mutation Probability: 0.800000
7+
8+
======== Initial Metric Info ========
9+
Fitness function 1 score: 0.000000
10+
Fitness function 2 score: 0.000000
11+
Fitness function 3 score: 0.000000
12+
Fitness function 4 score: 0.000000
13+
14+
======== Applied Refactorings ========
15+
Iteration 1: "Make Class Final" applied to class ServletConnection
16+
Iteration 2: "Decrease Method Visibility" applied at class XmlRpcHttpClientConfig to method getServerURL() from package to protected
17+
Iteration 3: "Make Method Final" applied at class XmlRpcServlet to method getRequestProcessorFactoryFactory()
18+
Iteration 4: "Make Field Final" applied at class XmlRpcHttpRequestConfigImpl to ParameterDeclaration pTimeout [in method setReplyTimeout(int)]
19+
Iteration 5: "Make Field Non Final" applied at class XmlRpcStreamServer to LocalVariableDeclaration msg [in method logError(java.lang.Throwable)]
20+
Iteration 6: "Move Method Down" applied to method getOutputStream(org.apache.xmlrpc.common.ServerStreamConnection,org.apache.xmlrpc.common.XmlRpcStreamRequestConfig,java.io.OutputStream) from XmlRpcHttpServer to ConnectionServer
21+
Iteration 7: "Decrease Method Visibility" applied at class XmlRpcHttpClientConfig to method getServerURL() from protected to public
22+
Iteration 8: "Make Method Static" applied at class Connection\1379927632\133790351 to method close()
23+
Iteration 9: "Make Method Non Final" applied at class Connection to method toHTTPBytes(java.lang.String)
24+
Iteration 10: "Increase Field Visibility" applied at class TypeSerializerImpl to field ZERO_ATTRIBUTES from protected to package
25+
26+
Time taken to refactor: 405.80s
27+
28+
======== Final Metric Info ========
29+
Fitness function 1 score: 0.012968
30+
Fitness function 2 score: 0.400000
31+
Fitness function 3 score: 0.900000
32+
Fitness function 4 score: 0.400000
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
======== Search Information ========
2+
Search: Many-Objective Genetic Algorithm
3+
Generations: 100
4+
Population Size: 50
5+
Crossover Probability: 0.200000
6+
Mutation Probability: 0.800000
7+
8+
======== Initial Metric Info ========
9+
Fitness function 1 score: 0.000000
10+
Fitness function 2 score: 0.000000
11+
Fitness function 3 score: 0.000000
12+
Fitness function 4 score: 0.000000
13+
14+
======== Applied Refactorings ========
15+
Iteration 1: "Decrease Method Visibility" applied at class XmlRpcTransportImpl to method XmlRpcTransportImpl(org.apache.xmlrpc.client.XmlRpcClient) from protected to public
16+
Iteration 2: "Decrease Method Visibility" applied at class XmlRpcController to method getDefaultXmlRpcWorkerFactory() from protected to public
17+
Iteration 3: "Make Method Static" applied at class NullSerializer to method write(org.xml.sax.ContentHandler,java.lang.Object)
18+
Iteration 4: "Decrease Method Visibility" applied at class TypeParserImpl to method isEmpty(char[],int,int) from protected to public
19+
Iteration 5: "Decrease Method Visibility" applied at class XmlRpcWorker to method execute(org.apache.xmlrpc.XmlRpcRequest) from package to protected
20+
Iteration 6: "Move Method Up" applied to method write(org.xml.sax.ContentHandler,java.lang.Object) from StringSerializer to TypeSerializerImpl
21+
Iteration 7: "Decrease Method Visibility" applied at class MapParser to method addResult(java.lang.Object) from protected to public
22+
Iteration 8: "Decrease Method Visibility" applied at class XmlRpcSun14HttpTransport to method newURLConnection(java.net.URL) from protected to public
23+
Iteration 9: "Decrease Method Visibility" applied at class I2Parser to method setResult(java.lang.String) from protected to public
24+
Iteration 10: "Decrease Method Visibility" applied at class TypeFactory to method getSerializer(org.apache.xmlrpc.common.XmlRpcStreamConfig,java.lang.Object) from package to protected
25+
Iteration 11: "Make Method Final" applied at class XmlRpcSun14HttpTransport to method setSSLSocketFactory(javax.net.ssl.SSLSocketFactory)
26+
Iteration 12: "Make Field Final" applied at class XmlRpcSun14HttpTransport to FieldDeclaration sslSocketFactory
27+
Iteration 13: "Decrease Method Visibility" applied at class XmlRpcListableHandlerMapping to method getMethodSignature(java.lang.String) from package to protected
28+
Iteration 14: "Make Field Non Final" applied at class XmlRpcErrorLogger to FieldDeclaration log
29+
Iteration 15: "Make Class Concrete" applied to class XmlRpcStreamServer
30+
Iteration 16: "Decrease Method Visibility" applied at class LongParser to method setResult(java.lang.String) from protected to public
31+
Iteration 17: "Make Class Concrete" applied to class XmlRpcStreamTransportFactory
32+
Iteration 18: "Move Field Up" applied to field USER_AGENT from XmlRpcHttpTransport to XmlRpcStreamTransport
33+
Iteration 19: "Remove Method" applied at class Connection\RequestException to method getRequestData()
34+
Iteration 20: "Move Field Up" applied to field EX_I2_TAG from I2Serializer to TypeSerializerImpl
35+
Iteration 21: "Move Field Up" applied to field sb from AtomicParser to TypeParserImpl
36+
Iteration 22: "Remove Method" applied at class ServletWebServer\Exception to method getDescription()
37+
Iteration 23: "Make Method Non Static" applied at class Util to method getSignatureType(java.lang.Class)
38+
Iteration 24: "Remove Method" applied at class XmlRpcClientConfigImpl to method setServerURL(java.net.URL)
39+
Iteration 25: "Increase Method Visibility" applied at class XmlRpcServer to method setTypeConverterFactory(org.apache.xmlrpc.common.TypeConverterFactory) from public to protected
40+
Iteration 26: "Make Method Static" applied at class SerializableParser to method getResult()
41+
Iteration 27: "Make Field Static" applied at class JaxbTypeFactory to field context
42+
Iteration 28: "Make Method Non Static" applied at class HttpServletResponseImpl to method getStatusMessage(int)
43+
Iteration 29: "Decrease Method Visibility" applied at class ConnectionServer to method setResponseHeader(org.apache.xmlrpc.common.ServerStreamConnection,java.lang.String,java.lang.String) from protected to public
44+
Iteration 30: "Decrease Method Visibility" applied at class XmlRpcWriter to method writeValue(java.lang.Object) from protected to public
45+
Iteration 31: "Make Field Non Final" applied at class XmlRpcClientConfigImpl to FieldDeclaration serialVersionUID
46+
Iteration 32: "Make Method Non Static" applied at class NullSerializer to method write(org.xml.sax.ContentHandler,java.lang.Object)
47+
Iteration 33: "Collapse Hierarchy" applied from all elements in XmlRpcLocalStreamTransportFactory to XmlRpcStreamTransportFactory
48+
49+
Time taken to refactor: 405.80s
50+
51+
======== Final Metric Info ========
52+
Fitness function 1 score: 0.048160
53+
Fitness function 2 score: 0.029412
54+
Fitness function 3 score: 0.909091
55+
Fitness function 4 score: 0.590909
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
======== Search Information ========
2+
Search: Many-Objective Genetic Algorithm
3+
Generations: 100
4+
Population Size: 50
5+
Crossover Probability: 0.200000
6+
Mutation Probability: 0.800000
7+
8+
======== Initial Metric Info ========
9+
Fitness function 1 score: 0.000000
10+
Fitness function 2 score: 0.000000
11+
Fitness function 3 score: 0.000000
12+
Fitness function 4 score: 0.000000
13+
14+
======== Applied Refactorings ========
15+
Iteration 1: "Make Field Static" applied at class XmlRpcConfigImpl to field basicEncoding
16+
Iteration 2: "Increase Field Visibility" applied at class I8Serializer to field EX_I8_TAG from public to protected
17+
Iteration 3: "Make Method Non Final" applied at class Connection to method toHTTPBytes(java.lang.String)
18+
Iteration 4: "Move Method Down" applied to method writeRequest(org.apache.xmlrpc.client.XmlRpcStreamTransport.ReqWriter) from XmlRpcSunHttpTransport to XmlRpcSun14HttpTransport
19+
Iteration 5: "Increase Method Visibility" applied at class XmlRpcHttpRequestConfigImpl to method setReplyTimeout(int) from public to protected
20+
Iteration 6: "Decrease Method Visibility" applied at class XmlRpcLite14HttpTransport to method newSocket(boolean,java.lang.String,int) from protected to public
21+
Iteration 7: "Increase Method Visibility" applied at class AtomicParser to method setResult(java.lang.String) from protected to package
22+
Iteration 8: "Make Field Static" applied at class XmlRpcStreamTransport\GzipReqWriter to field reqWriter
23+
Iteration 9: "Decrease Method Visibility" applied at class XmlRpcHttpRequestConfigImpl to method setReplyTimeout(int) from protected to public
24+
Iteration 10: "Decrease Field Visibility" applied at class NodeParser to field dbf from private to package
25+
Iteration 11: "Decrease Method Visibility" applied at class XmlRpcHttpServer to method setResponseHeader(org.apache.xmlrpc.common.ServerStreamConnection,java.lang.String,java.lang.String) from protected to public
26+
Iteration 12: "Make Field Final" applied at class XmlRpcClient to ParameterDeclaration pParams [in method executeAsync(java.lang.String,java.lang.Object[],org.apache.xmlrpc.client.AsyncCallback)]
27+
Iteration 13: "Move Method Up" applied to method execute(org.apache.xmlrpc.XmlRpcRequest) from XmlRpcLocalStreamServer to XmlRpcStreamServer
28+
Iteration 14: "Make Method Static" applied at class JaxbParser to method getTagName()
29+
Iteration 15: "Decrease Method Visibility" applied at class TypeParserImpl to method isEmpty(char[],int,int) from protected to public
30+
Iteration 16: "Make Field Non Final" applied at class ReflectiveXmlRpcMetaDataHandler to FieldDeclaration signatures
31+
Iteration 17: "Make Class Final" applied to class XmlRpcInvocationException
32+
Iteration 18: "Remove Method" applied at class XmlRpcClient to method setXmlWriterFactory(org.apache.xmlrpc.serializer.XmlWriterFactory)
33+
Iteration 19: "Make Class Abstract" applied to class XmlRpcServer
34+
Iteration 20: "Make Class Abstract" applied to class WebServer
35+
Iteration 21: "Decrease Method Visibility" applied at class XmlRpcWriter to method writeValue(java.lang.Object) from protected to public
36+
Iteration 22: "Make Class Abstract" applied to class XmlRpcLiteHttpTransportFactory
37+
38+
Time taken to refactor: 405.80s
39+
40+
======== Final Metric Info ========
41+
Fitness function 1 score: 0.022454
42+
Fitness function 2 score: 0.272727
43+
Fitness function 3 score: 0.954545
44+
Fitness function 4 score: 0.590909

0 commit comments

Comments
 (0)