Skip to content

Commit 34e15bd

Browse files
author
mmohan01
committed
Added files
1 parent 4e88afd commit 34e15bd

File tree

1,500 files changed

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

+76135
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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+
12+
======== Applied Refactorings ========
13+
Iteration 1: "Move Field Up" applied to field DATE_TAG from CalendarSerializer to TypeSerializerImpl
14+
Iteration 2: "Make Class Final" applied to class XmlRpcClientDefaults
15+
Iteration 3: "Make Class Final" applied to class TimingOutCallback
16+
Iteration 4: "Increase Field Visibility" applied at class AbstractReflectiveHandlerMapping to field handlerMap from protected to package
17+
Iteration 5: "Decrease Method Visibility" applied at class XmlRpcLite14HttpTransport to method newSocket(boolean,java.lang.String,int) from protected to public
18+
Iteration 6: "Decrease Method Visibility" applied at class XmlRpcRequestProcessorFactory to method getXmlRpcServer() from package to protected
19+
Iteration 7: "Make Class Abstract" applied to class XmlRpcServer
20+
Iteration 8: "Move Method Up" applied to method newPostMethod(org.apache.xmlrpc.client.XmlRpcHttpClientConfig) from XmlRpcCommonsTransport to XmlRpcHttpTransport
21+
Iteration 9: "Make Class Final" applied to class MapSerializer
22+
23+
Time taken to refactor: 393.90s
24+
25+
======== Final Metric Info ========
26+
Fitness function 1 score: 0.016816
27+
Fitness function 2 score: 0.805556
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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+
12+
======== Applied Refactorings ========
13+
Iteration 1: "Decrease Method Visibility" applied at class XmlRpcSunHttpTransport to method newURLConnection(java.net.URL) from protected to public
14+
Iteration 2: "Make Class Concrete" applied to class XmlRpcDateTimeDateFormat
15+
Iteration 3: "Decrease Method Visibility" applied at class XmlRpcConfig to method getTimeZone() from package to protected
16+
Iteration 4: "Make Class Abstract" applied to class XmlRpcLiteHttpTransportFactory
17+
Iteration 5: "Increase Method Visibility" applied at class XmlRpcServer to method getHandlerMapping() from public to protected
18+
Iteration 6: "Remove Method" applied at class XmlRpcStreamServer to method setErrorLogger(org.apache.xmlrpc.server.XmlRpcErrorLogger)
19+
Iteration 7: "Move Method Up" applied to method newSocket(boolean,java.lang.String,int) from XmlRpcLiteHttpTransport to XmlRpcHttpTransport
20+
Iteration 8: "Make Class Final" applied to class XmlRpcLocalTransport
21+
Iteration 9: "Decrease Method Visibility" applied at class XmlRpcMetaDataHandler to method getSignatures() from package to protected
22+
Iteration 10: "Increase Field Visibility" applied at class I1Serializer to field EX_I1_TAG from public to protected
23+
Iteration 11: "Make Class Final" applied to class FloatParser
24+
Iteration 12: "Increase Method Visibility" applied at class Util to method getSignatureType(java.lang.Class) from public to protected
25+
Iteration 13: "Move Method Down" applied to method write(org.xml.sax.ContentHandler,java.lang.Object) from ObjectArraySerializer to ListSerializer
26+
Iteration 14: "Move Method Down" applied to method setRequestHeader(java.lang.String,java.lang.String) from XmlRpcSunHttpTransport to XmlRpcSun14HttpTransport
27+
Iteration 15: "Decrease Method Visibility" applied at class I8Parser to method setResult(java.lang.String) from protected to public
28+
Iteration 16: "Decrease Method Visibility" applied at class XmlRpcSun14HttpTransport to method setRequestHeader(java.lang.String,java.lang.String) from protected to public
29+
Iteration 17: "Decrease Field Visibility" applied at class XmlRpcServerWorker to field factory from private to package
30+
Iteration 18: "Make Class Final" applied to class TypeConverterFactoryImpl\PrimitiveTypeConverter
31+
Iteration 19: "Move Method Down" applied to method getOutputStream(org.apache.xmlrpc.common.ServerStreamConnection,org.apache.xmlrpc.common.XmlRpcStreamRequestConfig,java.io.OutputStream) from XmlRpcHttpServer to ConnectionServer
32+
Iteration 20: "Make Class Concrete" applied to class XmlRpcStreamTransportFactory
33+
Iteration 21: "Decrease Method Visibility" applied at class RecursiveTypeParserImpl to method endValueTag() from protected to public
34+
Iteration 22: "Make Method Final" applied at class RequestProcessorFactoryFactory\RequestSpecificProcessorFactoryFactory to method getRequestProcessorFactory(java.lang.Class)
35+
Iteration 23: "Make Field Final" applied at class ExtParser to LocalVariableDeclaration i [in method startElement(java.lang.String,java.lang.String,java.lang.String,org.xml.sax.Attributes)]
36+
Iteration 24: "Decrease Method Visibility" applied at class XmlRpcClient to method getDefaultXmlRpcWorkerFactory() from protected to public
37+
Iteration 25: "Make Class Non Final" applied to class FloatParser
38+
Iteration 26: "Decrease Method Visibility" applied at class XmlRpcMetaDataHandler to method getSignatures() from protected to public
39+
Iteration 27: "Decrease Method Visibility" applied at class NullParser to method setResult(java.lang.String) from protected to public
40+
Iteration 28: "Make Method Non Static" applied at class Util to method getSignatureType(java.lang.Class)
41+
Iteration 29: "Make Field Final" applied at class SerializableSerializer to LocalVariableDeclaration oos [in method write(org.xml.sax.ContentHandler,java.lang.Object)]
42+
Iteration 30: "Collapse Hierarchy" applied from all elements in XmlRpcLocalStreamTransportFactory to XmlRpcStreamTransportFactory
43+
Iteration 31: "Make Field Static" applied at class XmlRpcClientRequestImpl to field config
44+
Iteration 32: "Decrease Method Visibility" applied at class XmlRpcServerWorkerFactory to method newWorker() from protected to public
45+
Iteration 33: "Make Field Final" applied at class XmlRpcStreamTransportFactory to ParameterDeclaration pClient [in method XmlRpcStreamTransportFactory(org.apache.xmlrpc.client.XmlRpcClient)]
46+
Iteration 34: "Increase Method Visibility" applied at class Util to method getSignatureType(java.lang.Class) from protected to package
47+
Iteration 35: "Make Class Final" applied to class I4Serializer
48+
Iteration 36: "Decrease Method Visibility" applied at class XmlRpcHttpServerConfig to method isKeepAliveEnabled() from package to protected
49+
Iteration 37: "Make Field Final" applied at class XmlRpcLocalStreamServer to ParameterDeclaration pRequest [in method execute(org.apache.xmlrpc.XmlRpcRequest)]
50+
Iteration 38: "Decrease Method Visibility" applied at class XmlRpcStreamRequestProcessor to method execute(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig,org.apache.xmlrpc.common.ServerStreamConnection) from package to protected
51+
Iteration 39: "Make Method Static" applied at class XmlRpcCommonsTransportFactory to method getTransport()
52+
Iteration 40: "Remove Method" applied at class XmlRpcWriter to method write(org.apache.xmlrpc.XmlRpcRequestConfig,int,java.lang.String)
53+
Iteration 41: "Decrease Method Visibility" applied at class XmlRpcServletServer to method isContentLengthRequired(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig) from protected to public
54+
Iteration 42: "Move Method Down" applied to method isUsingByteArrayOutput(org.apache.xmlrpc.client.XmlRpcHttpClientConfig) from XmlRpcLiteHttpTransport to XmlRpcLite14HttpTransport
55+
Iteration 43: "Decrease Method Visibility" applied at class XmlRpcStreamTransport\ReqWriter to method write(java.io.OutputStream) from package to protected
56+
Iteration 44: "Make Class Final" applied to class XmlRpcSun15HttpTransport
57+
Iteration 45: "Increase Method Visibility" applied at class Util to method getSignatureType(java.lang.Class) from package to private
58+
Iteration 46: "Decrease Field Visibility" applied at class XmlRpcServerWorker to field factory from package to protected
59+
Iteration 47: "Make Class Abstract" applied to class XmlRpcServer
60+
Iteration 48: "Move Method Up" applied to method newPostMethod(org.apache.xmlrpc.client.XmlRpcHttpClientConfig) from XmlRpcCommonsTransport to XmlRpcHttpTransport
61+
Iteration 49: "Make Class Final" applied to class MapSerializer
62+
Iteration 50: "Make Class Abstract" applied to class WebServer
63+
Iteration 51: "Make Method Static" applied at class XmlRpcServlet to method newXmlRpcServer(javax.servlet.ServletConfig)
64+
65+
Time taken to refactor: 393.90s
66+
67+
======== Final Metric Info ========
68+
Fitness function 1 score: 0.145630
69+
Fitness function 2 score: 0.622549
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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+
12+
======== Applied Refactorings ========
13+
Iteration 1: "Decrease Method Visibility" applied at class XmlRpcSunHttpTransport to method newURLConnection(java.net.URL) from protected to public
14+
Iteration 2: "Make Class Concrete" applied to class XmlRpcDateTimeDateFormat
15+
Iteration 3: "Decrease Method Visibility" applied at class XmlRpcConfig to method getTimeZone() from package to protected
16+
Iteration 4: "Make Class Abstract" applied to class XmlRpcLiteHttpTransportFactory
17+
Iteration 5: "Increase Method Visibility" applied at class XmlRpcServer to method getHandlerMapping() from public to protected
18+
Iteration 6: "Remove Method" applied at class XmlRpcStreamServer to method setErrorLogger(org.apache.xmlrpc.server.XmlRpcErrorLogger)
19+
Iteration 7: "Move Method Up" applied to method newSocket(boolean,java.lang.String,int) from XmlRpcLiteHttpTransport to XmlRpcHttpTransport
20+
Iteration 8: "Make Class Final" applied to class XmlRpcLocalTransport
21+
Iteration 9: "Decrease Method Visibility" applied at class XmlRpcMetaDataHandler to method getSignatures() from package to protected
22+
Iteration 10: "Increase Field Visibility" applied at class I1Serializer to field EX_I1_TAG from public to protected
23+
Iteration 11: "Make Class Final" applied to class FloatParser
24+
Iteration 12: "Increase Method Visibility" applied at class Util to method getSignatureType(java.lang.Class) from public to protected
25+
Iteration 13: "Move Method Down" applied to method write(org.xml.sax.ContentHandler,java.lang.Object) from ObjectArraySerializer to ListSerializer
26+
Iteration 14: "Move Method Down" applied to method setRequestHeader(java.lang.String,java.lang.String) from XmlRpcSunHttpTransport to XmlRpcSun14HttpTransport
27+
Iteration 15: "Decrease Method Visibility" applied at class I8Parser to method setResult(java.lang.String) from protected to public
28+
Iteration 16: "Decrease Method Visibility" applied at class XmlRpcSun14HttpTransport to method setRequestHeader(java.lang.String,java.lang.String) from protected to public
29+
Iteration 17: "Decrease Field Visibility" applied at class XmlRpcServerWorker to field factory from private to package
30+
Iteration 18: "Make Class Final" applied to class TypeConverterFactoryImpl\PrimitiveTypeConverter
31+
Iteration 19: "Move Method Down" applied to method getOutputStream(org.apache.xmlrpc.common.ServerStreamConnection,org.apache.xmlrpc.common.XmlRpcStreamRequestConfig,java.io.OutputStream) from XmlRpcHttpServer to ConnectionServer
32+
Iteration 20: "Make Class Concrete" applied to class XmlRpcStreamTransportFactory
33+
Iteration 21: "Decrease Method Visibility" applied at class RecursiveTypeParserImpl to method endValueTag() from protected to public
34+
Iteration 22: "Make Method Final" applied at class RequestProcessorFactoryFactory\RequestSpecificProcessorFactoryFactory to method getRequestProcessorFactory(java.lang.Class)
35+
Iteration 23: "Make Field Final" applied at class ExtParser to LocalVariableDeclaration i [in method startElement(java.lang.String,java.lang.String,java.lang.String,org.xml.sax.Attributes)]
36+
Iteration 24: "Decrease Method Visibility" applied at class XmlRpcClient to method getDefaultXmlRpcWorkerFactory() from protected to public
37+
Iteration 25: "Make Class Non Final" applied to class FloatParser
38+
Iteration 26: "Decrease Method Visibility" applied at class XmlRpcMetaDataHandler to method getSignatures() from protected to public
39+
Iteration 27: "Decrease Method Visibility" applied at class NullParser to method setResult(java.lang.String) from protected to public
40+
Iteration 28: "Make Method Non Static" applied at class Util to method getSignatureType(java.lang.Class)
41+
Iteration 29: "Make Field Final" applied at class SerializableSerializer to LocalVariableDeclaration oos [in method write(org.xml.sax.ContentHandler,java.lang.Object)]
42+
Iteration 30: "Collapse Hierarchy" applied from all elements in XmlRpcLocalStreamTransportFactory to XmlRpcStreamTransportFactory
43+
Iteration 31: "Make Field Static" applied at class XmlRpcClientRequestImpl to field config
44+
Iteration 32: "Decrease Method Visibility" applied at class XmlRpcServerWorkerFactory to method newWorker() from protected to public
45+
Iteration 33: "Make Field Final" applied at class XmlRpcStreamTransportFactory to ParameterDeclaration pClient [in method XmlRpcStreamTransportFactory(org.apache.xmlrpc.client.XmlRpcClient)]
46+
Iteration 34: "Make Method Final" applied at class ReflectiveXmlRpcHandler to method getInstance(org.apache.xmlrpc.XmlRpcRequest)
47+
Iteration 35: "Make Class Final" applied to class BooleanParser
48+
Iteration 36: "Make Class Final" applied to class I4Serializer
49+
Iteration 37: "Make Method Static" applied at class XmlRpcCommonsTransportFactory to method getTransport()
50+
Iteration 38: "Remove Method" applied at class XmlRpcWriter to method write(org.apache.xmlrpc.XmlRpcRequestConfig,int,java.lang.String)
51+
Iteration 39: "Decrease Method Visibility" applied at class XmlRpcServletServer to method isContentLengthRequired(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig) from protected to public
52+
Iteration 40: "Move Method Down" applied to method isUsingByteArrayOutput(org.apache.xmlrpc.client.XmlRpcHttpClientConfig) from XmlRpcLiteHttpTransport to XmlRpcLite14HttpTransport
53+
Iteration 41: "Increase Method Visibility" applied at class Util to method getSignatureType(java.lang.Class) from protected to package
54+
Iteration 42: "Remove Method" applied at class HttpServletRequestImpl to method getRequestURL()
55+
Iteration 43: "Decrease Method Visibility" applied at class XmlRpcLocalTransport to method isExtensionType(java.lang.Object) from private to package
56+
Iteration 44: "Make Class Final" applied to class MapSerializer
57+
Iteration 45: "Make Class Final" applied to class StringSerializer
58+
59+
Time taken to refactor: 393.90s
60+
61+
======== Final Metric Info ========
62+
Fitness function 1 score: 0.154261
63+
Fitness function 2 score: 0.622222

0 commit comments

Comments
 (0)