Braintree/WebhookTesting.pm

filter: Statementstmt 62.5% 5 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 33.3% 1 / 3 Podpod 0.0% 0 / 2 totaltotal 46.1% 6 / 13 CC 1 SCAR 5.1
CC
1
Cov
62%
sample_notification
2.0
gateway
2.0
BEGIN
1.0
CRAP 1.7
« Braintree/SettlementBatchSummary.pm ↑ Summary Braintree/PayPalAccountGateway.pm »
1 package Net::Braintree::WebhookTesting;
2  
3 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 my $meta = __PACKAGE__->meta;
6  
7 sub sample_notification {
8 0 ▶ my ($class, $kind, $id) = @_;
Subroutine sample_notification: not called CC=1 SCAR=6.9
Pod undocumented
9  
10 0 return $class->gateway->webhook_testing->sample_notification($kind, $id);
11 }
12  
13 sub gateway {
14 0 ▶ return Net::Braintree->configuration->gateway;
Subroutine gateway: not called CC=1 SCAR=6.9
Pod undocumented
15 }
16  
17 1 1;
« Braintree/SettlementBatchSummary.pm ↑ Summary Braintree/PayPalAccountGateway.pm »