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

google / scaaml / 15384293327
86%

Build:
DEFAULT BRANCH: main
Ran 02 Jun 2025 05:18AM UTC
Jobs 1
Files 58
Run time 79min
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

26 May 2025 10:29AM UTC coverage: 86.609% (+0.06%) from 86.548%
15384293327

push

github

web-flow
#378 : Name to AttackPointAES128 classmethod (#380)

This pull request introduces new utility methods for managing subclasses
in the `AttackPointAES128` class and adds corresponding unit tests to
ensure their correctness. These changes aim to simplify subclass
management and improve test coverage.

### Enhancements to subclass management:
* Added three class methods to `AttackPointAES128` in
`scaaml/stats/attack_points/aes_128/attack_points.py`:
*
[`_all_subclasses`](diffhunk://#diff-<a class=hub.com/google/scaaml/commit/<a class="double-link" href="https://git"><a class=hub.com/google/scaaml/commit/061c79e8d98c49074c45fbabea14f72363c37ff8">061c79e8d81cac71ebfa5244c1a66b37cR26-R46):
Recursively retrieves all subclasses of the class.
*
[`subclass_names`](diffhunk://#diff-061c79e8d98c49074c45fbabea14f72363c37ff881cac71ebfa5244c1a66b37cR26-R46):
Returns a list of all subclass names as strings.
*
[`from_name`](diffhunk://#diff-061c79e8d98c49074c45fbabea14f72363c37ff881cac71ebfa5244c1a66b37cR26-R46):
Retrieves a subclass by its name or raises a `ValueError` if no match is
found.

### Improved test coverage:
* Added a unit test `test_attack_point_aes128_subclass_names_and_lookup`
in `tests/stats/attack_points/test_aes128.py` to validate:
  * Correct listing of all subclass names via `subclass_names`.
  * Accurate retrieval of subclasses using `from_name`.
  * Proper error handling in `from_name` for invalid subclass names.

15 of 15 new or added lines in 1 file covered. (100.0%)

2891 of 3338 relevant lines covered (86.61%)

0.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 15384293327.1 02 Jun 2025 05:18AM UTC 58
86.61
GitHub Action Run
Source Files on build 15384293327
  • Tree
  • List 58
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15384293327
  • d32afa7d on github
  • Prev Build on gh-readonly-queue/main/pr-385-418c6c89fea27319fe00a8b91fef5a576ccef432 (#15249685749)
  • Next Build on main (#15388499599)
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

© 2025 Coveralls, Inc