GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PERL::METRICS::LITE (3)

.ds Aq ’

NAME

Perl::Metrics::Lite - Pluggable Perl Code Metrics System

CONTENTS

SYNOPSIS



  use Perl::Metrics::Lite;
  my $analzyer   = Perl::Metrics::Lite->new;
  my $analysis   = $analzyer->analyze_files(@ARGV);
  my $file_stats = $analysis->file_stats;
  my $sub_stats = $analysis->sub_stats;



DESCRIPTION

<B>Perl::Metrics::LiteB> is the pluggable perl code metrics system.

<B>Perl::Metrics::LiteB> provides just enough methods to run static analysis of one or many Perl files and obtain a few metrics.

<B>Perl::Metrics::LiteB> is far simpler than Perl::Metrics and more extensible than Perl::Metrics::Simple.

USAGE

See the measureperl and measureperl-checkstyle script (included with this distribution) for a simple example of usage.

CLASS METHODS

    new

Takes no arguments and returns a new Perl::Metrics::Lite object.

OBJECT METHODS

analyze_files( CW@paths, CW@refs_to_file_contents )

Takes an array of files and or directory paths, and/or SCALAR refs to file contents and returns an Perl::Metrics::Lite::Analysis object.

SOURCE AVAILABILITY

This source is in Github:



  http://github.com/dann/p5-perl-metrics-lite



CONTRIBUTORS

Many thanks to:

AUTHOR

Dann <techmemo{at}gmail.com>

SEE ALSO

Perl::Metrics Perl::Metrics::Simple

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PERL::METRICS::LITE (3) 2012-03-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.