• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jiowchern / PinionCore.Remote / 17804655478
61%

Build:
DEFAULT BRANCH: master
Ran 17 Sep 2025 04:50PM UTC
Jobs 1
Files 254
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Sep 2025 04:45PM UTC coverage: 58.056% (-0.1%) from 58.185%
17804655478

push

github

jiowchern
改善測試可讀性並新增 DataflowActor 功能

在 `GatewaySessionListenerTests.cs` 中,修改 `PushPkg` 方法的變數命名為 `buffer`,並使用 `Array.Empty<byte>()` 來減少內存分配。測試中引入 `ManualResetEventSlim` 以更有效地等待事件觸發。

在 `GatewaySessionListener.cs` 中,將 `ServerToClientPackage` 結構改為類別,增強封裝性,並將包處理邏輯移至 `ProcessPackage` 方法中,提升代碼結構清晰度。

新增 `DataflowActor` 類別於 `DataflowActor.cs` 和 `ActorOptions.cs`,支持異步消息處理及取消操作,改善系統的並發處理能力。

在 `DataflowActorTests.cs` 中,新增單元測試以確保 `DataflowActor` 的正確性。

更新 `PinionCore.Remote.csproj`,新增對 `System.Threading.Tasks.Dataflow` 的包引用以支持新功能。

884 of 1670 branches covered (52.93%)

Branch coverage included in aggregate %.

162 of 223 new or added lines in 3 files covered. (72.65%)

67 existing lines in 2 files now uncovered.

6222 of 10570 relevant lines covered (58.86%)

120009.53 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
28
80.45
-13.25% PinionCore.Remote.Gateway/Sessions/GatewaySessionListener.cs
33
59.63
PinionCore.Remote/Actors/DataflowActor.cs

Uncovered Existing Lines

Lines Coverage ∆ File
2
80.45
-13.25% PinionCore.Remote.Gateway/Sessions/GatewaySessionListener.cs
65
23.58
23.58% PinionCore.Remote.Gateway/Server.cs
Jobs
ID Job ID Ran Files Coverage
1 17804655478.1 17 Sep 2025 04:50PM UTC 254
58.06
GitHub Action Run
Source Files on build 17804655478
  • Tree
  • List 254
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • ec95e641 on github
  • Prev Build on master (#17763146442)
  • Next Build on master (#17841836301)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc