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

HicServices / RDMP / 19852309549

02 Dec 2025 08:38AM UTC coverage: 55.8% (-1.4%) from 57.197%
19852309549

Pull #2279

github

JFriel
fix build
Pull Request #2279: [UI Overhaul] Spike/refresh

11249 of 21727 branches covered (51.77%)

Branch coverage included in aggregate %.

807 of 1108 new or added lines in 29 files covered. (72.83%)

724 existing lines in 67 files now uncovered.

31893 of 55588 relevant lines covered (57.37%)

16683.65 hits per line

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

0.0
/Rdmp.Core/Providers/Nodes/CohortNodes/QueryCacheUsedByCohortIdentificationNode.cs
1
// Copyright (c) The University of Dundee 2018-2019
2
// This file is part of the Research Data Management Platform (RDMP).
3
// RDMP is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
4
// RDMP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
5
// You should have received a copy of the GNU General Public License along with RDMP. If not, see <https://www.gnu.org/licenses/>.
6

7
using Rdmp.Core.Curation.Data;
8
using Rdmp.Core.Curation.Data.Cohort;
9
using Rdmp.Core.MapsDirectlyToDatabaseTable;
10
using Rdmp.Core.Providers.Nodes.UsedByNodes;
11

12
namespace Rdmp.Core.Providers.Nodes.CohortNodes;
13

14
/// <summary>
15
/// Indicates that a <see cref="CohortIdentificationConfiguration"/> has a database in which to store temporary tables in that reflect the results of subcomponents
16
/// of the full query.  This improves query performance and allows cross server / database type cohort generation.
17
/// 
18
/// <para>Cache invalidation automatically occurs when subcomponents are changed</para>
19
/// </summary>
20
internal class QueryCacheUsedByCohortIdentificationNode :
21
    ObjectUsedByOtherObjectNode<CohortIdentificationConfiguration, ExternalDatabaseServer>, IDeletableWithCustomMessage
22
{
23
    public QueryCacheUsedByCohortIdentificationNode(CohortIdentificationConfiguration cic,
24
        ExternalDatabaseServer cacheServer)
UNCOV
25
        : base(cic, cacheServer)
×
26
    {
UNCOV
27
    }
×
28

29
    public void DeleteInDatabase()
30
    {
31
        User.QueryCachingServer_ID = null;
×
32
        User.SaveToDatabase();
×
33
    }
×
34

35
    /// <inheritdoc/>
36
    public string GetDeleteMessage() => "remove cache database use";
×
37

38
    /// <inheritdoc/>
39
    public string GetDeleteVerb() => "Remove";
×
40
}
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