Markus Elfring

Results 791 issues of Markus Elfring

:eyes: Some source code analysis tools can help to find opportunities for improving software components. :thought_balloon: I propose to [increase the usage of augmented assignment statements](https://docs.python.org/3/reference/simple_stmts.html#augmented-assignment-statements "Augmented assignment statements") accordingly....

:eyes: Some source code analysis tools can help to find opportunities for improving software components. :thought_balloon: I propose to [increase the usage of augmented assignment statements](https://docs.python.org/3/reference/simple_stmts.html#augmented-assignment-statements "Augmented assignment statements") accordingly....

:eyes: Some source code analysis tools can help to find opportunities for improving software components. :thought_balloon: I propose to [increase the usage of augmented assignment statements](https://docs.python.org/3/reference/simple_stmts.html#augmented-assignment-statements "Augmented assignment statements") accordingly....

:eyes: Some source code analysis tools can help to find opportunities for improving software components. :thought_balloon: I propose to [increase the usage of augmented assignment statements](https://docs.python.org/3/reference/simple_stmts.html#augmented-assignment-statements "Augmented assignment statements") accordingly....

[An extra null pointer check is not needed](https://isocpp.org/wiki/faq/freestore-mgmt#delete-handles-null "Do I need to check for null before delete p?") like in [the function “Grid3D::ReadFile”](https://github.com/ScanNet/ScanNet/blob/cf24191a8bbb8d40577c26db7b11bad732e0500f/Calibrate/src/grid3d.cpp#L362 "Update candidate").

:eyes: Some source code analysis tools can help to find opportunities for improving software components. :thought_balloon: I propose to [increase the usage of combined operators](https://www.php.net/manual/en/language.operators.assignment.php#language.operators.assignment.arithmetic "Description for assignment operators") accordingly....

:eyes: Some source code analysis tools can help to find opportunities for improving software components. :thought_balloon: I propose to [increase the usage of augmented assignment statements](https://docs.python.org/3/reference/simple_stmts.html#augmented-assignment-statements "Augmented assignment statements") accordingly....

I would like to point out that identifiers like “[`_QX_ENABLE_MONGODB`](https://github.com/QxOrm/QxOrm/blob/2575415c1d464e060fba2b3796255bd7565d9b89/include/QxOrm.h#L133 "Update candidate")” and “[`_QX_MODEL_VIEW_H_`](https://github.com/QxOrm/QxOrm/blob/2575415c1d464e060fba2b3796255bd7565d9b89/include/QxModelView.h#L32 "Another update candidate")” [do eventually not fit](https://www.securecoding.cert.org/confluence/display/cplusplus/DCL51-CPP.+Do+not+declare+or+define+a+reserved+identifier "Do not declare an identifier which is reserved for...

[An extra null pointer check is not needed in functions](https://isocpp.org/wiki/faq/freestore-mgmt#delete-handles-null "Do I need to check for null before delete p?") like the following. - [CTestAll::terminate](https://github.com/QxOrm/QxOrm/blob/c7300246a6e7b34df3551c598e11e9782d7d0d0f/test/qxDllSample/dll2/src/CTestAll.cpp#L45 "CTestAll::terminate function") - [CUser](https://github.com/QxOrm/QxOrm/blob/ef57b5e73fd655e603dbfe6e53937e620585075a/test/qxDllSample/dll2/include/CUser.h#L34 "Destructor...

:eyes: Some source code analysis tools can help to find opportunities for improving software components. :thought_balloon: I propose to [increase the usage of combined operators](https://perldoc.perl.org/perlop#Assignment-Operators "Description for assignment operators") accordingly....