Re: Refactoring and Dynamic Analysis

atulDOTkhotATGmailDOTcom <[email protected]> Mon, 25 Nov 2013 09:13:37 +0530
Newsgroups gmane.comp.programming.refactoring
Message-ID <CAJifdbdH8bWa6CvMx4BmE8uGhcj_A1E3dLK2WAVzRRGdoR3KiQ@mail.gmail.com>
--047d7bdc0a9c48ef2804ebf82b99
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hi Swati,
   Please look at the sonar project - It may be relevant to what you are
looking for - As an aside, I highly recommend doing any such analysis with
some open source code - that would give you some real world experience -
   I agree with John's observation about simpler code - many times while
refactoring - I remember spotting an n-square list algorithm in a C++ code
- this was hidden - not apparent - and came to light while refactoring the
legacy code -
   The code never got executed earlier - but then it got pulled in the flow
- and the customer feedback was something that became 6 minute to 40 hours
;-). We were able to fix it fast - as we already knew of the stenches ;-)


--- cheerio atul



On Fri, Nov 22, 2013 at 10:03 PM, swati kumar <[email protected]> wrote:

>
>
> Namaskar,
>
> I am Swati. A Master of Technology student from India. I am doing my
> dissertation on Code smells and Refactoring.
>
> I am not able to find work done in refactoring using dynamic analysis or
> dynamic metrics.
>
> Please suggest me some work done in this direction.
>
> Thanking You!!!
>
>=20=20
>

--047d7bdc0a9c48ef2804ebf82b99
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable





<head>

<style type=3D"text/css">
<!--

/* start of attachment style */
       .ygrp-photo-title{
         clear: both;
         font-size: smaller;
         height: 15px;
         overflow: hidden;
         text-align: center;
         width: 75px;
       }
       div.ygrp-photo{
         background-position: center;
         background-repeat: no-repeat;
         background-color: white;
         border: 1px solid black;
         height: 62px;
         width: 62px;
       }

       div.photo-title=20
         a,
         div.photo-title a:active,
         div.photo-title a:hover,
         div.photo-title a:visited {
           text-decoration: none;=20
       }

       div.attach-table div.attach-row {
         clear: both;
       }

       div.attach-table div.attach-row div {
         float: left;
         /* margin: 2px;*/
       }

       p {
         clear: both;
         padding: 15px 0 3px 0;
	 overflow: hidden;
       }

       div.ygrp-file {
         width: 30px;
         valign: middle;
       }
       div.attach-table div.attach-row div div a {
         text-decoration: none;
       }

       div.attach-table div.attach-row div div span {
         font-weight: normal;
       }

       div.ygrp-file-title {
         font-weight: bold;
       }
 /* end of attachment style */
        -->
        </style>
        </head>
<html>
<head>
<style type=3D"text/css">
<!--
#ygrp-mkp {
  border: 1px solid #d8d8d8;
  font-family: Arial;
  margin: 10px 0;
  padding: 0 10px;
}

#ygrp-mkp hr {
  border: 1px solid #d8d8d8;
}

#ygrp-mkp #hd {
  color: #628c2a;
  font-size: 85%;
  font-weight: 700;
  line-height: 122%;
  margin: 10px 0;
}

#ygrp-mkp #ads {
  margin-bottom: 10px;
}

#ygrp-mkp .ad {
  padding: 0 0;
}

#ygrp-mkp .ad p {
  margin: 0;
}

#ygrp-mkp .ad a {
  color: #0000ff;
  text-decoration: none;
}
-->
</style>
</head>
<body>



<!-- |**|begin egp html banner|**| -->

<br><br>

<!-- |**|end egp html banner|**| -->


<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:tahoma,s=
ans-serif;font-size:small">Hi Swati,</div><div class=3D"gmail_default" styl=
e=3D"font-family:tahoma,sans-serif;font-size:small">=A0 =A0Please look at t=
he sonar project - It may be relevant to what you are looking for - As an a=
side, I highly recommend doing any such analysis with some open source code=
 - that would give you some real world experience -=A0</div>
<div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-si=
ze:small">=A0 =A0I agree with John&#39;s observation about simpler code - m=
any times while refactoring - I remember spotting an n-square list algorith=
m in a C++ code - this was hidden - not apparent - and came to light while =
refactoring the legacy code -=A0</div>
<div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-si=
ze:small">=A0 =A0The code never got executed earlier - but then it got pull=
ed in the flow - and the customer feedback was something that became 6 minu=
te to 40 hours ;-). We were able to fix it fast - as we already knew of the=
 stenches ;-)=A0</div>
<div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-si=
ze:small">=A0 =A0 =A0 =A0</div></div><div class=3D"gmail_extra"><br clear=
=3D"all"><div><div dir=3D"ltr">--- cheerio atul<br><br></div></div>
<br><br><div class=3D"gmail_quote">On Fri, Nov 22, 2013 at 10:03 PM, swati =
kumar <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=
=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">



<u></u>










<div style>
<span>=A0</span>


<div>
  <div>


    <div>
=20=20=20=20=20=20
=20=20=20=20=20=20
      <p></p><div dir=3D"ltr">Namaskar,<div><br></div><div>I am Swati. A Ma=
ster of Technology student from India. I am doing my dissertation on Code s=
mells and Refactoring.</div><div><br></div><div>I am not able to find work =
done in refactoring using dynamic analysis or dynamic metrics.</div>

<div><br></div><div>Please suggest me some work done in this direction.</di=
v><div><br></div><div>Thanking You!!!=A0<br></div></div>
<p></p>

    </div>
=20=20=20=20=20

=20=20=20=20
    <div style=3D"color:#fff;min-height:0"></div>


</div>



=20=20






</blockquote></div><br></div>




<!-- |**|begin egp html banner|**| -->

<br>


<br>

<!-- |**|end egp html banner|**| -->


<div width=3D"1" style=3D"color: white; clear: both;"/>__._,_.___</div>

=20=20=20=20=20=20
=20=20=20=20=20=20
<!-- Start Recommendations -->
<!-- End Recommendations -->



<!-- |**|begin egp html banner|**| -->

  <img src=3D"http://geo.yahoo.com/serv?s=3D97476590/grpId=3D3975602/grpspI=
d=3D1707276718/msgId=3D10704/stime=3D1385351018" width=3D"1" height=3D"1"> =
<br>

<!-- |**|end egp html banner|**| -->

=20=20
<!-- |**|begin egp html banner|**| -->

<br>
      <div style=3D"font-family: verdana; font-size: 77%; border-top: 1px s=
olid #666; padding: 5px 0;" >
      Your email settings: Individual Email|Traditional <br>
      <a href=3D"http://groups.yahoo.com/group/refactoring/join;_ylc=3DX3oD=
MTJmamlzMGw4BF9TAzk3NDc2NTkwBGdycElkAzM5NzU2MDIEZ3Jwc3BJZAMxNzA3Mjc2NzE4BHN=
lYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEzODUzNTEwMTg-">Change settings via the Web<=
/a> (Yahoo! ID required) <br>
      Change settings via email: <a href=3D"mailto:refactoring-digest@yahoo=
groups.com?subject=3DEmail Delivery: Digest">Switch delivery to Daily Diges=
t</a> | <a href =3D "mailto:[email protected]?subjec=
t=3DChange Delivery Format: Fully Featured">Switch to Fully Featured</a> <b=
r>
           <a href=3D"http://groups.yahoo.com/group/refactoring;_ylc=3DX3oD=
MTJkZmlnZ2RkBF9TAzk3NDc2NTkwBGdycElkAzM5NzU2MDIEZ3Jwc3BJZAMxNzA3Mjc2NzE4BHN=
lYwNmdHIEc2xrA2hwZgRzdGltZQMxMzg1MzUxMDE4">
        Visit Your Group=20
      </a> |
      <a href=3D"http://info.yahoo.com/legal/us/yahoo/utos/terms/">
        Yahoo! Groups Terms of Use
      </a> |
      <a href=3D"mailto:[email protected]?subject=3DU=
nsubscribe">
       Unsubscribe=20
      </a>=20
 <br>
    </div>
  <br>

<!-- |**|end egp html banner|**| -->


<div style=3D"color: white; clear: both;"/>__,_._,___</div>
</body>

</html>

--047d7bdc0a9c48ef2804ebf82b99--