Skip to content

fix: store transfer history #4489

fix: store transfer history

fix: store transfer history #4489

Triggered via push August 21, 2024 21:28
Status Success
Total duration 47s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 170 warnings
src/io/io_store.hpp#L231
Function parameter 'name' should be passed by const reference.
src/io/io_store.hpp#L231
Function parameter 'icon' should be passed by const reference.
src/io/io_store.hpp#L278
Function parameter 'parentName' should be passed by const reference.
src/io/io_store.hpp#L278
Function parameter 'name' should be passed by const reference.
src/io/io_store.hpp#L278
Function parameter 'icon' should be passed by const reference.
src/io/io_store.hpp#L278
Function parameter 'description' should be passed by const reference.
src/io/io_store.cpp#L221
Consider using std::any_of algorithm instead of a raw loop.
src/io/io_store.cpp#L230
Consider using std::find_if algorithm instead of a raw loop.
src/io/io_store.cpp#L239
Consider using std::find_if algorithm instead of a raw loop.
src/io/io_store.cpp#L322
Consider using std::any_of algorithm instead of a raw loop.
src/io/io_store.cpp#L336
Consider using std::any_of algorithm instead of a raw loop.
src/server/network/protocol/protocolgame.cpp#L9209
Variable 'entryPages' is assigned a value that is never used.
src/utils/tools.cpp#L1629
The function 'isExerciseWeapon' is never used.
src/utils/tools.cpp#L1621
The function 'isKegItem' is never used.
narrowing-conversions: src/account/account.cpp#L174
narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'int32_t' (aka 'int') is implementation-defined
magic-numbers: src/server/network/protocol/protocolgame.cpp#L1367
0xFB is a magic number; consider replacing it with a named constant
magic-numbers: src/server/network/protocol/protocolgame.cpp#L1370
0xFC is a magic number; consider replacing it with a named constant
magic-numbers: src/server/network/protocol/protocolgame.cpp#L1373
0xFD is a magic number; consider replacing it with a named constant
magic-numbers: src/server/network/protocol/protocolgame.cpp#L3330
0xEF is a magic number; consider replacing it with a named constant
magic-numbers: src/server/network/protocol/protocolgame.cpp#L7590
0xFA is a magic number; consider replacing it with a named constant
magic-numbers: src/server/network/protocol/protocolgame.cpp#L9145
0xFB is a magic number; consider replacing it with a named constant
qualified-auto: src/server/network/protocol/protocolgame.cpp#L9193
'auto offer' can be declared as 'const auto *offer'
implicit-bool-conversion: src/server/network/protocol/protocolgame.cpp#L9194
implicit conversion 'const Offer *' -> 'bool'
magic-numbers: src/server/network/protocol/protocolgame.cpp#L9219
26 is a magic number; consider replacing it with a named constant
misra-cpp2008-5-0-5: src/server/network/protocol/protocolgame.cpp#L9223
MISRA 5-0-5: There shall be no implicit floating-integral conversions
misra-cpp2008-5-0-5: src/server/network/protocol/protocolgame.cpp#L9223
MISRA 5-0-5: There shall be no implicit floating-integral conversions
misra-cpp2008-5-0-6: src/server/network/protocol/protocolgame.cpp#L9228
MISRA 5-0-6: An implicit integral or floating-point conversion shall not reduce the size of the underlying type
id-dependent-backward-branch: src/server/network/protocol/protocolgame.cpp#L9229
backward branch (for loop) is ID-dependent due to variable reference to 'entry' and may cause performance degradation
magic-numbers: src/server/network/protocol/protocolgame.cpp#L9235
0xFD is a magic number; consider replacing it with a named constant
qualified-auto: src/server/network/protocol/protocolgame.cpp#L9264
'auto currentCategory' can be declared as 'const auto *currentCategory'
implicit-bool-conversion: src/server/network/protocol/protocolgame.cpp#L9265
implicit conversion 'const Category *' -> 'bool'
qualified-auto: src/server/network/protocol/protocolgame.cpp#L9271
'auto offer' can be declared as 'const auto *offer'
qualified-auto: src/server/network/protocol/protocolgame.cpp#L9273
'auto parentCategory' can be declared as 'const auto *parentCategory'
implicit-bool-conversion: src/server/network/protocol/protocolgame.cpp#L9274
implicit conversion 'const Category *' -> 'bool'
implicit-bool-conversion: src/server/network/protocol/protocolgame.cpp#L9341
implicit conversion 'bool' -> 'uint8_t' (aka 'unsigned char')
magic-numbers: src/server/network/protocol/protocolgame.cpp#L9347
0xFC is a magic number; consider replacing it with a named constant
misra-cpp2008-5-0-6: src/server/network/protocol/protocolgame.cpp#L9356
MISRA 5-0-6: An implicit integral or floating-point conversion shall not reduce the size of the underlying type
for-range-copy: src/server/network/protocol/protocolgame.cpp#L9359
loop variable is copied but only used as const reference; consider making it a const reference
qualified-auto: src/server/network/protocol/protocolgame.cpp#L9371
'auto offer' can be declared as 'const auto *offer'
misra-cpp2008-5-0-6: src/server/network/protocol/protocolgame.cpp#L9380
MISRA 5-0-6: An implicit integral or floating-point conversion shall not reduce the size of the underlying type
misra-cpp2008-2-13-3: src/server/network/protocol/protocolgame.cpp#L9384
MISRA 2-13-3: A "U" suffix shall be applied to all octal or hexadecimal integer literals of unsigned type
misra-cpp2008-5-0-6: src/server/network/protocol/protocolgame.cpp#L9391
MISRA 5-0-6: An implicit integral or floating-point conversion shall not reduce the size of the underlying type
misra-cpp2008-2-13-3: src/server/network/protocol/protocolgame.cpp#L9398
MISRA 2-13-3: A "U" suffix shall be applied to all octal or hexadecimal integer literals of unsigned type
magic-numbers: src/server/network/protocol/protocolgame.cpp#L9398
0xFC is a magic number; consider replacing it with a named constant
misra-cpp2008-5-0-6: src/server/network/protocol/protocolgame.cpp#L9409
MISRA 5-0-6: An implicit integral or floating-point conversion shall not reduce the size of the underlying type
for-range-copy: src/server/network/protocol/protocolgame.cpp#L9412
loop variable is copied but only used as const reference; consider making it a const reference
magic-numbers: src/server/network/protocol/protocolgame.cpp#L9432
0xFC is a magic number; consider replacing it with a named constant
misra-cpp2008-5-0-6: src/server/network/protocol/protocolgame.cpp#L9442
MISRA 5-0-6: An implicit integral or floating-point conversion shall not reduce the size of the underlying type
for-range-copy: src/server/network/protocol/protocolgame.cpp#L9445
loop variable is copied but only used as const reference; consider making it a const reference
misra-cpp2008-2-13-3: src/server/network/protocol/protocolgame.cpp#L9465
MISRA 2-13-3: A "U" suffix shall be applied to all octal or hexadecimal integer literals of unsigned type
magic-numbers: src/server/network/protocol/protocolgame.cpp#L9465
0xEA is a magic number; consider replacing it with a named constant
qualified-auto: src/server/network/protocol/protocolgame.cpp#L9478
'auto currentOffer' can be declared as 'const auto *currentOffer'
redundant-string-init: src/server/network/protocol/protocolgame.cpp#L9481
redundant string initialization
init-variables: src/server/network/protocol/protocolgame.cpp#L9482
variable 'sexId' is not initialized
unnecessary-value-param: src/server/network/protocol/protocolgame.cpp#L9503
the parameter 'successMessage' is copied for each invocation but only used as a const reference; consider making it a const reference
unnecessary-value-param: src/server/network/protocol/protocolgame.cpp#L9513
the parameter 'errorMessage' is copied for each invocation but only used as a const reference; consider making it a const reference
misra-cpp2008-2-13-3: src/server/network/protocol/protocolgame.cpp#L9515
MISRA 2-13-3: A "U" suffix shall be applied to all octal or hexadecimal integer literals of unsigned type
magic-numbers: src/server/network/protocol/protocolgame.cpp#L9515
0xE0 is a magic number; consider replacing it with a named constant
easily-swappable-parameters: src/server/network/protocol/protocolgame.cpp#L9524
2 adjacent parameters of 'requestPurchaseData' of convertible types are easily swapped by mistake
function-cognitive-complexity: src/creatures/players/player.cpp#L7753
function 'canBuyStoreOffer' has cognitive complexity of 34 (threshold 25)
magic-numbers: src/creatures/players/player.cpp#L7761
962 is a magic number; consider replacing it with a named constant
magic-numbers: src/creatures/players/player.cpp#L7761
975 is a magic number; consider replacing it with a named constant
misra-cpp2008-5-0-6: src/creatures/players/player.cpp#L7763
MISRA 5-0-6: An implicit integral or floating-point conversion shall not reduce the size of the underlying type
misra-cpp2008-5-0-6: src/creatures/players/player.cpp#L7770
MISRA 5-0-6: An implicit integral or floating-point conversion shall not reduce the size of the underlying type
magic-numbers: src/creatures/players/player.cpp#L7799
50 is a magic number; consider replacing it with a named constant
magic-numbers: src/creatures/players/player.cpp#L7808
8 is a magic number; consider replacing it with a named constant
misra-cpp2008-5-0-6: src/creatures/players/player.cpp#L7812
MISRA 5-0-6: An implicit integral or floating-point conversion shall not reduce the size of the underlying type
magic-numbers: src/creatures/players/player.cpp#L7813
5 is a magic number; consider replacing it with a named constant
magic-numbers: src/creatures/players/player.cpp#L7820
8 is a magic number; consider replacing it with a named constant
magic-numbers: src/creatures/players/player.cpp#L7822
5 is a magic number; consider replacing it with a named constant
magic-numbers: src/creatures/players/player.cpp#L7842
14901 is a magic number; consider replacing it with a named constant
magic-numbers: src/creatures/players/player.cpp#L7844
90 is a magic number; consider replacing it with a named constant
magic-numbers: src/creatures/players/player.cpp#L8281
6 is a magic number; consider replacing it with a named constant
function-cognitive-complexity: src/game/game.cpp#L1831
function 'checkMoveItemToCylinder' has cognitive complexity of 82 (threshold 25)
unnecessary-value-param: src/game/game.cpp#L10285
the parameter 'receptorName' is copied for each invocation but only used as a const reference; consider making it a const reference
misra-cpp2008-5-0-12: src/game/game.cpp#L10317
MISRA 5-0-12: signed char and unsigned char type shall only be used for the storage and use of numeric values
misra-cpp2008-5-0-12: src/game/game.cpp#L10318
MISRA 5-0-12: signed char and unsigned char type shall only be used for the storage and use of numeric values
narrowing-conversions: src/game/game.cpp#L10335
narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'int32_t' (aka 'int') is implementation-defined
narrowing-conversions: src/game/game.cpp#L10342
narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'int32_t' (aka 'int') is implementation-defined
easily-swappable-parameters: src/game/game.cpp#L10351
2 adjacent parameters of 'playerOpenStoreHistory' of similar type ('uint32_t') are easily swapped by mistake
function-cognitive-complexity: src/game/game.cpp#L10366
function 'playerBuyStoreOffer' has cognitive complexity of 48 (threshold 25)
unused-parameters: src/game/game.cpp#L10366
parameter 'sexId' is unused
implicit-bool-conversion: src/game/game.cpp#L10372
implicit conversion 'const Offer *' -> 'bool'
implicit-bool-conversion: src/game/game.cpp#L10421
implicit conversion 'bool' -> 'uint16_t' (aka 'unsigned short')
magic-numbers: src/game/game.cpp#L10428
962 is a magic number; consider replacing it with a named constant
magic-numbers: src/game/game.cpp#L10428
975 is a magic number; consider replacing it with a named constant
misra-cpp2008-5-0-6: src/game/game.cpp#L10435
MISRA 5-0-6: An implicit integral or floating-point conversion shall not reduce the size of the underlying type
misra-cpp2008-5-0-6: src/game/game.cpp#L10436
MISRA 5-0-6: An implicit integral or floating-point conversion shall not reduce the size of the underlying type
magic-numbers: src/game/game.cpp#L10471
128 is a magic number; consider replacing it with a named constant
magic-numbers: src/game/game.cpp#L10474
136 is a magic number; consider replacing it with a named constant
misra-cpp2008-5-0-6: src/game/game.cpp#L10489
MISRA 5-0-6: An implicit integral or floating-point conversion shall not reduce the size of the underlying type
magic-numbers: src/game/game.cpp#L10489
3600 is a magic number; consider replacing it with a named constant
magic-numbers: src/game/game.cpp#L10491
6 is a magic number; consider replacing it with a named constant
magic-numbers: src/game/game.cpp#L10508
8 is a magic number; consider replacing it with a named constant
misra-cpp2008-5-0-6: src/game/game.cpp#L10512
MISRA 5-0-6: An implicit integral or floating-point conversion shall not reduce the size of the underlying type
misra-cpp2008-5-0-6: src/game/game.cpp#L10512
MISRA 5-0-6: An implicit integral or floating-point conversion shall not reduce the size of the underlying type
magic-numbers: src/game/game.cpp#L10520
8 is a magic number; consider replacing it with a named constant
magic-numbers: src/game/game.cpp#L10532
65175 is a magic number; consider replacing it with a named constant
narrowing-conversions: src/game/game.cpp#L10536
narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'int32_t' (aka 'int') is implementation-defined
magic-numbers: src/game/game.cpp#L10536
3000 is a magic number; consider replacing it with a named constant
magic-numbers: src/game/game.cpp#L10564
50 is a magic number; consider replacing it with a named constant
magic-numbers: src/game/game.cpp#L10604
14901 is a magic number; consider replacing it with a named constant
magic-numbers: src/game/game.cpp#L10606
90 is a magic number; consider replacing it with a named constant
magic-numbers: src/game/game.cpp#L10610
14901 is a magic number; consider replacing it with a named constant
misra-cpp2008-5-0-12: src/game/game.cpp#L10640
MISRA 5-0-12: signed char and unsigned char type shall only be used for the storage and use of numeric values
redundant-casting: src/game/game.cpp#L10640
redundant explicit casting to the same type 'uint32_t' (aka 'unsigned int') as the sub-expression, remove this casting
convert-member-functions-to-static: src/game/game.cpp#L10663
method 'processHouseOffer' can be made static
easily-swappable-parameters: src/game/game.cpp#L10663
2 adjacent parameters of 'processHouseOffer' of convertible types are easily swapped by mistake
convert-member-functions-to-static: src/game/game.cpp#L10703
method 'processChargesOffer' can be made static
easily-swappable-parameters: src/game/game.cpp#L10703
2 adjacent parameters of 'processChargesOffer' of convertible types are easily swapped by mistake
misra-cpp2008-0-1-7: src/game/game.cpp#L10714
MISRA 0-1-7: The value returned by a function having non-void return type that is not an overloaded operator shall always be used
simplify-boolean-expr: src/game/game.cpp#L10736
redundant boolean literal in conditional return statement
convert-member-functions-to-static: src/game/game.cpp#L10742
method 'processStackableOffer' can be made static
misra-cpp2008-5-0-6: src/game/game.cpp#L10743
MISRA 5-0-6: An implicit integral or floating-point conversion shall not reduce the size of the underlying type
misra-cpp2008-0-1-7: src/game/game.cpp#L10749
MISRA 0-1-7: The value returned by a function having non-void return type that is not an overloaded operator shall always be used
simplify-boolean-expr: src/game/game.cpp#L10771
redundant boolean literal in conditional return statement
branch-clone: src/game/game.cpp#L10788
repeated branch body in conditional chain
simplify-boolean-expr: src/game/game.cpp#L10802
redundant boolean literal in conditional return statement
function-cognitive-complexity: src/io/io_store.cpp#L18
function 'loadFromXml' has cognitive complexity of 40 (threshold 25)
misra-cpp2008-5-3-1: src/io/io_store.cpp#L21
MISRA 5-3-1: Each operand of the ! operator, the logical && or the logical || operators shall have type bool
init-variables: src/io/io_store.cpp#L38
variable 'categoryRook' is not initialized
simplify-boolean-expr: src/io/io_store.cpp#L40
redundant boolean literal in conditional assignment
misra-cpp2008-6-4-2: src/io/io_store.cpp#L48
MISRA 6-4-2: All if ... else if constructs shall be terminated with an else clause
misra-cpp2008-5-0-13: src/io/io_store.cpp#L48
MISRA 5-0-13: The condition of an if-statement and the condition of an iteration-statement shall have type bool
misra-cpp2008-5-3-1: src/io/io_store.cpp#L48
MISRA 5-3-1: Each operand of the ! operator, the logical && or the logical || operators shall have type bool
implicit-bool-conversion: src/io/io_store.cpp#L48
implicit conversion 'unspecified_bool_type' (aka 'void (*)(xml_node ***)') -> 'bool'
init-variables: src/io/io_store.cpp#L54
variable 'subCategoryRook' is not initialized
simplify-boolean-expr: src/io/io_store.cpp#L56
redundant boolean literal in conditional assignment
init-variables: src/io/io_store.cpp#L62
variable 'subCategoryState' is not initialized
unroll-loops: src/io/io_store.cpp#L71
kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive
misra-cpp2008-5-0-13: src/io/io_store.cpp#L80
MISRA 5-0-13: The condition of an if-statement and the condition of an iteration-statement shall have type bool
misra-cpp2008-5-3-1: src/io/io_store.cpp#L80
MISRA 5-3-1: Each operand of the ! operator, the logical && or the logical || operators shall have type bool
implicit-bool-conversion: src/io/io_store.cpp#L80
implicit conversion 'unspecified_bool_type' (aka 'void (*)(xml_node ***)') -> 'bool'
unroll-loops: src/io/io_store.cpp#L82
kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive
redundant-string-init: src/io/io_store.cpp#L102
redundant string initialization
misra-cpp2008-5-0-13: src/io/io_store.cpp#L103
MISRA 5-0-13: The condition of an if-statement and the condition of an iteration-statement shall have type bool
implicit-bool-conversion: src/io/io_store.cpp#L103
implicit conversion 'unspecified_bool_type' (aka 'void (*)(xml_attribute ***)') -> 'bool'
init-variables: src/io/io_store.cpp#L120
variable 'type' is not initialized
pro-type-member-init: src/io/io_store.cpp#L129
uninitialized record type: 'outfitId'
misra-cpp2008-5-0-13: src/io/io_store.cpp#L145
MISRA 5-0-13: The condition of an if-statement and the condition of an iteration-statement shall have type bool
implicit-bool-conversion: src/io/io_store.cpp#L145
implicit conversion 'unspecified_bool_type' (aka 'void (*)(xml_attribute ***)') -> 'bool'
misra-cpp2008-5-0-13: src/io/io_store.cpp#L150
MISRA 5-0-13: The condition of an if-statement and the condition of an iteration-statement shall have type bool
implicit-bool-conversion: src/io/io_store.cpp#L150
implicit conversion 'unspecified_bool_type' (aka 'void (*)(xml_attribute ***)') -> 'bool'
misra-cpp2008-5-0-13: src/io/io_store.cpp#L155
MISRA 5-0-13: The condition of an if-statement and the condition of an iteration-statement shall have type bool
implicit-bool-conversion: src/io/io_store.cpp#L155
implicit conversion 'unspecified_bool_type' (aka 'void (*)(xml_attribute ***)') -> 'bool'
redundant-string-init: src/io/io_store.cpp#L159
redundant string initialization
misra-cpp2008-5-0-13: src/io/io_store.cpp#L160
MISRA 5-0-13: The condition of an if-statement and the condition of an iteration-statement shall have type bool
implicit-bool-conversion: src/io/io_store.cpp#L160
implicit conversion 'unspecified_bool_type' (aka 'void (*)(xml_attribute ***)') -> 'bool'
misra-cpp2008-5-0-13: src/io/io_store.cpp#L165
MISRA 5-0-13: The condition of an if-statement and the condition of an iteration-statement shall have type bool
implicit-bool-conversion: src/io/io_store.cpp#L165
implicit conversion 'unspecified_bool_type' (aka 'void (*)(xml_attribute ***)') -> 'bool'
readability-casting: src/io/io_store.cpp#L166
redundant cast to the same type
redundant-casting: src/io/io_store.cpp#L166
redundant explicit casting to the same type 'bool' as the sub-expression, remove this casting
misra-cpp2008-5-0-13: src/io/io_store.cpp#L184
MISRA 5-0-13: The condition of an if-statement and the condition of an iteration-statement shall have type bool
misra-cpp2008-5-3-1: src/io/io_store.cpp#L184
MISRA 5-3-1: Each operand of the ! operator, the logical && or the logical || operators shall have type bool
implicit-bool-conversion: src/io/io_store.cpp#L184
implicit conversion 'unspecified_bool_type' (aka 'void (*)(xml_node ***)') -> 'bool'
unroll-loops: src/io/io_store.cpp#L185
kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive
misra-cpp2008-5-0-13: src/io/io_store.cpp#L205
MISRA 5-0-13: The condition of an if-statement and the condition of an iteration-statement shall have type bool
misra-cpp2008-5-3-1: src/io/io_store.cpp#L205
MISRA 5-3-1: Each operand of the ! operator, the logical && or the logical || operators shall have type bool
implicit-bool-conversion: src/io/io_store.cpp#L205
implicit conversion 'unspecified_bool_type' (aka 'void (*)(xml_node ***)') -> 'bool'
unroll-loops: src/io/io_store.cpp#L206
kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive
unnecessary-value-param: src/io/io_store.cpp#L219
the parameter 'newCategory' is copied for each invocation but only used as a const reference; consider making it a const reference
unroll-loops: src/io/io_store.cpp#L220
kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive
unnecessary-value-param: src/io/io_store.cpp#L228
the parameter 'categoryName' is copied for each invocation but only used as a const reference; consider making it a const reference
unroll-loops: src/io/io_store.cpp#L229
kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive
unnecessary-value-param: src/io/io_store.cpp#L237
the parameter 'subCategoryName' is copied for each invocation but only used as a const reference; consider making it a const reference
unroll-loops: src/io/io_store.cpp#L238
kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive
misra-cpp2008-0-1-7: src/io/io_store.cpp#L252
MISRA 0-1-7: The value returned by a function having non-void return type that is not an overloaded operator shall always be used
misra-cpp2008-0-1-7: src/io/io_store.cpp#L254
MISRA 0-1-7: The value returned by a function having non-void return type that is not an overloaded operator shall always be used
unroll-loops: src/io/io_store.cpp#L269
kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive
make-member-function-const: src/io/io_store.cpp#L294
method 'findCategory' can be made const
unnecessary-value-param: src/io/io_store.cpp#L294
the parameter 'categoryName' is copied for each invocation but only used as a const reference; consider making it a const reference
qualified-auto: src/io/io_store.cpp#L295
'auto currentCategory' can be declared as 'const auto *currentCategory'
misra-cpp2008-5-3-1: src/io/io_store.cpp#L296
MISRA 5-3-1: Each operand of the ! operator, the logical && or the logical || operators shall have type bool
implicit-bool-conversion: src/io/io_store.cpp#L296
implicit conversion 'const Category *' -> 'bool'
qualified-auto: src/io/io_store.cpp#L305
'auto subCat' can be declared as 'const auto *subCat'
const-return-type: src/io/io_store.cpp#L309
return type 'const std::vector<std::string>' (aka 'const vector<basic_string<char>>') is 'const'-qualified at the top level, which may reduce code readability without improving const correctness
unnecessary-value-param: src/io/io_store.cpp#L320
the parameter 'newSubCategory' is copied for each invocation but only used as a const reference; consider making it a const reference
unroll-loops: src/io/io_store.cpp#L321
kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive
unnecessary-value-param: src/io/io_store.cpp#L332
the parameter 'newOffer' is copied for each invocation but only used as a const reference; consider making it a const reference
unroll-loops: src/io/io_store.cpp#L333
kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive
misra-cpp2008-6-4-2: src/io/io_store.cpp#L345
MISRA 6-4-2: All if ... else if constructs shall be terminated with an else clause
else-after-return: src/io/io_store.cpp#L347
do not use 'else' after 'return'
simplify-boolean-expr: src/io/io_store.cpp#L360
redundant boolean literal in conditional return statement
function-cognitive-complexity: src/io/ioprey.cpp#L293
function 'parsePreyAction' has cognitive complexity of 41 (threshold 25)