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

RHINENG-8141: improve evaluation performance #1457

Closed
wants to merge 12 commits into from

Conversation

psegedy
Copy link
Member

@psegedy psegedy commented Aug 7, 2024

Secure Coding Practices Checklist GitHub Link

Secure Coding Checklist

  • Input Validation
  • Output Encoding
  • Authentication and Password Management
  • Session Management
  • Access Control
  • Cryptographic Practices
  • Error Handling and Logging
  • Data Protection
  • Communication Security
  • System Configuration
  • Database Security
  • File Management
  • Memory Management
  • General Coding Practices

Copy link

jira-linking bot commented Aug 7, 2024

Commits missing Jira IDs:
2898096
Referenced Jiras:
https://issues.redhat.com/browse/RHINENG-8141

@codecov-commenter
Copy link

codecov-commenter commented Aug 7, 2024

Codecov Report

Attention: Patch coverage is 81.78439% with 49 lines in your changes missing coverage. Please review.

Project coverage is 65.09%. Comparing base (aba05cd) to head (2898096).
Report is 1 commits behind head on master.

Files Patch % Lines
evaluator/evaluate_advisories.go 85.55% 17 Missing and 9 partials ⚠️
evaluator/evaluate.go 72.72% 8 Missing and 4 partials ⚠️
evaluator/evaluate_packages.go 72.00% 6 Missing and 1 partial ⚠️
base/database/utils.go 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1457      +/-   ##
==========================================
+ Coverage   64.83%   65.09%   +0.25%     
==========================================
  Files         114      114              
  Lines        7798     7810      +12     
==========================================
+ Hits         5056     5084      +28     
+ Misses       2216     2203      -13     
+ Partials      526      523       -3     
Flag Coverage Δ
unittests 65.09% <81.78%> (+0.25%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member Author

@psegedy psegedy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Dugowitch sorry for my mistake with the PR, please open a new one from your fork once you introduce changes. Overall, the logic looks good, there are only some minor things I want you to look at.

evaluator/evaluate_advisories.go Show resolved Hide resolved
evaluator/evaluate_advisories.go Show resolved Hide resolved
evaluator/evaluate_advisories.go Show resolved Hide resolved
evaluator/evaluate_advisories.go Show resolved Hide resolved
evaluator/remediations.go Show resolved Hide resolved
evaluator/evaluate_advisories.go Show resolved Hide resolved
@psegedy
Copy link
Member Author

psegedy commented Aug 7, 2024

/retest

@Dugowitch
Copy link
Contributor

Dugowitch commented Aug 13, 2024

A new PR with the review comments resolved was created (see #1461).

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.

3 participants