On 8/1/14 10:39 AM, "Darrell Loverin" <darrell.love...@gmail.com> wrote:
>>>9. The source code for a prototype of a code coverage utility that I >wrote. >Has this code been donated? Yes, it is the flex-utilities repo in the CodeCoverage folder. I've used this code to do a tracing profiler and started in on trying to use it for code coverage as well. It uses a preloader swf that sets up flash.trace.Trace and sends output to a server app that actually saves the data so the file I/o is in a separate process. For code coverage, you would swfdump a swf and pull out all of the debug line data, then run the app and grab the output from flash.trace.Trace and see how many of the debug lines you hit. For tracing profiler, the problem is that there is no clean end-of-function marker. I want to experiment with adding a dummy debug line (like -1) to the SWF at each return ABC code as the end-of-function marker, then you could grab the output data and determine what ran and when without having to annotate a SWF with more abc code. -Alex