develooper Front page | perl.qa | Postings from June 2007

Re: Code coverage awesomeness

Thread Previous | Thread Next
From:
Joshua ben Jore
Date:
June 17, 2007 17:05
Subject:
Re: Code coverage awesomeness
Message ID:
dc5c751d0706171705o20fa4f61yf90a9fba4c029443@mail.gmail.com
On 6/17/07, A. Pagaltzis <pagaltzis@gmx.de> wrote:
> * Joshua ben Jore <twists@gmail.com> [2007-06-17 06:45]:
> > I took chromatic's Runops::Trace and hacked it up so I could do
> > code coverage. I can now tell which code path is triggered by
> > which inputs.
>
> Wow, that's bloody excellent.
>
> Here's the bonus question, though: can the same thing be done for
> the regex engine?

Probably but I'd ask Avar or Yves about that and I'm sure the method
would be entirely different. The 5.10 engine is pluggable so I'm sure
it's wrappable and therefore traceable.

Josh

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About