# < Summary

Information

Class: | Renci.SshNet.RemotePathNoneTransformation
Assembly: | Renci.SshNet
File(s): | \home\appveyor\projects\ssh-net\src\Renci.SshNet\RemotePathNoneTransformation.cs

Line coverage
66%

Covered lines: | 4
Uncovered lines: | 2
Coverable lines: | 6
Total lines: | 32
Line coverage: | 66.6%

Branch coverage
50%

Covered branches: | 1
Total branches: | 2
Branch coverage: | 50%

Method coverage

Feature is only available for sponsors

Upgrade to PRO version

# Metrics

Method | Branch coverage | Cyclomatic complexity | Line coverage
--- | --- | --- | ---
Transform(...) | 50% | 2 | 66.66%

# File(s)

## \home\appveyor\projects\ssh-net\src\Renci.SshNet\RemotePathNoneTransformation.cs

| # | Line |  | Line coverage
--- | --- | --- | --- | ---
|  | `1` |  | `using System;`
|  | `2` |  | ``
|  | `3` |  | `namespace Renci.SshNet`
|  | `4` |  | `{`
|  | `5` |  | `/// <summary>`
|  | `6` |  | `/// Performs no transformation.`
|  | `7` |  | `/// </summary>`
|  | `8` |  | `internal sealed class RemotePathNoneTransformation : IRemotePathTransformation`
|  | `9` |  | `{`
|  | `10` |  | `/// <summary>`
|  | `11` |  | `/// Returns the specified path without applying a transformation.`
|  | `12` |  | `/// </summary>`
|  | `13` |  | `/// <param name="path">The path to transform.</param>`
|  | `14` |  | `/// <returns>`
|  | `15` |  | `/// The specified path as is.`
|  | `16` |  | `/// </returns>`
|  | `17` |  | `/// <exception cref="ArgumentNullException"><paramref name="path"/> is <see langword="null"/>.</exception>`
|  | `18` |  | `/// <remarks>`
|  | `19` |  | `/// This transformation is recommended for servers that do not require any quoting to preserve the`
|  | `20` |  | `/// literal value of metacharacters, or when paths are guaranteed to never contain any such characters.`
|  | `21` |  | `/// </remarks>`
|  | `22` |  | `public string Transform(string path)`
| 25 | `23` |  | `{`
| 25 | `24` |  | `if (path is null)`
| 0 | `25` |  | `{`
| 0 | `26` |  | `throw new ArgumentNullException(nameof(path));`
|  | `27` |  | `}`
|  | `28` |  | ``
| 25 | `29` |  | `return path;`
| 25 | `30` |  | `}`
|  | `31` |  | `}`
|  | `32` |  | `}`

# Methods/Properties

Transform(System.String)