< Summary

Information
Class: Syki.Front.Extensions.KeyboardEventArgsExtensions
Assembly: Front
File(s): /home/runner/work/syki/syki/Front/Extensions/KeyboardEventArgsExtensions.cs
Tag: 22_11348620282
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 11
Line coverage: 100%
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

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
IsEnter(...)100%11100%

File(s)

/home/runner/work/syki/syki/Front/Extensions/KeyboardEventArgsExtensions.cs

#LineLine coverage
 1using Microsoft.AspNetCore.Components.Web;
 2
 3namespace Syki.Front.Extensions;
 4
 5public static class KeyboardEventArgsExtensions
 6{
 7    public static bool IsEnter(this KeyboardEventArgs args)
 8    {
 29        return args.Key == "Enter";
 10    }
 11}