Ask a Question related to PERL Miscellaneous, Design and Development.

  1. #1

    Default Devel::Coverage

    Hi all,
    I am new to using Perl and am trying to do some coverage analysis.
    When I do
    perl -d:Coverage temp.pl
    I get Cant locate Devel/Coverage.pm. What should I do for this.

    Also do I alway have to do
    perl -d:Coverage temp.pl
    to get/update the .cvp file.

    Thanks for any input.
    himal.
    Himal Guest

  2. Similar Questions and Discussions

    1. [RFC] Devel::Dependencies
      Hello, after reading my article "A Timely Start" (http://www.perl.com/pub/a/2005/12/21/a_timely_start.html) some people have expressed the wish...
    2. visualizing B-tree index coverage
      Does anyone know of a tools that allows one to visualize the tree created by a multi-column B-tree index? A picture of a tree with branches,...
    3. Measure Ink Coverage
      I would like to know if Illustrator or Photoshop can calculate the amount of ink coverage a particular image or letter will use as compared to...
    4. Testing code branching coverage
      I'm wondering if it might be possible to write ruby code that could dynamically check my classes for branches and keep track of each branch during...
    5. Determining Coverage
      A co-worker was finally able to dig it up in some notes from a class. The equation is 255 - (histogram mean value) / 255 = % coverage. Hopefully...
  3. #2

    Default Re: Devel::Coverage

    [email]himal5@hotmail.com[/email] (Himal) wrote in message news:<365e1935.0307010656.8378c1d@posting.google.c om>...
    > Hi all,
    > I am new to using Perl and am trying to do some coverage analysis.
    > When I do
    > perl -d:Coverage temp.pl
    > I get Cant locate Devel/Coverage.pm. What should I do for this.
    >
    Devel::Coverage is not included in the standard Perl distribution.

    A quick test I use in this sitation: At the command prompt, type
    "perldoc Devel::Coverage". If the response is no documentation
    available, then, at the very least, you don't have any documentation
    for that module and, in 99+% of the cases, the module is not loaded.

    If you have the proper permissions, you can load it yourself from
    CPAN:
    [url]http://search.cpan.org/author/RJRAY/Devel-Coverage-0.2/Coverage.pm[/url]

    Note: the documentation on CPAN describes this module as "still very
    early alpha-quality" -- which of course means that it would not be
    included in any standard Perl distribution and why you do not have it
    loaded.

    HTH

    Jim Keenan
    James E Keenan Guest

  4. #3

    Default Re: Devel::Coverage

    Well it was my error in using Devel::Coverage that was giving me
    problems.

    I have downloaded Devel-Coverage-0.2.gz from CPAN and the README in it
    explains it rather simply how to go about it.

    There do seem to be an issue using it with perl 5.8.0.

    Cheers,
    Himal.

    [email]himal5@hotmail.com[/email] (Himal) wrote in message news:<365e1935.0307010656.8378c1d@posting.google.c om>...
    > Hi all,
    > I am new to using Perl and am trying to do some coverage analysis.
    > When I do
    > perl -d:Coverage temp.pl
    > I get Cant locate Devel/Coverage.pm. What should I do for this.
    >
    > Also do I alway have to do
    > perl -d:Coverage temp.pl
    > to get/update the .cvp file.
    >
    > Thanks for any input.
    > himal.
    Himal Guest

  5. #4

    Default Re: Devel::Coverage

    [email]himal5@hotmail.com[/email] (Himal) wrote in message news:<365e1935.0307020447.57c48e88@posting.google. com>...
    > Well it was my error in using Devel::Coverage that was giving me
    > problems.
    >
    > I have downloaded Devel-Coverage-0.2.gz from CPAN and the README in it
    > explains it rather simply how to go about it.
    >
    > There do seem to be an issue using it with perl 5.8.0.
    >
    I took a look at this myself. Note that version 0.2 has not been
    updated since July 2000 (predating Perl 5.8 by 23 months) and did not
    include *any* tests in its distribution. Having no tests, it never
    passed any installation tests conducted by CPAN testers. If you have
    further problems with it, you will have no choice but to contact the
    module's author directly -- and hope he is still maintaining it!

    Jim Keenan
    James E Keenan Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139