File Coverage

blib/lib/Config/Model/models/Multistrap/Section.pl
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             #
2             # This file is part of Config-Model
3             #
4             # This software is Copyright (c) 2005-2022 by Dominique Dumont.
5             #
6             # This is free software, licensed under:
7             #
8             # The GNU Lesser General Public License, Version 2.1, February 1999
9             #
10 1     1   503 use strict;
  1         2  
  1         37  
11 1     1   7 use warnings;
  1         2  
  1         116  
12              
13             return [
14             {
15             'accept' => [
16             '\\w+',
17             {
18             'type' => 'leaf',
19             'value_type' => 'uniline',
20             'warn' => 'Handling unknown parameter as unlinie value.'
21             }
22             ],
23             'element' => [
24             'packages',
25             {
26             'cargo' => {
27             'type' => 'leaf',
28             'value_type' => 'uniline'
29             },
30             'type' => 'list'
31             },
32             'components',
33             {
34             'cargo' => {
35             'type' => 'leaf',
36             'value_type' => 'uniline'
37             },
38             'type' => 'list'
39             },
40             'source',
41             {
42             'type' => 'leaf',
43             'value_type' => 'uniline'
44             },
45             'keyring',
46             {
47             'type' => 'leaf',
48             'value_type' => 'uniline'
49             },
50             'suite',
51             {
52             'type' => 'leaf',
53             'value_type' => 'uniline'
54             },
55             'omitdebsrc',
56             {
57             'type' => 'leaf',
58             'value_type' => 'boolean'
59             }
60             ],
61             'name' => 'Multistrap::Section'
62             }
63             ]
64             ;
65