NAME
CPAN::Testers::Schema::Result::TestReport - Raw reports as JSON documents
VERSION
version 0.027
SYNOPSIS
my $schema = CPAN::Testers::Schema->connect( $dsn, $user, $pass );
# Retrieve a row
my $row = $schema->resultset( 'TestReport' )->first;
DESCRIPTION
This table contains the raw reports as submitted by the tester. From this, the statistics table is generated by CPAN::Testers::Backend::ProcessReports.
ATTRIBUTES
id
The UUID of this report stored in standard hex string representation.
created
The ISO8601 date/time of when the report was inserted into the database. Will default to the current time.
The JSON report also contains a created
field. This is the date/time that the report was created on the reporter's machine.
report
The full JSON report.
XXX: Describe the format a little and link to the main schema OpenAPI format on http://api.cpantesters.org
The serializer for this column will convert UTF-8 characters into their corresponding \u####
escape sequence, so this column is safe for tables with Latin1 encoding.
METHODS
new
Create a new object. This is called automatically by the ResultSet object and should not be called directly.
This is overridden to provide sane defaults for the id
and created
fields.
NOTE: You should not supply a created
unless you are creating reports in the past. Reports created in the past will be hidden from many feeds, and may cause failures to not be reported to authors.
upload
my $upload = $row->upload;
Get the associated CPAN::Testers::Schema::Result::Upload object for the distribution tested by this test report.
dist_name
The name of the distribution that was tested.
dist_version
The version of the distribution that was tested.
lang_version
The language and version the test was executed with
platform
The platform the test was run on
grade
The report grade. One of 'pass', 'fail', 'na', 'unknown'.
text
The full text of the report, either from the phased sections or the "uncategorized" section.
tester_name
The name of the tester who sent the report
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.