| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/devel/p5-Perl-Metrics-Simple/files/ |
Upload File : |
--- t/lib/Perl/Metrics/Simple/TestData.pm.orig 2021-03-21 15:14:01 UTC
+++ t/lib/Perl/Metrics/Simple/TestData.pm
@@ -121,12 +121,14 @@ sub make_test_data {
name => 'foo',
lines => 1,
mccabe_complexity => 1,
+ line_number => 10,
path => "$test_directory/subs_no_package.pl",
},
{
name => 'bar',
lines => 2,
mccabe_complexity => 1,
+ line_number => 11,
path => "$test_directory/subs_no_package.pl",
}
],
@@ -146,18 +148,21 @@ sub make_test_data {
name => 'new',
lines => 5,
mccabe_complexity => 1,
+ line_number => 8,
path => "$test_directory/Perl/Code/Analyze/Test/Module.pm",
},
{
name => 'foo',
lines => 9,
mccabe_complexity => 8,
+ line_number => 14,
path => "$test_directory/Perl/Code/Analyze/Test/Module.pm",
},
{
name => 'say_hello',
lines => 9,
mccabe_complexity => 5,
+ line_number => 26,
path => "$test_directory/Perl/Code/Analyze/Test/Module.pm",
},
],