Skip to content

Commit 281b664

Browse files
author
mmohan01
committed
Added files
1 parent 0fa16d3 commit 281b664

File tree

1,500 files changed

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

+77746
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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 ReflectiveXmlRpcMetaDataHandler
15+
Iteration 2: "Increase Method Visibility" applied at class XmlRpcStreamServer to method setErrorLogger(org.apache.xmlrpc.server.XmlRpcErrorLogger) from public to protected
16+
17+
Time taken to refactor: 422.43s
18+
19+
======== Final Metric Info ========
20+
Fitness function 1 score: 0.002463
21+
Fitness function 2 score: 1.000000
22+
Fitness function 3 score: 1.000000
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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: "Decrease Method Visibility" applied at class XmlRpcHttpTransport to method newReqWriter(org.apache.xmlrpc.XmlRpcRequest) from protected to public
15+
Iteration 2: "Decrease Method Visibility" applied at class XmlRpcStreamServer to method getRequest(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig,java.io.InputStream) from protected to public
16+
Iteration 3: "Make Field Static" applied at class XmlRpcStreamTransport\ReqWriterImpl to field request
17+
Iteration 4: "Make Class Concrete" applied to class XmlRpcStreamTransportFactory
18+
Iteration 5: "Decrease Method Visibility" applied at class Connection\RequestException to method RequestException(org.apache.xmlrpc.webserver.RequestData,java.lang.String) from package to protected
19+
Iteration 6: "Collapse Hierarchy" applied from all elements in XmlRpcLocalStreamTransportFactory to XmlRpcStreamTransportFactory
20+
Iteration 7: "Make Method Static" applied at class XmlRpcCommonsTransportFactory to method getTransport()
21+
Iteration 8: "Decrease Method Visibility" applied at class ListSerializer to method writeData(org.xml.sax.ContentHandler,java.lang.Object) from protected to public
22+
Iteration 9: "Increase Field Visibility" applied at class XmlRpcHttpTransport to field USER_AGENT from public to protected
23+
Iteration 10: "Make Class Final" applied to class BooleanParser
24+
Iteration 11: "Make Class Concrete" applied to class XmlRpcTransportFactoryImpl
25+
Iteration 12: "Make Field Final" applied at class XmlRpcLiteHttpTransport to FieldDeclaration ssl
26+
Iteration 13: "Make Class Abstract" applied to class XmlRpcLiteHttpTransportFactory
27+
Iteration 14: "Increase Method Visibility" applied at class XmlRpcStreamServer to method setErrorLogger(org.apache.xmlrpc.server.XmlRpcErrorLogger) from public to protected
28+
29+
Time taken to refactor: 422.43s
30+
31+
======== Final Metric Info ========
32+
Fitness function 1 score: 0.088577
33+
Fitness function 2 score: 1.000000
34+
Fitness function 3 score: 0.732143
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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: "Decrease Method Visibility" applied at class XmlRpcHttpTransport to method newReqWriter(org.apache.xmlrpc.XmlRpcRequest) from protected to public
15+
Iteration 2: "Decrease Method Visibility" applied at class XmlRpcStreamServer to method getRequest(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig,java.io.InputStream) from protected to public
16+
Iteration 3: "Make Field Static" applied at class XmlRpcStreamTransport\ReqWriterImpl to field request
17+
Iteration 4: "Make Class Concrete" applied to class XmlRpcStreamTransportFactory
18+
Iteration 5: "Decrease Method Visibility" applied at class Connection\RequestException to method RequestException(org.apache.xmlrpc.webserver.RequestData,java.lang.String) from package to protected
19+
Iteration 6: "Collapse Hierarchy" applied from all elements in XmlRpcLocalStreamTransportFactory to XmlRpcStreamTransportFactory
20+
Iteration 7: "Make Method Static" applied at class XmlRpcCommonsTransportFactory to method getTransport()
21+
Iteration 8: "Remove Method" applied at class XmlRpcCommonsTransportFactory to method setHttpClient(org.apache.commons.httpclient.HttpClient)
22+
Iteration 9: "Make Class Final" applied to class XmlRpcServletServer
23+
Iteration 10: "Make Method Static" applied at class SerializableParser to method getResult()
24+
Iteration 11: "Decrease Method Visibility" applied at class Connection\RequestException to method RequestException(org.apache.xmlrpc.webserver.RequestData,java.lang.String) from protected to public
25+
Iteration 12: "Make Class Final" applied to class LongParser
26+
Iteration 13: "Decrease Method Visibility" applied at class XmlRpcLite14HttpTransport to method newSocket(boolean,java.lang.String,int) from protected to public
27+
Iteration 14: "Decrease Field Visibility" applied at class XmlRpcLite14HttpTransport to field sslSocketFactory from private to package
28+
Iteration 15: "Move Method Down" applied to method write(org.xml.sax.ContentHandler,java.lang.Object) from ObjectArraySerializer to ListSerializer
29+
Iteration 16: "Move Field Up" applied to field EX_I2_TAG from I2Serializer to TypeSerializerImpl
30+
Iteration 17: "Make Method Non Final" applied at class Connection to method toHTTPBytes(java.lang.String)
31+
Iteration 18: "Make Field Final" applied at class XmlRpcLiteHttpTransport to FieldDeclaration ssl
32+
Iteration 19: "Make Class Abstract" applied to class XmlRpcLiteHttpTransportFactory
33+
Iteration 20: "Make Class Abstract" applied to class WebServer
34+
Iteration 21: "Decrease Method Visibility" applied at class WebServer to method newXmlRpcStreamServer() from protected to public
35+
Iteration 22: "Decrease Field Visibility" applied at class MapParser to field nameObject from private to package
36+
Iteration 23: "Move Method Up" applied to method getTransport() from XmlRpcLiteHttpTransportFactory to XmlRpcTransportFactoryImpl
37+
Iteration 24: "Make Class Final" applied to class Util
38+
Iteration 25: "Decrease Field Visibility" applied at class JaxbTypeFactory to field context from private to package
39+
Iteration 26: "Increase Method Visibility" applied at class XmlRpcStreamServer to method setErrorLogger(org.apache.xmlrpc.server.XmlRpcErrorLogger) from public to protected
40+
Iteration 27: "Decrease Field Visibility" applied at class XmlRpcLite14HttpTransportFactory to field sslSocketFactory from private to package
41+
Iteration 28: "Increase Field Visibility" applied at class XmlRpcHttpTransport to field USER_AGENT from public to protected
42+
43+
Time taken to refactor: 422.43s
44+
45+
======== Final Metric Info ========
46+
Fitness function 1 score: 0.099037
47+
Fitness function 2 score: 0.892857
48+
Fitness function 3 score: 0.714286
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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: "Decrease Method Visibility" applied at class XmlRpcHttpTransport to method newReqWriter(org.apache.xmlrpc.XmlRpcRequest) from protected to public
15+
Iteration 2: "Decrease Method Visibility" applied at class XmlRpcStreamServer to method getRequest(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig,java.io.InputStream) from protected to public
16+
Iteration 3: "Make Field Static" applied at class XmlRpcStreamTransport\ReqWriterImpl to field request
17+
Iteration 4: "Make Class Concrete" applied to class XmlRpcStreamTransportFactory
18+
Iteration 5: "Decrease Method Visibility" applied at class Connection\RequestException to method RequestException(org.apache.xmlrpc.webserver.RequestData,java.lang.String) from package to protected
19+
Iteration 6: "Collapse Hierarchy" applied from all elements in XmlRpcLocalStreamTransportFactory to XmlRpcStreamTransportFactory
20+
Iteration 7: "Make Method Static" applied at class XmlRpcCommonsTransportFactory to method getTransport()
21+
Iteration 8: "Remove Method" applied at class XmlRpcCommonsTransportFactory to method setHttpClient(org.apache.commons.httpclient.HttpClient)
22+
Iteration 9: "Make Class Final" applied to class XmlRpcServletServer
23+
Iteration 10: "Make Method Static" applied at class SerializableParser to method getResult()
24+
Iteration 11: "Make Class Abstract" applied to class WebServer
25+
Iteration 12: "Decrease Method Visibility" applied at class WebServer to method newXmlRpcStreamServer() from protected to public
26+
Iteration 13: "Decrease Field Visibility" applied at class MapParser to field nameObject from private to package
27+
Iteration 14: "Move Method Up" applied to method getTransport() from XmlRpcLiteHttpTransportFactory to XmlRpcTransportFactoryImpl
28+
Iteration 15: "Make Class Final" applied to class Util
29+
Iteration 16: "Decrease Field Visibility" applied at class JaxbTypeFactory to field context from private to package
30+
Iteration 17: "Make Class Abstract" applied to class XmlRpcLiteHttpTransportFactory
31+
Iteration 18: "Increase Method Visibility" applied at class XmlRpcStreamServer to method setErrorLogger(org.apache.xmlrpc.server.XmlRpcErrorLogger) from public to protected
32+
Iteration 19: "Make Field Final" applied at class I2Serializer to ParameterDeclaration pHandler [in method write(org.xml.sax.ContentHandler,java.lang.Object)]
33+
34+
Time taken to refactor: 422.43s
35+
36+
======== Final Metric Info ========
37+
Fitness function 1 score: 0.098601
38+
Fitness function 2 score: 0.947368
39+
Fitness function 3 score: 0.697368
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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: "Decrease Method Visibility" applied at class XmlRpcHttpTransport to method newReqWriter(org.apache.xmlrpc.XmlRpcRequest) from protected to public
15+
Iteration 2: "Decrease Method Visibility" applied at class XmlRpcStreamServer to method getRequest(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig,java.io.InputStream) from protected to public
16+
Iteration 3: "Make Field Static" applied at class XmlRpcStreamTransport\ReqWriterImpl to field request
17+
Iteration 4: "Make Class Concrete" applied to class XmlRpcStreamTransportFactory
18+
Iteration 5: "Decrease Method Visibility" applied at class Connection\RequestException to method RequestException(org.apache.xmlrpc.webserver.RequestData,java.lang.String) from package to protected
19+
Iteration 6: "Collapse Hierarchy" applied from all elements in XmlRpcLocalStreamTransportFactory to XmlRpcStreamTransportFactory
20+
Iteration 7: "Make Method Static" applied at class XmlRpcCommonsTransportFactory to method getTransport()
21+
Iteration 8: "Remove Method" applied at class XmlRpcCommonsTransportFactory to method setHttpClient(org.apache.commons.httpclient.HttpClient)
22+
Iteration 9: "Make Class Final" applied to class XmlRpcServletServer
23+
Iteration 10: "Make Method Static" applied at class SerializableParser to method getResult()
24+
Iteration 11: "Decrease Method Visibility" applied at class Connection\RequestException to method RequestException(org.apache.xmlrpc.webserver.RequestData,java.lang.String) from protected to public
25+
Iteration 12: "Make Class Final" applied to class LongParser
26+
Iteration 13: "Decrease Method Visibility" applied at class XmlRpcLite14HttpTransport to method newSocket(boolean,java.lang.String,int) from protected to public
27+
Iteration 14: "Decrease Field Visibility" applied at class XmlRpcLite14HttpTransport to field sslSocketFactory from private to package
28+
Iteration 15: "Move Method Down" applied to method write(org.xml.sax.ContentHandler,java.lang.Object) from ObjectArraySerializer to ListSerializer
29+
Iteration 16: "Move Field Up" applied to field EX_I2_TAG from I2Serializer to TypeSerializerImpl
30+
Iteration 17: "Make Method Non Final" applied at class Connection to method toHTTPBytes(java.lang.String)
31+
Iteration 18: "Make Field Final" applied at class XmlRpcLiteHttpTransport to FieldDeclaration ssl
32+
Iteration 19: "Make Class Abstract" applied to class XmlRpcLiteHttpTransportFactory
33+
Iteration 20: "Increase Method Visibility" applied at class XmlRpcStreamServer to method setErrorLogger(org.apache.xmlrpc.server.XmlRpcErrorLogger) from public to protected
34+
Iteration 21: "Make Field Static" applied at class DateSerializer to field format
35+
Iteration 22: "Increase Method Visibility" applied at class XmlRpcLiteHttpTransport to method newSocket(boolean,java.lang.String,int) from protected to package
36+
37+
Time taken to refactor: 422.43s
38+
39+
======== Final Metric Info ========
40+
Fitness function 1 score: 0.125402
41+
Fitness function 2 score: 0.909091
42+
Fitness function 3 score: 0.693182
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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: "Decrease Method Visibility" applied at class XmlRpcHttpTransport to method newReqWriter(org.apache.xmlrpc.XmlRpcRequest) from protected to public
15+
Iteration 2: "Decrease Method Visibility" applied at class XmlRpcStreamServer to method getRequest(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig,java.io.InputStream) from protected to public
16+
Iteration 3: "Make Field Static" applied at class XmlRpcStreamTransport\ReqWriterImpl to field request
17+
Iteration 4: "Make Class Concrete" applied to class XmlRpcStreamTransportFactory
18+
Iteration 5: "Decrease Method Visibility" applied at class Connection\RequestException to method RequestException(org.apache.xmlrpc.webserver.RequestData,java.lang.String) from package to protected
19+
Iteration 6: "Collapse Hierarchy" applied from all elements in XmlRpcLocalStreamTransportFactory to XmlRpcStreamTransportFactory
20+
Iteration 7: "Make Method Static" applied at class XmlRpcCommonsTransportFactory to method getTransport()
21+
Iteration 8: "Remove Method" applied at class XmlRpcCommonsTransportFactory to method setHttpClient(org.apache.commons.httpclient.HttpClient)
22+
Iteration 9: "Make Class Final" applied to class XmlRpcServletServer
23+
Iteration 10: "Make Method Static" applied at class SerializableParser to method getResult()
24+
Iteration 11: "Decrease Method Visibility" applied at class Connection\RequestException to method RequestException(org.apache.xmlrpc.webserver.RequestData,java.lang.String) from protected to public
25+
Iteration 12: "Make Class Final" applied to class LongParser
26+
Iteration 13: "Decrease Method Visibility" applied at class XmlRpcLite14HttpTransport to method newSocket(boolean,java.lang.String,int) from protected to public
27+
Iteration 14: "Decrease Field Visibility" applied at class XmlRpcLite14HttpTransport to field sslSocketFactory from private to package
28+
Iteration 15: "Move Field Up" applied to field cfg from RecursiveTypeParserImpl to TypeParserImpl
29+
Iteration 16: "Decrease Field Visibility" applied at class JaxbTypeFactory to field context from private to package
30+
Iteration 17: "Decrease Method Visibility" applied at class I2Parser to method setResult(java.lang.String) from protected to public
31+
Iteration 18: "Make Method Static" applied at class XmlRpcServletServer to method setResponseHeader(org.apache.xmlrpc.common.ServerStreamConnection,java.lang.String,java.lang.String)
32+
Iteration 19: "Make Field Final" applied at class XmlRpcLite14HttpTransportFactory to ParameterDeclaration pSSLSocketFactory [in method setSSLSocketFactory(javax.net.ssl.SSLSocketFactory)]
33+
Iteration 20: "Decrease Method Visibility" applied at class XmlRpcRequestProcessorFactory to method getXmlRpcServer() from package to protected
34+
Iteration 21: "Decrease Field Visibility" applied at class XmlRpcLite14HttpTransportFactory to field sslSocketFactory from private to package
35+
Iteration 22: "Make Class Abstract" applied to class WebServer
36+
Iteration 23: "Make Class Final" applied to class ClientFactory
37+
Iteration 24: "Decrease Method Visibility" applied at class XmlRpcLiteHttpTransport to method writeRequest(org.apache.xmlrpc.client.XmlRpcStreamTransport.ReqWriter) from protected to public
38+
Iteration 25: "Move Method Down" applied to method characters(char[],int,int) from AtomicParser to BigDecimalParser
39+
40+
Time taken to refactor: 422.43s
41+
42+
======== Final Metric Info ========
43+
Fitness function 1 score: 0.117420
44+
Fitness function 2 score: 0.920000
45+
Fitness function 3 score: 0.690000
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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: "Decrease Method Visibility" applied at class XmlRpcHttpTransport to method newReqWriter(org.apache.xmlrpc.XmlRpcRequest) from protected to public
15+
Iteration 2: "Decrease Method Visibility" applied at class XmlRpcStreamServer to method getRequest(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig,java.io.InputStream) from protected to public
16+
Iteration 3: "Make Field Static" applied at class XmlRpcStreamTransport\ReqWriterImpl to field request
17+
Iteration 4: "Make Class Concrete" applied to class XmlRpcStreamTransportFactory
18+
Iteration 5: "Decrease Method Visibility" applied at class Connection\RequestException to method RequestException(org.apache.xmlrpc.webserver.RequestData,java.lang.String) from package to protected
19+
Iteration 6: "Collapse Hierarchy" applied from all elements in XmlRpcLocalStreamTransportFactory to XmlRpcStreamTransportFactory
20+
Iteration 7: "Make Method Static" applied at class XmlRpcCommonsTransportFactory to method getTransport()
21+
Iteration 8: "Remove Method" applied at class XmlRpcCommonsTransportFactory to method setHttpClient(org.apache.commons.httpclient.HttpClient)
22+
Iteration 9: "Make Class Final" applied to class XmlRpcServletServer
23+
Iteration 10: "Make Method Static" applied at class SerializableParser to method getResult()
24+
Iteration 11: "Increase Method Visibility" applied at class XmlRpcStreamServer to method setErrorLogger(org.apache.xmlrpc.server.XmlRpcErrorLogger) from public to protected
25+
26+
Time taken to refactor: 422.43s
27+
28+
======== Final Metric Info ========
29+
Fitness function 1 score: 0.094613
30+
Fitness function 2 score: 1.000000
31+
Fitness function 3 score: 0.681818

0 commit comments

Comments
 (0)