I am starting to put together some code for an emacs module that peers into Devel::Cover reports along the same lines as rcov-overlay.el, but also linking in linum-mode.el instead of highlighting the code lines themselves. I will need to port rcov-overlay.el, and also add a Devel::Cover formatting module to output the JSON used by the rcov-overlay module. There is a compilation output report that generates output that an emacs compile buffer can use, but I would like to display it in the code buffer itself.

I am searching for other prior art. If something like this already exists that I can just link into my toolset, great. If not, it is a small project to fill in my "spare time", and perhaps a positive contribution to the community. Does anyone know of any other prior art that has previously implemented this on the target platform (emacs + Perl)?

Why? I have been a user of emacs since the early '90s, but I have not made use of the vast range of tools available to assist my coding efforts. I have recently started using ECB, unit-test.el (along with some custom save-file hooks), and a couple of other pieces of emacs glue (yet to be published), that have really allowed me to step up my game. I am also evaluating PDE, but have not had great results with it, as it seems to be very focused on the author's own development environment and process (not that this is bad, it just didn't fit into my toolchain).

There are also the Devel::Cover::Report::Compilation module, allowing emacs to provide a compile buffer given appropriate file/line pairs to allow jumping to the offending line, and the Devel::Cover::Report::Vim module, allowing this type of glue within Vim.

References:

And yes, I am attending the Tweakers Anonymous talk at YAPC::NA 2012.

Update: Added actual question, since the question was only implied.

Update: Added json.el link, omitted from original list of emacs modules (thanks pvaldes).

Update: Added links to other report types that are currently within Devel::Cover.

--MidLifeXis


In reply to Coverage tool visibility within emacs by MidLifeXis

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.