major changes to add tracetype (emma/jacoco) to compatiable with both
trace results