DrWhy has asked for the wisdom of the Perl Monks concerning the following question:
I get what looks like accurate coverage measures out of runs of the full test set for those scripts that are *not* symlinks. For the scripts that are symlinked a few of them seem to give some reasonable coverage data, but most of them show no coverage data at all. They are listed in the HTML report pages, but all usage stats columns, stmt, bran, cond, sub, and time (not doing pod coverage), all say 'n/a'. Some of these scripts are quite large and are surely used many times within the test set but it is essentially reporting 0% coverage which is just not possible.
So it looks like the system is getting confused when you run the same script via different paths (via symlinking).
Is this a known issue and is there any kind of workaround?
In the interest of full disclosure (as much as my company will allow anyway) I did modify Devel::Cover so that it can operate in a parallel grid computing system.
Update: typos fixed.
--DrWhy
"If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Devel::Cover and symbolic links -- borked?
by pjcj (Novice) on Jul 25, 2011 at 13:41 UTC | |
by DrWhy (Chaplain) on Jul 25, 2011 at 16:10 UTC | |
by DrWhy (Chaplain) on Jul 25, 2011 at 15:48 UTC |