• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tylernathanreed / jira-client-php / 13977986275

20 Mar 2025 07:34PM UTC coverage: 75.543% (+3.2%) from 72.327%
13977986275

push

github

tylernathanreed
~ Fixed and validated nested DTOs

1 of 1 new or added line in 1 file covered. (100.0%)

71 existing lines in 35 files now uncovered.

5186 of 6865 relevant lines covered (75.54%)

9.51 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Schema/JiraExpressionComplexity.php
1
<?php
2

3
namespace Jira\Client\Schema;
4

5
use Jira\Client\Dto;
6

7
/** Details about the complexity of the analysed Jira expression. */
8
final readonly class JiraExpressionComplexity extends Dto
9
{
UNCOV
10
    public function __construct(
×
11
        /**
12
         * Information that can be used to determine how many "expensive operations" the evaluation of the expression will perform.
13
         * This information may be a formula or number.
14
         * For example:
15
         * 
16
         *  - `issues.map(i => i.comments)` performs as many expensive operations as there are issues on the issues list.
17
         * So this parameter returns `N`, where `N` is the size of issue list
18
         *  - `new Issue(10010).comments` gets comments for one issue, so its complexity is `2` (`1` to retrieve issue 10010 from the database plus `1` to get its comments).
19
         * 
20
         * @link https://developer.atlassian.com/cloud/jira/platform/jira-expressions/#expensive-operations
21
         */
22
        public string $expensiveOperations,
23

24
        /**
25
         * Variables used in the formula, mapped to the parts of the expression they refer to.
26
         * 
27
         * @var array<string,string>
28
         */
29
        public ?array $variables = null,
30
    ) {
UNCOV
31
    }
×
32
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc