Skip to content

Commit 0fa16d3

Browse files
author
mmohan01
committed
Added files
1 parent d7a8444 commit 0fa16d3

File tree

1,500 files changed

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

+63667
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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 Class Final" applied to class Connection\BadEncodingException
15+
Iteration 2: "Make Class Final" applied to class BigDecimalParser
16+
Iteration 3: "Make Class Abstract" applied to class WebServer
17+
Iteration 4: "Remove Method" applied at class LocalStreamConnection to method getRequest()
18+
Iteration 5: "Make Class Non Final" applied to class BigDecimalParser
19+
Iteration 6: "Make Method Final" applied at class TypeFactoryImpl to method getController()
20+
Iteration 7: "Remove Field" applied at class XmlRpcInvocationException to field serialVersionUID
21+
Iteration 8: "Make Class Concrete" applied to class XmlRpcStreamTransportFactory
22+
Iteration 9: "Decrease Method Visibility" applied at class XmlRpcLite14HttpTransport to method newSocket(boolean,java.lang.String,int) from protected to public
23+
Iteration 10: "Make Class Final" applied to class XmlRpcLoadException
24+
25+
Time taken to refactor: 363.22s
26+
27+
======== Final Metric Info ========
28+
Fitness function 1 score: -0.006035
29+
Fitness function 2 score: 0.200000
30+
Fitness function 3 score: 0.825000
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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 Class Final" applied to class Connection\BadEncodingException
15+
Iteration 2: "Make Class Final" applied to class SAXParsers
16+
Iteration 3: "Make Class Concrete" applied to class XmlRpcStreamTransportFactory
17+
Iteration 4: "Decrease Method Visibility" applied at class NullParser to method setResult(java.lang.String) from protected to public
18+
Iteration 5: "Make Field Static" applied at class XmlRpcHttpRequestConfigImpl to field enabledForExceptions
19+
Iteration 6: "Make Class Abstract" applied to class XmlRpcStreamTransportFactory
20+
Iteration 7: "Make Class Abstract" applied to class WebServer
21+
Iteration 8: "Decrease Method Visibility" applied at class ServerHttpConnection to method setResponseHeader(java.lang.String,java.lang.String) from package to protected
22+
Iteration 9: "Decrease Field Visibility" applied at class XmlRpcServlet to field authenticationHandler from private to package
23+
Iteration 10: "Make Field Non Static" applied at class SAXParsers to field spf
24+
Iteration 11: "Make Class Final" applied to class BigDecimalSerializer
25+
Iteration 12: "Make Method Static" applied at class XmlRpcServlet to method newXmlRpcServer(javax.servlet.ServletConfig)
26+
Iteration 13: "Move Field Up" applied to field USER_AGENT from XmlRpcHttpTransport to XmlRpcStreamTransport
27+
Iteration 14: "Make Method Static" applied at class NullSerializer to method write(org.xml.sax.ContentHandler,java.lang.Object)
28+
Iteration 15: "Make Method Final" applied at class XmlRpcStreamServer to method convertThrowable(java.lang.Throwable)
29+
Iteration 16: "Remove Method" applied at class XmlRpcClient to method setXmlWriterFactory(org.apache.xmlrpc.serializer.XmlWriterFactory)
30+
Iteration 17: "Make Method Final" applied at class ReflectionUtil to method setProperty(java.lang.Object,java.lang.String,java.lang.String)
31+
Iteration 18: "Decrease Method Visibility" applied at class CalendarParser to method setResult(java.lang.String) from protected to public
32+
Iteration 19: "Move Method Down" applied to method setRequestHeader(java.lang.String,java.lang.String) from XmlRpcSunHttpTransport to XmlRpcSun14HttpTransport
33+
Iteration 20: "Remove Method" applied at class XmlRpcController to method setTypeFactory(org.apache.xmlrpc.common.TypeFactory)
34+
Iteration 21: "Make Method Static" applied at class ConnectionServer to method setResponseHeader(org.apache.xmlrpc.common.ServerStreamConnection,java.lang.String,java.lang.String)
35+
Iteration 22: "Make Class Concrete" applied to class XmlRpcTransportImpl
36+
Iteration 23: "Decrease Method Visibility" applied at class ByteArrayParser\276848382\368401344 to method writeBuffer(byte[],int,int) from protected to public
37+
Iteration 24: "Increase Field Visibility" applied at class CalendarSerializer to field DATE_TAG from public to protected
38+
Iteration 25: "Make Field Final" applied at class XmlRpcNoSuchHandlerException to ParameterDeclaration pMessage [in method XmlRpcNoSuchHandlerException(java.lang.String)]
39+
Iteration 26: "Make Method Static" applied at class TypeConverterFactoryImpl\IdentityTypeConverter to method convert(java.lang.Object)
40+
Iteration 27: "Make Class Final" applied to class RequestData
41+
Iteration 28: "Move Field Down" applied to field USER_AGENT from XmlRpcStreamTransport to XmlRpcHttpTransport
42+
Iteration 29: "Make Class Non Final" applied to class RequestData
43+
Iteration 30: "Make Class Abstract" applied to class XmlRpcTransportImpl
44+
Iteration 31: "Move Method Down" applied to method characters(char[],int,int) from AtomicParser to BigDecimalParser
45+
Iteration 32: "Make Class Final" applied to class XmlRpcLocalStreamServer
46+
47+
Time taken to refactor: 363.22s
48+
49+
======== Final Metric Info ========
50+
Fitness function 1 score: 0.115325
51+
Fitness function 2 score: 0.156250
52+
Fitness function 3 score: 0.671875
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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 Class Final" applied to class Connection\BadEncodingException
15+
Iteration 2: "Make Class Final" applied to class XmlRpcSunHttpTransportFactory
16+
Iteration 3: "Make Field Final" applied at class XmlRpcNoSuchHandlerException to ParameterDeclaration pMessage [in method XmlRpcNoSuchHandlerException(java.lang.String)]
17+
Iteration 4: "Make Method Static" applied at class TypeConverterFactoryImpl\IdentityTypeConverter to method convert(java.lang.Object)
18+
Iteration 5: "Make Class Final" applied to class RequestData
19+
Iteration 6: "Make Class Final" applied to class BigDecimalSerializer
20+
Iteration 7: "Make Method Final" applied at class ReflectionUtil to method setProperty(java.lang.Object,java.lang.String,java.lang.String)
21+
Iteration 8: "Decrease Method Visibility" applied at class CalendarParser to method setResult(java.lang.String) from protected to public
22+
Iteration 9: "Move Method Down" applied to method setRequestHeader(java.lang.String,java.lang.String) from XmlRpcSunHttpTransport to XmlRpcSun14HttpTransport
23+
Iteration 10: "Remove Method" applied at class XmlRpcController to method setTypeFactory(org.apache.xmlrpc.common.TypeFactory)
24+
Iteration 11: "Make Method Static" applied at class ConnectionServer to method setResponseHeader(org.apache.xmlrpc.common.ServerStreamConnection,java.lang.String,java.lang.String)
25+
Iteration 12: "Make Class Concrete" applied to class XmlRpcTransportImpl
26+
Iteration 13: "Decrease Method Visibility" applied at class ByteArrayParser\1949587226\1089977916 to method writeBuffer(byte[],int,int) from protected to public
27+
Iteration 14: "Increase Field Visibility" applied at class CalendarSerializer to field DATE_TAG from public to protected
28+
Iteration 15: "Make Class Abstract" applied to class WebServer
29+
Iteration 16: "Decrease Method Visibility" applied at class ServerHttpConnection to method setResponseHeader(java.lang.String,java.lang.String) from package to protected
30+
Iteration 17: "Make Class Final" applied to class XmlRpcLite14HttpTransportFactory
31+
Iteration 18: "Move Field Up" applied to field sb from AtomicParser to TypeParserImpl
32+
Iteration 19: "Decrease Field Visibility" applied at class XmlRpcServlet to field authenticationHandler from private to package
33+
Iteration 20: "Decrease Method Visibility" applied at class ServerHttpConnection to method setResponseHeader(java.lang.String,java.lang.String) from protected to public
34+
Iteration 21: "Decrease Method Visibility" applied at class ObjectArrayParser to method addResult(java.lang.Object) from protected to public
35+
36+
Time taken to refactor: 363.22s
37+
38+
======== Final Metric Info ========
39+
Fitness function 1 score: 0.124146
40+
Fitness function 2 score: 0.238095
41+
Fitness function 3 score: 0.666667
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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 Class Final" applied to class Connection\BadEncodingException
15+
Iteration 2: "Make Class Final" applied to class XmlRpcSunHttpTransportFactory
16+
Iteration 3: "Make Class Abstract" applied to class WebServer
17+
Iteration 4: "Decrease Method Visibility" applied at class ServerHttpConnection to method setResponseHeader(java.lang.String,java.lang.String) from package to protected
18+
Iteration 5: "Decrease Field Visibility" applied at class XmlRpcServlet to field authenticationHandler from private to package
19+
Iteration 6: "Make Class Concrete" applied to class XmlRpcStreamTransportFactory
20+
Iteration 7: "Remove Method" applied at class LocalStreamConnection to method getRequest()
21+
Iteration 8: "Decrease Field Visibility" applied at class XmlRpcServlet to field authenticationHandler from package to protected
22+
Iteration 9: "Decrease Method Visibility" applied at class XmlRpcStreamServer to method getRequest(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig,java.io.InputStream) from protected to public
23+
Iteration 10: "Make Method Static" applied at class AbstractReflectiveHandlerMapping to method getSignature(java.lang.reflect.Method[])
24+
Iteration 11: "Make Method Final" applied at class BigIntegerSerializer to method write(org.xml.sax.ContentHandler,java.lang.Object)
25+
Iteration 12: "Decrease Method Visibility" applied at class XmlRpcHttpServerConfig to method isKeepAliveEnabled() from package to protected
26+
Iteration 13: "Make Class Final" applied to class XmlRpcLoadException
27+
Iteration 14: "Decrease Method Visibility" applied at class ServletWebServer to method newTask(org.apache.xmlrpc.webserver.WebServer,org.apache.xmlrpc.server.XmlRpcStreamServer,java.net.Socket) from protected to public
28+
Iteration 15: "Move Field Up" applied to field DATE_TAG from CalendarSerializer to TypeSerializerImpl
29+
Iteration 16: "Make Method Non Final" applied at class BigIntegerSerializer to method write(org.xml.sax.ContentHandler,java.lang.Object)
30+
Iteration 17: "Collapse Hierarchy" applied from all elements in XmlRpcLocalStreamTransportFactory to XmlRpcStreamTransportFactory
31+
Iteration 18: "Increase Field Visibility" applied at class TypeSerializerImpl to field ZERO_ATTRIBUTES from protected to package
32+
33+
Time taken to refactor: 363.22s
34+
35+
======== Final Metric Info ========
36+
Fitness function 1 score: 0.101779
37+
Fitness function 2 score: 0.400000
38+
Fitness function 3 score: 0.652778
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
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 Class Final" applied to class Connection\BadEncodingException
15+
Iteration 2: "Make Class Final" applied to class XmlRpcSunHttpTransportFactory
16+
Iteration 3: "Make Class Abstract" applied to class WebServer
17+
Iteration 4: "Decrease Method Visibility" applied at class ServerHttpConnection to method setResponseHeader(java.lang.String,java.lang.String) from package to protected
18+
Iteration 5: "Decrease Field Visibility" applied at class XmlRpcServlet to field authenticationHandler from private to package
19+
Iteration 6: "Make Class Concrete" applied to class XmlRpcStreamTransportFactory
20+
Iteration 7: "Remove Method" applied at class LocalStreamConnection to method getRequest()
21+
Iteration 8: "Decrease Field Visibility" applied at class XmlRpcServlet to field authenticationHandler from package to protected
22+
Iteration 9: "Decrease Method Visibility" applied at class XmlRpcStreamServer to method getRequest(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig,java.io.InputStream) from protected to public
23+
Iteration 10: "Make Method Static" applied at class AbstractReflectiveHandlerMapping to method getSignature(java.lang.reflect.Method[])
24+
Iteration 11: "Make Method Final" applied at class BigIntegerSerializer to method write(org.xml.sax.ContentHandler,java.lang.Object)
25+
Iteration 12: "Decrease Method Visibility" applied at class XmlRpcHttpServerConfig to method isKeepAliveEnabled() from package to protected
26+
Iteration 13: "Make Class Final" applied to class XmlRpcLoadException
27+
Iteration 14: "Remove Method" applied at class XmlRpcCommonsTransportFactory to method setHttpClient(org.apache.commons.httpclient.HttpClient)
28+
Iteration 15: "Move Field Up" applied to field USER_AGENT from XmlRpcHttpTransport to XmlRpcStreamTransport
29+
Iteration 16: "Make Method Static" applied at class NullSerializer to method write(org.xml.sax.ContentHandler,java.lang.Object)
30+
Iteration 17: "Make Class Non Final" applied to class XmlRpcLoadException
31+
Iteration 18: "Make Method Final" applied at class XmlRpcStreamServer to method convertThrowable(java.lang.Throwable)
32+
Iteration 19: "Remove Method" applied at class XmlRpcClient to method setXmlWriterFactory(org.apache.xmlrpc.serializer.XmlWriterFactory)
33+
Iteration 20: "Make Method Final" applied at class ReflectionUtil to method setProperty(java.lang.Object,java.lang.String,java.lang.String)
34+
Iteration 21: "Decrease Method Visibility" applied at class CalendarParser to method setResult(java.lang.String) from protected to public
35+
Iteration 22: "Move Method Down" applied to method setRequestHeader(java.lang.String,java.lang.String) from XmlRpcSunHttpTransport to XmlRpcSun14HttpTransport
36+
Iteration 23: "Remove Method" applied at class XmlRpcController to method setTypeFactory(org.apache.xmlrpc.common.TypeFactory)
37+
Iteration 24: "Make Method Static" applied at class ConnectionServer to method setResponseHeader(org.apache.xmlrpc.common.ServerStreamConnection,java.lang.String,java.lang.String)
38+
Iteration 25: "Make Class Concrete" applied to class XmlRpcTransportImpl
39+
Iteration 26: "Decrease Method Visibility" applied at class ByteArrayParser\1338222084\338363746 to method writeBuffer(byte[],int,int) from protected to public
40+
Iteration 27: "Increase Field Visibility" applied at class CalendarSerializer to field DATE_TAG from public to protected
41+
Iteration 28: "Make Field Final" applied at class XmlRpcNoSuchHandlerException to ParameterDeclaration pMessage [in method XmlRpcNoSuchHandlerException(java.lang.String)]
42+
Iteration 29: "Make Method Static" applied at class TypeConverterFactoryImpl\IdentityTypeConverter to method convert(java.lang.Object)
43+
Iteration 30: "Make Class Final" applied to class RequestData
44+
Iteration 31: "Move Field Down" applied to field USER_AGENT from XmlRpcStreamTransport to XmlRpcHttpTransport
45+
Iteration 32: "Make Class Non Final" applied to class RequestData
46+
Iteration 33: "Make Class Abstract" applied to class XmlRpcTransportImpl
47+
Iteration 34: "Move Method Down" applied to method characters(char[],int,int) from AtomicParser to BigDecimalParser
48+
Iteration 35: "Make Method Non Static" applied at class AbstractReflectiveHandlerMapping to method getSignature(java.lang.reflect.Method[])
49+
Iteration 36: "Make Class Final" applied to class XmlRpcLocalStreamServer
50+
Iteration 37: "Decrease Field Visibility" applied at class ObjectArrayParser to field level from private to package
51+
52+
Time taken to refactor: 363.22s
53+
54+
======== Final Metric Info ========
55+
Fitness function 1 score: 0.143580
56+
Fitness function 2 score: 0.243243
57+
Fitness function 3 score: 0.648649

0 commit comments

Comments
 (0)