< Summary

Information
Class: Elsa.Common.Entities.Entity
Assembly: Elsa.Common
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Common/Entities/Entity.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 17
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Id()100%11100%
get_TenantId()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Common/Entities/Entity.cs

#LineLine coverage
 1namespace Elsa.Common.Entities;
 2
 3/// <summary>
 4/// Represents an entity.
 5/// </summary>
 6public abstract class Entity
 7{
 8    /// <summary>
 9    /// Gets or sets the ID of this entity.
 10    /// </summary>
 8201011    public string Id { get; set; } = null!;
 12
 13    /// <summary>
 14    /// Gets or sets the ID of the tenant that own this entity.
 15    /// </summary>
 1016316    public string? TenantId { get; set; }
 17}

Methods/Properties

get_Id()
get_TenantId()