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

JaCraig / Aspectus / 13876974192
82%

Build:
DEFAULT BRANCH: master
Ran 15 Mar 2025 09:56PM UTC
Jobs 1
Files 6
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

15 Mar 2025 09:54PM UTC coverage: 80.818% (-0.4%) from 81.169%
13876974192

push

github

JaCraig
refactor(tests, aspects): simplify collection initializations

This commit refactors various classes and methods to use modern C# syntax for initializing collections, improving code consistency and readability. The changes include switching from list initializations to array syntax and renaming fields to follow PascalCase conventions.

- Change property `D` in `AOPTestClass` to use an empty array `[]`.
- Convert `Program` class to a static class.
- Update `AssembliesUsing`, `InterfacesUsing`, and `_Load` in `TestAspect` to use array syntax `[]`.
- Rename private fields in `AspectusTests` to PascalCase and initialize with `[]`.
- Modify `Aspectus` constructor to use array syntax `[]` for aspects and modules.
- Change `Classes`, `Assemblies`, and `Usings` properties in `CompilerBase` to initialize with `[]`.
- Update `Compile` method in `CompilerBase` to use array syntax `[]` for syntax trees.
- Modify `LoadAssembly` method in `CompilerBase` to check for null before seeking the stream.
- Refactor various methods in `ExtensionMethods` to use array syntax `[]`.
- Replace `Array.Empty<T>()` with `[]` for empty collections.
- Improve overall code style for consistency.

230 of 330 branches covered (69.7%)

Branch coverage included in aggregate %.

38 of 45 new or added lines in 3 files covered. (84.44%)

402 of 452 relevant lines covered (88.94%)

2318753.01 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
87.5
-0.85% Aspectus/Aspectus.cs
2
78.82
0.77% Aspectus/CodeGen/BaseClasses/CompilerBase.cs
3
65.63
0.0% Aspectus/HelperFunctions/ExtensionMethods.cs
Jobs
ID Job ID Ran Files Coverage
1 13876974192.1 15 Mar 2025 09:56PM UTC 6
80.82
GitHub Action Run
Source Files on build 13876974192
  • Tree
  • List 6
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #13876974192
  • 5085c729 on github
  • Prev Build on master (#13867624439)
  • Next Build on master (#14362914955)
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