< Summary

Information
Class: ValidateLib.TabularData.AnnotatedTabularDataModel.Row
Assembly: validatelib.dll
File(s): C:\skola_karlovka\RP\code\csv-validator\CSV_Validator\ValidateLib\TabularData\AnnotatedTabularDataModel\Row.cs
Line coverage
85%
Covered lines: 12
Uncovered lines: 2
Coverable lines: 14
Total lines: 27
Line coverage: 85.7%
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

MethodBlocks covered Blocks not covered
Row(...)80

File(s)

C:\skola_karlovka\RP\code\csv-validator\CSV_Validator\ValidateLib\TabularData\AnnotatedTabularDataModel\Row.cs

#LineLine coverage
 1using ValidateLib.ErrorsAndWarnings.Errors;
 2using ValidateLib.Metadata.Descriptors;
 3using ValidateLib.Metadata.Properties;
 4
 5namespace ValidateLib.TabularData.AnnotatedTabularDataModel
 6{
 7    public class Row
 8    {
 19        public List<Cell> cells { get; set; } = new List<Cell>();
 110        public int number { get; set; }
 111        public ColumnReferenceProperty? primaryKeyDescriptor { get; set; }
 012        public ColumnReferenceProperty? rowTitles { get; set; }
 013        public List<ForeignKeyDescriptor>? foreignKeyDescriptors { get; set; }
 14        // we do not use this, maybe for other use-cases
 115        public List<Cell> titles { get; set; } = new List<Cell>();
 116        public int sourceNumber { get; set; }
 117        public Table table { get; set; }
 118        public List<Error> errors { get; set; } = new List<Error> { };
 19
 120        public Row(Table table, int number, int sourceNumber)
 21        {
 122            this.table = table;
 123            this.number = number;
 124            this.sourceNumber = sourceNumber;
 125        }
 26    }
 27}