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

samsmithnz / SatisfactoryTree / 17631712519

11 Sep 2025 01:58AM UTC coverage: 90.507% (+37.6%) from 52.88%
17631712519

push

github

web-flow
Merge pull request #284 from samsmithnz/ReworkingLogicToHandleImportsAndExports

Reworking logic to handle imports and exports

298 of 344 branches covered (86.63%)

Branch coverage included in aggregate %.

951 of 1036 new or added lines in 28 files covered. (91.8%)

951 of 1036 relevant lines covered (91.8%)

861.84 hits per line

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

0.0
/src/SatisfactoryTree.Logic/Extraction/RawItem.cs
1
using System.Text.Json.Serialization;
2

3
namespace SatisfactoryTree.Logic.Extraction
4
{
5
    public class RawItem
6
    { 
7
        //Common properties
8
        [JsonPropertyName("ClassName")]
NEW
9
        public string? ClassName { get; set; }
×
10
        [JsonPropertyName("mDisplayName")]
NEW
11
        public string? DisplayName { get; set; }
×
12
        [JsonPropertyName("mDescription")]
NEW
13
        public string? Description { get; set; }
×
14

15
        //Item properties
16
        [JsonPropertyName("mStackSize")]
NEW
17
        public string? StackSize { get; set; }
×
18
        [JsonPropertyName("mPingColor")]
NEW
19
        public string? PingColor { get; set; }
×
20
        [JsonPropertyName("mFluidColor")]
NEW
21
        public string? FluidColor { get; set; }
×
22
        [JsonPropertyName("mResourceSinkPoints")]
NEW
23
        public string? ResourceSinkPoints { get; set; }
×
24

25
        //Recipe properties
26
        [JsonPropertyName("mIngredients")]
NEW
27
        public string? Ingredients { get; set; }
×
28
        [JsonPropertyName("mProduct")]
NEW
29
        public string? Products { get; set; } // Not a typo - there can be multiple products produced
×
30
        [JsonPropertyName("mProducedIn")]
NEW
31
        public string? ProducedIn { get; set; }
×
32
        [JsonPropertyName("mManufactoringDuration")]
NEW
33
        public string? ManufactoringDuration { get; set; }
×
34
        public bool IsAlternateRecipe
35
        {
36
            get
NEW
37
            {
×
NEW
38
                if (ClassName != null && ClassName.StartsWith("Recipe_Alternate_"))
×
NEW
39
                {
×
NEW
40
                    return true;
×
41
                }
42
                else
NEW
43
                {
×
NEW
44
                    return false;
×
45
                }
NEW
46
            }
×
47
        }
48
    }
49
}
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