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