The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

DESCRIPTION

Helper object, that works as a data container for Devel::CoverReport and Devel::CoverReport::Formatter.

WARNING

Consider this module to be an early ALPHA. It does the job for me, so it's here.

This is my first CPAN module, so I expect that some things may be a bit rough around edges.

The plan is, to fix both those issues, and remove this warning in next immediate release.

API

new

Constructor for Devel::CoverReport::Table.

add_row

Append data row to the table.

add_summary

Append summary row to the table

get_headers

Return reference to headers structure, currently configured in the table object.

Changing this structure WILL affect the table, so be carefull, or better - do not do it ;)

get_headers_order

Return arrayref, containing header keys, ordered, as they should be.

get_rows

Return data rows stored in the table.

get_summary

Get summary rows stored in the table.

LICENCE

Copyright 2009-2011, Bartłomiej Syguła (perl@bs502.pl)

This is free software. It is licensed, and can be distributed under the same terms as Perl itself.

For more, see my website: http://bs502.pl/