< Summary

Class:Azure.Storage.Files.DataLake.Models.PathItem
Assembly:Azure.Storage.Files.DataLake
File(s):C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Files.DataLake\src\Models\PathItem.cs
Covered lines:2
Uncovered lines:7
Coverable lines:9
Total lines:59
Line coverage:22.2% (2 of 9)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
get_Name()-100%100%
get_IsDirectory()-0%100%
get_LastModified()-0%100%
get_ETag()-0%100%
get_ContentLength()-0%100%
get_Owner()-0%100%
get_Group()-0%100%
get_Permissions()-0%100%
.ctor()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Files.DataLake\src\Models\PathItem.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using System;
 5
 6namespace Azure.Storage.Files.DataLake.Models
 7{
 8    /// <summary>
 9    /// Path
 10    /// </summary>
 11    public class PathItem
 12    {
 13        /// <summary>
 14        /// name
 15        /// </summary>
 48016        public string Name { get; internal set; }
 17
 18        /// <summary>
 19        /// isDirectory
 20        /// </summary>
 021        public bool? IsDirectory { get; internal set; }
 22
 23        /// <summary>
 24        /// lastModified
 25        /// </summary>
 026        public DateTimeOffset LastModified { get; internal set; }
 27
 28        /// <summary>
 29        /// eTag
 30        /// </summary>
 031        public ETag ETag { get; internal set; }
 32
 33        /// <summary>
 34        /// contentLength
 35        /// </summary>
 036        public long? ContentLength { get; internal set; }
 37
 38        /// <summary>
 39        /// owner
 40        /// </summary>
 041        public string Owner { get; internal set; }
 42
 43        /// <summary>
 44        /// group
 45        /// </summary>
 046        public string Group { get; internal set; }
 47
 48        /// <summary>
 49        /// permissions
 50        /// </summary>
 051        public string Permissions { get; internal set; }
 52
 53        /// <summary>
 54        /// Prevent direct instantiation of PathItem instances.
 55        /// You can use DataLakeModelFactory.PathItem instead.
 56        /// </summary>
 55257        internal PathItem() { }
 58    }
 59}