Keep It Simple, Stupid | |
PerlMonks |
Semantic diff for Perl codeby LanX (Saint) |
on Sep 14, 2017 at 19:23 UTC ( [id://1199416]=perlquestion: print w/replies, xml ) | Need Help?? |
LanX has asked for the wisdom of the Perl Monks concerning the following question:
Hi Colleague asked me if I knew a method to compare modules where functions blocks where moved. My first idea was to extract functions (probably with PPI or B::Xref ) and to diff them individually. The next idea only to extract sums from the different blocks... Than it occurred to me that a "semantic diff" could be a nice help for version control comments, and could also provide informations of other forms of refactoring. * Any ready to use projects available?
Cheers Rolf
*) found this in the mean time explaining the idea http://martinfowler.com/bliki/SemanticDiff.html
Back to
Seekers of Perl Wisdom
|
|