Skip to content

Commit

Permalink
refact(score): minor refact, doc & linting of the score package (#88)
Browse files Browse the repository at this point in the history
* test(score): augmented unit tests for computing score

Signed-off-by: Frederic BIDON <[email protected]>

* refact(score): minor refact, doc & linting of the score package

* re-documented methods and differences between v1 and v2
* fixed data race when calling the constructor
* refactored debug code to be less intrusive

Signed-off-by: Frederic BIDON <[email protected]>

---------

Signed-off-by: Frederic BIDON <[email protected]>
  • Loading branch information
fredbi authored Feb 7, 2023
1 parent bb238f3 commit 7c36c22
Show file tree
Hide file tree
Showing 2 changed files with 198 additions and 139 deletions.
4 changes: 4 additions & 0 deletions score/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Package score compute a security risk score based on a given framework.
//
// This package supports reporthandling models v1 and v2.
package score
Loading

0 comments on commit 7c36c22

Please sign in to comment.