example.pl untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #! /usr/bin/perl -w
2  
3 use strict;
4 use lib "./lib";
5 use Lingua::NL::FactoidExtractor;
6  
7 my $inputfile = "alpino.xml";
8 my $verbose = 1; #boolean
9 my $factoids = extract($inputfile,$verbose);
10 print "$factoids\n";