i have inherited program written in managed c++ guy retired. after spending time digging through it, can @ least 95% of belongs on thedailywtf . however, tasked modifying , porting on language i'm comfortable with. the program takes in many many parameters (50+) read in file , performs series of calculations , spits out report. once i'm done plowing way through pages of 3 letter variables (many of them reused totally unrelated purposes), need come way test code make sure comes same answers previous code. this wishful thinking, there automated code analysis tools out there can aid me in task in way or form? i porting on java. i need come way test code make sure comes same answers previous code. unit testing since mentioned program takes parameters in file , outputs report, generate few inputs give sufficient coverage portions want unit test against output old code. if breaks don't forget there chance have discovered bug in old code. htt...