Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Contact Us
Online Help
Domain Status
Man Pages

Virtual Servers

Topology Map

Server Agreement
Year 2038

USA Flag



Man Pages

Manual Reference Pages  -  CPAN::REPORTER (3)

.ds Aq ’


CPAN::Reporter - Adds CPAN Testers reporting to



version 1.2014


From the CPAN shell:

  cpan> install Task::CPAN::Reporter
  cpan> reload cpan
  cpan> o conf init test_report

Installing Task::CPAN::Reporter will pull in additional dependencies that new CPAN Testers will need.

Advanced CPAN Testers with custom Test::Reporter::Transport setups may wish to install only CPAN::Reporter, which has fewer dependencies.


The CPAN Testers project captures and analyzes detailed results from building and testing CPAN distributions on multiple operating systems and multiple versions of Perl. This provides valuable feedback to module authors and potential users to identify bugs or platform compatibility issues and improves the overall quality and value of CPAN.

One way individuals can contribute is to send a report for each module that they test or install. CPAN::Reporter is an add-on for the module to send the results of building and testing modules to the CPAN Testers project. Full support for CPAN::Reporter is available in as of version 1.92.



The first step in using CPAN::Reporter is to install it using whatever version of is already installed. will be upgraded as a dependency if necessary.

  cpan> install CPAN::Reporter

If was upgraded, it needs to be reloaded.

  cpan> reload cpan


If upgrading from a very old version of, users may be prompted to renew their configuration settings, including the ’test_report’ option to enable CPAN::Reporter.

If not prompted automatically, users should manually initialize CPAN::Reporter support. After enabling CPAN::Reporter, will automatically continue with interactive configuration of CPAN::Reporter options.

  cpan> o conf init test_report

Users will need to enter an email address in one of the following formats:
  John Doe <>
  "John Q. Public" <>

Users that are new to CPAN::Reporter should accept the recommended values for other configuration options.

Users will be prompted to create a Metabase profile file that uniquely identifies their test reports. See The Metabase below for details.

After completing interactive configuration, be sure to commit (save) the CPAN configuration changes.

  cpan> o conf commit

See CPAN::Reporter::Config for advanced configuration settings.

The Metabase

CPAN::Reporter sends test reports to a server known as the Metabase. This requires an active Internet connection and a profile file. To create the profile, users will need to run metabase-profile from a terminal window and fill the information at the prompts. This will create a file called metabase_id.json in the current directory. That file should be moved to the .cpanreporter directory inside the user’s home directory.

Users with an existing metabase profile file (e.g. from another machine), should copy it into the .cpanreporter directory instead of creating a new one. Profile files may be located outside the .cpanreporter directory by following instructions in CPAN::Reporter::Config.

    Using CPAN::Reporter

Once CPAN::Reporter is enabled and configured, test or install modules with as usual.

For example, to test the File::Marker module:

  cpan> test File::Marker

If a distribution’s tests fail, users will be prompted to edit the report to add additional information that might help the author understand the failure.


CPAN::Reporter will assign one of the following grades to the report:
o pass — distribution built and tested correctly
o fail — distribution failed to test correctly
o unknown — distribution failed to build, had no test suite or outcome was inconclusive
o na --- distribution is not applicable to this platform and/or version of Perl
In returning results of the test suite to, pass and unknown are considered successful attempts to make test or Build test and will not prevent installation. fail and na are considered to be failures and will not install unless forced.

An error from Makefile.PL/Build.PL or make/Build will also be graded as unknown and a failure will be signaled to

If prerequisites specified in Makefile.PL or Build.PL are not available, no report will be generated and a failure will be signaled to


CPAN::Reporter includes information in the test report about environment variables and special Perl variables that could be affecting test results in order to help module authors interpret the results of the tests. This includes information about paths, terminal, locale, user/group ID, installed toolchain modules (e.g. ExtUtils::MakeMaker) and so on.

These have been intentionally limited to items that should not cause harmful personal information to be revealed — it does not include your entire environment. Nevertheless, please do not use CPAN::Reporter if you are concerned about the disclosure of this information as part of your test report.

Users wishing to review this information may choose to edit the report prior to sending it.


Using command_timeout on Linux may cause problems. See <>

Please report any bugs or feature using the CPAN Request Tracker. Bugs can be submitted through the web interface at <>

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.


Information about CPAN::Testers:
o CPAN::Testers — overview of CPAN Testers architecture stack
o <> — project home with all reports
o <> — documentation and wiki
Additional Documentation:
o CPAN::Reporter::Config — advanced configuration settings
o CPAN::Reporter::FAQ — hints and tips


    Bugs / Feature Requests

Please report any bugs or feature requests through the issue tracker at <>. You will be notified automatically of any progress on your issue.

    Source Code

This is open source software. The code repository is available for public review and contribution under the terms of the license.


  git clone


David Golden <>


o Alexandr Ciornii <>
o Breno G. de Oliveira <>
o Christian Walde <>
o Ed J <>
o Kent Fredric <>
o Matthew Musgrove <>
o Scott Wiersdorf <>
o Slaven Rezic <>


This software is Copyright (c) 2006 by David Golden.

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004

Search for    or go to Top of page |  Section 3 |  Main Index

perl v5.20.3 CPAN::REPORTER (3) 2015-04-06

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.