Skip to content

[PWGJE] resolving cppchecker issue #20355

[PWGJE] resolving cppchecker issue

[PWGJE] resolving cppchecker issue #20355

Triggered via pull request November 11, 2025 14:59
@jloemkerjloemker
synchronize #13783
Status Failure
Total duration 14s
Artifacts

o2-linter.yml

on: pull_request_target
O2 linter
10s
O2 linter
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 2 notices
O2 linter
Process completed with exit code 1.
O2 linter result
Issues have been found.
[name/configurable]: PWGJE/Tasks/trackJetQA.cxx#L72
Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
[name/configurable]: PWGJE/Tasks/trackJetQA.cxx#L46
Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
[name/configurable]: PWGJE/Tasks/trackJetQA.cxx#L45
Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
[name/workflow-file]: PWGJE/Tasks/trackJetQA.cxx#L1
Name of a workflow file must match the name of the main struct in it (without the PWG prefix). (Class implementation files should be in "Core" directories.)
[magic-number]: PWGJE/Tasks/trackJetQA.cxx#L338
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[std-prefix]: PWGJE/Tasks/trackJetQA.cxx#L231
Use std:: prefix for names from the std namespace.
O2 linter
To tolerate certain issues in a directory, add a line with the test name in "o2linter_config".
O2 linter
Exceptionally, you can disable a test for a line by adding a comment with "o2-linter: disable=" followed by the name of the test and parentheses with a reason for the exception.