Chemistry-Mol-0.35/t/compat.t

filter: Statementstmt 92.3% 12 / 13 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 88.2% 15 / 17 CC 1 SCAR 0.0
CC
1
Cov
87%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Chemistry-3DBuilder-0.10/t/builder.t ↑ Summary Chemistry-3DBuilder-0.10/t/pod.t »
1 1 ▶use Test::More;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 1 plan tests => 1;
4 1 ok(1);
5  
6 1 eval {
7 1 require Chemistry::File::SMILES;
8 1 my $v = Chemistry::File::SMILES->VERSION;
9 1 ▶ if ($v < 0.43) {
Branch: 1 branch
BranchTrueFalseTotal
if ($v < "0.43") 0 1 1
10 0 diag "You have Chemistry::File::SMILES version $v installed. It is not compatible with this version of Chemistry::Mol. Please upgrade to Chemistry::File::SMILES 0.43 or higher.\n";
11 }
12 };
« Chemistry-3DBuilder-0.10/t/builder.t ↑ Summary Chemistry-3DBuilder-0.10/t/pod.t »