# < Summary

Information

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

Line coverage
0%

Covered lines: | 0
Uncovered lines: | 5
Coverable lines: | 5
Total lines: | 27
Line coverage: | 0%

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

Method | Branch coverage | Cyclomatic complexity | Line coverage
--- | --- | --- | ---
get_Name() | 100% | 1 | 0%
Init(...) | 100% | 1 | 0%

# File(s)

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

| # | Line |  | Line coverage
--- | --- | --- | --- | ---
|  | `1` |  | `namespace Renci.SshNet.Compression`
|  | `2` |  | `{`
|  | `3` |  | `/// <summary>`
|  | `4` |  | `/// Represents "zlib" compression implementation.`
|  | `5` |  | `/// </summary>`
|  | `6` |  | `internal sealed class Zlib : Compressor`
|  | `7` |  | `{`
|  | `8` |  | `/// <summary>`
|  | `9` |  | `/// Gets algorithm name.`
|  | `10` |  | `/// </summary>`
|  | `11` |  | `public override string Name`
|  | `12` |  | `{`
| 0 | `13` |  | `get { return "zlib"; }`
|  | `14` |  | `}`
|  | `15` |  | ``
|  | `16` |  | `/// <summary>`
|  | `17` |  | `/// Initializes the algorithm.`
|  | `18` |  | `/// </summary>`
|  | `19` |  | `/// <param name="session">The session.</param>`
|  | `20` |  | `public override void Init(Session session)`
| 0 | `21` |  | `{`
| 0 | `22` |  | `base.Init(session);`
|  | `23` |  | ``
| 0 | `24` |  | `IsActive = true;`
| 0 | `25` |  | `}`
|  | `26` |  | `}`
|  | `27` |  | `}`

# Methods/Properties

get_Name()
Init(Renci.SshNet.Session)