lib\PuppeteerSharp\States\DisposedState.cs
- 7 Complexity
- 1.17 Complexity / M
- 0 Duplication
- 1 Churn
- 38 Lines
- 28 Lines of Code
- 6 Methods
- 4.67 LOC / Method
All issues
0
Autofix is being processed.
Put constructor initializers on their own line.
lines of code = 1
Found in
public DisposedState(StateManager stateManager) : base(stateManager)
Prefix local calls with this.
lines of code = 1
if (fromState == StateManager.Exited)
Elements should be documented.
lines of code = 1
public override void Dispose(LauncherBase p)
Elements should be documented.
lines of code = 1
public override Task KillAsync(LauncherBase p) => throw new ObjectDisposedException(p.ToString());
Elements should be documented.
lines of code = 1
... override Task ExitAsync(LauncherBase p, TimeSpan timeout) => throw new ObjectDisposedException(p.ToString());...
Elements should be documented.
lines of code = 1
public override Task StartAsync(LauncherBase p) => throw new ObjectDisposedException(p.ToString());
Elements should be documented.
lines of code = 1
public override Task EnterFromAsync(LauncherBase p, State fromState, TimeSpan timeout)
Elements should be documented.
lines of code = 1
Found in
public DisposedState(StateManager stateManager) : base(stateManager)
Elements should be documented.
lines of code = 1
Found in
internal class DisposedState : State
Using directive should appear within a namespace declaration.
lines of code = 1
Found in
using System.Threading.Tasks;
Using directive should appear within a namespace declaration.
lines of code = 1
Found in
using System;
The file header is missing or not located at the top of the file.
lines of code = 1
Found in
using System;