Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: Middleware Architecture #18

Merged
merged 36 commits into from
Jan 8, 2024
Merged

feature: Middleware Architecture #18

merged 36 commits into from
Jan 8, 2024

Conversation

jimbuck
Copy link
Owner

@jimbuck jimbuck commented Jan 8, 2024

  • Refactored engine to use a middleware pattern like ASP.NET Core.
  • Restructured solution to be modular.
  • Created basic graphics support.
  • Implemented debugging tools with profiling.

@jimbuck jimbuck changed the title Middleware Architecture feature: Middleware Architecture Jan 8, 2024
Copy link
Contributor

github-actions bot commented Jan 8, 2024

Summary

Generated on: 1/8/2024 - 1:44:42 AM
Coverage date: 1/8/2024 - 1:44:20 AM - 1/8/2024 - 1:44:23 AM
Parser: MultiReport (2x Cobertura)
Assemblies: 5
Classes: 30
Files: 29
Line coverage: 17.7% (309 of 1741)
Covered lines: 309
Uncovered lines: 1432
Coverable lines: 1741
Total lines: 0
Branch coverage: 27.8% (77 of 276)
Covered branches: 77
Total branches: 276
Method coverage: 25.7% (72 of 280)
Covered methods: 72
Total methods: 280
Tag: 49_7442172991
Name Covered Uncovered Coverable Total Line coverage Covered Total Branch coverage Covered Total Method coverage
Kyber.Core 152 133 285 0 53.3% 23 104 22.1% 41 71 57.7%
Kyber.BuilderExtensions 1 0 1 0 100% 0 0 1 1 100%
Kyber.Core.GameLoop 25 32 57 0 43.8% 2 14 14.2% 3 4 75%
Kyber.Debug.NullTraceTimer 0 1 1 0 0% 0 0 0 1 0%
Kyber.Debug.NullTraceTimer`1 1 0 1 0 100% 0 0 1 1 100%
Kyber.Event`1 1 1 2 0 50% 0 0 1 2 50%
Kyber.EventEmitter 16 2 18 0 88.8% 2 2 100% 7 8 87.5%
Kyber.EventListener 21 50 71 0 29.5% 16 80 20% 4 9 44.4%
Kyber.EventSystem 8 0 8 0 100% 0 0 2 2 100%
Kyber.KyberApplication 37 4 41 0 90.2% 0 0 13 15 86.6%
Kyber.KyberApplicationBuilder 23 0 23 0 100% 0 0 4 4 100%
Kyber.PersistentStorage 0 14 14 0 0% 0 0 0 6 0%
Kyber.PersistentStorageProvider 0 21 21 0 0% 0 0 0 13 0%
Kyber.RingBuffer`1 19 8 27 0 70.3% 3 8 37.5% 5 5 100%
Kyber.Core.Abstractions 40 738 778 0 5.1% 31 120 25.8% 10 120 8.3%
Kyber.GameTime 0 1 1 0 0% 0 0 0 1 0%
Kyber.MathHelper 0 46 46 0 0% 0 30 0% 0 17 0%
Kyber.MemUtils 0 103 103 0 0% 0 40 0% 0 26 0%
Kyber.MiddlewarePipelineBuilder 12 2 14 0 85.7% 6 8 75% 4 4 100%
Kyber.SystemMiddlewareBinder 16 15 31 0 51.6% 9 18 50% 3 5 60%
Kyber.UseDelegateServiceExtensions 0 532 532 0 0% 0 0 0 56 0%
Kyber.UseSystemExtensions 12 1 13 0 92.3% 16 16 100% 3 3 100%
System.IO.BinaryExtensions 0 38 38 0 0% 0 8 0% 0 8 0%
Kyber.Extensions.Debug.Abstractions 1 2 3 0 33.3% 0 0 **** 1 3 33.3%
Kyber.Extensions.Debug.NullTimerInstance 1 1 2 0 50% 0 0 1 2 50%
Kyber.Extensions.Debug.TraceTiming 0 1 1 0 0% 0 0 0 1 0%
Kyber.Extensions.Scenes 107 16 123 0 86.9% 23 36 63.8% 19 27 70.3%
Kyber.Extensions.Scenes.BuilderExtensions 14 0 14 0 100% 2 2 100% 2 2 100%
Kyber.Extensions.Scenes.CurrentScene 6 1 7 0 85.7% 1 2 50% 2 3 66.6%
Kyber.Extensions.Scenes.SceneBuilder 18 14 32 0 56.2% 0 0 2 9 22.2%
Kyber.Extensions.Scenes.SceneSystem 69 1 70 0 98.5% 20 32 62.5% 13 13 100%
Kyber.Extensions.Scenes.Abstractions 9 543 552 0 1.6% 0 16 0% 1 59 1.6%
Kyber.Extensions.Scenes.Scene 9 0 9 0 100% 0 0 1 1 100%
Kyber.Extensions.Scenes.UseDelegateServiceSceneExtensions 0 532 532 0 0% 0 0 0 56 0%
Kyber.Extensions.Scenes.UseSystemExtensions 0 11 11 0 0% 0 16 0% 0 2 0%

@jimbuck jimbuck merged commit 8781b04 into main Jan 8, 2024
5 of 6 checks passed
@jimbuck jimbuck deleted the feature/middleware branch January 8, 2024 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant