View Issue Details

IDProjectCategoryView StatusLast Update
0033024Open CASCADEOCCT:Codingpublic2024-04-06 14:09
ReporteramlAssigned Todpasukhi  
PrioritynormalSeverityintegration request 
Status assignedResolutionopen 
Product Version7.6.0 
Target VersionUnscheduled 
Summary0033024: Coding - collect and fix CppCheck issues
DescriptionCppCheck is well-known and well-endorsed tool for static analysis. Unfortunately, CppCheck is not included in OCCT's production workflow, although it provides us with essential suggestions on code improvements.

This ticket is aimed at collecting execution profile. No actual job should be done within it, actual modifications should be done one by one in child issues.

The proposed workflow is as following:
1. Collect profile and attach it this ticket.
2. Combine issues into groups.
3. Check fixing necessity for each group.
4. Create a child issue for individual group processing.
Steps To ReproduceN/A
TagsNo tags attached.
Test case number

Attached Files

  • 33024.xlsx (1,620,697 bytes)

Relationships

parent of 0033033 newalukin Coding - collect and fix CppCheck issues - errors 
parent of 0033035 newalukin Coding - collect and fix CppCheck issues - warnings 
parent of 0033036 newalukin Coding - collect and fix CppCheck issues - style 
parent of 0033037 newalukin Coding - collect and fix CppCheck issues - portability 
parent of 0033038 newalukin Coding - collect and fix CppCheck issues - performance 
parent of 0033048 closedaml Foundation Classes - math_ComputeKronrodPointsAndWeights indexation goes beyond the limit 
Not all the children of this issue are yet resolved or closed.

Activities

alukin

2022-06-27 10:32

developer   ~0109270

Last edited: 2022-06-27 20:42

cppcheck result on OCCT revision: 63fa56bc83f2f366068fd2e67fce3ea4ff0c5ee3

Priority of tasks (33024.xlsx Sheet tab):
1. error (https://tracker.dev.opencascade.org/view.php?id=33033)
2. warning (https://tracker.dev.opencascade.org/view.php?id=33035)
3. style (https://tracker.dev.opencascade.org/view.php?id=33036)
4. portability (https://tracker.dev.opencascade.org/view.php?id=33037)
5. performance (https://tracker.dev.opencascade.org/view.php?id=33038)

aml

2022-06-27 14:28

developer   ~0109274

@alukin, why did you collect log for outdated version? (01st of April). It should be done for the latest development verison.

alukin

2022-06-27 20:16

developer   ~0109295

33024.xlsx (1,620,697 bytes)

alukin

2022-06-30 13:58

developer   ~0109420

Full cppcheck result is here \\MASTER\Projects\OCCT\Issue33024\33024-cppcheck.zip

Issue History

Date Modified Username Field Change
2022-06-22 12:34 aml New Issue
2022-06-22 12:34 aml Assigned To => aml
2022-06-22 12:35 aml Assigned To aml => alukin
2022-06-24 19:57 kgv Status new => assigned
2022-06-27 10:32 alukin Note Added: 0109270
2022-06-27 10:32 alukin File Added: cppcheck-results.zip
2022-06-27 12:18 alukin File Deleted: cppcheck-results.zip
2022-06-27 12:19 alukin Note Edited: 0109270
2022-06-27 14:28 aml Note Added: 0109274
2022-06-27 14:37 alukin Relationship added child of 0033033
2022-06-27 15:22 alukin Issue cloned: 0033035
2022-06-27 15:22 alukin Relationship added child of 0033035
2022-06-27 16:21 alukin Note Edited: 0109270
2022-06-27 16:44 alukin Issue cloned: 0033036
2022-06-27 16:45 alukin File Deleted: 33024.zip
2022-06-27 16:45 alukin Note Edited: 0109270
2022-06-27 16:51 alukin Relationship added child of 0033036
2022-06-27 16:52 alukin Note Edited: 0109270
2022-06-27 16:53 alukin Note Edited: 0109270
2022-06-27 16:55 alukin Issue cloned: 0033037
2022-06-27 16:55 alukin Relationship added child of 0033037
2022-06-27 16:57 alukin Issue cloned: 0033038
2022-06-27 16:57 alukin Relationship added child of 0033038
2022-06-27 16:58 alukin Note Edited: 0109270
2022-06-27 17:47 aml Description Updated
2022-06-27 20:16 alukin Note Added: 0109295
2022-06-27 20:16 alukin File Added: 33024.xlsx
2022-06-27 20:42 alukin Note Edited: 0109270
2022-06-28 08:59 azv Relationship deleted child of 0033033
2022-06-28 08:59 azv Relationship deleted child of 0033035
2022-06-28 08:59 azv Relationship deleted child of 0033036
2022-06-28 08:59 azv Relationship deleted child of 0033037
2022-06-28 08:59 azv Relationship deleted child of 0033038
2022-06-28 08:59 azv Relationship added parent of 0033033
2022-06-28 08:59 azv Relationship added parent of 0033035
2022-06-28 08:59 azv Relationship added parent of 0033036
2022-06-28 08:59 azv Relationship added parent of 0033037
2022-06-28 08:59 azv Relationship added parent of 0033038
2022-06-30 13:58 alukin Note Added: 0109420
2022-07-01 09:09 aml Relationship added parent of 0033048
2022-08-17 12:01 kgv Target Version 7.7.0 => 7.8.0
2023-08-01 15:06 dpasukhi Target Version 7.8.0 => Unscheduled
2024-04-06 14:09 dpasukhi Assigned To alukin => dpasukhi