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

lucaslorentz / auto-compute / 18450541489

12 Oct 2025 10:40PM UTC coverage: 83.126% (-0.4%) from 83.551%
18450541489

push

github

lucaslorentz
Refactor to simplify internal implementation

133 of 141 new or added lines in 24 files covered. (94.33%)

1803 of 2169 relevant lines covered (83.13%)

865.75 hits per line

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

12.5
/src/LLL.AutoCompute/EntityContextRules/ArrayEntityContextRule.cs
1
using System.Linq.Expressions;
2

3
namespace LLL.AutoCompute.EntityContextPropagators;
4

5
public class ArrayEntityContextRule
6
    : IEntityContextNodeRule
7
{
8
    public void Apply(
9
        Expression node,
10
        IEntityContextRegistry entityContextBuilder)
11
    {
12
        if (node is NewArrayExpression newArrayExpression)
3,384✔
13
        {
NEW
14
            entityContextBuilder.RegisterPropagation(
×
15
                newArrayExpression.Expressions
×
16
                    .Select(e => (e, EntityContextKeys.None))
×
17
                    .ToArray(),
×
18
                node,
×
19
                EntityContextKeys.Element
×
20
            );
×
21
        }
22
    }
23
}
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

© 2025 Coveralls, Inc