File Coverage

blib/lib/OpenAIAsync/Types.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 19 19 100.0


line stmt bran cond sub pod time code
1             package OpenAIAsync::Types;
2 2     2   30 use v5.36.0;
  2         10  
3 2     2   42 use Object::Pad;
  2         5  
  2         25  
4              
5 2     2   1542 use Object::PadX::Role::AutoMarshal;
  2         25426  
  2         13  
6 2     2   1449 use Object::PadX::Role::AutoJSON;
  2         7014  
  2         11  
7 2     2   1310 use Object::Pad::ClassAttr::Struct;
  2         3764  
  2         18  
8              
9             # Base role for all the types to simplify things later
10             role OpenAIAsync::Types::Base :does(Object::PadX::Role::AutoJSON) :does(Object::PadX::Role::AutoMarshal) :Struct {
11             }