Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^2: Test/ Code Ratio

by tphyahoo (Vicar)
on Jan 28, 2005 at 09:01 UTC ( #425880=note: print w/ replies, xml ) Need Help??

in reply to Re: Test/ Code Ratio
in thread Test/ Code Ratio

What's PPI?

Comment on Re^2: Test/ Code Ratio
Replies are listed 'Best First'.
Re^3: Test/ Code Ratio
by adamk (Chaplain) on Jan 28, 2005 at 10:08 UTC
    Eep, sorry.

    PPI is (originally) short for Parse::Perl::Isolated. It parses perl as a Document, without using perl itself.

    The "Signficicant Tokens" metric ignores lines, variable name lengths, string length, POD and just goes on the complexity of the code itself, and can be found using something like the following.

    use PPI; # Load a perl document my $Document = PPI::Document->load( '' ); my $significant = grep { ! $_->significant } $Document->tokens;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://425880]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (12)
As of 2015-10-07 16:44 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (191 votes), past polls