Subject: | Perl critic errors |
The perlcritic test fails:
# Failed test 'Test::Perl::Critic for "blib/lib/Graph/Similarity/CoupledNodeEdgeScoring.pm"'
# at /opt/perl-5.18.2t/lib/site_perl/5.18.2/Test/Perl/Critic.pm line 110.
#
# Perl::Critic found these violations in "blib/lib/Graph/Similarity/CoupledNodeEdgeScoring.pm":
# Private Member Data shouldn't be accessed directly at line 85, column 25. Accessing an objects data directly breaks encapsulation and should be avoided. Example: $object->{ some_key }. (Severity: 5)
# Private Member Data shouldn't be accessed directly at line 85, column 52. Accessing an objects data directly breaks encapsulation and should be avoided. Example: $object->{ some_key }. (Severity: 5)
# Private Member Data shouldn't be accessed directly at line 96, column 30. Accessing an objects data directly breaks encapsulation and should be avoided. Example: $object->{ some_key }. (Severity: 5)
# Looks like you failed 1 test of 5.
t/perlcritic.t .................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests