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

fix(autoware_tensorrt_classifier): fix bugprone-exception-escape #9732

Merged
merged 1 commit into from
Dec 24, 2024

fix: bugprone-error

ab99235
Select commit
Loading
Failed to load commit list.
Merged

fix(autoware_tensorrt_classifier): fix bugprone-exception-escape #9732

fix: bugprone-error
ab99235
Select commit
Loading
Failed to load commit list.
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main) succeeded Dec 23, 2024 in 42s

CodeScene PR Check

Code Health Quality Gates: OK

Change in average Code Health of affected files: +0.00 (7.11 -> 7.11)

View detailed results in CodeScene

Details

Annotations

Check notice on line 1 in perception/autoware_tensorrt_classifier/src/tensorrt_classifier.cpp

See this annotation in the file changed.

@codescene-delta-analysis codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)

ℹ Getting worse: Overall Code Complexity

The mean cyclomatic complexity increases from 5.00 to 5.15, threshold = 4. This file has many conditional statements (e.g. if, for, while) across its implementation, leading to lower code health. Avoid adding more conditionals.