Translate/Babelfish.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 1 / 1 totaltotal 100% 26 / 26 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Translate.pm ↑ Summary
1 2 ▶use 5.008;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package Text::Pipe::Translate::Babelfish;
6 2 our $VERSION = '1.100890';
7 # ABSTRACT: Translate text using Babelfish
8 2 ▶use LWP::UserAgent;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 2 ▶use parent qw(Text::Pipe::Translate);
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 ▶sub init {
Subroutine init: called CC=1 SCAR=0.0
Pod documented
12 1 my $self = shift;
13 1 $self->SUPER::init(@_);
14 1 Lingua::Translate::config(
15 back_end => "Babelfish",
16  
17 # babelfish_uri => 'http://babelfish.altavista.com/tr?',
18 ua => LWP::UserAgent->new,
19 );
20 }
21 2 1;
22  
23  
24 __END__
« Translate.pm ↑ Summary