CPAN::Testers::Common::Article - Parse a CPAN Testers NNTP article


Given an NNTP article from the cpan-testers or cpan-uploads feed, will parse and return the appropriate the data parts via accessors.


The Constructor

  • new

    The constructor. Pass in a reference to the article.


  • parse_upload

    Parses an upload article.

  • parse_report

    Parses a report article.

  • passed

    Whether the report was a PASS

  • failed

    Whether the report was a FAIL


All the following are accessors available through via the object, once an article has been parsed as a report or upload announcement.

  • postdate

    'YYYYMM' representation of the date article was posted.

  • date

    'YYYYMMDDhhmm' representation of the date article was posted.

  • epoch

    Number of seconds since the epoch of when article was posted

  • status

    For reports this will be the grade, for uploads this will be 'CPAN'.

  • from

    Who posted the article.

  • distribution

    The distribution name.

  • version

    The distribution version.

  • perl

    The perl interpreter version used for testing.

  • osname

    Operating system name.

  • osvers

    Operating system version.

  • archname

    Operating system architecture name. This is usually based on the osname and osvers, but they are not always the same.

  • subject

    Subject line of the original post.

  • author

    Author of uploaded distribution (Upload article only).

  • filename

    File name of uploaded distribution (Upload article only).

  • osnames_patterns

    A regular expression of known operating system coded strings.

  • osnames_fixes

    A hash reference to strings that may have been mangled, and their corrections.


There are no known bugs at the time of this release. However, if you spot a bug or are experiencing difficulties, that is not explained within the POD documentation, please send bug reports and patches to the RT Queue (see below).

Fixes are dependent upon their severity and my availability. Should a fix not be forthcoming, please feel free to (politely) remind me.

RT Queue -


CPAN::Testers::Data::Generator, CPAN::Testers::Data::Uploads,,


  Original author:    Leon Brocard <>   (C) 2002-2008
  Current maintainer: Barbie       <>   (C) 2008-2019


This distribution is free software; you can redistribute it and/or modify it under the Artistic License v2.