App-CriticDB
view release on metacpan or search on metacpan
lib/App/CriticDB/Collector.pm view on Meta::CPAN
=head1 DESCRIPTION
The Collector builds a C<Perl::Critic> instance to retrieve violations at any severity and stores them via callback (to datastore providers).
=head2 Caveats
The collect defaults to the C<top> one million violations per file.
=head1 CALLBACKS
Discovered violations are passed to a datastore via the configured callbacks.
=head2 Store
Store a list of violations associated with a file:
store(file=>'name',violations=>[...])
The current time is stored as the mtime associated with the update. Depending on the datastore, updates may only be committed to memory.
=head2 Flush
( run in 0.445 second using v1.01-cache-2.11-cpan-cdf2f3d4e48 )