Skip to content

Commit d7a8444

Browse files
author
mmohan01
committed
Added files
1 parent 34e15bd commit d7a8444

File tree

1,500 files changed

+79010
-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

+79010
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
======== Search Information ========
2+
Search: Multi-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+
13+
======== Applied Refactorings ========
14+
Iteration 1: "Make Method Static" applied at class SerializableParser to method getResult()
15+
Iteration 2: "Make Class Abstract" applied to class WebServer
16+
Iteration 3: "Make Field Static" applied at class XmlRpcHttpRequestConfigImpl to field gzipCompressing
17+
Iteration 4: "Increase Field Visibility" applied at class AbstractReflectiveHandlerMapping to field handlerMap from protected to package
18+
19+
Time taken to refactor: 299.01s
20+
21+
======== Final Metric Info ========
22+
Fitness function 1 score: 0.022629
23+
Fitness function 2 score: 0.750000
24+
Fitness function 3 score: 1.000000
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
======== Search Information ========
2+
Search: Multi-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+
13+
======== Applied Refactorings ========
14+
Iteration 1: "Make Method Static" applied at class SerializableParser to method getResult()
15+
Iteration 2: "Make Class Abstract" applied to class WebServer
16+
Iteration 3: "Decrease Method Visibility" applied at class Connection\BadEncodingException to method BadEncodingException(org.apache.xmlrpc.webserver.RequestData,java.lang.String) from package to protected
17+
Iteration 4: "Make Field Static" applied at class ExtParser to field locator
18+
Iteration 5: "Decrease Method Visibility" applied at class ServerStreamConnection to method close() from package to protected
19+
Iteration 6: "Make Class Concrete" applied to class XmlRpcStreamServer
20+
Iteration 7: "Decrease Field Visibility" applied at class XmlRpcTransportFactoryImpl to field client from private to package
21+
Iteration 8: "Decrease Method Visibility" applied at class XmlRpcHttpRequestConfig to method getBasicUserName() from package to protected
22+
Iteration 9: "Increase Method Visibility" applied at class XmlRpcCommonsTransport to method newPostMethod(org.apache.xmlrpc.client.XmlRpcHttpClientConfig) from protected to package
23+
Iteration 10: "Decrease Method Visibility" applied at class XmlRpcServer to method getDefaultXmlRpcWorkerFactory() from protected to public
24+
Iteration 11: "Make Field Static" applied at class XmlRpcServletServer\ServletStreamConnection to field request
25+
Iteration 12: "Make Class Final" applied to class I1Serializer
26+
Iteration 13: "Decrease Method Visibility" applied at class CharSetXmlWriterFactory to method newXmlWriter() from protected to public
27+
Iteration 14: "Make Method Non Static" applied at class XmlRpcSystemImpl to method addSystemHandler(org.apache.xmlrpc.server.PropertyHandlerMapping)
28+
Iteration 15: "Make Class Final" applied to class BooleanSerializer
29+
Iteration 16: "Make Field Final" applied at class NullSerializer to ParameterDeclaration pHandler [in method write(org.xml.sax.ContentHandler,java.lang.Object)]
30+
Iteration 17: "Move Method Down" applied to method getOutputStream(org.apache.xmlrpc.common.ServerStreamConnection,org.apache.xmlrpc.common.XmlRpcStreamRequestConfig,java.io.OutputStream) from XmlRpcHttpServer to ConnectionServer
31+
Iteration 18: "Make Method Non Static" applied at class HttpServletResponseImpl to method getStatusMessage(int)
32+
Iteration 19: "Move Method Up" applied to method newSocket(boolean,java.lang.String,int) from XmlRpcLiteHttpTransport to XmlRpcHttpTransport
33+
Iteration 20: "Make Class Concrete" applied to class XmlRpcTransportFactoryImpl
34+
Iteration 21: "Make Field Final" applied at class HttpServletRequestImpl to LocalVariableDeclaration v [in method HttpServletRequestImpl(java.net.Socket)]
35+
Iteration 22: "Decrease Method Visibility" applied at class Connection\RequestException to method RequestException(org.apache.xmlrpc.webserver.RequestData,java.lang.String) from package to protected
36+
Iteration 23: "Make Method Final" applied at class BigIntegerParser to method setResult(java.lang.String)
37+
Iteration 24: "Make Method Static" applied at class WebServer to method newXmlRpcStreamServer()
38+
Iteration 25: "Make Method Final" applied at class TypeSerializerImpl to method write(org.xml.sax.ContentHandler,java.lang.String,char[])
39+
Iteration 26: "Make Field Non Final" applied at class DefaultXMLWriterFactory to FieldDeclaration factory
40+
Iteration 27: "Decrease Method Visibility" applied at class WebServer to method createServerSocket(int,int,java.net.InetAddress) from protected to public
41+
Iteration 28: "Make Method Final" applied at class XmlRpcWriter to method writeValue(java.lang.Object)
42+
Iteration 29: "Make Field Non Static" applied at class XmlRpcNotAuthorizedException to field serialVersionUID
43+
Iteration 30: "Increase Field Visibility" applied at class I1Serializer to field EX_I1_TAG from public to protected
44+
Iteration 31: "Make Field Final" applied at class XmlRpcListableHandlerMapping to ParameterDeclaration pHandlerName [in method getMethodSignature(java.lang.String)]
45+
Iteration 32: "Increase Method Visibility" applied at class AbstractReflectiveHandlerMapping to method registerPublicMethods(java.lang.String,java.lang.Class) from protected to package
46+
Iteration 33: "Decrease Field Visibility" applied at class HttpServletRequestImpl to field contentBytesRemaining from private to package
47+
Iteration 34: "Decrease Method Visibility" applied at class XmlRpcClientWorkerFactory to method newWorker() from protected to public
48+
Iteration 35: "Decrease Method Visibility" applied at class HttpServletResponseImpl to method getHttpHeaders(java.lang.Integer) from package to protected
49+
Iteration 36: "Increase Field Visibility" applied at class I1Serializer to field EX_I1_TAG from protected to package
50+
Iteration 37: "Make Method Non Final" applied at class TypeSerializerImpl to method write(org.xml.sax.ContentHandler,java.lang.String,char[])
51+
Iteration 38: "Make Method Final" applied at class BigIntegerSerializer to method write(org.xml.sax.ContentHandler,java.lang.Object)
52+
Iteration 39: "Remove Method" applied at class Connection\RequestException to method getRequestData()
53+
Iteration 40: "Make Field Final" applied at class NodeParser to ParameterDeclaration e [in method getExtHandler()]
54+
Iteration 41: "Decrease Method Visibility" applied at class XmlRpcStreamTransport to method isResponseGzipCompressed(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig) from protected to public
55+
Iteration 42: "Decrease Method Visibility" applied at class NullParser to method setResult(java.lang.String) from protected to public
56+
Iteration 43: "Make Class Final" applied to class I4Parser
57+
Iteration 44: "Decrease Method Visibility" applied at class XmlRpcResponseParser to method addResult(java.lang.Object) from protected to public
58+
Iteration 45: "Decrease Method Visibility" applied at class XmlRpcCommonsTransport to method isResponseGzipCompressed(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig) from protected to public
59+
Iteration 46: "Make Class Abstract" applied to class XmlRpcLiteHttpTransportFactory
60+
Iteration 47: "Make Field Final" applied at class XmlRpcLocalTransport to ParameterDeclaration pObject [in method isExtensionType(java.lang.Object)]
61+
Iteration 48: "Make Method Non Final" applied at class BigIntegerSerializer to method write(org.xml.sax.ContentHandler,java.lang.Object)
62+
Iteration 49: "Make Class Abstract" applied to class XmlRpcServer
63+
Iteration 50: "Remove Method" applied at class TimingOutCallback to method waitForResponse()
64+
Iteration 51: "Decrease Method Visibility" applied at class XmlRpcHttpTransport to method setCompressionHeaders(org.apache.xmlrpc.client.XmlRpcHttpClientConfig) from protected to public
65+
66+
Time taken to refactor: 299.01s
67+
68+
======== Final Metric Info ========
69+
Fitness function 1 score: 0.099342
70+
Fitness function 2 score: 0.156863
71+
Fitness function 3 score: 0.901961
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
======== Search Information ========
2+
Search: Multi-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+
13+
======== Applied Refactorings ========
14+
Iteration 1: "Make Method Static" applied at class SerializableParser to method getResult()
15+
Iteration 2: "Make Class Abstract" applied to class WebServer
16+
Iteration 3: "Decrease Method Visibility" applied at class Connection\BadEncodingException to method BadEncodingException(org.apache.xmlrpc.webserver.RequestData,java.lang.String) from package to protected
17+
Iteration 4: "Make Class Final" applied to class I2Parser
18+
Iteration 5: "Decrease Method Visibility" applied at class XmlRpcClient to method getDefaultXmlRpcWorkerFactory() from protected to public
19+
Iteration 6: "Decrease Method Visibility" applied at class WebServer to method newThreadPool() from protected to public
20+
Iteration 7: "Make Field Static" applied at class ByteArrayParser to field decoder
21+
Iteration 8: "Make Class Final" applied to class XmlRpcLite14HttpTransportFactory
22+
Iteration 9: "Make Method Static" applied at class WebServer to method newXmlRpcStreamServer()
23+
Iteration 10: "Make Method Final" applied at class TypeSerializerImpl to method write(org.xml.sax.ContentHandler,java.lang.String,char[])
24+
Iteration 11: "Make Field Non Final" applied at class DefaultXMLWriterFactory to FieldDeclaration factory
25+
Iteration 12: "Decrease Method Visibility" applied at class WebServer to method createServerSocket(int,int,java.net.InetAddress) from protected to public
26+
Iteration 13: "Increase Field Visibility" applied at class I1Serializer to field EX_I1_TAG from public to protected
27+
Iteration 14: "Decrease Method Visibility" applied at class XmlRpcStreamServer to method isContentLengthRequired(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig) from protected to public
28+
Iteration 15: "Increase Method Visibility" applied at class HttpServletResponseImpl to method getStatusMessage(int) from public to protected
29+
Iteration 16: "Make Field Non Static" applied at class XmlRpcIOException to field serialVersionUID
30+
Iteration 17: "Make Method Non Static" applied at class HttpServletResponseImpl to method getStatusMessage(int)
31+
Iteration 18: "Make Method Non Static" applied at class Connection to method toHTTPBytes(java.lang.String)
32+
Iteration 19: "Make Method Non Final" applied at class Connection to method toHTTPBytes(java.lang.String)
33+
Iteration 20: "Decrease Method Visibility" applied at class ObjectArrayParser to method addResult(java.lang.Object) from protected to public
34+
Iteration 21: "Make Class Concrete" applied to class Connection\RequestException
35+
Iteration 22: "Make Method Final" applied at class WebServer to method log(java.lang.Throwable)
36+
Iteration 23: "Increase Field Visibility" applied at class TypeSerializerImpl to field ZERO_ATTRIBUTES from protected to package
37+
Iteration 24: "Make Method Static" applied at class Connection to method toHTTPBytes(java.lang.String)
38+
39+
Time taken to refactor: 299.01s
40+
41+
======== Final Metric Info ========
42+
Fitness function 1 score: 0.025814
43+
Fitness function 2 score: 0.500000
44+
Fitness function 3 score: 0.875000
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
======== Search Information ========
2+
Search: Multi-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+
13+
======== Applied Refactorings ========
14+
Iteration 1: "Make Method Static" applied at class SerializableParser to method getResult()
15+
Iteration 2: "Make Class Abstract" applied to class WebServer
16+
Iteration 3: "Decrease Method Visibility" applied at class Connection\BadEncodingException to method BadEncodingException(org.apache.xmlrpc.webserver.RequestData,java.lang.String) from package to protected
17+
Iteration 4: "Make Field Static" applied at class ExtParser to field locator
18+
Iteration 5: "Decrease Method Visibility" applied at class ServerStreamConnection to method close() from package to protected
19+
Iteration 6: "Make Class Concrete" applied to class XmlRpcStreamServer
20+
Iteration 7: "Decrease Field Visibility" applied at class XmlRpcTransportFactoryImpl to field client from private to package
21+
Iteration 8: "Decrease Method Visibility" applied at class XmlRpcHttpRequestConfig to method getBasicUserName() from package to protected
22+
Iteration 9: "Increase Method Visibility" applied at class XmlRpcCommonsTransport to method newPostMethod(org.apache.xmlrpc.client.XmlRpcHttpClientConfig) from protected to package
23+
Iteration 10: "Decrease Method Visibility" applied at class XmlRpcServer to method getDefaultXmlRpcWorkerFactory() from protected to public
24+
Iteration 11: "Make Field Static" applied at class XmlRpcServletServer\ServletStreamConnection to field request
25+
Iteration 12: "Make Class Final" applied to class I1Serializer
26+
Iteration 13: "Decrease Method Visibility" applied at class CharSetXmlWriterFactory to method newXmlWriter() from protected to public
27+
Iteration 14: "Make Method Non Static" applied at class XmlRpcSystemImpl to method addSystemHandler(org.apache.xmlrpc.server.PropertyHandlerMapping)
28+
Iteration 15: "Make Class Final" applied to class BooleanSerializer
29+
Iteration 16: "Make Field Final" applied at class NullSerializer to ParameterDeclaration pHandler [in method write(org.xml.sax.ContentHandler,java.lang.Object)]
30+
Iteration 17: "Move Method Down" applied to method getOutputStream(org.apache.xmlrpc.common.ServerStreamConnection,org.apache.xmlrpc.common.XmlRpcStreamRequestConfig,java.io.OutputStream) from XmlRpcHttpServer to ConnectionServer
31+
Iteration 18: "Make Method Non Static" applied at class HttpServletResponseImpl to method getStatusMessage(int)
32+
Iteration 19: "Move Method Up" applied to method newSocket(boolean,java.lang.String,int) from XmlRpcLiteHttpTransport to XmlRpcHttpTransport
33+
Iteration 20: "Make Class Concrete" applied to class XmlRpcTransportFactoryImpl
34+
Iteration 21: "Make Field Final" applied at class HttpServletRequestImpl to LocalVariableDeclaration v [in method HttpServletRequestImpl(java.net.Socket)]
35+
Iteration 22: "Decrease Method Visibility" applied at class Connection\RequestException to method RequestException(org.apache.xmlrpc.webserver.RequestData,java.lang.String) from package to protected
36+
Iteration 23: "Make Method Final" applied at class BigIntegerParser to method setResult(java.lang.String)
37+
Iteration 24: "Make Method Static" applied at class WebServer to method newXmlRpcStreamServer()
38+
Iteration 25: "Make Method Final" applied at class TypeSerializerImpl to method write(org.xml.sax.ContentHandler,java.lang.String,char[])
39+
Iteration 26: "Make Field Non Final" applied at class DefaultXMLWriterFactory to FieldDeclaration factory
40+
Iteration 27: "Decrease Method Visibility" applied at class WebServer to method createServerSocket(int,int,java.net.InetAddress) from protected to public
41+
Iteration 28: "Make Method Final" applied at class XmlRpcWriter to method writeValue(java.lang.Object)
42+
Iteration 29: "Make Field Non Static" applied at class XmlRpcNotAuthorizedException to field serialVersionUID
43+
Iteration 30: "Increase Field Visibility" applied at class I1Serializer to field EX_I1_TAG from public to protected
44+
Iteration 31: "Make Field Final" applied at class XmlRpcListableHandlerMapping to ParameterDeclaration pHandlerName [in method getMethodSignature(java.lang.String)]
45+
Iteration 32: "Increase Method Visibility" applied at class AbstractReflectiveHandlerMapping to method registerPublicMethods(java.lang.String,java.lang.Class) from protected to package
46+
Iteration 33: "Decrease Field Visibility" applied at class HttpServletRequestImpl to field contentBytesRemaining from private to package
47+
Iteration 34: "Decrease Method Visibility" applied at class XmlRpcClientWorkerFactory to method newWorker() from protected to public
48+
Iteration 35: "Decrease Method Visibility" applied at class HttpServletResponseImpl to method getHttpHeaders(java.lang.Integer) from package to protected
49+
Iteration 36: "Increase Field Visibility" applied at class I1Serializer to field EX_I1_TAG from protected to package
50+
Iteration 37: "Make Method Non Final" applied at class TypeSerializerImpl to method write(org.xml.sax.ContentHandler,java.lang.String,char[])
51+
Iteration 38: "Make Method Final" applied at class BigIntegerSerializer to method write(org.xml.sax.ContentHandler,java.lang.Object)
52+
Iteration 39: "Remove Method" applied at class Connection\RequestException to method getRequestData()
53+
Iteration 40: "Make Field Final" applied at class NodeParser to ParameterDeclaration e [in method getExtHandler()]
54+
Iteration 41: "Decrease Method Visibility" applied at class XmlRpcStreamTransport to method isResponseGzipCompressed(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig) from protected to public
55+
Iteration 42: "Decrease Method Visibility" applied at class NullParser to method setResult(java.lang.String) from protected to public
56+
Iteration 43: "Make Class Final" applied to class I4Parser
57+
Iteration 44: "Decrease Method Visibility" applied at class XmlRpcResponseParser to method addResult(java.lang.Object) from protected to public
58+
Iteration 45: "Decrease Method Visibility" applied at class XmlRpcCommonsTransport to method isResponseGzipCompressed(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig) from protected to public
59+
Iteration 46: "Make Class Abstract" applied to class XmlRpcLiteHttpTransportFactory
60+
Iteration 47: "Make Field Final" applied at class XmlRpcLocalTransport to ParameterDeclaration pObject [in method isExtensionType(java.lang.Object)]
61+
Iteration 48: "Decrease Method Visibility" applied at class BaseXmlWriterFactory to method newXmlWriter() from protected to public
62+
Iteration 49: "Decrease Field Visibility" applied at class XmlRpcClientWorker to field factory from private to package
63+
Iteration 50: "Make Field Final" applied at class XmlRpcHandler to ParameterDeclaration pRequest [in method execute(org.apache.xmlrpc.XmlRpcRequest)]
64+
Iteration 51: "Make Class Abstract" applied to class XmlRpcServer
65+
Iteration 52: "Increase Field Visibility" applied at class JaxbSerializer to field JAXB_TAG from public to protected
66+
Iteration 53: "Decrease Method Visibility" applied at class I4Parser to method setResult(java.lang.String) from protected to public
67+
68+
Time taken to refactor: 299.01s
69+
70+
======== Final Metric Info ========
71+
Fitness function 1 score: 0.122657
72+
Fitness function 2 score: 0.169811
73+
Fitness function 3 score: 0.867925
74+
75+
This is the ideal solution in the top rank of solutions

0 commit comments

Comments
 (0)