NAME
CPAN::Testers::Schema::Result::ReleaseStat - A single test report reduced to a simple pass/fail
VERSION
version 0.027
SYNOPSIS
my $release_stats = $schema->resultset( 'ReleaseStat' )->search({
dist => 'My-Dist',
version => '1.001',
});
DESCRIPTION
This table contains information about individual reports, reduced to a pass/fail.
These stats are built from the `cpanstats` table (CPAN::Testers::Schema::Result::Stats), and collected and combined into the `release_summary` table (CPAN::Testers::Schema::Result::Release).
XXX: This intermediate table between a report and the release summary does not seem necessary and if we can remove it, we should.
ATTRIBUTES
dist
The name of the distribution.
version
The version of the distribution.
id
The ID of this report from the `cpanstats` table. See CPAN::Testers::Schema::Result::Stats.
guid
The GUID of this report from the `cpanstats` table. See CPAN::Testers::Schema::Result::Stats.
oncpan
The installability of this release: 1
if the release is on CPAN. 2
if the release has been deleted from CPAN and is only on BackPAN.
distmat
The maturity of this release. 1
if the release is stable and ostensibly indexed by CPAN. 2
if the release is a developer release, unindexed by CPAN.
perlmat
The maturity of the Perl these reports were sent by: 1
if the Perl is a stable release. 2
if the Perl is a developer release.
patched
The patch status of the Perl that sent the report. 2
if the Perl reports being patched, 1
otherwise.
pass
1
if this report's state
was PASS
.
fail
1
if this report's state
was FAIL
.
na
1
if this report's state
was NA
.
unknown
1
if this report's state
was UNKNOWN
.
uploadid
The ID of this upload from the `uploads` table.
METHODS
upload
Get the related row from the `uploads` table. See CPAN::Testers::Schema::Result::Upload.
SEE ALSO
DBIx::Class::Row, CPAN::Testers::Schema
AUTHORS
Oriol Soriano <oriolsoriano@gmail.com>
Doug Bell <preaction@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2018 by Oriol Soriano, Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.