Subject: | Html_minimal gets confused by refactoring |
Hi,
I just removed a some branches from my code and re-ran devel::cover on my unit tests. The HTML output showed a lower percentage of coverage than what actually happened, and I got the following output when I ran "cover":
Use of uninitialized value in concatenation (.) or string at /usr/local/lib/perl/5.8.7/Devel/Cover/Report/Html_minimal.pm line 530, <$in> line 145.
Use of uninitialized value in concatenation (.) or string at /usr/local/lib/perl/5.8.7/Devel/Cover/Report/Html_minimal.pm line 530, <$in> line 146.
Use of uninitialized value in concatenation (.) or string at /usr/local/lib/perl/5.8.7/Devel/Cover/Report/Html_minimal.pm line 530, <$in> line 146.
Use of uninitialized value in concatenation (.) or string at /usr/local/lib/perl/5.8.7/Devel/Cover/Report/Html_minimal.pm line 530, <$in> line 146.
Use of uninitialized value in concatenation (.) or string at /usr/local/lib/perl/5.8.7/Devel/Cover/Report/Html_minimal.pm line 530, <$in> line 146.
Use of uninitialized value in concatenation (.) or string at /usr/local/lib/perl/5.8.7/Devel/Cover/Report/Html_minimal.pm line 530, <$in> line 147.
After removing the 'cover_db' directory and running again, I got the expected results.
Cheers,
Tyler