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

Emits a warning when a parameter refers to an experiment variable in … #304

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

AlexisDrogoul
Copy link
Member

…a batch experiment (#162)

Copy link

@codescene-delta-analysis codescene-delta-analysis bot left a comment

Choose a reason for hiding this comment

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

Code Health Quality Gates: FAILED

Change in average Code Health of affected files: -0.01 (7.78 -> 7.77)

  • Declining Code Health: 1 findings(s) 🚩

View detailed results in CodeScene

Comment on lines +342 to +343
ExperimentDescription ed = (ExperimentDescription) cd.getEnclosingDescription();
targetedVar = ed.getAttribute(varName);

Choose a reason for hiding this comment

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

❌ Getting worse: Complex Method
Variable.VarValidator.assertCanBeParameter increases in cyclomatic complexity from 18 to 19, threshold = 9

Suppress

@lesquoyb lesquoyb merged commit 0a3542a into 2024-06 Sep 5, 2024
5 of 6 checks passed
@lesquoyb lesquoyb deleted the Addresses-#162 branch September 5, 2024 09:38
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