Code-Statistics

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "perl" : "5.006_003",
            "strict" : "0",
            "warnings" : "0"
         }
      },
      "test" : {
         "requires" : {
            "FileHandle" : "0",
            "Test::Builder::Module" : "0",
            "Test::Class" : "0",
            "Test::Differences" : "0",
            "Test::MockObject" : "0",
            "Test::More" : "0",
            "Test::Simple" : "0.96",
            "base" : "0",
            "lib" : "0",
            "parent" : "0"
         }
      }
   },
   "release_status" : "stable",

META.yml  view on Meta::CPAN

---
abstract: 'collects and reports statistics on perl code'
author:
  - 'Christian Walde <mithaldu@yahoo.de>'
build_requires:
  FileHandle: '0'
  Test::Builder::Module: '0'
  Test::Class: '0'
  Test::Differences: '0'
  Test::MockObject: '0'
  Test::More: '0'
  Test::Simple: '0.96'
  base: '0'
  lib: '0'
  parent: '0'
configure_requires:
  ExtUtils::MakeMaker: '0'
dynamic_config: 0
generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010'

Makefile.PL  view on Meta::CPAN

    "Perl::Critic::Utils::McCabe" => 0,
    "Template" => 0,
    "Term::ProgressBar::Simple" => 0,
    "strict" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "FileHandle" => 0,
    "Test::Builder::Module" => 0,
    "Test::Class" => 0,
    "Test::Differences" => 0,
    "Test::MockObject" => 0,
    "Test::More" => 0,
    "Test::Simple" => "0.96",
    "base" => 0,
    "lib" => 0,
    "parent" => 0
  },
  "VERSION" => "1.190680",
  "test" => {
    "TESTS" => "t/*.t"

Makefile.PL  view on Meta::CPAN

  "Moose::Util::TypeConstraints" => 0,
  "MooseX::HasDefaults::RO" => 0,
  "MooseX::SlurpyConstructor" => "1.1",
  "PPI::Document" => 0,
  "Path::Class" => 0,
  "Perl::Critic::Utils::McCabe" => 0,
  "Template" => 0,
  "Term::ProgressBar::Simple" => 0,
  "Test::Builder::Module" => 0,
  "Test::Class" => 0,
  "Test::Differences" => 0,
  "Test::MockObject" => 0,
  "Test::More" => 0,
  "Test::Simple" => "0.96",
  "base" => 0,
  "lib" => 0,
  "parent" => 0,
  "strict" => 0,
  "warnings" => 0
);

t/lib/Test/BinRegression.pm  view on Meta::CPAN

output could be costly. This module allows one to use the test code to generate the expected output,
so that if the differences with model output are expected, one can easily refresh the model output.

=head1 EXPORT

ok_regression

=cut

use Test::Builder::Module;
use Test::Differences;
use base qw(Test::Builder::Module);
our @EXPORT = qw(ok_regression);
my $CLASS = __PACKAGE__;

=head1 FUNCTIONS

=head2 ok_regression

This function requires two arguments: a CODE ref and a file path.
The CODE ref is expected to return a SCALAR string which



( run in 1.753 second using v1.01-cache-2.11-cpan-e1769b4cff6 )