LineIdSeverityMessage
missingIncludestyleCppcheck cannot find all the include files (use --check-config for details)
geom/AnalyticGeometryTool.cpp
237unusedFunctionstyleThe function 'transform_line' is never used.
412unusedFunctionstyleThe function 'add_origin_to_rotation_mtx' is never used.
436unusedFunctionstyleThe function 'identity_mtx' is never used.
710variableScopestyleThe scope of the variable 'c' can be reduced.
754variableScopestyleThe scope of the variable 'c' can be reduced.
808unusedFunctionstyleThe function 'inv_mtx_adj' is never used.
811variableScopestyleThe scope of the variable 'i1' can be reduced.
811variableScopestyleThe scope of the variable 'i2' can be reduced.
854variableScopestyleThe scope of the variable 'tmp_transf' can be reduced.
980unusedFunctionstyleThe function 'print_mtx' is never used.
1040unusedFunctionstyleThe function 'mirror_pnt' is never used.
1151variableScopestyleThe scope of the variable 'x' can be reduced.
1256variableScopestyleThe scope of the variable 'sinang' can be reduced.
1256variableScopestyleThe scope of the variable 'acrsb' can be reduced.
1257variableScopestyleThe scope of the variable 'crossed_vec' can be reduced.
1301unusedFunctionstyleThe function 'dist_pln_pln' is never used.
1310variableScopestyleThe scope of the variable 'int_pnt' can be reduced.
1311variableScopestyleThe scope of the variable 'vec' can be reduced.
1487unusedFunctionstyleThe function 'is_vecs_same_dir' is never used.
1498unusedFunctionstyleThe function 'is_pnt_on_ln' is never used.
1700unusedFunctionstyleThe function 'is_ln_on_pln' is never used.
1718unusedFunctionstyleThe function 'is_pln_on_pln' is never used.
1827unreadVariablestyleVariable 'cmin' is assigned a value that is never used.
1833variableScopestyleThe scope of the variable 'n' can be reduced.
2714unreadVariablestyleVariable 'minimal' is assigned a value that is never used.
3322redundantAssignmentstyleVariable 'volume' is reassigned a value before the old one has been used.
3323redundantAssignmentstyleVariable 'volume' is reassigned a value before the old one has been used.
3324redundantAssignmentstyleVariable 'volume' is reassigned a value before the old one has been used.
3335redundantAssignmentstyleVariable 'volume' is reassigned a value before the old one has been used.
3336redundantAssignmentstyleVariable 'volume' is reassigned a value before the old one has been used.
3337redundantAssignmentstyleVariable 'volume' is reassigned a value before the old one has been used.
3391variableScopestyleThe scope of the variable 'iMaxNorm' can be reduced.
3472unreadVariablestyleVariable 'iMaxNorm' is assigned a value that is never used.
3494unusedFunctionstyleThe function 'Tridiagonal2' is never used.
3540unusedFunctionstyleThe function 'Tridiagonal4' is never used.
3677unusedFunctionstyleThe function 'TridiagonalN' is never used.
3682variableScopestyleThe scope of the variable 'scale' can be reduced.
3810unusedFunctionstyleThe function 'DecreasingSort' is never used.
3837unusedFunctionstyleThe function 'IncreasingSort' is never used.
4129variableScopestyleThe scope of the variable 'scale' can be reduced.
4505variableScopestyleThe scope of the variable 'min0' can be reduced.
4505variableScopestyleThe scope of the variable 'min1' can be reduced.
4940unusedFunctionstyleThe function 'TestSegSeg' is never used.
4944variableScopestyleThe scope of the variable 'min0' can be reduced.
4944variableScopestyleThe scope of the variable 'min1' can be reduced.
5255variableScopestyleThe scope of the variable 'min0' can be reduced.
5255variableScopestyleThe scope of the variable 'min1' can be reduced.
5859variableScopestyleThe scope of the variable 'min0' can be reduced.
5859variableScopestyleThe scope of the variable 'min1' can be reduced.
6191unreadVariablestyleVariable 'area' is assigned a value that is never used.
geom/AnalyticGeometryTool.hpp
909noCopyConstructorstyle'class mgcEigenD' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
geom/AutoMidsurfaceTool.cpp
801unusedFunctionstyleThe function 'curve_in_surface' is never used.
830unusedFunctionstyleThe function 'find_offset_pair_patches' is never used.
840unusedFunctionstyleThe function 'random_loc_on_surface' is never used.
geom/BasicTopologyEntity.cpp
71assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'get_basic_topology_entity_ptr'.
92assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'get_basic_topology_entity_ptr'.
115assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'next'.
294assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'next_on_bte'.
297assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'next_on_bte'.
640unusedFunctionstyleThe function 'remove_child_link' is never used.
geom/Body.cpp
143unusedFunctionstyleThe function 'get_mass_props' is never used.
174variableScopestyleThe scope of the variable 'ref_volume_ptr' can be reduced.
geom/BoundingBoxTool.cpp
68unusedFunctionstyleThe function 'get_axis_bounding_box' is never used.
152variableScopestyleThe scope of the variable 'body_ptr' can be reduced.
177variableScopestyleThe scope of the variable 'vol_ptr' can be reduced.
202variableScopestyleThe scope of the variable 'ref_face_ptr' can be reduced.
283variableScopestyleThe scope of the variable 'num_pnts' can be reduced.
326unusedFunctionstyleThe function 'get_corner_points' is never used.
434unusedFunctionstyleThe function 'get_use_triangles' is never used.
437unusedFunctionstyleThe function 'set_use_triangles' is never used.
440unusedFunctionstyleThe function 'get_use_curves' is never used.
443unusedFunctionstyleThe function 'set_use_curves' is never used.
446unusedFunctionstyleThe function 'get_use_vertices' is never used.
449unusedFunctionstyleThe function 'set_use_vertices' is never used.
geom/BridgeManager.cpp
32postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
116postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
140postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
156cstyleCaststyleC-style pointer casting
166postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
181postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
194postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
207postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
geom/CAEntityId.cpp
64assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'start_vertex'.
64assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'end_vertex'.
geom/CAGroup.cpp
359cstyleCaststyleC-style pointer casting
geom/CAMergePartner.cpp
166variableScopestyleThe scope of the variable 'keeper' can be reduced.
256incorrectLogicOperatorstyleLogical disjunction always evaluates to true: !bte_ptr)||bte_ptr.
geom/CASourceFeature.cpp
54cstyleCaststyleC-style pointer casting
79cstyleCaststyleC-style pointer casting
geom/CAUniqueId.cpp
49cstyleCaststyleC-style pointer casting
86unreadVariablestyleVariable 'uid' is assigned a value that is never used.
103cstyleCaststyleC-style pointer casting
geom/CGMApp.cpp
247unusedFunctionstyleThe function 'save_current_attribute_states' is never used.
279unusedFunctionstyleThe function 'restore_previous_attribute_states' is never used.
geom/CGMEngineDynamicLoader.cpp
35unusedFunctionstyleThe function 'get_engine_name' is never used.
40unusedFunctionstyleThe function 'get_library_base_name' is never used.
45unusedFunctionstyleThe function 'set_library_base_name' is never used.
54unusedFunctionstyleThe function 'engine_exists' is never used.
229unusedFunctionstyleThe function 'get_gme' is never used.
geom/CGMHistory.cpp
46useInitializationListstyleVariable 'entities' is assigned in constructor body. Consider performing initialization in initialization list.
53unusedFunctionstyleThe function 'get_event_type' is never used.
63unusedFunctionstyleThe function 'start_tracking' is never used.
68unusedFunctionstyleThe function 'end_tracking' is never used.
73unusedFunctionstyleThe function 'is_tracking' is never used.
78unusedFunctionstyleThe function 'get_number_of_events' is never used.
83unusedFunctionstyleThe function 'get_event' is never used.
113unusedFunctionstyleThe function 'print_port_events' is never used.
117postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
geom/Cholla/BoundaryConstrainTool.cpp
25uninitMemberVarstyleMember variable 'BoundaryConstrainTool::facetList' is not initialized in the constructor.
25uninitMemberVarstyleMember variable 'BoundaryConstrainTool::zeroTol' is not initialized in the constructor.
40uninitMemberVarstyleMember variable 'BoundaryConstrainTool::facetList' is not initialized in the constructor.
40uninitMemberVarstyleMember variable 'BoundaryConstrainTool::zeroTol' is not initialized in the constructor.
120variableScopestyleThe scope of the variable 'edge_ptr' can be reduced.
121variableScopestyleThe scope of the variable 'swap_stat' can be reduced.
geom/Cholla/Cholla.cpp
103redundantAssignmentstyleVariable 'stat' is reassigned a value before the old one has been used.
108memleakerrorMemory leak: point_array
108memleakerrorMemory leak: edge_array
108memleakerrorMemory leak: facet_array
108memleakerrorMemory leak: qfacet_array
185variableScopestyleThe scope of the variable 'qfacet_ptr' can be reduced.
222unusedFunctionstyleThe function 'constructTriNormals' is never used.
241redundantAssignmentstyleVariable 'stat' is reassigned a value before the old one has been used.
246memleakerrorMemory leak: point_array
246memleakerrorMemory leak: edge_array
246memleakerrorMemory leak: facet_array
348nullPointererrorPossible null pointer dereference: qfacet_array
349nullPointererrorPossible null pointer dereference: qfacet_array
366unusedFunctionstyleThe function 'constructQuadNormals' is never used.
385redundantAssignmentstyleVariable 'stat' is reassigned a value before the old one has been used.
390memleakerrorMemory leak: point_array
390memleakerrorMemory leak: edge_array
390memleakerrorMemory leak: qfacet_array
449nullPointererrorPossible null pointer dereference: fp
450nullPointererrorPossible null pointer dereference: fp
451nullPointererrorPossible null pointer dereference: fp
452nullPointererrorPossible null pointer dereference: fp
453nullPointererrorPossible null pointer dereference: fp
474nullPointererrorPossible null pointer dereference: fp
542variableScopestyleThe scope of the variable 'x' can be reduced.
542variableScopestyleThe scope of the variable 'y' can be reduced.
542variableScopestyleThe scope of the variable 'z' can be reduced.
550cstyleCaststyleC-style pointer casting
556variableScopestyleThe scope of the variable 'ip' can be reduced.
556variableScopestyleThe scope of the variable 'jp' can be reduced.
562cstyleCaststyleC-style pointer casting
582cstyleCaststyleC-style pointer casting
599cstyleCaststyleC-style pointer casting
628unusedFunctionstyleThe function 'evalBezierFace' is never used.
657redundantAssignmentstyleVariable 'stat' is reassigned a value before the old one has been used.
662memleakerrorMemory leak: point_array
662memleakerrorMemory leak: edge_array
662memleakerrorMemory leak: facet_array
662memleakerrorMemory leak: qfacet_array
668variableScopestyleThe scope of the variable 'edge_ptr' can be reduced.
809unusedFunctionstyleThe function 'evalBezierFaceFromNorms' is never used.
837redundantAssignmentstyleVariable 'stat' is reassigned a value before the old one has been used.
842memleakerrorMemory leak: point_array
842memleakerrorMemory leak: edge_array
842memleakerrorMemory leak: facet_array
842memleakerrorMemory leak: qfacet_array
913nullPointererrorPossible null pointer dereference: fp
914nullPointererrorPossible null pointer dereference: fp
915nullPointererrorPossible null pointer dereference: fp
916nullPointererrorPossible null pointer dereference: fp
917nullPointererrorPossible null pointer dereference: fp
922nullPointererrorPossible null pointer dereference: fp
1048unusedFunctionstyleThe function 'projToBezierFace' is never used.
1078redundantAssignmentstyleVariable 'stat' is reassigned a value before the old one has been used.
1083memleakerrorMemory leak: point_array
1083memleakerrorMemory leak: edge_array
1083memleakerrorMemory leak: facet_array
1083memleakerrorMemory leak: qfacet_array
1117variableScopestyleThe scope of the variable 'facet_ptr' can be reduced.
1127variableScopestyleThe scope of the variable 'qfacet_ptr' can be reduced.
1208unusedFunctionstyleThe function 'projToBezierFaceFromNorms' is never used.
1237redundantAssignmentstyleVariable 'stat' is reassigned a value before the old one has been used.
1242memleakerrorMemory leak: point_array
1242memleakerrorMemory leak: edge_array
1242memleakerrorMemory leak: facet_array
1242memleakerrorMemory leak: qfacet_array
1615invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
1620invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
1632invalidscanfstylescanf without field width limits can crash with huge input data.
1642invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
1654invalidscanfstylescanf without field width limits can crash with huge input data.
1663invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
1676invalidscanfstylescanf without field width limits can crash with huge input data.
1685invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
1697invalidscanfstylescanf without field width limits can crash with huge input data.
1706invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
1715nullPointerstylePossible null pointer dereference: numTri - otherwise it is redundant to check it against null.
1717nullPointerstylePossible null pointer dereference: numQuad - otherwise it is redundant to check it against null.
1727invalidscanfstylescanf without field width limits can crash with huge input data.
1736invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
1748invalidscanfstylescanf without field width limits can crash with huge input data.
1757invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
1769invalidscanfstylescanf without field width limits can crash with huge input data.
1778invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
1799unusedFunctionstyleThe function 'importResults' is never used.
1823invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
1834nullPointerstylePossible null pointer dereference: numTri - otherwise it is redundant to check it against null.
1836nullPointerstylePossible null pointer dereference: numQuad - otherwise it is redundant to check it against null.
1847invalidscanfstylescanf without field width limits can crash with huge input data.
1856invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
1868invalidscanfstylescanf without field width limits can crash with huge input data.
1877invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
1889invalidscanfstylescanf without field width limits can crash with huge input data.
1898invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
1934obsoleteFunctionsasctimestyleObsolete function 'asctime' called. It is recommended to use the function 'strftime' instead.
1960redundantAssignmentstyleVariable 'stat' is reassigned a value before the old one has been used.
1965memleakerrorMemory leak: point_array
1965memleakerrorMemory leak: edge_array
2023unusedFunctionstyleThe function 'evalBezierEdgeFromTans' is never used.
2038redundantAssignmentstyleVariable 'stat' is reassigned a value before the old one has been used.
2043memleakerrorMemory leak: point_array
2043memleakerrorMemory leak: edge_array
2075nullPointererrorPossible null pointer dereference: fp
2076nullPointererrorPossible null pointer dereference: fp
2077nullPointererrorPossible null pointer dereference: fp
2078nullPointererrorPossible null pointer dereference: fp
2079nullPointererrorPossible null pointer dereference: fp
2084nullPointererrorPossible null pointer dereference: fp
2131unusedFunctionstyleThe function 'projToBezierEdgeFromTans' is never used.
2146redundantAssignmentstyleVariable 'stat' is reassigned a value before the old one has been used.
2151memleakerrorMemory leak: point_array
2151memleakerrorMemory leak: edge_array
2340redundantAssignmentstyleVariable 'stat' is reassigned a value before the old one has been used.
2345memleakerrorMemory leak: point_array
2345memleakerrorMemory leak: edge_array
2512unusedFunctionstyleThe function 'constructQuadNormalsFromFile' is never used.
2528redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
2578unusedFunctionstyleThe function 'constructTriNormalsFromFile' is never used.
2594redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
3114invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
3163invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
3165invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
3190invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
3209invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
3229invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
3251invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
geom/Cholla/ChollaCurve.cpp
29uninitMemberVarstyleMember variable 'ChollaCurve::flag' is not initialized in the constructor.
55variableScopestyleThe scope of the variable 'td' can be reduced.
56variableScopestyleThe scope of the variable 'edge_ptr' can be reduced.
147cstyleCaststyleC-style pointer casting
183variableScopestyleThe scope of the variable 'edge_ptr' can be reduced.
205cstyleCaststyleC-style pointer casting
360assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'point'.
361assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'point'.
394variableScopestyleThe scope of the variable 'periodic' can be reduced.
466assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'point'.
467assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'point'.
508variableScopestyleThe scope of the variable 'edge' can be reduced.
509variableScopestyleThe scope of the variable 'fent' can be reduced.
528unusedFunctionstyleThe function 'adj_facet_edges' is never used.
629variableScopestyleThe scope of the variable 'node0_ptr' can be reduced.
629variableScopestyleThe scope of the variable 'node1_ptr' can be reduced.
634cstyleCaststyleC-style pointer casting
684cstyleCaststyleC-style pointer casting
699unusedFunctionstyleThe function 'build_curve_facet_eval_tool' is never used.
921unusedFunctionstyleThe function 'disassociate_from_points' is never used.
948unusedFunctionstyleThe function 'disassociate_from_surfaces' is never used.
969unusedFunctionstyleThe function 'insert_facet' is never used.
977unusedFunctionstyleThe function 'is_contain' is never used.
1039variableScopestyleThe scope of the variable 'fe_ptr' can be reduced.
geom/Cholla/ChollaEngine.cpp
56useInitializationListstyleVariable 'faceList' is assigned in constructor body. Consider performing initialization in initialization list.
57useInitializationListstyleVariable 'edgeList' is assigned in constructor body. Consider performing initialization in initialization list.
58useInitializationListstyleVariable 'pointList' is assigned in constructor body. Consider performing initialization in initialization list.
184variableScopestyleThe scope of the variable 'fe_tool_ptr' can be reduced.
193variableScopestyleThe scope of the variable 'ce_tool_ptr' can be reduced.
209unusedFunctionstyleThe function 'delete_eval_tools_but_not_facets' is never used.
215variableScopestyleThe scope of the variable 'fe_tool_ptr' can be reduced.
228variableScopestyleThe scope of the variable 'ce_tool_ptr' can be reduced.
378variableScopestyleThe scope of the variable 'sfacet' can be reduced.
545variableScopestyleThe scope of the variable 'edge_ptr' can be reduced.
642variableScopestyleThe scope of the variable 'key' can be reduced.
644variableScopestyleThe scope of the variable 'fsm_list_ptr' can be reduced.
678variableScopestyleThe scope of the variable 'j' can be reduced.
843redundantAssignmentstyleVariable 'stat' is reassigned a value before the old one has been used.
955variableScopestyleThe scope of the variable 'key' can be reduced.
957variableScopestyleThe scope of the variable 'fcm_list_ptr' can be reduced.
991variableScopestyleThe scope of the variable 'j' can be reduced.
1015unusedFunctionstyleThe function 'facet_dimension' is never used.
1232unusedFunctionstyleThe function 'rebuild_surface_and_curve_eval_tools' is never used.
1503variableScopestyleThe scope of the variable 'facet_ptr' can be reduced.
1630unusedFunctionstyleThe function 'split_surface_at_edges' is never used.
1640variableScopestyleThe scope of the variable 'edge_ptr' can be reduced.
1644unreadVariablestyleVariable 'td_gm_edge' is assigned a value that is never used.
1850variableScopestyleThe scope of the variable 'partner_point_ptr' can be reduced.
1915variableScopestyleThe scope of the variable 'partner_edge_ptr' can be reduced.
2193variableScopestyleThe scope of the variable 'facet_ptr' can be reduced.
2229variableScopestyleThe scope of the variable 'point_ptr' can be reduced.
2358variableScopestyleThe scope of the variable 'td_point' can be reduced.
2869unusedFunctionstyleThe function 'mark_features' is never used.
2872variableScopestyleThe scope of the variable 'td_gm' can be reduced.
2873variableScopestyleThe scope of the variable 'curr_pt' can be reduced.
2897variableScopestyleThe scope of the variable 'curr_edge' can be reduced.
2943cstyleCaststyleC-style pointer casting
2956cstyleCaststyleC-style pointer casting
2969cstyleCaststyleC-style pointer casting
2977cstyleCaststyleC-style pointer casting
3001variableScopestyleThe scope of the variable 'x' can be reduced.
3001variableScopestyleThe scope of the variable 'y' can be reduced.
3001variableScopestyleThe scope of the variable 'z' can be reduced.
3008cstyleCaststyleC-style pointer casting
3013variableScopestyleThe scope of the variable 'step' can be reduced.
3038cstyleCaststyleC-style pointer casting
3080unusedFunctionstyleThe function 'collapse_curve' is never used.
3089variableScopestyleThe scope of the variable 'cholla_surface' can be reduced.
3182variableScopestyleThe scope of the variable 'cholla_curve' can be reduced.
3218variableScopestyleThe scope of the variable 'cholla_volume' can be reduced.
3229variableScopestyleThe scope of the variable 'cholla_curve' can be reduced.
3263unusedFunctionstyleThe function 'collapse_surface' is never used.
3277unusedFunctionstyleThe function 'remove_facet_entity' is never used.
3310postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
3327postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
3340unusedFunctionstyleThe function 'replace_facet_entity' is never used.
3343postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
3360postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
3428unusedFunctionstyleThe function 'create_point' is never used.
3444unusedFunctionstyleThe function 'disassociate_curve' is never used.
3461variableScopestyleThe scope of the variable 'ptr_ch_surf' can be reduced.
3487unusedFunctionstyleThe function 'detach_volumes' is never used.
3572postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
3577postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
3594postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
3600postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
3821postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
3956redundantAssignmentstyleVariable 'rv' is reassigned a value before the old one has been used.
4037cstyleCaststyleC-style pointer casting
4058unusedFunctionstyleThe function 'detach_facet_edges' is never used.
4069redundantAssignmentstyleVariable 'rv' is reassigned a value before the old one has been used.
4159cstyleCaststyleC-style pointer casting
4176cstyleCaststyleC-style pointer casting
4222cstyleCaststyleC-style pointer casting
4242cstyleCaststyleC-style pointer casting
4455unusedVariablestyleUnused variable: upper_iter
4477unusedVariablestyleUnused variable: upper_iter
4501unusedFunctionstyleThe function 'verify_points_to_curves' is never used.
4534postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
geom/Cholla/ChollaEngine.hpp
223unusedPrivateFunctionstyleUnused private function: 'ChollaEngine::facet_dimension'
363unusedPrivateFunctionstyleUnused private function: 'ChollaEngine::detach_facet_edges'
geom/Cholla/ChollaMesh.cpp
40unusedFunctionstyleThe function 'get_ids' is never used.
74unusedFunctionstyleThe function 'get_node_handle' is never used.
79unusedFunctionstyleThe function 'get_element_handle' is never used.
84unusedFunctionstyleThe function 'get_element_types' is never used.
106unusedFunctionstyleThe function 'get_element_dimensions' is never used.
129unusedFunctionstyleThe function 'get_element_length' is never used.
141unusedFunctionstyleThe function 'get_element_area' is never used.
154unusedFunctionstyleThe function 'get_element_normal' is never used.
169unusedFunctionstyleThe function 'get_element_centroid' is never used.
184unusedFunctionstyleThe function 'get_coords' is never used.
227variableScopestyleThe scope of the variable 'tri' can be reduced.
264unusedFunctionstyleThe function 'get_expanded_connectivity' is never used.
285unusedFunctionstyleThe function 'create_nodes' is never used.
299unusedFunctionstyleThe function 'create_elements' is never used.
339unusedFunctionstyleThe function 'delete_node' is never used.
351unusedFunctionstyleThe function 'delete_element' is never used.
363unusedFunctionstyleThe function 'reverse_element_connectivity' is never used.
382unusedFunctionstyleThe function 'find_element' is never used.
geom/Cholla/ChollaPoint.cpp
60variableScopestyleThe scope of the variable 'surf_list_ptr' can be reduced.
81variableScopestyleThe scope of the variable 'curv_ptr' can be reduced.
geom/Cholla/ChollaSkinTool.cpp
36unusedFunctionstyleThe function 'skin_1d' is never used.
geom/Cholla/ChollaSurface.cpp
51unusedFunctionstyleThe function 'check_faceting' is never used.
405variableScopestyleThe scope of the variable 'edge_ptr_tmp' can be reduced.
422variableScopestyleThe scope of the variable 'edge_ptr_tmp' can be reduced.
483variableScopestyleThe scope of the variable 'edge' can be reduced.
507variableScopestyleThe scope of the variable 'face_ptr' can be reduced.
604unusedFunctionstyleThe function 'init_hit_flags' is never used.
666variableScopestyleThe scope of the variable 'facet_entity' can be reduced.
703variableScopestyleThe scope of the variable 'facet_ptr' can be reduced.
704variableScopestyleThe scope of the variable 'fe_ptr' can be reduced.
748unusedFunctionstyleThe function 'get_loop_edges' is never used.
770unusedFunctionstyleThe function 'flip_facets' is never used.
772variableScopestyleThe scope of the variable 'facet_entity' can be reduced.
773variableScopestyleThe scope of the variable 'facet_ptr' can be reduced.
791variableScopestyleThe scope of the variable 'mychvol_ptr' can be reduced.
geom/Cholla/ChollaSurface.hpp
38unusedPrivateFunctionstyleUnused private function: 'ChollaSurface::check_faceting'
geom/Cholla/ChordalAxis.cpp
39uninitMemberVarstyleMember variable 'ChordalAxis::numBoundaryEdges' is not initialized in the constructor.
39uninitMemberVarstyleMember variable 'ChordalAxis::pruningAlpha' is not initialized in the constructor.
132unusedFunctionstyleThe function 'chordal_axis_transform' is never used.
138redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
607variableScopestyleThe scope of the variable 'tri_class' can be reduced.
673cstyleCaststyleC-style pointer casting
674cstyleCaststyleC-style pointer casting
676cstyleCaststyleC-style pointer casting
700variableScopestyleThe scope of the variable 'center_point' can be reduced.
701variableScopestyleThe scope of the variable 'segment3' can be reduced.
743cstyleCaststyleC-style pointer casting
744cstyleCaststyleC-style pointer casting
745cstyleCaststyleC-style pointer casting
757cstyleCaststyleC-style pointer casting
759cstyleCaststyleC-style pointer casting
760cstyleCaststyleC-style pointer casting
761cstyleCaststyleC-style pointer casting
773cstyleCaststyleC-style pointer casting
774cstyleCaststyleC-style pointer casting
777cstyleCaststyleC-style pointer casting
778cstyleCaststyleC-style pointer casting
781cstyleCaststyleC-style pointer casting
782cstyleCaststyleC-style pointer casting
geom/Cholla/ChordalAxis.hpp
95unusedPrivateFunctionstyleUnused private function: 'ChordalAxis::debug_draw_facet'
107unusedPrivateFunctionstyleUnused private function: 'ChordalAxis::print_point'
geom/Cholla/CubitFacet.cpp
200unusedFunctionstyleThe function 'evaluate_position' is never used.
227redundantAssignmentstyleVariable 'stat' is reassigned a value before the old one has been used.
334variableScopestyleThe scope of the variable 'k1' can be reduced.
334variableScopestyleThe scope of the variable 'k2' can be reduced.
334variableScopestyleThe scope of the variable 'k3' can be reduced.
501assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'contains'.
530assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'contains'.
563assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'contains'.
633unusedFunctionstyleThe function 'min_diagonal' is never used.
927variableScopestyleThe scope of the variable 'myedge' can be reduced.
1210assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'edge'.
1217assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'edge'.
1242unusedFunctionstyleThe function 'update_normal' is never used.
1248unusedFunctionstyleThe function 'unlink_from_children' is never used.
geom/Cholla/CubitFacetData.cpp
321assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'edge'.
337assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'edge'.
486cstyleCaststyleC-style pointer casting
619assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'point'.
707assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'edge_use'.
711assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'edge'.
711assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'point'.
712assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'edge'.
712assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'point'.
725assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'edge_use'.
729assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'edge'.
729assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'point'.
730assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'edge'.
730assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'point'.
geom/Cholla/CubitFacetEdge.cpp
620unusedFunctionstyleThe function 'proj_to_line' is never used.
836variableScopestyleThe scope of the variable 'adj_facet' can be reduced.
1082unusedFunctionstyleThe function 'add_facets' is never used.
1090variableScopestyleThe scope of the variable 'facet' can be reduced.
1099unusedFunctionstyleThe function 'angle_between_facets' is never used.
1208stlSizestylePossible inefficient checking for 'edge_set' emptiness.
1217postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
1229unusedFunctionstyleThe function 'find_start_point_for_edge_list' is never used.
geom/Cholla/CubitFacetEdgeData.cpp
192variableScopestyleThe scope of the variable 'facet' can be reduced.
geom/Cholla/CubitPoint.cpp
309variableScopestyleThe scope of the variable 'edge_ptr' can be reduced.
548variableScopestyleThe scope of the variable 'j' can be reduced.
622variableScopestyleThe scope of the variable 'facet' can be reduced.
727variableScopestyleThe scope of the variable 'edge_ptr' can be reduced.
geom/Cholla/CubitPointData.cpp
200variableScopestyleThe scope of the variable 'adj_facet' can be reduced.
201variableScopestyleThe scope of the variable 'afd' can be reduced.
310assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'edge'.
316assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'edge'.
330assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'num_adj_facets'.
360assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'point'.
371assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'num_adj_facets'.
375assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'num_adj_facets'.
geom/Cholla/CubitQuadFacet.cpp
68redundantAssignmentstyleVariable 'stat' is reassigned a value before the old one has been used.
127redundantAssignmentstyleVariable 'stat' is reassigned a value before the old one has been used.
147redundantAssignmentstyleVariable 'stat' is reassigned a value before the old one has been used.
geom/Cholla/CubitQuadFacetData.cpp
102cstyleCaststyleC-style pointer casting
geom/Cholla/CurveFacetEvalTool.cpp
150uninitMemberVarstyleMember variable 'CurveFacetEvalTool::interpOrder' is not initialized in the constructor.
150uninitMemberVarstyleMember variable 'CurveFacetEvalTool::surfFacetEvalTool' is not initialized in the constructor.
150uninitMemberVarstyleMember variable 'CurveFacetEvalTool::facetLength' is not initialized in the constructor.
150uninitMemberVarstyleMember variable 'CurveFacetEvalTool::output_id' is not initialized in the constructor.
584variableScopestyleThe scope of the variable 'x' can be reduced.
584variableScopestyleThe scope of the variable 'y' can be reduced.
584variableScopestyleThe scope of the variable 'z' can be reduced.
627variableScopestyleThe scope of the variable 'length' can be reduced.
1873variableScopestyleThe scope of the variable 'cf_edge' can be reduced.
2010variableScopestyleThe scope of the variable 'id' can be reduced.
2028variableScopestyleThe scope of the variable 'id' can be reduced.
2122variableScopestyleThe scope of the variable 'point_ptr' can be reduced.
geom/Cholla/FacetDataUtil.cpp
144variableScopestyleThe scope of the variable 'e_index' can be reduced.
318variableScopestyleThe scope of the variable 'pt' can be reduced.
449variableScopestyleThe scope of the variable 'the_point' can be reduced.
464variableScopestyleThe scope of the variable 'new_facet' can be reduced.
482variableScopestyleThe scope of the variable 'idx0' can be reduced.
482variableScopestyleThe scope of the variable 'idx1' can be reduced.
483variableScopestyleThe scope of the variable 'new_edge' can be reduced.
530cstyleCaststyleC-style pointer casting
701unreadVariablestyleVariable 'len' is assigned a value that is never used.
754variableScopestyleThe scope of the variable 'adjedge' can be reduced.
803cstyleCaststyleC-style pointer casting
804cstyleCaststyleC-style pointer casting
805cstyleCaststyleC-style pointer casting
826assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'num_adj_facets'.
828assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'num_adj_facets'.
846assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'num_adj_facets'.
855variableScopestyleThe scope of the variable 'point' can be reduced.
960unusedFunctionstyleThe function 'is_point_in_polyhedron' is never used.
1268variableScopestyleThe scope of the variable 'pt' can be reduced.
1277variableScopestyleThe scope of the variable 'facet' can be reduced.
1311variableScopestyleThe scope of the variable 'qfacet_ptr' can be reduced.
1410variableScopestyleThe scope of the variable 'facet_ptr' can be reduced.
1488redundantAssignmentstyleVariable 'rv' is reassigned a value before the old one has been used.
1510variableScopestyleThe scope of the variable 'shell_ptr' can be reduced.
1712assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'num_adj_facets'.
1738cstyleCaststyleC-style pointer casting
1855assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'num_adj_facets'.
1895variableScopestyleThe scope of the variable 'edge' can be reduced.
2110variableScopestyleThe scope of the variable 'edge_ptr' can be reduced.
2150assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'num_adj_facets'.
2196assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'num_adj_facets'.
2240variableScopestyleThe scope of the variable 'facet_ptr' can be reduced.
2264variableScopestyleThe scope of the variable 'edge_ptr' can be reduced.
2265variableScopestyleThe scope of the variable 'point_ptr' can be reduced.
2285unusedFunctionstyleThe function 'destruct_facet_no_delete' is never used.
2300variableScopestyleThe scope of the variable 'edge_ptr' can be reduced.
2301variableScopestyleThe scope of the variable 'point_ptr' can be reduced.
2413variableScopestyleThe scope of the variable 'x' can be reduced.
2413variableScopestyleThe scope of the variable 'y' can be reduced.
2413variableScopestyleThe scope of the variable 'z' can be reduced.
2651variableScopestyleThe scope of the variable 'facet_ptr' can be reduced.
2689variableScopestyleThe scope of the variable 'ptr_facet' can be reduced.
geom/Cholla/FacetEvalTool.cpp
134uninitMemberVarstyleMember variable 'FacetEvalTool::compareTol' is not initialized in the constructor.
134uninitMemberVarstyleMember variable 'FacetEvalTool::output_id' is not initialized in the constructor.
192variableScopestyleThe scope of the variable 'temp_facet' can be reduced.
209variableScopestyleThe scope of the variable 'temp_facet' can be reduced.
273variableScopestyleThe scope of the variable 'ii' can be reduced.
409variableScopestyleThe scope of the variable 'dx' can be reduced.
409variableScopestyleThe scope of the variable 'dy' can be reduced.
409variableScopestyleThe scope of the variable 'wjdx' can be reduced.
409variableScopestyleThe scope of the variable 'wjdy' can be reduced.
409variableScopestyleThe scope of the variable 'dx2' can be reduced.
409variableScopestyleThe scope of the variable 'dy2' can be reduced.
409variableScopestyleThe scope of the variable 'dxdy' can be reduced.
409variableScopestyleThe scope of the variable 'dz' can be reduced.
500variableScopestyleThe scope of the variable 'cur_point' can be reduced.
627variableScopestyleThe scope of the variable 'best_index' can be reduced.
706variableScopestyleThe scope of the variable 'point' can be reduced.
728variableScopestyleThe scope of the variable 'edge' can be reduced.
730redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
750variableScopestyleThe scope of the variable 'facet' can be reduced.
852unreadVariablestyleVariable 'Wi' is assigned a value that is never used.
905redundantAssignmentstyleVariable 'stat' is reassigned a value before the old one has been used.
953variableScopestyleThe scope of the variable 'denom' can be reduced.
978duplicateExpressionstyleSame expression on both sides of '%'.
989duplicateExpressionstyleSame expression on both sides of '%'.
1412variableScopestyleThe scope of the variable 'mag' can be reduced.
1412variableScopestyleThe scope of the variable 'distnew' can be reduced.
1412variableScopestyleThe scope of the variable 'movedist' can be reduced.
1851variableScopestyleThe scope of the variable 'edge_ptr' can be reduced.
1877variableScopestyleThe scope of the variable 'facet_ptr' can be reduced.
2165variableScopestyleThe scope of the variable 'calls' can be reduced.
2166variableScopestyleThe scope of the variable 'nncheck' can be reduced.
3585cstyleCaststyleC-style pointer casting
3831unusedFunctionstyleThe function 'debug_draw_bezier_facets' is never used.
4004unusedFunctionstyleThe function 'write_loops' is never used.
4034variableScopestyleThe scope of the variable 'facet' can be reduced.
4047variableScopestyleThe scope of the variable 'edge' can be reduced.
4088variableScopestyleThe scope of the variable 'facet' can be reduced.
4101unusedFunctionstyleThe function 'parameterize' is never used.
4131variableScopestyleThe scope of the variable 'facet' can be reduced.
4177nullPointererrorPossible null pointer dereference: uv
4182nullPointererrorPossible null pointer dereference: uv
4185nullPointererrorPossible null pointer dereference: uv
4191nullPointererrorPossible null pointer dereference: uv
4430variableScopestyleThe scope of the variable 'id' can be reduced.
4453variableScopestyleThe scope of the variable 'id' can be reduced.
4475variableScopestyleThe scope of the variable 'id' can be reduced.
geom/Cholla/FacetorTool.cpp
47uninitMemberVarstyleMember variable 'FacetorTool::facetList' is not initialized in the constructor.
47uninitMemberVarstyleMember variable 'FacetorTool::facetList' is not initialized in the constructor.
317variableScopestyleThe scope of the variable 'point_ptr' can be reduced.
378variableScopestyleThe scope of the variable 'edge_ptr' can be reduced.
451redundantAssignmentstyleVariable 'rv' is reassigned a value before the old one has been used.
471variableScopestyleThe scope of the variable 'tri_ptr' can be reduced.
511variableScopestyleThe scope of the variable 'edge_ptr' can be reduced.
512variableScopestyleThe scope of the variable 'adjtri' can be reduced.
598variableScopestyleThe scope of the variable 'tri_ptr' can be reduced.
698variableScopestyleThe scope of the variable 'edge_ptr' can be reduced.
geom/Cholla/FacetorUtil.cpp
51variableScopestyleThe scope of the variable 'aa' can be reduced.
51variableScopestyleThe scope of the variable 'bb' can be reduced.
51variableScopestyleThe scope of the variable 'cc' can be reduced.
125variableScopestyleThe scope of the variable 'aa' can be reduced.
125variableScopestyleThe scope of the variable 'bb' can be reduced.
125variableScopestyleThe scope of the variable 'cc' can be reduced.
313variableScopestyleThe scope of the variable 'adjtri_ptr' can be reduced.
351redundantAssignmentstyleVariable 'rv' is reassigned a value before the old one has been used.
368variableScopestyleThe scope of the variable 'adjtri_ptr' can be reduced.
573redundantAssignmentstyleVariable 'rv' is reassigned a value before the old one has been used.
623cstyleCaststyleC-style pointer casting
624cstyleCaststyleC-style pointer casting
625cstyleCaststyleC-style pointer casting
628cstyleCaststyleC-style pointer casting
902variableScopestyleThe scope of the variable 'index' can be reduced.
geom/Cholla/GeoNode.cpp
49unusedFunctionstyleThe function 'edge_between' is never used.
52variableScopestyleThe scope of the variable 'gtet_ptr' can be reduced.
68unusedFunctionstyleThe function 'face_between' is never used.
71variableScopestyleThe scope of the variable 'gtet_ptr' can be reduced.
89unusedFunctionstyleThe function 'tets_at_edge' is never used.
94variableScopestyleThe scope of the variable 'gtet_ptr' can be reduced.
geom/Cholla/GeoTet.cpp
181unusedFunctionstyleThe function 'dgtet' is never used.
193unusedFunctionstyleThe function 'dgnode' is never used.
geom/Cholla/LoopParamTool.cpp
34uninitMemberVarstyleMember variable 'LoopParamTool::a' is not initialized in the constructor.
34uninitMemberVarstyleMember variable 'LoopParamTool::b' is not initialized in the constructor.
34uninitMemberVarstyleMember variable 'LoopParamTool::c' is not initialized in the constructor.
34uninitMemberVarstyleMember variable 'LoopParamTool::d' is not initialized in the constructor.
53unusedFunctionstyleThe function 'set_up_space' is never used.
163variableScopestyleThe scope of the variable 'big' can be reduced.
163variableScopestyleThe scope of the variable 'pivinv' can be reduced.
236variableScopestyleThe scope of the variable 'flag' can be reduced.
237variableScopestyleThe scope of the variable 'largest_dd' can be reduced.
314variableScopestyleThe scope of the variable 'p2x' can be reduced.
314variableScopestyleThe scope of the variable 'p2y' can be reduced.
314variableScopestyleThe scope of the variable 'p2z' can be reduced.
397unusedFunctionstyleThe function 'transform_to_uv' is never used.
444unusedFunctionstyleThe function 'transform_to_xyz_local' is never used.
483redundantAssignmentstyleVariable 'ret_value' is reassigned a value before the old one has been used.
693unusedFunctionstyleThe function 'double_equal' is never used.
geom/Cholla/PointGridSearch.cpp
245unusedFunctionstyleThe function 'change_cell' is never used.
270unusedFunctionstyleThe function 'in_grid' is never used.
363unusedFunctionstyleThe function 'set_neighborhood_bounds_max_edge' is never used.
535unusedFunctionstyleThe function 'get_neighborhood_points_sorted' is never used.
584unusedFunctionstyleThe function 'get_neighborhood_facets' is never used.
622unusedFunctionstyleThe function 'fraction_empty_cells' is never used.
634unusedFunctionstyleThe function 'average_points_per_occupied_cell' is never used.
651unusedFunctionstyleThe function 'total_points_in_grid_cells' is never used.
geom/Cholla/PointGridSearch.hpp
45noCopyConstructorstyle'class PointGridSearch' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
geom/Cholla/PointLoopFacetor.cpp
23unusedFunctionstyleThe function 'generate_facets' is never used.
42variableScopestyleThe scope of the variable 'td' can be reduced.
45variableScopestyleThe scope of the variable 'curr_list' can be reduced.
99memleakerrorMemory leak: start_nodes
99memleakerrorMemory leak: end_nodes
116variableScopestyleThe scope of the variable 'td' can be reduced.
134variableScopestyleThe scope of the variable 'facet' can be reduced.
geom/Cholla/TDDelaunay.hpp
18noConstructorstyleThe class 'TDDelaunay' does not have a constructor.
18noConstructorstyleThe class 'TDDelaunay' does not have a constructor.
geom/Cholla/TDFacetBoundaryEdge.cpp
110variableScopestyleThe scope of the variable 'bed_ptr' can be reduced.
361variableScopestyleThe scope of the variable 'bed_ptr' can be reduced.
553unusedFunctionstyleThe function 'next_feature_edge' is never used.
592variableScopestyleThe scope of the variable 'bed_ptr' can be reduced.
geom/Cholla/TDFacetBoundaryPoint.cpp
18uninitMemberVarstyleMember variable 'TDFacetBoundaryPoint::pointPtr' is not initialized in the constructor.
319variableScopestyleThe scope of the variable 'bpd_ptr' can be reduced.
379variableScopestyleThe scope of the variable 'angle' can be reduced.
471variableScopestyleThe scope of the variable 'bpd_ptr' can be reduced.
674variableScopestyleThe scope of the variable 'bpd_ptr' can be reduced.
696variableScopestyleThe scope of the variable 'bpd_ptr' can be reduced.
728variableScopestyleThe scope of the variable 'numfacs' can be reduced.
768cstyleCaststyleC-style pointer casting
790variableScopestyleThe scope of the variable 'bpd_ptr' can be reduced.
792variableScopestyleThe scope of the variable 'numfacs' can be reduced.
geom/Cholla/TDFacetboolData.cpp
11uninitMemberVarstyleMember variable 'TDFacetboolData::surfaceIndex' is not initialized in the constructor.
11uninitMemberVarstyleMember variable 'TDFacetboolData::edgeIndex' is not initialized in the constructor.
11uninitMemberVarstyleMember variable 'TDFacetboolData::body_1_flag' is not initialized in the constructor.
28cstyleCaststyleC-style pointer casting
50cstyleCaststyleC-style pointer casting
geom/Cholla/TDGeomFacet.cpp
39cstyleCaststyleC-style pointer casting
51cstyleCaststyleC-style pointer casting
62cstyleCaststyleC-style pointer casting
73cstyleCaststyleC-style pointer casting
86cstyleCaststyleC-style pointer casting
95cstyleCaststyleC-style pointer casting
104cstyleCaststyleC-style pointer casting
113cstyleCaststyleC-style pointer casting
124cstyleCaststyleC-style pointer casting
134cstyleCaststyleC-style pointer casting
144cstyleCaststyleC-style pointer casting
151unusedFunctionstyleThe function 'add_cholla_owner' is never used.
188cstyleCaststyleC-style pointer casting
197cstyleCaststyleC-style pointer casting
228unusedFunctionstyleThe function 'reset_TD_as_new' is never used.
244unusedFunctionstyleThe function 'geo_type' is never used.
geom/Cholla/TetFacetorTool.cpp
82uninitMemberVarstyleMember variable 'TetFacetorTool::lastTet' is not initialized in the constructor.
82uninitMemberVarstyleMember variable 'TetFacetorTool::tetVisited' is not initialized in the constructor.
82uninitMemberVarstyleMember variable 'TetFacetorTool::csTol' is not initialized in the constructor.
82uninitMemberVarstyleMember variable 'TetFacetorTool::boxNodes' is not initialized in the constructor.
82uninitMemberVarstyleMember variable 'TetFacetorTool::lastTet' is not initialized in the constructor.
82uninitMemberVarstyleMember variable 'TetFacetorTool::tetVisited' is not initialized in the constructor.
82uninitMemberVarstyleMember variable 'TetFacetorTool::csTol' is not initialized in the constructor.
82uninitMemberVarstyleMember variable 'TetFacetorTool::boxNodes' is not initialized in the constructor.
169variableScopestyleThe scope of the variable 'tet_ptr' can be reduced.
171variableScopestyleThe scope of the variable 'found' can be reduced.
339variableScopestyleThe scope of the variable 'new_tet' can be reduced.
367variableScopestyleThe scope of the variable 'found' can be reduced.
537cstyleCaststyleC-style pointer casting
538cstyleCaststyleC-style pointer casting
539cstyleCaststyleC-style pointer casting
540cstyleCaststyleC-style pointer casting
596cstyleCaststyleC-style pointer casting
597cstyleCaststyleC-style pointer casting
598cstyleCaststyleC-style pointer casting
599cstyleCaststyleC-style pointer casting
740variableScopestyleThe scope of the variable 'volcoord_A' can be reduced.
740variableScopestyleThe scope of the variable 'volcoord_B' can be reduced.
740variableScopestyleThe scope of the variable 'volcoord_C' can be reduced.
740variableScopestyleThe scope of the variable 'volcoord_D' can be reduced.
740variableScopestyleThe scope of the variable 'vol' can be reduced.
827cstyleCaststyleC-style pointer casting
833cstyleCaststyleC-style pointer casting
839cstyleCaststyleC-style pointer casting
843cstyleCaststyleC-style pointer casting
1026cstyleCaststyleC-style pointer casting
1027cstyleCaststyleC-style pointer casting
1028cstyleCaststyleC-style pointer casting
1029cstyleCaststyleC-style pointer casting
1166invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
1184variableScopestyleThe scope of the variable 'new_node' can be reduced.
1195invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
1204cstyleCaststyleC-style pointer casting
geom/Cholla/debug.cpp
18unusedFunctionstyleThe function 'ddraw' is never used.
51unusedFunctionstyleThe function 'dsurfdraw' is never used.
61variableScopestyleThe scope of the variable 'facet_ptr' can be reduced.
72variableScopestyleThe scope of the variable 'facet_ptr' can be reduced.
83variableScopestyleThe scope of the variable 'edge_ptr' can be reduced.
94variableScopestyleThe scope of the variable 'point_ptr' can be reduced.
103unusedFunctionstyleThe function 'dflcheck' is never used.
115unusedFunctionstyleThe function 'dcheck' is never used.
121cstyleCaststyleC-style pointer casting
geom/CoEdge.cpp
161unusedFunctionstyleThe function 'switch_child_notify' is never used.
geom/CubitAttrib.cpp
47variableScopestyleThe scope of the variable 'ref_ent' can be reduced.
121unusedFunctionstyleThe function 'equivalent' is never used.
geom/CubitAttribManager.cpp
233unusedFunctionstyleThe function 'set_all_auto_actuate_flags' is never used.
265unusedFunctionstyleThe function 'set_all_auto_update_flags' is never used.
291unusedFunctionstyleThe function 'set_all_auto_write_flags' is never used.
317unusedFunctionstyleThe function 'set_all_auto_read_flags' is never used.
512unusedFunctionstyleThe function 'att_name' is never used.
geom/CubitAttribUser.cpp
313variableScopestyleThe scope of the variable 'attrib' can be reduced.
518variableScopestyleThe scope of the variable 'ref_ent' can be reduced.
560variableScopestyleThe scope of the variable 'attrib' can be reduced.
943unusedFunctionstyleThe function 'read_cubit_attrib' is never used.
1023unusedFunctionstyleThe function 'num_cubit_attrib' is never used.
geom/CubitCompat.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'PROE' since the value of 'PROE' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
geom/CubitPolygon.cpp
55unusedFunctionstyleThe function 'pnt_containment' is never used.
79variableScopestyleThe scope of the variable 'start_pnt' can be reduced.
79variableScopestyleThe scope of the variable 'end_pnt' can be reduced.
123unusedFunctionstyleThe function 'centroid_area' is never used.
131variableScopestyleThe scope of the variable 'ai' can be reduced.
133variableScopestyleThe scope of the variable 'p2' can be reduced.
geom/CubitSimpleAttrib.cpp
29passedByValuestyleFunction parameter 'new_character_type' should be passed by reference.
30passedByValuestyleFunction parameter 'new_string_data' should be passed by reference.
31passedByValuestyleFunction parameter 'new_more_string_data' should be passed by reference.
64useInitializationListstyleVariable 'stringDataList' is assigned in constructor body. Consider performing initialization in initialization list.
65useInitializationListstyleVariable 'doubleDataList' is assigned in constructor body. Consider performing initialization in initialization list.
66useInitializationListstyleVariable 'intDataList' is assigned in constructor body. Consider performing initialization in initialization list.
geom/CubitSimpleAttrib.hpp
44passedByValuestyleFunction parameter 'new_character_type' should be passed by reference.
45passedByValuestyleFunction parameter 'new_string_data' should be passed by reference.
46passedByValuestyleFunction parameter 'new_more_string_data' should be passed by reference.
geom/Curve.hpp
442redundantAssignmentstyleVariable 'result' is reassigned a value before the old one has been used.
geom/CylinderEvaluator.cpp
37useInitializationListstyleVariable 'mEvalData' is assigned in constructor body. Consider performing initialization in initialization list.
geom/DAG.cpp
130variableScopestyleThe scope of the variable 'tempDAGNode' can be reduced.
135redundantAssignmentstyleVariable 'tempDAGNode' is reassigned a value before the old one has been used.
geom/DagDrawingTool.cpp
46unusedFunctionstyleThe function 'one_sort_pass' is never used.
51variableScopestyleThe scope of the variable 'cur_row_len' can be reduced.
122unusedFunctionstyleThe function 'sort_row' is never used.
690uninitMemberVarstyleMember variable 'DLT_IdTable::ME_ptrs_' is not initialized in the constructor.
geom/DagDrawingTool.hpp
25noCopyConstructorstyle'class DagNodeRow' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
geom/GeomMeasureTool.cpp
53variableScopestyleThe scope of the variable 'entity_ptr' can be reduced.
56variableScopestyleThe scope of the variable 'topo_ent' can be reduced.
80unusedFunctionstyleThe function 'get_bodies_from_list' is never used.
85variableScopestyleThe scope of the variable 'entity_ptr' can be reduced.
88variableScopestyleThe scope of the variable 'topo_ent' can be reduced.
117variableScopestyleThe scope of the variable 'entity_ptr' can be reduced.
120variableScopestyleThe scope of the variable 'topo_ent' can be reduced.
146variableScopestyleThe scope of the variable 'entity_ptr' can be reduced.
149variableScopestyleThe scope of the variable 'topo_ent' can be reduced.
230variableScopestyleThe scope of the variable 'curve_length' can be reduced.
471cstyleCaststyleC-style pointer casting
570variableScopestyleThe scope of the variable 'segment_list' can be reduced.
571variableScopestyleThe scope of the variable 'prev' can be reduced.
573variableScopestyleThe scope of the variable 'seg_owner' can be reduced.
624variableScopestyleThe scope of the variable 'dist' can be reduced.
689variableScopestyleThe scope of the variable 'new_point_loop_ptr' can be reduced.
914variableScopestyleThe scope of the variable 'curr_area' can be reduced.
964variableScopestyleThe scope of the variable 'curr_volume' can be reduced.
996variableScopestyleThe scope of the variable 'curr_edge_length' can be reduced.
1017variableScopestyleThe scope of the variable 'curr_face_area' can be reduced.
1019variableScopestyleThe scope of the variable 'curr_face' can be reduced.
1118unreadVariablestyleVariable 'sum_of_angles' is assigned a value that is never used.
1131variableScopestyleThe scope of the variable 'curr_volume_1' can be reduced.
1172unusedFunctionstyleThe function 'report_intersected_volumes' is never used.
1251unusedFunctionstyleThe function 'report_intersected_bodies' is never used.
1254variableScopestyleThe scope of the variable 'curr_body' can be reduced.
1310variableScopestyleThe scope of the variable 'curr_vol' can be reduced.
1342variableScopestyleThe scope of the variable 'start_face' can be reduced.
1425variableScopestyleThe scope of the variable 'curr_group' can be reduced.
1584variableScopestyleThe scope of the variable 'curr_shell' can be reduced.
1587variableScopestyleThe scope of the variable 'hash_table' can be reduced.
1591variableScopestyleThe scope of the variable 'table_size' can be reduced.
1705variableScopestyleThe scope of the variable 'ref_edge' can be reduced.
1728unusedFunctionstyleThe function 'print_volume_measure_summary' is never used.
1884unusedFunctionstyleThe function 'find_surfs_with_narrow_regions' is never used.
1892variableScopestyleThe scope of the variable 'ref_vol' can be reduced.
1962unusedFunctionstyleThe function 'get_narrow_regions' is never used.
1968variableScopestyleThe scope of the variable 'ref_vol' can be reduced.
2052unusedFunctionstyleThe function 'is_surface_narrow' is never used.
2357variableScopestyleThe scope of the variable 'k' can be reduced.
2537variableScopestyleThe scope of the variable 'w' can be reduced.
2761unusedFunctionstyleThe function 'find_small_curves' is never used.
2768variableScopestyleThe scope of the variable 'ref_vol' can be reduced.
2838unusedFunctionstyleThe function 'find_first_small_curve' is never used.
2854unusedFunctionstyleThe function 'find_narrow_faces' is never used.
2861variableScopestyleThe scope of the variable 'ref_vol' can be reduced.
2940unusedFunctionstyleThe function 'find_small_faces' is never used.
2946variableScopestyleThe scope of the variable 'ref_vol' can be reduced.
2984variableScopestyleThe scope of the variable 'area' can be reduced.
3016unusedFunctionstyleThe function 'find_closed_narrow_faces' is never used.
3022variableScopestyleThe scope of the variable 'ref_vol' can be reduced.
3120unusedFunctionstyleThe function 'find_small_faces_hydraulic_radius' is never used.
3129variableScopestyleThe scope of the variable 'ref_vol' can be reduced.
3146variableScopestyleThe scope of the variable 'area' can be reduced.
3147variableScopestyleThe scope of the variable 'length' can be reduced.
3234unusedFunctionstyleThe function 'find_small_volumes' is never used.
3240variableScopestyleThe scope of the variable 'volume' can be reduced.
3251unusedFunctionstyleThe function 'find_small_volumes_hydraulic_radius' is never used.
3258variableScopestyleThe scope of the variable 'ref_vol' can be reduced.
3260variableScopestyleThe scope of the variable 'area' can be reduced.
3298unusedFunctionstyleThe function 'find_sharp_tangential_meets' is never used.
3309variableScopestyleThe scope of the variable 'ref_face' can be reduced.
3592variableScopestyleThe scope of the variable 'ref_vol' can be reduced.
3623variableScopestyleThe scope of the variable 'common_edge' can be reduced.
3721variableScopestyleThe scope of the variable 'ref_vol' can be reduced.
3960unusedFunctionstyleThe function 'find_bad_geometry' is never used.
3967variableScopestyleThe scope of the variable 'ref_ent' can be reduced.
4040variableScopestyleThe scope of the variable 'ref_vol' can be reduced.
4056variableScopestyleThe scope of the variable 'ref_vert' can be reduced.
4075unusedFunctionstyleThe function 'find_blends' is never used.
4100variableScopestyleThe scope of the variable 'ref_face' can be reduced.
4101variableScopestyleThe scope of the variable 'other_edge' can be reduced.
4246stlSizestylePossible inefficient checking for 'blend_stack' emptiness.
4303postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
4312unusedFunctionstyleThe function 'find_blend_chains' is never used.
4725variableScopestyleThe scope of the variable 'dist_sq' can be reduced.
4727variableScopestyleThe scope of the variable 'prev_co_edge' can be reduced.
4814variableScopestyleThe scope of the variable 'tri_area' can be reduced.
4885unusedFunctionstyleThe function 'find_near_coincident_vertices' is never used.
4956postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
5099unusedFunctionstyleThe function 'find_closest_vertex_curve_pairs' is never used.
5155unusedVariablestyleUnused variable: upper_iter
5164postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
5173postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
5181unusedFunctionstyleThe function 'find_closest_vertex_vertex_pairs' is never used.
5215unusedVariablestyleUnused variable: upper_iter
5222postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
5231postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
5239unusedFunctionstyleThe function 'find_near_coincident_vertex_curve_pairs' is never used.
5336postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
5378unusedFunctionstyleThe function 'find_near_coincident_vertex_surface_pairs' is never used.
5480postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
geom/GeomMeasureTool.hpp
50uninitMemberVarstyleMember variable 'AreaHashTuple::myFace' is not initialized in the constructor.
50uninitMemberVarstyleMember variable 'AreaHashTuple::myArea' is not initialized in the constructor.
68unusedPrivateFunctionstyleUnused private function: 'GeomMeasureTool::get_bodies_from_list'
geom/GeometryEvent.cpp
72unusedFunctionstyleThe function 'get_lost_entity' is never used.
105useInitializationListstyleVariable 'refEnts' is assigned in constructor body. Consider performing initialization in initialization list.
108unusedFunctionstyleThe function 'get_transformation' is never used.
113unusedFunctionstyleThe function 'get_ref_ents' is never used.
geom/GeometryFeatureTool.cpp
61variableScopestyleThe scope of the variable 'gfe' can be reduced.
75variableScopestyleThe scope of the variable 'gfe' can be reduced.
99variableScopestyleThe scope of the variable 'ref_entity_ptr' can be reduced.
122variableScopestyleThe scope of the variable 'gePtr2' can be reduced.
144cstyleCaststyleC-style pointer casting
geom/GeometryHealerTool.cpp
185variableScopestyleThe scope of the variable 'ghe' can be reduced.
206variableScopestyleThe scope of the variable 'ghe' can be reduced.
237variableScopestyleThe scope of the variable 'ref_entity_ptr' can be reduced.
267variableScopestyleThe scope of the variable 'gePtr2' can be reduced.
901cstyleCaststyleC-style pointer casting
926cstyleCaststyleC-style pointer casting
951cstyleCaststyleC-style pointer casting
976cstyleCaststyleC-style pointer casting
1001cstyleCaststyleC-style pointer casting
geom/GeometryModifyEngine.cpp
7unusedFunctionstyleThe function 'split_free_curve' is never used.
24unusedFunctionstyleThe function 'create_parallelogram_surface' is never used.
32unusedFunctionstyleThe function 'create_rectangle_surface' is never used.
63unusedFunctionstyleThe function 'create_ellipse_surface' is never used.
79unusedFunctionstyleThe function 'create_curve_helix' is never used.
89unusedFunctionstyleThe function 'sweep_helical' is never used.
geom/GeometryModifyTool.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'hz' since the value of 'hz' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
4477cppcheckErrorerrorInternal error. Token::Match called with varid 0. Please report this to Cppcheck developers
geom/GeometryModifyTool.hpp
922passedByValuestyleFunction parameter 'sweep_vector' should be passed by reference.
939passedByValuestyleFunction parameter 'sweep_vector' should be passed by reference.
geom/GeometryQueryEngine.cpp
9unusedFunctionstyleThe function 'set_export_version' is never used.
68unusedFunctionstyleThe function 'get_visible_entities' is never used.
79unusedFunctionstyleThe function 'delete_topology_bridge' is never used.
geom/GeometryQueryTool.cpp
208unusedFunctionstyleThe function 'save_temp_geom_files' is never used.
838variableScopestyleThe scope of the variable 'loc_ptr' can be reduced.
839variableScopestyleThe scope of the variable 'param' can be reduced.
933postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
1651assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'get_shell_ptr'.
1997assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'get_loop_ptr'.
2818unusedFunctionstyleThe function 'delete_single_Body' is never used.
3359assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'start_vertex'.
3360assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'end_vertex'.
3442variableScopestyleThe scope of the variable 'ge_ptr' can be reduced.
3467variableScopestyleThe scope of the variable 'ref_entity_ptr' can be reduced.
3601unusedFunctionstyleThe function 'set_sme_int_option' is never used.
3615unusedFunctionstyleThe function 'set_sme_dbl_option' is never used.
3629unusedFunctionstyleThe function 'set_sme_str_option' is never used.
3689assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'geometry_type'.
4144unusedFunctionstyleThe function 'bounding_box_of_bodies' is never used.
4147variableScopestyleThe scope of the variable 'i' can be reduced.
4609variableScopestyleThe scope of the variable 'body' can be reduced.
4616variableScopestyleThe scope of the variable 'volume' can be reduced.
4627variableScopestyleThe scope of the variable 'face' can be reduced.
4637variableScopestyleThe scope of the variable 'edge' can be reduced.
4647variableScopestyleThe scope of the variable 'vertex' can be reduced.
5110unusedFunctionstyleThe function 'get_connected_free_ref_entities' is never used.
5288unusedFunctionstyleThe function 'ige_export_geom' is never used.
5294unusedFunctionstyleThe function 'ige_push_imprint_attributes_before_modify' is never used.
5301unusedFunctionstyleThe function 'ige_push_named_attributes_to_curves_and_points' is never used.
5308unusedFunctionstyleThe function 'ige_remove_imprint_attributes_after_modify' is never used.
5316unusedFunctionstyleThe function 'ige_is_composite' is never used.
5343unusedFunctionstyleThe function 'ige_is_partition' is never used.
5356unusedFunctionstyleThe function 'ige_import_geom' is never used.
5369unusedFunctionstyleThe function 'ige_attribute_after_imprinting' is never used.
5382unusedFunctionstyleThe function 'ige_remove_attributes_from_unmodifed_virtual' is never used.
5679variableScopestyleThe scope of the variable 'i' can be reduced.
5701variableScopestyleThe scope of the variable 'tmp_face' can be reduced.
5702variableScopestyleThe scope of the variable 'tmp_curve' can be reduced.
5703variableScopestyleThe scope of the variable 'tmp_vertex' can be reduced.
5877variableScopestyleThe scope of the variable 'i' can be reduced.
5909variableScopestyleThe scope of the variable 'tmp_face' can be reduced.
5910variableScopestyleThe scope of the variable 'tmp_curve' can be reduced.
5911variableScopestyleThe scope of the variable 'tmp_vertex' can be reduced.
6176redundantAssignmentstyleVariable 'result' is reassigned a value before the old one has been used.
6591variableScopestyleThe scope of the variable 'i' can be reduced.
6623variableScopestyleThe scope of the variable 'tmp_face' can be reduced.
6624variableScopestyleThe scope of the variable 'tmp_curve' can be reduced.
6625variableScopestyleThe scope of the variable 'tmp_vertex' can be reduced.
6822cstyleCaststyleC-style pointer casting
7582unusedFunctionstyleThe function 'ige_remove_modified' is never used.
7637unusedFunctionstyleThe function 'find_nonmanifold_curves' is never used.
7669unusedFunctionstyleThe function 'estimate_merge_tolerance' is never used.
7716postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
7748postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
7873unusedFunctionstyleThe function 'find_floating_volumes' is never used.
7912unusedFunctionstyleThe function 'find_nonmanifold_vertices' is never used.
8292unreadVariablestyleVariable 'ignore_facets' is assigned a value that is never used.
8498cstyleCaststyleC-style pointer casting
geom/GeometryUtil.cpp
778uninitMemberVarstyleMember variable 'GeometryUtil::linearized_curve_debug_count_' is not initialized in the constructor.
810variableScopestyleThe scope of the variable 'current_dst' can be reduced.
875unusedFunctionstyleThe function 'is_position_within_shell' is never used.
912unusedFunctionstyleThe function 'is_shell_a_void' is never used.
1034unusedFunctionstyleThe function 'form_ref_edge_loop_by_coord' is never used.
1253unusedFunctionstyleThe function 'check_valid_loop_by_coord' is never used.
1295variableScopestyleThe scope of the variable 'ref_edge' can be reduced.
1323variableScopestyleThe scope of the variable 'ref_edge' can be reduced.
1340unusedFunctionstyleThe function 'form_ref_edge_loop' is never used.
1363variableScopestyleThe scope of the variable 'ref_edge_ptr' can be reduced.
1511variableScopestyleThe scope of the variable 'vertex_start' can be reduced.
1511variableScopestyleThe scope of the variable 'vertex_end' can be reduced.
1541unusedFunctionstyleThe function 'check_valid_loop' is never used.
1548variableScopestyleThe scope of the variable 'vertex_start' can be reduced.
1549variableScopestyleThe scope of the variable 'vertex_end' can be reduced.
2038unusedFunctionstyleThe function 'valid_topology' is never used.
3214arrayIndexOutOfBoundsCondstyleArray 'counts[8]' accessed at index 8, which is out of bounds. Otherwise condition 'index<=8' is redundant.
geom/GfxPreview.cpp
78unusedFunctionstyleThe function 'draw_ref_volume' is never used.
84unusedFunctionstyleThe function 'draw_ref_volume_edges' is never used.
90unusedFunctionstyleThe function 'draw_ref_body' is never used.
164unusedFunctionstyleThe function 'draw_quad' is never used.
201unusedFunctionstyleThe function 'draw_cylinder' is never used.
208passedByValuestyleFunction parameter 'axis' should be passed by reference.
208passedByValuestyleFunction parameter 'origin1' should be passed by reference.
208passedByValuestyleFunction parameter 'origin2' should be passed by reference.
208unusedFunctionstyleThe function 'draw_frustum' is never used.
248unusedFunctionstyleThe function 'draw_surface' is never used.
geom/GfxPreview.hpp
119passedByValuestyleFunction parameter 'axis' should be passed by reference.
119passedByValuestyleFunction parameter 'origin1' should be passed by reference.
119passedByValuestyleFunction parameter 'origin2' should be passed by reference.
161passedByValuestyleFunction parameter 'axis' should be passed by reference.
161passedByValuestyleFunction parameter 'origin1' should be passed by reference.
161passedByValuestyleFunction parameter 'origin2' should be passed by reference.
geom/GroupingEntity.cpp
70assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'get_grouping_entity_ptr'.
107assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'next'.
107assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'previous'.
343assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'get_grouping_entity_ptr'.
geom/LocalToleranceTool.cpp
118unusedFunctionstyleThe function 'calculate_local_tolerances' is never used.
136variableScopestyleThe scope of the variable 'ref_vert' can be reduced.
148variableScopestyleThe scope of the variable 'ref_edge' can be reduced.
160variableScopestyleThe scope of the variable 'ref_face' can be reduced.
172variableScopestyleThe scope of the variable 'ref_vol' can be reduced.
191unusedFunctionstyleThe function 'calculate_local_tolerances_automatically' is never used.
264unusedFunctionstyleThe function 'print_local_tolerances' is never used.
278variableScopestyleThe scope of the variable 'ref_vert' can be reduced.
290variableScopestyleThe scope of the variable 'ref_edge' can be reduced.
302variableScopestyleThe scope of the variable 'ref_face' can be reduced.
314variableScopestyleThe scope of the variable 'ref_vol' can be reduced.
geom/LocalToleranceTool.hpp
28unusedPrivateFunctionstyleUnused private function: 'LocalToleranceTool::calculate_local_tolerances_automatically'
geom/Loop.cpp
182variableScopestyleThe scope of the variable 'angle' can be reduced.
227redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
260redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
geom/MedialTool2D.cpp
40unusedFunctionstyleThe function 'create_medial_axis' is never used.
74redundantAssignmentstyleVariable 'stat' is reassigned a value before the old one has been used.
142variableScopestyleThe scope of the variable 'currs' can be reduced.
143variableScopestyleThe scope of the variable 'currv' can be reduced.
169variableScopestyleThe scope of the variable 'new_vector' can be reduced.
194variableScopestyleThe scope of the variable 'new_point_loop_ptr' can be reduced.
199variableScopestyleThe scope of the variable 'temp_vert' can be reduced.
280unreadVariablestyleVariable 'COS_ANGLE_TOL' is assigned a value that is never used.
285unreadVariablestyleVariable 'dist_tol_sqr' is assigned a value that is never used.
404unusedFunctionstyleThe function 'create_medial_geometry' is never used.
674redundantAssignmentstyleVariable 'seg_list' is reassigned a value before the old one has been used.
geom/MedialTool2D.hpp
64unusedPrivateFunctionstyleUnused private function: 'MedialTool2D::create_medial_geometry'
geom/MedialTool3D.cpp
77unusedFunctionstyleThe function 'create_medial_axis_3d' is never used.
153unusedFunctionstyleThe function 'convert_vec3d_to_cubitvector' is never used.
166unusedFunctionstyleThe function 'convert_cubitvector_to_vec3d' is never used.
189unreadVariablestyleVariable 'n1' is assigned a value that is never used.
190unreadVariablestyleVariable 'n2' is assigned a value that is never used.
329variableScopestyleThe scope of the variable 'vert0' can be reduced.
329variableScopestyleThe scope of the variable 'vert1' can be reduced.
329variableScopestyleThe scope of the variable 'vert2' can be reduced.
geom/MedialTool3D.hpp
76unusedPrivateFunctionstyleUnused private function: 'MedialTool3D::convert_vec3d_to_cubitvector'
79unusedPrivateFunctionstyleUnused private function: 'MedialTool3D::convert_cubitvector_to_vec3d'
geom/MergeTool.cpp
104unusedFunctionstyleThe function 'merge_with_auto_imprint' is never used.
227variableScopestyleThe scope of the variable 'ref_ent' can be reduced.
263unusedFunctionstyleThe function 'merge_all_bodies' is never used.
635variableScopestyleThe scope of the variable 'tmp_face' can be reduced.
936variableScopestyleThe scope of the variable 'tmp_face' can be reduced.
974stlSizestylePossible inefficient checking for 'failed_merges' emptiness.
999unusedFunctionstyleThe function 'find_mergeable_refentities' is never used.
2158variableScopestyleThe scope of the variable 'tmp_edge' can be reduced.
2420variableScopestyleThe scope of the variable 'tmp_edge' can be reduced.
2677variableScopestyleThe scope of the variable 'tmp_vertex' can be reduced.
2929variableScopestyleThe scope of the variable 'tmp_vertex' can be reduced.
3415variableScopestyleThe scope of the variable 'bte_ptr_1' can be reduced.
3415variableScopestyleThe scope of the variable 'bte_ptr_2' can be reduced.
3489variableScopestyleThe scope of the variable 'keeper_GE' can be reduced.
3659unusedFunctionstyleThe function 'warn_about_refface_sense' is never used.
3732redundantAssignmentstyleVariable 'result' is reassigned a value before the old one has been used.
3875variableScopestyleThe scope of the variable 'keeper_SE' can be reduced.
4108unusedFunctionstyleThe function 'add_merge_tool_assistant' is never used.
4113unusedFunctionstyleThe function 'find_merge_tool_assistant' is never used.
4749unusedFunctionstyleThe function 'separate_faces' is never used.
4765unusedFunctionstyleThe function 'separate_edges' is never used.
5277variableScopestyleThe scope of the variable 'k' can be reduced.
5799assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'measure'.
6326postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
geom/MidPlaneTool.cpp
34variableScopestyleThe scope of the variable 'temp_edge' can be reduced.
35variableScopestyleThe scope of the variable 'temp_loop' can be reduced.
118variableScopestyleThe scope of the variable 'temp_loop' can be reduced.
geom/ModelEntity.cpp
193unusedFunctionstyleThe function 'disconnect_from_DAG' is never used.
geom/ModelQueryEngine.cpp
263postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
309postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
geom/OCC/OCCBody.cpp
219cstyleCaststyleC-style pointer casting
geom/OCC/OCCCurve.cpp
120cstyleCaststyleC-style pointer casting
967unusedFunctionstyleThe function 'get_spline_params' is never used.
1020unusedFunctionstyleThe function 'get_ellipse_params' is never used.
1222variableScopestyleThe scope of the variable 'd' can be reduced.
geom/OCC/OCCDrawTool.cpp
90cstyleCaststyleC-style pointer casting
111cstyleCaststyleC-style pointer casting
115cstyleCaststyleC-style pointer casting
192cstyleCaststyleC-style pointer casting
geom/OCC/OCCHistory.cpp
72unusedFunctionstyleThe function 'add_refentity_tracking_id_pair' is never used.
104unusedFunctionstyleThe function 'generate_next_tracking_id' is never used.
110unusedFunctionstyleThe function 'add_to_tracking_ids_tb_map' is never used.
115unusedFunctionstyleThe function 'create_cgm_history_objects' is never used.
127stlSizestylePossible inefficient checking for 'tracking_ids_to_tb_map' emptiness.
143stlSizestylePossible inefficient checking for 'tracking_ids_to_tb_map' emptiness.
184postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
186postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
207postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
210stlSizestylePossible inefficient checking for 'set1' emptiness.
215postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
247postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
260postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
264postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
301postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
309postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
332unusedFunctionstyleThe function 'add_TopoDS_Shape' is never used.
geom/OCC/OCCLoop.cpp
72cstyleCaststyleC-style pointer casting
106cstyleCaststyleC-style pointer casting
187cstyleCaststyleC-style pointer casting
188variableScopestyleThe scope of the variable 'surf' can be reduced.
208cstyleCaststyleC-style pointer casting
265cstyleCaststyleC-style pointer casting
geom/OCC/OCCLump.cpp
72uninitMemberVarstyleMember variable 'OCCLump::myBodyPtr' is not initialized in the constructor.
geom/OCC/OCCModifyEngine.cpp
321variableScopestyleThe scope of the variable 'pt_vec' can be reduced.
321variableScopestyleThe scope of the variable 'tangent_vec' can be reduced.
1132variableScopestyleThe scope of the variable 'fit_Face' can be reduced.
1151variableScopestyleThe scope of the variable 'topo_edges' can be reduced.
1680unusedFunctionstyleThe function 'pyramid' is never used.
1946unusedFunctionstyleThe function 'create_body' is never used.
1970cstyleCaststyleC-style pointer casting
1977cstyleCaststyleC-style pointer casting
1978cstyleCaststyleC-style pointer casting
2000cstyleCaststyleC-style pointer casting
2010cstyleCaststyleC-style pointer casting
2015cstyleCaststyleC-style pointer casting
2041cstyleCaststyleC-style pointer casting
2060cstyleCaststyleC-style pointer casting
2204cstyleCaststyleC-style pointer casting
2354variableScopestyleThe scope of the variable 'stat' can be reduced.
2452variableScopestyleThe scope of the variable 'common_edge' can be reduced.
2656cstyleCaststyleC-style pointer casting
2734variableScopestyleThe scope of the variable 'edge_list' can be reduced.
2775cstyleCaststyleC-style pointer casting
2816cstyleCaststyleC-style pointer casting
2835redundantAssignmentstyleVariable 'pc' is reassigned a value before the old one has been used.
2955cstyleCaststyleC-style pointer casting
3031cstyleCaststyleC-style pointer casting
3032cstyleCaststyleC-style pointer casting
3401cstyleCaststyleC-style pointer casting
3462cstyleCaststyleC-style pointer casting
3661unusedVariablestyleUnused variable: surf_property_map
3662unusedVariablestyleUnused variable: curve_property_map
3722cstyleCaststyleC-style pointer casting
3912cstyleCaststyleC-style pointer casting
4100cstyleCaststyleC-style pointer casting
4361cstyleCaststyleC-style pointer casting
4429unusedFunctionstyleThe function 'imprint_projected_edges' is never used.
4505redundantAssignmentstyleVariable 'projected_curve' is reassigned a value before the old one has been used.
4836unusedFunctionstyleThe function 'chop' is never used.
4946variableScopestyleThe scope of the variable 'second_shape' can be reduced.
4962variableScopestyleThe scope of the variable 'body2' can be reduced.
5063unusedFunctionstyleThe function 'hollow' is never used.
5157unusedFunctionstyleThe function 'flip_normals' is never used.
5441unusedFunctionstyleThe function 'sweep_perpendicular' is never used.
5848unusedFunctionstyleThe function 'sweep_to_body' is never used.
6359unusedFunctionstyleThe function 'webcut_with_sheet' is never used.
6370unusedFunctionstyleThe function 'webcut_with_extended_sheet' is never used.
6383unusedFunctionstyleThe function 'webcut_with_sweep_curves' is never used.
6398unusedFunctionstyleThe function 'webcut_with_sweep_curves_rotated' is never used.
6413unusedFunctionstyleThe function 'webcut_with_sweep_surfaces_rotated' is never used.
6429unusedFunctionstyleThe function 'webcut_with_sweep_surfaces' is never used.
6447unusedFunctionstyleThe function 'webcut_with_cylinder' is never used.
6460unusedFunctionstyleThe function 'webcut_with_brick' is never used.
6473unusedFunctionstyleThe function 'webcut_with_planar_sheet' is never used.
6486unusedFunctionstyleThe function 'webcut_with_curve_loop' is never used.
6505unusedFunctionstyleThe function 'separate_surfaces' is never used.
6692unusedFunctionstyleThe function 'reverse_body' is never used.
6760cstyleCaststyleC-style pointer casting
6771cstyleCaststyleC-style pointer casting
6783cstyleCaststyleC-style pointer casting
6794cstyleCaststyleC-style pointer casting
6805cstyleCaststyleC-style pointer casting
6820unusedFunctionstyleThe function 'split_periodic' is never used.
6833unusedFunctionstyleThe function 'regularize_body' is never used.
6847unusedFunctionstyleThe function 'regularize_entity' is never used.
6933variableScopestyleThe scope of the variable 'occ_curve' can be reduced.
7592unusedFunctionstyleThe function 'create_curve_combine' is never used.
7737unusedFunctionstyleThe function 'is_modify_engine' is never used.
7780redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
8235unusedFunctionstyleThe function 'tweak_chamfer' is never used.
8398cstyleCaststyleC-style pointer casting
9101unusedFunctionstyleThe function 'tweak_move' is never used.
9465unusedFunctionstyleThe function 'tweak_target' is never used.
9632unusedFunctionstyleThe function 'remove_curve_slivers' is never used.
9672unusedFunctionstyleThe function 'create_net_surface' is never used.
9739unusedFunctionstyleThe function 'create_offset_body' is never used.
9753unusedFunctionstyleThe function 'create_skin_surface' is never used.
9806unusedFunctionstyleThe function 'loft_surfaces_to_body' is never used.
9912variableScopestyleThe scope of the variable 'vec_ptr' can be reduced.
9934variableScopestyleThe scope of the variable 'vec_ptr' can be reduced.
9958cstyleCaststyleC-style pointer casting
10030unusedFunctionstyleThe function 'create_weld_surface' is never used.
10054unusedFunctionstyleThe function 'get_possible_invalid_tbs' is never used.
10100cstyleCaststyleC-style pointer casting
10102cstyleCaststyleC-style pointer casting
10104cstyleCaststyleC-style pointer casting
10121unusedFunctionstyleThe function 'remove_topology' is never used.
10148unusedFunctionstyleThe function 'tolerant_imprint_surface_with_curves' is never used.
10315unusedFunctionstyleThe function 'create_arc_radius' is never used.
10375unusedFunctionstyleThe function 'webcut_across_translate' is never used.
10653unusedFunctionstyleThe function 'mesh2brep' is never used.
geom/OCC/OCCPoint.cpp
87cstyleCaststyleC-style pointer casting
geom/OCC/OCCQueryEngine.cpp
462unusedFunctionstyleThe function 'get_isoparametric_points' is never used.
507unusedFunctionstyleThe function 'get_u_isoparametric_points' is never used.
546unusedFunctionstyleThe function 'get_v_isoparametric_points' is never used.
589unusedFunctionstyleThe function 'transform_vec_position' is never used.
806cstyleCaststyleC-style pointer casting
823cstyleCaststyleC-style pointer casting
835cstyleCaststyleC-style pointer casting
847cstyleCaststyleC-style pointer casting
1028unreadVariablestyleVariable 'flg' is assigned a value that is never used.
1146unreadVariablestyleVariable 'flg' is assigned a value that is never used.
1235variableScopestyleThe scope of the variable 'lump' can be reduced.
1343variableScopestyleThe scope of the variable 'lump' can be reduced.
1494unusedFunctionstyleThe function 'import_temp_geom_file' is never used.
1734cstyleCaststyleC-style pointer casting
1740cstyleCaststyleC-style pointer casting
1746cstyleCaststyleC-style pointer casting
1769cstyleCaststyleC-style pointer casting
1776cstyleCaststyleC-style pointer casting
1795cstyleCaststyleC-style pointer casting
1817cstyleCaststyleC-style pointer casting
1846cstyleCaststyleC-style pointer casting
1901cstyleCaststyleC-style pointer casting
1939cstyleCaststyleC-style pointer casting
1948cstyleCaststyleC-style pointer casting
2062cstyleCaststyleC-style pointer casting
2068cstyleCaststyleC-style pointer casting
2086cstyleCaststyleC-style pointer casting
2163cstyleCaststyleC-style pointer casting
2170cstyleCaststyleC-style pointer casting
2202cstyleCaststyleC-style pointer casting
2234cstyleCaststyleC-style pointer casting
2241cstyleCaststyleC-style pointer casting
2262cstyleCaststyleC-style pointer casting
2478cstyleCaststyleC-style pointer casting
2490cstyleCaststyleC-style pointer casting
2496cstyleCaststyleC-style pointer casting
2517cstyleCaststyleC-style pointer casting
2557cstyleCaststyleC-style pointer casting
2564cstyleCaststyleC-style pointer casting
2608variableScopestyleThe scope of the variable 'BodyPtr' can be reduced.
2783redundantAssignmentstyleVariable 'stat' is reassigned a value before the old one has been used.
2815variableScopestyleThe scope of the variable 'k' can be reduced.
2816nullPointerstylePossible null pointer dereference: shape - otherwise it is redundant to check it against null.
2870variableScopestyleThe scope of the variable 'k' can be reduced.
2918variableScopestyleThe scope of the variable 'k' can be reduced.
2996variableScopestyleThe scope of the variable 'k' can be reduced.
3080variableScopestyleThe scope of the variable 'k' can be reduced.
3197variableScopestyleThe scope of the variable 'k' can be reduced.
3198nullPointerstylePossible null pointer dereference: edge - otherwise it is redundant to check it against null.
3262variableScopestyleThe scope of the variable 'k' can be reduced.
3401arrayIndexThenCheckstyleArray index 'dummy_int' is used before limits check.
3416arrayIndexThenCheckstyleArray index 'dummy_int' is used before limits check.
3433arrayIndexThenCheckstyleArray index 'dummy_int' is used before limits check.
3462unusedFunctionstyleThe function 'create_super_bounding_box' is never used.
3466variableScopestyleThe scope of the variable 'bodySM' can be reduced.
3734cstyleCaststyleC-style pointer casting
3735cstyleCaststyleC-style pointer casting
3976cstyleCaststyleC-style pointer casting
4065unusedFunctionstyleThe function 'bound_TopoDS_Shape' is never used.
geom/OCC/OCCShell.cpp
63uninitMemberVarstyleMember variable 'OCCShell::myLump' is not initialized in the constructor.
63uninitMemberVarstyleMember variable 'OCCShell::myBody' is not initialized in the constructor.
82cstyleCaststyleC-style pointer casting
144cstyleCaststyleC-style pointer casting
145variableScopestyleThe scope of the variable 'body' can be reduced.
169cstyleCaststyleC-style pointer casting
geom/OCC/OCCSurface.cpp
117cstyleCaststyleC-style pointer casting
333variableScopestyleThe scope of the variable 'minDist' can be reduced.
333variableScopestyleThe scope of the variable 'u' can be reduced.
333variableScopestyleThe scope of the variable 'v' can be reduced.
334variableScopestyleThe scope of the variable 'i' can be reduced.
384variableScopestyleThe scope of the variable 'minDist' can be reduced.
454variableScopestyleThe scope of the variable 'minDist' can be reduced.
454variableScopestyleThe scope of the variable 'u' can be reduced.
454variableScopestyleThe scope of the variable 'v' can be reduced.
455variableScopestyleThe scope of the variable 'i' can be reduced.
554variableScopestyleThe scope of the variable 'minDist' can be reduced.
555variableScopestyleThe scope of the variable 'i' can be reduced.
838unusedFunctionstyleThe function 'get_geometry_sense' is never used.
851cstyleCaststyleC-style pointer casting
852variableScopestyleThe scope of the variable 'body' can be reduced.
859redundantAssignmentstyleVariable 'body' is reassigned a value before the old one has been used.
877cstyleCaststyleC-style pointer casting
1314variableScopestyleThe scope of the variable 'body' can be reduced.
1349unusedFunctionstyleThe function 'get_nurb_params' is never used.
1421unusedFunctionstyleThe function 'get_sphere_params' is never used.
1446unusedFunctionstyleThe function 'get_cone_params' is never used.
1491unusedFunctionstyleThe function 'get_torus_params' is never used.
geom/OffsetSplitTool.cpp
42unusedFunctionstyleThe function 'split_surfaces_offset' is never used.
365variableScopestyleThe scope of the variable 'curve_ptr' can be reduced.
672variableScopestyleThe scope of the variable 'curve_ptr' can be reduced.
geom/OldUnmergeCode.cpp
1084assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'bridge_manager'.
geom/PeriodicParamTool.cpp
134unusedFunctionstyleThe function 'mirror_surface' is never used.
geom/RefCollection.cpp
36unusedFunctionstyleThe function 'set_collection_entity_ptr' is never used.
geom/RefEdge.cpp
403unusedFunctionstyleThe function 'get_chord_length' is never used.
858unusedFunctionstyleThe function 'common_vertices' is never used.
1135assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'measure'.
1171redundantAssignmentstyleVariable 'stat' is reassigned a value before the old one has been used.
1395variableScopestyleThe scope of the variable 'coedge' can be reduced.
1475unusedFunctionstyleThe function 'evaluate_exterior_angle' is never used.
1484variableScopestyleThe scope of the variable 'i' can be reduced.
1484variableScopestyleThe scope of the variable 'j' can be reduced.
1484variableScopestyleThe scope of the variable 'k' can be reduced.
geom/RefEntity.cpp
89unusedFunctionstyleThe function 'get_by_name' is never used.
146unusedFunctionstyleThe function 'remove_entity_name' is never used.
218unusedFunctionstyleThe function 'switch_entity_names' is never used.
598variableScopestyleThe scope of the variable 'e2' can be reduced.
676unusedFunctionstyleThe function 'valence' is never used.
757variableScopestyleThe scope of the variable 'i' can be reduced.
784unusedFunctionstyleThe function 'can_modify' is never used.
843cstyleCaststyleC-style pointer casting
852cstyleCaststyleC-style pointer casting
1029unusedFunctionstyleThe function 'gather_bdy_entities' is never used.
1077unusedFunctionstyleThe function 'get_related_entity_list' is never used.
1176unusedFunctionstyleThe function 'get_ref_class_name' is never used.
geom/RefEntityFactory.cpp
861unusedFunctionstyleThe function 'next_ref_assembly_id' is never used.
866unusedFunctionstyleThe function 'next_ref_part_id' is never used.
1112variableScopestyleThe scope of the variable 'id' can be reduced.
1113variableScopestyleThe scope of the variable 'entity' can be reduced.
1165unusedFunctionstyleThe function 'renumber_geometry_by_properties' is never used.
geom/RefEntityName.cpp
449unusedFunctionstyleThe function 'get_refentity_type' is never used.
459unusedFunctionstyleThe function 'get_refentity_id' is never used.
539unusedFunctionstyleThe function 'list_refentity_names' is never used.
548variableScopestyleThe scope of the variable 'entity' can be reduced.
610unusedFunctionstyleThe function 'set_character' is never used.
718unusedFunctionstyleThe function 'base_name' is never used.
geom/RefFace.cpp
138unusedFunctionstyleThe function 'get_crack_length' is never used.
148variableScopestyleThe scope of the variable 'j' can be reduced.
308unusedFunctionstyleThe function 'find_closest_points_trimmed' is never used.
739uninitMemberVarstyleMember variable 'LoopAngles::angleMetric' is not initialized in the constructor.
785variableScopestyleThe scope of the variable 'loop_angles' can be reduced.
862redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
900redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
929variableScopestyleThe scope of the variable 'vol_ptr' can be reduced.
951unusedFunctionstyleThe function 'get_matching_CoFace' is never used.
957unusedFunctionstyleThe function 'add_hard_point' is never used.
962unusedFunctionstyleThe function 'hard_points' is never used.
1414unusedFunctionstyleThe function 'set_outward_normal' is never used.
geom/RefGroup.cpp
93variableScopestyleThe scope of the variable 'entity' can be reduced.
130variableScopestyleThe scope of the variable 'entity' can be reduced.
162unusedFunctionstyleThe function 'get_num_child_ref_entities_by_type' is never used.
175unusedFunctionstyleThe function 'get_child_ref_entity_by_index' is never used.
207variableScopestyleThe scope of the variable 'ref_entity_ptr' can be reduced.
208variableScopestyleThe scope of the variable 'group' can be reduced.
487variableScopestyleThe scope of the variable 'ref_entity_ptr' can be reduced.
488variableScopestyleThe scope of the variable 'group' can be reduced.
532variableScopestyleThe scope of the variable 'ref_group_ptr' can be reduced.
567variableScopestyleThe scope of the variable 'model_group' can be reduced.
580cstyleCaststyleC-style pointer casting
596cstyleCaststyleC-style pointer casting
geom/RefVolume.cpp
251assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'marked'.
256variableScopestyleThe scope of the variable 'edge' can be reduced.
271unusedFunctionstyleThe function 'num_boundary_components' is never used.
292assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'marked'.
geom/SphereEvaluator.hpp
46useInitializationListstyleVariable 'mEvalData' is assigned in constructor body. Consider performing initialization in initialization list.
geom/SplitSurfaceTool.cpp
115variableScopestyleThe scope of the variable 'vec_list_ptr' can be reduced.
202variableScopestyleThe scope of the variable 'vec_list_ptr' can be reduced.
282variableScopestyleThe scope of the variable 'vec_list_ptr' can be reduced.
961cstyleCaststyleC-style pointer casting
1024variableScopestyleThe scope of the variable 'ref_vertex_ptr' can be reduced.
1029cstyleCaststyleC-style pointer casting
1158variableScopestyleThe scope of the variable 'ref_face_ptr' can be reduced.
1441variableScopestyleThe scope of the variable 'ref_edge_ptr' can be reduced.
1672variableScopestyleThe scope of the variable 'shared_ref_face_ptr' can be reduced.
1980variableScopestyleThe scope of the variable 'ref_edge_ptr' can be reduced.
2048cstyleCaststyleC-style pointer casting
2265cstyleCaststyleC-style pointer casting
2278cstyleCaststyleC-style pointer casting
2397variableScopestyleThe scope of the variable 'co_edge_ptr' can be reduced.
2445variableScopestyleThe scope of the variable 'co_edge_ptr' can be reduced.
2490variableScopestyleThe scope of the variable 'shared_co_edge_ptr' can be reduced.
2511variableScopestyleThe scope of the variable 'attached_co_edge_ptr' can be reduced.
2516variableScopestyleThe scope of the variable 'attached_start_vertex_ptr' can be reduced.
2617variableScopestyleThe scope of the variable 'co_edge_ptr' can be reduced.
2624cstyleCaststyleC-style pointer casting
2954variableScopestyleThe scope of the variable 'co_edge_ptr' can be reduced.
2956variableScopestyleThe scope of the variable 'C' can be reduced.
3603variableScopestyleThe scope of the variable 'check_ptr' can be reduced.
4428variableScopestyleThe scope of the variable 'co_edge_ptr' can be reduced.
4429variableScopestyleThe scope of the variable 'next_co_edge_ptr' can be reduced.
4437cstyleCaststyleC-style pointer casting
4447cstyleCaststyleC-style pointer casting
4474cstyleCaststyleC-style pointer casting
4494variableScopestyleThe scope of the variable 'co_edge_ptr' can be reduced.
4495variableScopestyleThe scope of the variable 'next_co_edge_ptr' can be reduced.
4505cstyleCaststyleC-style pointer casting
4524variableScopestyleThe scope of the variable 'co_edge_ptr' can be reduced.
4525variableScopestyleThe scope of the variable 'next_co_edge_ptr' can be reduced.
4532cstyleCaststyleC-style pointer casting
4563variableScopestyleThe scope of the variable 'co_edge_ptr' can be reduced.
4564variableScopestyleThe scope of the variable 'next_co_edge_ptr' can be reduced.
4571cstyleCaststyleC-style pointer casting
4613variableScopestyleThe scope of the variable 'co_edge_ptr' can be reduced.
4624unusedFunctionstyleThe function 'list_sides_debug' is never used.
4630variableScopestyleThe scope of the variable 'ref_face_ptr' can be reduced.
4637cstyleCaststyleC-style pointer casting
4697cstyleCaststyleC-style pointer casting
5731variableScopestyleThe scope of the variable 'curve_ptr' can be reduced.
5774variableScopestyleThe scope of the variable 'curve_ptr' can be reduced.
5775variableScopestyleThe scope of the variable 'ref_edge_ptr' can be reduced.
5925variableScopestyleThe scope of the variable 'start_vec_ptr' can be reduced.
5925variableScopestyleThe scope of the variable 'end_vec_ptr' can be reduced.
5928variableScopestyleThe scope of the variable 'dist' can be reduced.
6160variableScopestyleThe scope of the variable 'mid_pnt_ptr' can be reduced.
6674unusedFunctionstyleThe function 'split_surfaces_extend' is never used.
6774variableScopestyleThe scope of the variable 'curr_Body_ptr' can be reduced.
6814variableScopestyleThe scope of the variable 'curve_list_ptr' can be reduced.
6847cstyleCaststyleC-style pointer casting
6922variableScopestyleThe scope of the variable 'hit_entity_ptr' can be reduced.
7063cstyleCaststyleC-style pointer casting
7090variableScopestyleThe scope of the variable 'msg' can be reduced.
7116variableScopestyleThe scope of the variable 'surf_list_ptr' can be reduced.
7200variableScopestyleThe scope of the variable 'ref_vertex_ptr' can be reduced.
7215variableScopestyleThe scope of the variable 'curve_list_lists_ptr' can be reduced.
7275stlSizestylePossible inefficient checking for 'potential_curves_map' emptiness.
geom/Surface.cpp
63variableScopestyleThe scope of the variable 'location' can be reduced.
109unusedFunctionstyleThe function 'are_positions_on' is never used.
112variableScopestyleThe scope of the variable 'test_position' can be reduced.
113variableScopestyleThe scope of the variable 'is_on' can be reduced.
geom/SurfaceOverlapTool.cpp
74constStatementstyleRedundant code: Found a statement that begins with numeric constant.
75constStatementstyleRedundant code: Found a statement that begins with numeric constant.
92unusedFunctionstyleThe function 'draw_overlapping_surface_pair' is never used.
125unusedFunctionstyleThe function 'find_candidate_surfaces_for_imprinting' is never used.
203postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
208postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
594unusedFunctionstyleThe function 'find_area_overlap' is never used.
654variableScopestyleThe scope of the variable 'min_edge_length' can be reduced.
667variableScopestyleThe scope of the variable 'tmp_length' can be reduced.
678unreadVariablestyleVariable 'min_edge_length' is assigned a value that is never used.
724variableScopestyleThe scope of the variable 'min_edge_length' can be reduced.
737variableScopestyleThe scope of the variable 'tmp_length' can be reduced.
748unreadVariablestyleVariable 'min_edge_length' is assigned a value that is never used.
829variableScopestyleThe scope of the variable 'i' can be reduced.
853unreadVariablestyleVariable 'iter1' is assigned a value that is never used.
942unusedFunctionstyleThe function 'calculate_tolerances_for_surf_intersection' is never used.
1317cstyleCaststyleC-style pointer casting
1322cstyleCaststyleC-style pointer casting
1326cstyleCaststyleC-style pointer casting
1331cstyleCaststyleC-style pointer casting
1422unusedFunctionstyleThe function 'list_settings' is never used.
1711variableScopestyleThe scope of the variable 'curr_edge' can be reduced.
1711variableScopestyleThe scope of the variable 'new_edge' can be reduced.
1712variableScopestyleThe scope of the variable 'curr_entity' can be reduced.
1712variableScopestyleThe scope of the variable 'new_entity' can be reduced.
1791variableScopestyleThe scope of the variable 'curr_edge' can be reduced.
1792variableScopestyleThe scope of the variable 'curr_entity' can be reduced.
1894postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
1957unusedVariablestyleUnused variable: list_iter
2123postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
geom/SurfaceOverlapTool.hpp
420constStatementstyleRedundant code: Found a statement that begins with numeric constant.
427constStatementstyleRedundant code: Found a statement that begins with numeric constant.
geom/TDCAGE.cpp
42cstyleCaststyleC-style pointer casting
65cstyleCaststyleC-style pointer casting
geom/TDSplitSurface.cpp
12uninitMemberVarstyleMember variable 'TDSplitSurface::refFacePtr' is not initialized in the constructor.
21uninitMemberVarstyleMember variable 'TDSplitSurface::vertexType' is not initialized in the constructor.
296useInitializationListstyleVariable 'coEdgeChain' is assigned in constructor body. Consider performing initialization in initialization list.
300variableScopestyleThe scope of the variable 'co_edge_ptr' can be reduced.
347variableScopestyleThe scope of the variable 'coedge_param_max' can be reduced.
505variableScopestyleThe scope of the variable 'num_pnts' can be reduced.
624cstyleCaststyleC-style pointer casting
geom/TDUniqueId.cpp
111cstyleCaststyleC-style pointer casting
156postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
206unusedFunctionstyleThe function 'clear_copy_map' is never used.
210postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
geom/TopologyBridge.cpp
555incorrectLogicOperatorstyleLogical disjunction always evaluates to true: !owner||owner.
geom/facet/CubitOctree.cpp
93variableScopestyleThe scope of the variable 'ognode' can be reduced.
112unusedFunctionstyleThe function 'calculate_depth_based_on_size' is never used.
236variableScopestyleThe scope of the variable 'i' can be reduced.
236variableScopestyleThe scope of the variable 'j' can be reduced.
236variableScopestyleThe scope of the variable 'k' can be reduced.
456unusedFunctionstyleThe function 'refine_cells_to_target_depth' is never used.
459variableScopestyleThe scope of the variable 'current_cell' can be reduced.
485unusedFunctionstyleThe function 'unmark_octree_cells_not_intersecting_with_facet' is never used.
488variableScopestyleThe scope of the variable 'ptr_cell' can be reduced.
502unusedFunctionstyleThe function 'mark_cells_that_intersect_facet_plane' is never used.
505variableScopestyleThe scope of the variable 'ptr_cell' can be reduced.
521variableScopestyleThe scope of the variable 'j' can be reduced.
521variableScopestyleThe scope of the variable 'k' can be reduced.
706variableScopestyleThe scope of the variable 'depth_difference' can be reduced.
727variableScopestyleThe scope of the variable 'depth_difference' can be reduced.
750variableScopestyleThe scope of the variable 'new_depth' can be reduced.
750variableScopestyleThe scope of the variable 'i' can be reduced.
750variableScopestyleThe scope of the variable 'j' can be reduced.
750variableScopestyleThe scope of the variable 'k' can be reduced.
750variableScopestyleThe scope of the variable 'l' can be reduced.
750variableScopestyleThe scope of the variable 'm' can be reduced.
750variableScopestyleThe scope of the variable 'n' can be reduced.
750variableScopestyleThe scope of the variable 'p' can be reduced.
750variableScopestyleThe scope of the variable 'q' can be reduced.
750variableScopestyleThe scope of the variable 'r' can be reduced.
751variableScopestyleThe scope of the variable 'norm_dim' can be reduced.
751variableScopestyleThe scope of the variable 'total_dist' can be reduced.
751variableScopestyleThe scope of the variable 'new_half_point' can be reduced.
752variableScopestyleThe scope of the variable 'ptr_child_cell' can be reduced.
755variableScopestyleThe scope of the variable 'ptr_new_cell' can be reduced.
1293variableScopestyleThe scope of the variable 'depth_difference' can be reduced.
1361variableScopestyleThe scope of the variable 'h' can be reduced.
1538unusedFunctionstyleThe function 'find_max_min_size_grid_node_for_scaling' is never used.
1582variableScopestyleThe scope of the variable 'mode' can be reduced.
1790variableScopestyleThe scope of the variable 't' can be reduced.
1833unusedFunctionstyleThe function 'write_sizing_info_file' is never used.
1879unusedFunctionstyleThe function 'write_matlab_sizing_info_file' is never used.
1884variableScopestyleThe scope of the variable 'grid_node' can be reduced.
1931unusedFunctionstyleThe function 'write_octree_sizing_info_file' is never used.
1934variableScopestyleThe scope of the variable 'size' can be reduced.
1945variableScopestyleThe scope of the variable 'ptr_cell' can be reduced.
geom/facet/CubitOctreeCell.cpp
188variableScopestyleThe scope of the variable 'i' can be reduced.
188variableScopestyleThe scope of the variable 'j' can be reduced.
188variableScopestyleThe scope of the variable 'k' can be reduced.
275variableScopestyleThe scope of the variable 'j' can be reduced.
275variableScopestyleThe scope of the variable 'k' can be reduced.
298variableScopestyleThe scope of the variable 'j' can be reduced.
298variableScopestyleThe scope of the variable 'k' can be reduced.
335variableScopestyleThe scope of the variable 'i' can be reduced.
335variableScopestyleThe scope of the variable 'j' can be reduced.
335variableScopestyleThe scope of the variable 'k' can be reduced.
362variableScopestyleThe scope of the variable 'l' can be reduced.
362variableScopestyleThe scope of the variable 'm' can be reduced.
362variableScopestyleThe scope of the variable 'n' can be reduced.
364variableScopestyleThe scope of the variable 'ptr_facet_point_data' can be reduced.
567variableScopestyleThe scope of the variable 'facet_point_data' can be reduced.
583variableScopestyleThe scope of the variable 'facet_point_data' can be reduced.
658unusedFunctionstyleThe function 'interpolate_grey_octreecell_node' is never used.
857variableScopestyleThe scope of the variable 'rad_b' can be reduced.
857variableScopestyleThe scope of the variable 'dot1' can be reduced.
857variableScopestyleThe scope of the variable 'dot2' can be reduced.
857variableScopestyleThe scope of the variable 'dot3' can be reduced.
857variableScopestyleThe scope of the variable 'min_t' can be reduced.
857variableScopestyleThe scope of the variable 'max_t' can be reduced.
1189variableScopestyleThe scope of the variable 'index' can be reduced.
geom/facet/CubitOctreeGenerator.cpp
5uninitMemberVarstyleMember variable 'CubitOctreeGenerator::cubitOctree' is not initialized in the constructor.
geom/facet/CubitOctreeGeneratorVolumes.cpp
119variableScopestyleThe scope of the variable 'volume' can be reduced.
333variableScopestyleThe scope of the variable 'volume' can be reduced.
580variableScopestyleThe scope of the variable 'adj_node' can be reduced.
646variableScopestyleThe scope of the variable 'len' can be reduced.
730variableScopestyleThe scope of the variable 'volume' can be reduced.
764variableScopestyleThe scope of the variable 'volume' can be reduced.
782variableScopestyleThe scope of the variable 'volume' can be reduced.
865redundantAssignmentstyleVariable 'angle' is reassigned a value before the old one has been used.
1031variableScopestyleThe scope of the variable 'ptr_grid_node' can be reduced.
geom/facet/CubitOctreeNode.cpp
26unusedFunctionstyleThe function 'sort_by_size' is never used.
48variableScopestyleThe scope of the variable 'idata' can be reduced.
120uselessAssignmentArgstyleAssignment of function parameter has no effect outside the function.
269unusedFunctionstyleThe function 'manhattan_distance_adj_node' is never used.
366unusedFunctionstyleThe function 'calculate_size_based_on_cell_dimension' is never used.
497variableScopestyleThe scope of the variable 'length' can be reduced.
geom/facet/FacetBody.cpp
151variableScopestyleThe scope of the variable 'start_ptr' can be reduced.
151variableScopestyleThe scope of the variable 'end_ptr' can be reduced.
272variableScopestyleThe scope of the variable 'floop' can be reduced.
388variableScopestyleThe scope of the variable 'fshell' can be reduced.
450variableScopestyleThe scope of the variable 'flump' can be reduced.
507postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
522cstyleCaststyleC-style pointer casting
541variableScopestyleThe scope of the variable 'jj' can be reduced.
655variableScopestyleThe scope of the variable 'curv_ptr' can be reduced.
736variableScopestyleThe scope of the variable 'ftool' can be reduced.
778variableScopestyleThe scope of the variable 'pt' can be reduced.
822variableScopestyleThe scope of the variable 'facet_ptr' can be reduced.
873variableScopestyleThe scope of the variable 'surf' can be reduced.
875variableScopestyleThe scope of the variable 'ftool' can be reduced.
geom/facet/FacetCurve.cpp
604selfAssignmentstyleRedundant assignment of 'point' to itself.
605selfAssignmentstyleRedundant assignment of 'direction' to itself.
989assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'curve'.
geom/facet/FacetGeometryCreator.cpp
273variableScopestyleThe scope of the variable 'edge_ptr' can be reduced.
369variableScopestyleThe scope of the variable 'key' can be reduced.
371variableScopestyleThe scope of the variable 'fsm_list_ptr' can be reduced.
405variableScopestyleThe scope of the variable 'j' can be reduced.
505unreadVariablestyleVariable 'was_added' is assigned a value that is never used.
569redundantAssignmentstyleVariable 'stat' is reassigned a value before the old one has been used.
680variableScopestyleThe scope of the variable 'key' can be reduced.
682variableScopestyleThe scope of the variable 'fcm_list_ptr' can be reduced.
716variableScopestyleThe scope of the variable 'j' can be reduced.
741unusedFunctionstyleThe function 'build_geometry' is never used.
753redundantAssignmentstyleVariable 'stat' is reassigned a value before the old one has been used.
geom/facet/FacetGeometryCreator.hpp
64unusedPrivateFunctionstyleUnused private function: 'FacetGeometryCreator::create_volume_boundaries'
70unusedPrivateFunctionstyleUnused private function: 'FacetGeometryCreator::create_surface_boundaries'
76unusedPrivateFunctionstyleUnused private function: 'FacetGeometryCreator::create_curve_boundaries'
92unusedPrivateFunctionstyleUnused private function: 'FacetGeometryCreator::build_geometry'
geom/facet/FacetLoop.cpp
53uninitMemberVarstyleMember variable 'FacetLoop::mySurface' is not initialized in the constructor.
78unusedFunctionstyleThe function 'is_external' is never used.
geom/facet/FacetLump.cpp
145variableScopestyleThe scope of the variable 'ii' can be reduced.
188variableScopestyleThe scope of the variable 'curr_surface' can be reduced.
189variableScopestyleThe scope of the variable 'facet_surface' can be reduced.
196variableScopestyleThe scope of the variable 'ii' can be reduced.
212variableScopestyleThe scope of the variable 'curr_facet_area' can be reduced.
458variableScopestyleThe scope of the variable 'facet_shell' can be reduced.
geom/facet/FacetModifyEngine.cpp
372unusedFunctionstyleThe function 'make_extended_sheet' is never used.
446variableScopestyleThe scope of the variable 'dist' can be reduced.
447variableScopestyleThe scope of the variable 'new_point' can be reduced.
466cstyleCaststyleC-style pointer casting
501variableScopestyleThe scope of the variable 'i1e' can be reduced.
506variableScopestyleThe scope of the variable 'new_point' can be reduced.
507variableScopestyleThe scope of the variable 'x1inc' can be reduced.
507variableScopestyleThe scope of the variable 'y1inc' can be reduced.
507variableScopestyleThe scope of the variable 'z1inc' can be reduced.
507variableScopestyleThe scope of the variable 'x2inc' can be reduced.
507variableScopestyleThe scope of the variable 'y2inc' can be reduced.
507variableScopestyleThe scope of the variable 'z2inc' can be reduced.
508variableScopestyleThe scope of the variable 'xstart' can be reduced.
508variableScopestyleThe scope of the variable 'ystart' can be reduced.
508variableScopestyleThe scope of the variable 'zstart' can be reduced.
508variableScopestyleThe scope of the variable 'xend' can be reduced.
508variableScopestyleThe scope of the variable 'yend' can be reduced.
508variableScopestyleThe scope of the variable 'zend' can be reduced.
508variableScopestyleThe scope of the variable 'dist' can be reduced.
509variableScopestyleThe scope of the variable 'xinternalinc' can be reduced.
509variableScopestyleThe scope of the variable 'yinternalinc' can be reduced.
509variableScopestyleThe scope of the variable 'zinternalinc' can be reduced.
596cstyleCaststyleC-style pointer casting
652variableScopestyleThe scope of the variable 'new_point' can be reduced.
707cstyleCaststyleC-style pointer casting
715variableScopestyleThe scope of the variable 'sign1' can be reduced.
715variableScopestyleThe scope of the variable 'sign2' can be reduced.
715variableScopestyleThe scope of the variable 'sign3' can be reduced.
715variableScopestyleThe scope of the variable 'edg1' can be reduced.
715variableScopestyleThe scope of the variable 'edg2' can be reduced.
715variableScopestyleThe scope of the variable 'edg3' can be reduced.
836cstyleCaststyleC-style pointer casting
838cstyleCaststyleC-style pointer casting
840cstyleCaststyleC-style pointer casting
842cstyleCaststyleC-style pointer casting
844cstyleCaststyleC-style pointer casting
846cstyleCaststyleC-style pointer casting
848cstyleCaststyleC-style pointer casting
850cstyleCaststyleC-style pointer casting
852cstyleCaststyleC-style pointer casting
854cstyleCaststyleC-style pointer casting
856cstyleCaststyleC-style pointer casting
858cstyleCaststyleC-style pointer casting
860cstyleCaststyleC-style pointer casting
862cstyleCaststyleC-style pointer casting
1164cstyleCaststyleC-style pointer casting
1168cstyleCaststyleC-style pointer casting
1172cstyleCaststyleC-style pointer casting
1176cstyleCaststyleC-style pointer casting
1180cstyleCaststyleC-style pointer casting
1184cstyleCaststyleC-style pointer casting
1188cstyleCaststyleC-style pointer casting
1192cstyleCaststyleC-style pointer casting
1196cstyleCaststyleC-style pointer casting
1200cstyleCaststyleC-style pointer casting
1204cstyleCaststyleC-style pointer casting
1208cstyleCaststyleC-style pointer casting
1212cstyleCaststyleC-style pointer casting
1216cstyleCaststyleC-style pointer casting
1367variableScopestyleThe scope of the variable 'rpos' can be reduced.
1407cstyleCaststyleC-style pointer casting
1415cstyleCaststyleC-style pointer casting
1417cstyleCaststyleC-style pointer casting
1576variableScopestyleThe scope of the variable 'theta' can be reduced.
1599cstyleCaststyleC-style pointer casting
1622unreadVariablestyleVariable 'numtris' is assigned a value that is never used.
1717variableScopestyleThe scope of the variable 'tool_body' can be reduced.
1717variableScopestyleThe scope of the variable 'from_body' can be reduced.
2022variableScopestyleThe scope of the variable 'from_body' can be reduced.
2178unusedFunctionstyleThe function 'thicken' is never used.
2360variableScopestyleThe scope of the variable 'xx' can be reduced.
2360variableScopestyleThe scope of the variable 'yy' can be reduced.
2360variableScopestyleThe scope of the variable 'zz' can be reduced.
2404redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
2409variableScopestyleThe scope of the variable 'body_sm' can be reduced.
2563redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
2567redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
2573variableScopestyleThe scope of the variable 'body_sm' can be reduced.
2817unusedFunctionstyleThe function 'test_regularize_entity' is never used.
2890variableScopestyleThe scope of the variable 'fsurf_ptr' can be reduced.
3008unusedFunctionstyleThe function 'create_arc' is never used.
3252unusedFunctionstyleThe function 'tweak_bend' is never used.
3417unusedFunctionstyleThe function 'tweak_offset' is never used.
3457unusedFunctionstyleThe function 'tweak_remove' is never used.
3766cstyleCaststyleC-style pointer casting
3788cstyleCaststyleC-style pointer casting
3816cstyleCaststyleC-style pointer casting
3863cstyleCaststyleC-style pointer casting
3893cstyleCaststyleC-style pointer casting
3920cstyleCaststyleC-style pointer casting
3948variableScopestyleThe scope of the variable 'qfacet' can be reduced.
4001cstyleCaststyleC-style pointer casting
4008cstyleCaststyleC-style pointer casting
4019cstyleCaststyleC-style pointer casting
4134cstyleCaststyleC-style pointer casting
4159cstyleCaststyleC-style pointer casting
4184cstyleCaststyleC-style pointer casting
4215variableScopestyleThe scope of the variable 'qfacet' can be reduced.
4251variableScopestyleThe scope of the variable 'qfacet' can be reduced.
4466cstyleCaststyleC-style pointer casting
4478cstyleCaststyleC-style pointer casting
4502cstyleCaststyleC-style pointer casting
4519cstyleCaststyleC-style pointer casting
4520cstyleCaststyleC-style pointer casting
4606cstyleCaststyleC-style pointer casting
4622cstyleCaststyleC-style pointer casting
4729cstyleCaststyleC-style pointer casting
4760unusedFunctionstyleThe function 'improve_facets' is never used.
4777variableScopestyleThe scope of the variable 'point_ptr' can be reduced.
4931unusedFunctionstyleThe function 'smooth_facets' is never used.
4970variableScopestyleThe scope of the variable 'curv_ptr' can be reduced.
4972variableScopestyleThe scope of the variable 'idx' can be reduced.
5084memleakerrorMemory leak: fcurve_array
5114variableScopestyleThe scope of the variable 'surf_ptr' can be reduced.
5115variableScopestyleThe scope of the variable 'fsurf_ptr' can be reduced.
5159variableScopestyleThe scope of the variable 'curv_ptr' can be reduced.
5160variableScopestyleThe scope of the variable 'fcurv_ptr' can be reduced.
5217variableScopestyleThe scope of the variable 'new_point' can be reduced.
5226cstyleCaststyleC-style pointer casting
5238variableScopestyleThe scope of the variable 'np0' can be reduced.
5238variableScopestyleThe scope of the variable 'np1' can be reduced.
5238variableScopestyleThe scope of the variable 'np2' can be reduced.
5246cstyleCaststyleC-style pointer casting
5265variableScopestyleThe scope of the variable 'kk' can be reduced.
5515cstyleCaststyleC-style pointer casting
5668cstyleCaststyleC-style pointer casting
5736cstyleCaststyleC-style pointer casting
5737cstyleCaststyleC-style pointer casting
geom/facet/FacetParamTool.cpp
37uninitMemberVarstyleMember variable 'FacetParamTool::refSurf' is not initialized in the constructor.
101variableScopestyleThe scope of the variable 'facet' can be reduced.
202variableScopestyleThe scope of the variable 'u' can be reduced.
202variableScopestyleThe scope of the variable 'v' can be reduced.
202variableScopestyleThe scope of the variable 's' can be reduced.
212redundantAssignmentstyleVariable 'rv' is reassigned a value before the old one has been used.
261variableScopestyleThe scope of the variable 'x' can be reduced.
261variableScopestyleThe scope of the variable 'y' can be reduced.
261variableScopestyleThe scope of the variable 'z' can be reduced.
264redundantAssignmentstyleVariable 'rv' is reassigned a value before the old one has been used.
279cstyleCaststyleC-style pointer casting
281cstyleCaststyleC-style pointer casting
343variableScopestyleThe scope of the variable 'aa' can be reduced.
343variableScopestyleThe scope of the variable 'bb' can be reduced.
343variableScopestyleThe scope of the variable 'cc' can be reduced.
406variableScopestyleThe scope of the variable 'aa' can be reduced.
406variableScopestyleThe scope of the variable 'bb' can be reduced.
406variableScopestyleThe scope of the variable 'cc' can be reduced.
geom/facet/FacetPoint.cpp
57cstyleCaststyleC-style pointer casting
geom/facet/FacetProjectTool.cpp
152variableScopestyleThe scope of the variable 'dudded_facet' can be reduced.
192nullPointererrorPossible null pointer dereference: dudded_facet
642unreadVariablestyleVariable 'face_dist' is assigned a value that is never used.
803variableScopestyleThe scope of the variable 'where_is_end_pt' can be reduced.
1054unreadVariablestyleVariable 'edge_pos' is assigned a value that is never used.
1055unreadVariablestyleVariable 'face_dist' is assigned a value that is never used.
1264variableScopestyleThe scope of the variable 't_seg' can be reduced.
1512assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'end_point'.
1512assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'next'.
1583variableScopestyleThe scope of the variable 'debug' can be reduced.
geom/facet/FacetQueryEngine.cpp
146unusedFunctionstyleThe function 'can_delete_bodies' is never used.
346cstyleCaststyleC-style pointer casting
354cstyleCaststyleC-style pointer casting
1014unreadVariablestyleVariable 'flg' is assigned a value that is never used.
1529memleakerrorMemory leak: facet_points
1562memleakerrorMemory leak: facet_curves
1596memleakerrorMemory leak: facet_coedges
1632memleakerrorMemory leak: facet_loops
1685memleakerrorMemory leak: facet_surfaces
1770memleakerrorMemory leak: facet_lumps
1809memleakerrorMemory leak: facet_bodies
2008redundantAssignmentstyleVariable 'rv' is reassigned a value before the old one has been used.
2055variableScopestyleThe scope of the variable 'uu' can be reduced.
2055variableScopestyleThe scope of the variable 'vv' can be reduced.
2055variableScopestyleThe scope of the variable 'ss' can be reduced.
2071cstyleCaststyleC-style pointer casting
2129variableScopestyleThe scope of the variable 'id0' can be reduced.
2129variableScopestyleThe scope of the variable 'id1' can be reduced.
2137cstyleCaststyleC-style pointer casting
2173variableScopestyleThe scope of the variable 'id0' can be reduced.
2173variableScopestyleThe scope of the variable 'id1' can be reduced.
2173variableScopestyleThe scope of the variable 'id2' can be reduced.
2181cstyleCaststyleC-style pointer casting
2268variableScopestyleThe scope of the variable 'BodyPtr' can be reduced.
2451variableScopestyleThe scope of the variable 'bridge_ptr' can be reduced.
2453variableScopestyleThe scope of the variable 'hit' can be reduced.
2754arrayIndexThenCheckstyleArray index 'dummy_int' is used before limits check.
2770arrayIndexThenCheckstyleArray index 'dummy_int' is used before limits check.
2787arrayIndexThenCheckstyleArray index 'dummy_int' is used before limits check.
2888invalidscanfstylescanf without field width limits can crash with huge input data.
2888invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
2900cstyleCaststyleC-style pointer casting
2903cstyleCaststyleC-style pointer casting
2906cstyleCaststyleC-style pointer casting
2971redundantAssignmentstyleVariable 'count' is reassigned a value before the old one has been used.
2971unreadVariablestyleVariable 'count' is assigned a value that is never used.
2974cstyleCaststyleC-style pointer casting
2977cstyleCaststyleC-style pointer casting
2980cstyleCaststyleC-style pointer casting
2994variableScopestyleThe scope of the variable 'point0' can be reduced.
2995variableScopestyleThe scope of the variable 'point1' can be reduced.
2996variableScopestyleThe scope of the variable 'point2' can be reduced.
3084variableScopestyleThe scope of the variable 'point0' can be reduced.
3084variableScopestyleThe scope of the variable 'point1' can be reduced.
3084variableScopestyleThe scope of the variable 'point2' can be reduced.
3092variableScopestyleThe scope of the variable 'numverts' can be reduced.
3123invalidscanfstylescanf without field width limits can crash with huge input data.
3123invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
3134cstyleCaststyleC-style pointer casting
3149cstyleCaststyleC-style pointer casting
3163cstyleCaststyleC-style pointer casting
3248variableScopestyleThe scope of the variable 'point0' can be reduced.
3249variableScopestyleThe scope of the variable 'point1' can be reduced.
3250variableScopestyleThe scope of the variable 'point2' can be reduced.
3262resourceLeakerrorResource leak: fp
3274redundantAssignmentstyleVariable 'count' is reassigned a value before the old one has been used.
3274unreadVariablestyleVariable 'count' is assigned a value that is never used.
3277cstyleCaststyleC-style pointer casting
3294cstyleCaststyleC-style pointer casting
3311cstyleCaststyleC-style pointer casting
3802invalidscanfstylescanf without field width limits can crash with huge input data.
3816invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
3855variableScopestyleThe scope of the variable 'new_point' can be reduced.
3867invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
3879invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
3889cstyleCaststyleC-style pointer casting
3906invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
3945invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
3996invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
4064variableScopestyleThe scope of the variable 'x' can be reduced.
4064variableScopestyleThe scope of the variable 'y' can be reduced.
4064variableScopestyleThe scope of the variable 'z' can be reduced.
4072cstyleCaststyleC-style pointer casting
4079variableScopestyleThe scope of the variable 'ip' can be reduced.
4079variableScopestyleThe scope of the variable 'jp' can be reduced.
4085cstyleCaststyleC-style pointer casting
4094variableScopestyleThe scope of the variable 'facet_ptr' can be reduced.
4095variableScopestyleThe scope of the variable 'qfacet_ptr' can be reduced.
4104cstyleCaststyleC-style pointer casting
4119cstyleCaststyleC-style pointer casting
4149unusedFunctionstyleThe function 'is_close' is never used.
4271unusedFunctionstyleThe function 'export_facets' is never used.
4362variableScopestyleThe scope of the variable 'i' can be reduced.
4407variableScopestyleThe scope of the variable 'point_ptr' can be reduced.
4489redundantAssignmentstyleVariable 'rv' is reassigned a value before the old one has been used.
4842redundantAssignmentstyleVariable 'control_points' is reassigned a value before the old one has been used.
5129variableScopestyleThe scope of the variable 'bodySM' can be reduced.
5157variableScopestyleThe scope of the variable 'facet_surface' can be reduced.
geom/facet/FacetShell.cpp
375variableScopestyleThe scope of the variable 'on_point' can be reduced.
458variableScopestyleThe scope of the variable 'this_facet' can be reduced.
geom/facet/FacetSurface.cpp
910cstyleCaststyleC-style pointer casting
953variableScopestyleThe scope of the variable 'the_point' can be reduced.
978variableScopestyleThe scope of the variable 'new_facet' can be reduced.
1134variableScopestyleThe scope of the variable 'this_loop' can be reduced.
1135variableScopestyleThe scope of the variable 'this_loop_sm' can be reduced.
geom/facet/FacetboolInterface.cpp
138cstyleCaststyleC-style pointer casting
248cstyleCaststyleC-style pointer casting
340variableScopestyleThe scope of the variable 'i' can be reduced.
407variableScopestyleThe scope of the variable 'number_regions' can be reduced.
545variableScopestyleThe scope of the variable 'facet_surface' can be reduced.
719variableScopestyleThe scope of the variable 'body_sm2' can be reduced.
719variableScopestyleThe scope of the variable 'body_out' can be reduced.
763variableScopestyleThe scope of the variable 'new_point' can be reduced.
764variableScopestyleThe scope of the variable 'facet_ptr' can be reduced.
801redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
809redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
816redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
858redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
864cstyleCaststyleC-style pointer casting
1288variableScopestyleThe scope of the variable 'fsurf2' can be reduced.
1330unusedVariablestyleUnused variable: newbodyfacets
1346redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
1350redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
1354variableScopestyleThe scope of the variable 'new_point' can be reduced.
1355variableScopestyleThe scope of the variable 'facet_ptr' can be reduced.
1360cstyleCaststyleC-style pointer casting
1478redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
1485redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
1490redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
1492redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
1496cstyleCaststyleC-style pointer casting
1556cstyleCaststyleC-style pointer casting
1611redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
1621variableScopestyleThe scope of the variable 'ref_edge_ptr' can be reduced.
1622variableScopestyleThe scope of the variable 'cfcurve' can be reduced.
1625variableScopestyleThe scope of the variable 'lastvert' can be reduced.
geom/facet/OctreeFacetPointData.cpp
65variableScopestyleThe scope of the variable 'facet_point_data' can be reduced.
geom/facet/OctreeIntersectionData.cpp
8uninitMemberVarstyleMember variable 'OctreeIntersectionData::whiteNode' is not initialized in the constructor.
19uninitMemberVarstyleMember variable 'OctreeIntersectionData::ptrFacet' is not initialized in the constructor.
geom/facet/PST_Data.cpp
268assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'face'.
567assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'edge'.
669unreadVariablestyleVariable 'fcount' is assigned a value that is never used.
923assignmentInAssertstyleAssert statement modifies 'fitor'.
geom/facet/PST_Data.hpp
74uninitMemberVarstyleMember variable 'PST_Point::sequence' is not initialized in the constructor.
589variableScopestyleThe scope of the variable 'l' can be reduced.
geom/facet/TDOctreeRefEdge.cpp
18uninitMemberVarstyleMember variable 'TDOctreeRefEdge::refEdge' is not initialized in the constructor.
189unusedFunctionstyleThe function 'find_curve_curvature_using_three_points' is never used.
geom/facet/TDOctreeRefFace.cpp
27uninitMemberVarstyleMember variable 'TDOctreeRefFace::refFace' is not initialized in the constructor.
27uninitMemberVarstyleMember variable 'TDOctreeRefFace::lastCurveID' is not initialized in the constructor.
106unusedFunctionstyleThe function 'is_adj_curves' is never used.
110variableScopestyleThe scope of the variable 'first_curve_id' can be reduced.
110variableScopestyleThe scope of the variable 'last_curve_id' can be reduced.
177unusedFunctionstyleThe function 'split_facet_type_03' is never used.
184unusedFunctionstyleThe function 'split_facet_type_13' is never used.
219unusedFunctionstyleThe function 'split_facet_type_23' is never used.
270unusedFunctionstyleThe function 'split_facet_type_33' is never used.
282variableScopestyleThe scope of the variable 'new_facet' can be reduced.
345variableScopestyleThe scope of the variable 'new_edge' can be reduced.
375variableScopestyleThe scope of the variable 'sense' can be reduced.
393variableScopestyleThe scope of the variable 'e_index' can be reduced.
483variableScopestyleThe scope of the variable 'facet_edge' can be reduced.
geom/facetbool/FBClassify.cpp
35uninitMemberVarstyleMember variable 'FBClassify::e0' is not initialized in the constructor.
35uninitMemberVarstyleMember variable 'FBClassify::e1' is not initialized in the constructor.
35uninitMemberVarstyleMember variable 'FBClassify::e2' is not initialized in the constructor.
207variableScopestyleThe scope of the variable 'ktri' can be reduced.
217stlSizestylePossible inefficient checking for 'vstack' emptiness.
234variableScopestyleThe scope of the variable 'ifoundit' can be reduced.
381variableScopestyleThe scope of the variable 'closest_distance_to_other_sqr' can be reduced.
geom/facetbool/FBDataUtil.cpp
320variableScopestyleThe scope of the variable 'yc' can be reduced.
372variableScopestyleThe scope of the variable 'tx' can be reduced.
372variableScopestyleThe scope of the variable 'ty' can be reduced.
372variableScopestyleThe scope of the variable 'tz' can be reduced.
436variableScopestyleThe scope of the variable 'rpos' can be reduced.
467unreadVariablestyleVariable 'zoffset' is assigned a value that is never used.
536unusedFunctionstyleThe function 'project_point_to_plane' is never used.
geom/facetbool/FBImprint.cpp
37uninitMemberVarstyleMember variable 'FBImprint::f_c_indices' is not initialized in the constructor.
37uninitMemberVarstyleMember variable 'FBImprint::poly' is not initialized in the constructor.
37uninitMemberVarstyleMember variable 'FBImprint::imprint_res' is not initialized in the constructor.
72redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
114variableScopestyleThe scope of the variable 'edgebox' can be reduced.
343variableScopestyleThe scope of the variable 'v11' can be reduced.
geom/facetbool/FBIntersect.cpp
35uninitMemberVarstyleMember variable 'FBIntersect::linecoeff' is not initialized in the constructor.
35uninitMemberVarstyleMember variable 'FBIntersect::linept' is not initialized in the constructor.
156variableScopestyleThe scope of the variable 'other_is_planar' can be reduced.
306variableScopestyleThe scope of the variable 'other_is_planar' can be reduced.
719variableScopestyleThe scope of the variable 'v10' can be reduced.
719variableScopestyleThe scope of the variable 'v11' can be reduced.
719variableScopestyleThe scope of the variable 'v20' can be reduced.
719variableScopestyleThe scope of the variable 'v21' can be reduced.
720variableScopestyleThe scope of the variable 'exists' can be reduced.
721variableScopestyleThe scope of the variable 'edge' can be reduced.
1277postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
1300postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
1432postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
1486postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
1526variableScopestyleThe scope of the variable 'xval' can be reduced.
1526variableScopestyleThe scope of the variable 'yval' can be reduced.
1526variableScopestyleThe scope of the variable 'zval' can be reduced.
1527variableScopestyleThe scope of the variable 'hptr' can be reduced.
1574unusedFunctionstyleThe function 'set_body1_planar' is never used.
geom/facetbool/FBPolyhedron.cpp
40uninitMemberVarstyleMember variable 'FBPolyhedron::numpts' is not initialized in the constructor.
40uninitMemberVarstyleMember variable 'FBPolyhedron::numtris' is not initialized in the constructor.
40uninitMemberVarstyleMember variable 'FBPolyhedron::kdtree' is not initialized in the constructor.
81variableScopestyleThe scope of the variable 'hashvalue' can be reduced.
84variableScopestyleThe scope of the variable 'mycoord' can be reduced.
174variableScopestyleThe scope of the variable 'xval' can be reduced.
174variableScopestyleThe scope of the variable 'yval' can be reduced.
174variableScopestyleThe scope of the variable 'zval' can be reduced.
175variableScopestyleThe scope of the variable 'newcoord' can be reduced.
207variableScopestyleThe scope of the variable 'coordinate' can be reduced.
208variableScopestyleThe scope of the variable 'i' can be reduced.
229variableScopestyleThe scope of the variable 'edgnum' can be reduced.
276postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
291postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
310postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
325postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
399unusedVariablestyleUnused variable: iter
410variableScopestyleThe scope of the variable 'edge' can be reduced.
419postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
428variableScopestyleThe scope of the variable 'tri' can be reduced.
482variableScopestyleThe scope of the variable 'mycoord' can be reduced.
678unusedFunctionstyleThe function 'remove_small_angles_in_triangle_range' is never used.
705variableScopestyleThe scope of the variable 'temp_length' can be reduced.
geom/facetbool/FBPolyhedron.hpp
36noCopyConstructorstyle'class FBPolyhedron' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
geom/facetbool/FBRetriangulate.cpp
34unusedFunctionstyleThe function 'edgecf_less' is never used.
45uninitMemberVarstyleMember variable 'FBRetriangulate::winding' is not initialized in the constructor.
45uninitMemberVarstyleMember variable 'FBRetriangulate::my_tri' is not initialized in the constructor.
50useInitializationListstyleVariable 'verts' is assigned in constructor body. Consider performing initialization in initialization list.
58uninitMemberVarstyleMember variable 'FBRetriangulate::winding' is not initialized in the constructor.
58uninitMemberVarstyleMember variable 'FBRetriangulate::my_tri' is not initialized in the constructor.
62useInitializationListstyleVariable 'verts' is assigned in constructor body. Consider performing initialization in initialization list.
172redundantAssignmentstyleVariable 'status' is reassigned a value before the old one has been used.
195variableScopestyleThe scope of the variable 'e0index' can be reduced.
195variableScopestyleThe scope of the variable 'e1index' can be reduced.
195variableScopestyleThe scope of the variable 'e2index' can be reduced.
247postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
308postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
357postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
374postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
390postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
406postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
422variableScopestyleThe scope of the variable 'edge' can be reduced.
422variableScopestyleThe scope of the variable 'new_edge' can be reduced.
433postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
445variableScopestyleThe scope of the variable 'v0' can be reduced.
445variableScopestyleThe scope of the variable 'v1' can be reduced.
449variableScopestyleThe scope of the variable 'foundv0' can be reduced.
449variableScopestyleThe scope of the variable 'foundv1' can be reduced.
454postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
496variableScopestyleThe scope of the variable 'foundit' can be reduced.
523postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
547variableScopestyleThe scope of the variable 'foundit' can be reduced.
573postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
595variableScopestyleThe scope of the variable 'p01x' can be reduced.
595variableScopestyleThe scope of the variable 'p01y' can be reduced.
597variableScopestyleThe scope of the variable 's' can be reduced.
597variableScopestyleThe scope of the variable 't' can be reduced.
659postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
732postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
737postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
739postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
784postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
825postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
835variableScopestyleThe scope of the variable 'edge' can be reduced.
911postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
923variableScopestyleThe scope of the variable 'e_v0' can be reduced.
923variableScopestyleThe scope of the variable 'e_v1' can be reduced.
923variableScopestyleThe scope of the variable 'e_type' can be reduced.
923variableScopestyleThe scope of the variable 'e_v0type' can be reduced.
923variableScopestyleThe scope of the variable 'e_v1type' can be reduced.
1002postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
geom/facetbool/FBStructs.hpp
100uninitMemberVarstyleMember variable 'FB_Triangle::a' is not initialized in the constructor.
100uninitMemberVarstyleMember variable 'FB_Triangle::b' is not initialized in the constructor.
100uninitMemberVarstyleMember variable 'FB_Triangle::c' is not initialized in the constructor.
100uninitMemberVarstyleMember variable 'FB_Triangle::d' is not initialized in the constructor.
geom/facetbool/FBTiler.cpp
38useInitializationListstyleVariable 'verts' is assigned in constructor body. Consider performing initialization in initialization list.
55variableScopestyleThe scope of the variable 'v1' can be reduced.
55variableScopestyleThe scope of the variable 'v2' can be reduced.
55variableScopestyleThe scope of the variable 'v3' can be reduced.
57variableScopestyleThe scope of the variable 'test_p' can be reduced.
57variableScopestyleThe scope of the variable 'test_s' can be reduced.
104postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
184postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
235postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
272variableScopestyleThe scope of the variable 'u0' can be reduced.
307variableScopestyleThe scope of the variable 'this_adjacency' can be reduced.
307variableScopestyleThe scope of the variable 'adjacency_case' can be reduced.
310variableScopestyleThe scope of the variable 'v0' can be reduced.
325clarifyStatementstyleIneffective statement similar to '*A++;'. Did you intend to write '(*A)++;'?
geom/facetbool/IntegerHash.cpp
58unusedFunctionstyleThe function 'getNumberofBins' is never used.
geom/facetbool/KdTree.cpp
36uninitMemberVarstyleMember variable 'KDTree::numtris' is not initialized in the constructor.
36uninitMemberVarstyleMember variable 'KDTree::treebox' is not initialized in the constructor.
36uninitMemberVarstyleMember variable 'KDTree::nextbranch' is not initialized in the constructor.
36uninitMemberVarstyleMember variable 'KDTree::isequence' is not initialized in the constructor.
36uninitMemberVarstyleMember variable 'KDTree::rayxstart' is not initialized in the constructor.
36uninitMemberVarstyleMember variable 'KDTree::rayystart' is not initialized in the constructor.
36uninitMemberVarstyleMember variable 'KDTree::rayzstart' is not initialized in the constructor.
36uninitMemberVarstyleMember variable 'KDTree::dx' is not initialized in the constructor.
36uninitMemberVarstyleMember variable 'KDTree::dy' is not initialized in the constructor.
36uninitMemberVarstyleMember variable 'KDTree::dz' is not initialized in the constructor.
44variableScopestyleThe scope of the variable 'fsbb' can be reduced.
55variableScopestyleThe scope of the variable 'cutarray' can be reduced.
57variableScopestyleThe scope of the variable 'median_value' can be reduced.
58variableScopestyleThe scope of the variable 'xcen' can be reduced.
58variableScopestyleThe scope of the variable 'ycen' can be reduced.
58variableScopestyleThe scope of the variable 'zcen' can be reduced.
197variableScopestyleThe scope of the variable 'xmin' can be reduced.
197variableScopestyleThe scope of the variable 'ymin' can be reduced.
197variableScopestyleThe scope of the variable 'zmin' can be reduced.
197variableScopestyleThe scope of the variable 'xmax' can be reduced.
197variableScopestyleThe scope of the variable 'ymax' can be reduced.
197variableScopestyleThe scope of the variable 'zmax' can be reduced.
221variableScopestyleThe scope of the variable 'index' can be reduced.
221variableScopestyleThe scope of the variable 'child' can be reduced.
240stlSizestylePossible inefficient checking for 'mystack' emptiness.
266variableScopestyleThe scope of the variable 'i' can be reduced.
266variableScopestyleThe scope of the variable 'j' can be reduced.
267variableScopestyleThe scope of the variable 't' can be reduced.
307unusedFunctionstyleThe function 'rayintersectsbox' is never used.
geom/facetbool/KdTree.hpp
79unusedPrivateFunctionstyleUnused private function: 'KDTree::rayintersectsbox'
geom/parallel/AcisMemFile.cpp
325unusedFunctionstyleThe function 'GetWrites' is never used.
359variableScopestyleThe scope of the variable 'acis_bridge' can be reduced.
360variableScopestyleThe scope of the variable 'ref_entity' can be reduced.
392variableScopestyleThe scope of the variable 'acis_bridge' can be reduced.
393variableScopestyleThe scope of the variable 'ref_entity' can be reduced.
405unusedFunctionstyleThe function 'get_refentity_list' is never used.
412variableScopestyleThe scope of the variable 'acis_bridge' can be reduced.
413variableScopestyleThe scope of the variable 'ref_entity' can be reduced.
435variableScopestyleThe scope of the variable 'acis_bridge' can be reduced.
436variableScopestyleThe scope of the variable 'ref_entity' can be reduced.
geom/parallel/CABodies.cpp
107cstyleCaststyleC-style pointer casting
161unreadVariablestyleVariable 'par' is assigned a value that is never used.
185cstyleCaststyleC-style pointer casting
geom/parallel/CGMFileOptions.cpp
59operatorEqToSelfstyle'operator=' should check for assignment to self to avoid problems with dynamic memory.
268unusedFunctionstyleThe function 'get_options' is never used.
geom/parallel/CGMMemFile.cpp
92variableScopestyleThe scope of the variable 'twrite' can be reduced.
92variableScopestyleThe scope of the variable 'tbcast' can be reduced.
98unreadVariablestyleVariable 'tbcast' is assigned a value that is never used.
103uninitvarerrorUninitialized variable: twrite
143variableScopestyleThe scope of the variable 'totalRefSize' can be reduced.
143variableScopestyleThe scope of the variable 'endEntity' can be reduced.
143variableScopestyleThe scope of the variable 'index' can be reduced.
144unusedVariablestyleUnused variable: tbcastDelete
144variableScopestyleThe scope of the variable 'tbcastDelete' can be reduced.
150unreadVariablestyleVariable 'totalRefSize' is assigned a value that is never used.
154unreadVariablestyleVariable 'tbcastDelete' is assigned a value that is never used.
303unusedVariablestyleUnused variable: tScatter
303variableScopestyleThe scope of the variable 'tScatter' can be reduced.
305variableScopestyleThe scope of the variable 'nEntity' can be reduced.
311unreadVariablestyleVariable 'tScatter' is assigned a value that is never used.
314unreadVariablestyleVariable 'nProcs' is assigned a value that is never used.
317variableScopestyleThe scope of the variable 'nBarEntity' can be reduced.
318variableScopestyleThe scope of the variable 'restEntity' can be reduced.
319variableScopestyleThe scope of the variable 'nEndEntity' can be reduced.
326unreadVariablestyleVariable 'nEndEntity' is assigned a value that is never used.
490memleakerrorMemory leak: displacements
1144unusedFunctionstyleThe function 'scatter_balanced_entity_list' is never used.
1152unusedVariablestyleUnused variable: tScatter
1152variableScopestyleThe scope of the variable 'tScatter' can be reduced.
1158unreadVariablestyleVariable 'tScatter' is assigned a value that is never used.
1161unreadVariablestyleVariable 'nProcs' is assigned a value that is never used.
1272memleakerrorMemory leak: displacements
1290unusedFunctionstyleThe function 'get_body_to_proc' is never used.
geom/parallel/CGMParallelComm.cpp
31unreadVariablestyleVariable 'retval' is assigned a value that is never used.
47unreadVariablestyleVariable 'retval' is assigned a value that is never used.
60invalidPrintfArgType_sintstyle%d in format string (no. 1) requires 'int' but the argument type is 'const unsigned int'.
62invalidPrintfArgType_sintstyle%d in format string (no. 1) requires 'int' but the argument type is 'const unsigned int'.
69invalidPrintfArgType_sintstyle%d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
73invalidPrintfArgType_sintstyle%d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
75invalidPrintfArgType_sintstyle%d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
124variableScopestyleThe scope of the variable 'nEntity' can be reduced.
143cstyleCaststyleC-style pointer casting
147memleakerrorMemory leak: displacements
254invalidPrintfArgType_sintstyle%d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
258invalidPrintfArgType_sintstyle%d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
geom/parallel/CGMReadParallel.cpp
50uninitMemberVarstyleMember variable 'CGMReadParallel::m_reader' is not initialized in the constructor.
91redundantAssignmentstyleVariable 'result' is reassigned a value before the old one has been used.
100variableScopestyleThe scope of the variable 'geom_dim' can be reduced.
102postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
230postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
401variableScopestyleThe scope of the variable 'j' can be reduced.
401variableScopestyleThe scope of the variable 'k' can be reduced.
434cstyleCaststyleC-style pointer casting
445cstyleCaststyleC-style pointer casting
482cstyleCaststyleC-style pointer casting
492cstyleCaststyleC-style pointer casting
527cstyleCaststyleC-style pointer casting
543memleakerrorMemory leak: loads
543memleakerrorMemory leak: ve_loads
559cstyleCaststyleC-style pointer casting
574cstyleCaststyleC-style pointer casting
594variableScopestyleThe scope of the variable 'pre_body' can be reduced.
629cstyleCaststyleC-style pointer casting
641cstyleCaststyleC-style pointer casting
geom/parallel/CGMReadParallel.hpp
16noCopyConstructorstyle'class CGMReadParallel' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
geom/parallel/FileOptions.cpp
59operatorEqToSelfstyle'operator=' should check for assignment to self to avoid problems with dynamic memory.
geom/parallel/ProcData.cpp
15redundantAssignmentstyleVariable 'ierror' is reassigned a value before the old one has been used.
16redundantAssignmentstyleVariable 'ierror' is reassigned a value before the old one has been used.
geom/parallel/TDParallel.cpp
89variableScopestyleThe scope of the variable 'body' can be reduced.
109unusedFunctionstyleThe function 'set_shared_proc_list' is never used.
geom/parallel/test_sab.cpp
24unusedFunctionstyleThe function 'gl_cleanup' is never used.
56variableScopestyleThe scope of the variable 'rss_mess' can be reduced.
56variableScopestyleThe scope of the variable 'size_mess' can be reduced.
geom/virtual/CACompositeVG.cpp
141cstyleCaststyleC-style pointer casting
geom/virtual/CAPartitionVG.cpp
49variableScopestyleThe scope of the variable 'temp' can be reduced.
301postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
408variableScopestyleThe scope of the variable 'ref_face' can be reduced.
geom/virtual/CollapseAngleTool.cpp
50unusedFunctionstyleThe function 'collapse_one_angle' is never used.
136unusedFunctionstyleThe function 'auto_collapse' is never used.
160redundantAssignmentstyleVariable 'result' is reassigned a value before the old one has been used.
418redundantAssignmentstyleVariable 'result' is reassigned a value before the old one has been used.
geom/virtual/CollapseCurveTool.cpp
55unusedFunctionstyleThe function 'collapse_curve_only_virtual' is never used.
83variableScopestyleThe scope of the variable 'discard_valency' can be reduced.
84variableScopestyleThe scope of the variable 'keep_valency' can be reduced.
908unreadVariablestyleVariable 'finished' is assigned a value that is never used.
949variableScopestyleThe scope of the variable 'far_edge' can be reduced.
952variableScopestyleThe scope of the variable 'discard_valency' can be reduced.
953variableScopestyleThe scope of the variable 'keep_valency' can be reduced.
1951unreadVariablestyleVariable 'finished' is assigned a value that is never used.
geom/virtual/CompSurfFacets.cpp
98cstyleCaststyleC-style pointer casting
169unusedFunctionstyleThe function 'get_ignore_flag' is never used.
geom/virtual/CompositeAttrib.cpp
30useInitializationListstyleVariable 'int_array' is assigned in constructor body. Consider performing initialization in initialization list.
47useInitializationListstyleVariable 'int_array' is assigned in constructor body. Consider performing initialization in initialization list.
48useInitializationListstyleVariable 'real_array' is assigned in constructor body. Consider performing initialization in initialization list.
49useInitializationListstyleVariable 'string_array' is assigned in constructor body. Consider performing initialization in initialization list.
geom/virtual/CompositeCurve.cpp
112cstyleCaststyleC-style pointer casting
113cstyleCaststyleC-style pointer casting
698variableScopestyleThe scope of the variable 'current_distance_sqr' can be reduced.
759variableScopestyleThe scope of the variable 'min' can be reduced.
867cstyleCaststyleC-style pointer casting
1291assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'primary_stitched_curve'.
geom/virtual/CompositeEngine.cpp
717unusedFunctionstyleThe function 'process_curves_after_imprint' is never used.
787unusedFunctionstyleThe function 'process_points_after_imprint' is never used.
791variableScopestyleThe scope of the variable 'i' can be reduced.
1009variableScopestyleThe scope of the variable 'i' can be reduced.
1117cstyleCaststyleC-style pointer casting
1677assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'is_stitched'.
2314variableScopestyleThe scope of the variable 'split_loop' can be reduced.
2366variableScopestyleThe scope of the variable 'coedge' can be reduced.
2536unreachableCodestyleStatements following return, break, continue, goto or throw will never be executed.
3415assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'geometry_type'.
3490assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'start_point'.
3490assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'end_point'.
3756assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'end_point'.
3762assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'start_point'.
3763assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'end_point'.
4774assignmentInAssertstyleAssert statement modifies 'i'.
4775assignmentInAssertstyleAssert statement modifies 'i'.
5858variableScopestyleThe scope of the variable 'coedge' can be reduced.
5868unusedFunctionstyleThe function 'stitch_surfaces' is never used.
6061unusedFunctionstyleThe function 'is_hidden' is never used.
geom/virtual/CompositeSurface.cpp
110cstyleCaststyleC-style pointer casting
111cstyleCaststyleC-style pointer casting
324variableScopestyleThe scope of the variable 'i' can be reduced.
715unusedFunctionstyleThe function 'unignore_surface' is never used.
987variableScopestyleThe scope of the variable 'current_dist_sqr' can be reduced.
1040variableScopestyleThe scope of the variable 'current_dist_sqr' can be reduced.
1074unusedFunctionstyleThe function 'print_cpt_stats' is never used.
1090unusedFunctionstyleThe function 'reset_cpt_stats' is never used.
1907assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'is_dead_coedge'.
geom/virtual/CompositeTool.cpp
235variableScopestyleThe scope of the variable 'i' can be reduced.
410variableScopestyleThe scope of the variable 'dead' can be reduced.
881variableScopestyleThe scope of the variable 'i' can be reduced.
1255variableScopestyleThe scope of the variable 'child_ptr' can be reduced.
1497assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'geometry_type'.
geom/virtual/Faceter.cpp
166variableScopestyleThe scope of the variable 'curr_point' can be reduced.
167variableScopestyleThe scope of the variable 'prev' can be reduced.
167variableScopestyleThe scope of the variable 'next' can be reduced.
181cstyleCaststyleC-style pointer casting
182cstyleCaststyleC-style pointer casting
183cstyleCaststyleC-style pointer casting
189cstyleCaststyleC-style pointer casting
190cstyleCaststyleC-style pointer casting
191cstyleCaststyleC-style pointer casting
206variableScopestyleThe scope of the variable 'new_facet' can be reduced.
263cstyleCaststyleC-style pointer casting
264cstyleCaststyleC-style pointer casting
265cstyleCaststyleC-style pointer casting
309cstyleCaststyleC-style pointer casting
328variableScopestyleThe scope of the variable 'angle' can be reduced.
346cstyleCaststyleC-style pointer casting
366cstyleCaststyleC-style pointer casting
367cstyleCaststyleC-style pointer casting
371cstyleCaststyleC-style pointer casting
372cstyleCaststyleC-style pointer casting
388cstyleCaststyleC-style pointer casting
389cstyleCaststyleC-style pointer casting
581cstyleCaststyleC-style pointer casting
582cstyleCaststyleC-style pointer casting
604cstyleCaststyleC-style pointer casting
616cstyleCaststyleC-style pointer casting
618cstyleCaststyleC-style pointer casting
geom/virtual/Faceter.hpp
33noCopyConstructorstyle'class Faceter' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
geom/virtual/HiddenEntitySet.cpp
37postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
65postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
114postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
127postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
137postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
147postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
157postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
179postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
geom/virtual/ImprintBoundaryTool.cpp
131variableScopestyleThe scope of the variable 'ii' can be reduced.
131variableScopestyleThe scope of the variable 'jj' can be reduced.
633unusedFunctionstyleThe function 'intersect_segments' is never used.
2925variableScopestyleThe scope of the variable 'segment_list' can be reduced.
2926variableScopestyleThe scope of the variable 'prev' can be reduced.
2927variableScopestyleThe scope of the variable 'seg_owner' can be reduced.
2983variableScopestyleThe scope of the variable 'dist' can be reduced.
3086variableScopestyleThe scope of the variable 'new_part_line' can be reduced.
3570variableScopestyleThe scope of the variable 'ref_ent' can be reduced.
3572variableScopestyleThe scope of the variable 'ref_edge' can be reduced.
3648variableScopestyleThe scope of the variable 'first_v_on_loop' can be reduced.
3663assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'is_owner_vertex'.
3934variableScopestyleThe scope of the variable 'start_loop' can be reduced.
4239unusedFunctionstyleThe function 'resolve_match_conflict_other' is never used.
4311unusedFunctionstyleThe function 'resolve_match_conflict_this' is never used.
4578unreadVariablestyleVariable 'min_dist' is assigned a value that is never used.
4655memleakerrorMemory leak: surf_1_loop_heads
4655memleakerrorMemory leak: surf_2_loop_heads
5675variableScopestyleThe scope of the variable 'point_loop' can be reduced.
5711variableScopestyleThe scope of the variable 'temp_match' can be reduced.
5879variableScopestyleThe scope of the variable 'dist' can be reduced.
5959variableScopestyleThe scope of the variable 'curr_pos' can be reduced.
6018cstyleCaststyleC-style pointer casting
geom/virtual/ImprintBoundaryTool.hpp
95noCopyConstructorstyle'class ImprintBoundaryTool' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
253unusedPrivateFunctionstyleUnused private function: 'ImprintBoundaryTool::intersect_segments'
466unusedPrivateFunctionstyleUnused private function: 'ImprintBoundaryTool::resolve_match_conflict_this'
469unusedPrivateFunctionstyleUnused private function: 'ImprintBoundaryTool::resolve_match_conflict_other'
geom/virtual/ImprintPointData.cpp
20uninitMemberVarstyleMember variable 'ImprintPointData::loopSize' is not initialized in the constructor.
60uninitMemberVarstyleMember variable 'ImprintPointData::loopSize' is not initialized in the constructor.
76useInitializationListstyleVariable 'coords' is assigned in constructor body. Consider performing initialization in initialization list.
geom/virtual/PartSurfFacetTool.cpp
22unusedFunctionstyleThe function 'validate_facets' is never used.
56cstyleCaststyleC-style pointer casting
649assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'first_coedge'.
1106cstyleCaststyleC-style pointer casting
geom/virtual/PartitionCoEdge.cpp
152cstyleCaststyleC-style pointer casting
geom/virtual/PartitionEngine.cpp
895variableScopestyleThe scope of the variable 'ncoedge' can be reduced.
1070assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'num_coedges'.
1130variableScopestyleThe scope of the variable 'pt_curve' can be reduced.
1150assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'first_coedge'.
1260assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'num_coedges'.
1674assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'first_coedge'.
3197postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
3282postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
3284postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
5606variableScopestyleThe scope of the variable 'p_ent' can be reduced.
5971variableScopestyleThe scope of the variable 'p_edge' can be reduced.
6176variableScopestyleThe scope of the variable 'i' can be reduced.
6280oppositeInnerConditionstyleOpposite conditions in nested 'if' blocks lead to a dead code block.
6311postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
6324unusedFunctionstyleThe function 'add_to_deactivated_list' is never used.
geom/virtual/PartitionLump.cpp
54nullPointerstylePossible null pointer dereference: sh - otherwise it is redundant to check it against null.
238unusedFunctionstyleThe function 'find_parent_body' is never used.
geom/virtual/PartitionLumpImprint.cpp
715variableScopestyleThe scope of the variable 'curve_pt' can be reduced.
923variableScopestyleThe scope of the variable 'entity' can be reduced.
1028assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'point_owner'.
geom/virtual/PartitionSurface.cpp
1003redundantAssignmentstyleVariable 'res' is reassigned a value before the old one has been used.
geom/virtual/PartitionTool.cpp
420variableScopestyleThe scope of the variable 'j' can be reduced.
420variableScopestyleThe scope of the variable 'k' can be reduced.
841variableScopestyleThe scope of the variable 'j' can be reduced.
841variableScopestyleThe scope of the variable 'w' can be reduced.
1173unusedFunctionstyleThe function 'make_point_curve' is never used.
1357variableScopestyleThe scope of the variable 'edge' can be reduced.
1803unusedFunctionstyleThe function 'destroy_volume_partition' is never used.
2011unusedFunctionstyleThe function 'pt_print_loop' is never used.
2021unusedFunctionstyleThe function 'pt_print_shell' is never used.
2074variableScopestyleThe scope of the variable 'ref_face' can be reduced.
2076variableScopestyleThe scope of the variable 'ref_volume' can be reduced.
2078variableScopestyleThe scope of the variable 'body' can be reduced.
geom/virtual/RemoveBlends.cpp
29unusedFunctionstyleThe function 'remove_blend' is never used.
151variableScopestyleThe scope of the variable 'size' can be reduced.
270unusedFunctionstyleThe function 'remove_blends' is never used.
304variableScopestyleThe scope of the variable 'curve_list' can be reduced.
326variableScopestyleThe scope of the variable 'the_face' can be reduced.
358variableScopestyleThe scope of the variable 'size' can be reduced.
geom/virtual/SimplifyTool.cpp
39unusedFunctionstyleThe function 'simplify_volumes' is never used.
66unusedFunctionstyleThe function 'simplify_surfaces' is never used.
112unusedFunctionstyleThe function 'simplify_curves' is never used.
245variableScopestyleThe scope of the variable 'ref_edge_ptr' can be reduced.
461variableScopestyleThe scope of the variable 'ref_vertex_ptr' can be reduced.
632unusedFunctionstyleThe function 'process_rounds' is never used.
716variableScopestyleThe scope of the variable 'tri_weight' can be reduced.
716variableScopestyleThe scope of the variable 'A' can be reduced.
716variableScopestyleThe scope of the variable 'B' can be reduced.
716variableScopestyleThe scope of the variable 'C' can be reduced.
788variableScopestyleThe scope of the variable 'ref_edge' can be reduced.
geom/virtual/SimplifyTool.hpp
110unusedPrivateFunctionstyleUnused private function: 'SimplifyTool::process_rounds'
geom/virtual/SplitCompositeSurfaceTool.cpp
52unusedFunctionstyleThe function 'find_faces_for_pos' is never used.
70variableScopestyleThe scope of the variable 'i' can be reduced.
70variableScopestyleThe scope of the variable 'j' can be reduced.
70variableScopestyleThe scope of the variable 'k' can be reduced.
189unusedFunctionstyleThe function 'find_face_with_non_zero_param_dir' is never used.
geom/virtual/SplitCompositeSurfaceTool.hpp
39unusedPrivateFunctionstyleUnused private function: 'SplitCompositeSurfaceTool::find_faces_for_pos'
45unusedPrivateFunctionstyleUnused private function: 'SplitCompositeSurfaceTool::find_face_with_non_zero_param_dir'
geom/virtual/SplitSurfaceVirtual.cpp
29unusedFunctionstyleThe function 'split_surface_virtual' is never used.
69unreadVariablestyleVariable 'new_surf' is assigned a value that is never used.
93unusedFunctionstyleThe function 'split_surfaces_virtual' is never used.
107variableScopestyleThe scope of the variable 'ref_face_ptr' can be reduced.
geom/virtual/SubCurve.cpp
47variableScopestyleThe scope of the variable 'period' can be reduced.
geom/virtual/SubEntitySet.hpp
134operatorEqVarErrorstyleMember variable 'SubEntitySet::bodyNext' is not assigned a value in 'SubEntitySet::operator='.
134operatorEqVarErrorstyleMember variable 'SubEntitySet::bodyPtr' is not assigned a value in 'SubEntitySet::operator='.
134operatorEqVarErrorstyleMember variable 'SubEntitySet::myEntity' is not assigned a value in 'SubEntitySet::operator='.
134operatorEqVarErrorstyleMember variable 'SubEntitySet::subEntityHead' is not assigned a value in 'SubEntitySet::operator='.
134operatorEqVarErrorstyleMember variable 'SubEntitySet::lowerOrderHead' is not assigned a value in 'SubEntitySet::operator='.
134operatorEqVarErrorstyleMember variable 'SubEntitySet::lastId' is not assigned a value in 'SubEntitySet::operator='.
134operatorEqVarErrorstyleMember variable 'SubEntitySet::layerNumber' is not assigned a value in 'SubEntitySet::operator='.
134operatorEqVarErrorstyleMember variable 'SubEntitySet::uniqueId' is not assigned a value in 'SubEntitySet::operator='.
geom/virtual/VirtualQueryEngine.cpp
513variableScopestyleThe scope of the variable 'gqe_ptr' can be reduced.
1156variableScopestyleThe scope of the variable 'tb' can be reduced.
1210unusedFunctionstyleThe function 'get_sister_partitions' is never used.
1414unusedFunctionstyleThe function 'curve_is_on_ignored_surface' is never used.
1416variableScopestyleThe scope of the variable 'i' can be reduced.
1617variableScopestyleThe scope of the variable 'j' can be reduced.
1982variableScopestyleThe scope of the variable 'gqe' can be reduced.
2034redundantAssignmentstyleVariable 'containment' is reassigned a value before the old one has been used.
2085redundantAssignmentstyleVariable 'containment' is reassigned a value before the old one has been used.
2513redundantAssignmentstyleVariable 'containment' is reassigned a value before the old one has been used.
2560redundantAssignmentstyleVariable 'containment' is reassigned a value before the old one has been used.
init/InitCGMA.cpp
53noConstructorstyleThe class 'dummym' does not have a constructor.
179unusedFunctionstyleThe function 'deinitialize_cgma' is never used.
itaps/CATag.cpp
422variableScopestyleThe scope of the variable 'result' can be reduced.
422variableScopestyleThe scope of the variable 'tmp_result' can be reduced.
479postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
661invalidPointerCaststyleCasting between integer* and double* which have an incompatible binary data representation.
773postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
778postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
787postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
806postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
829postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
866variableScopestyleThe scope of the variable 'tmp_data' can be reduced.
902postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
itaps/chaman.cc
82variableScopestyleThe scope of the variable 'delta' can be reduced.
101unreadVariablestyleVariable 'numEdges' is assigned a value that is never used.
122assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'size'.
itaps/copy_attrib.cpp
93variableScopestyleThe scope of the variable 'offset' can be reduced.
99unreadVariablestyleVariable 'offset' is assigned a value that is never used.
111passedByValuestyleFunction parameter 'id' should be passed by reference.
itaps/iGeom_CGMA.cc
571unusedFunctionstyleThe function 'CGM_iGeom_register' is never used.
586unusedFunctionstyleThe function 'iGeom_getDescription' is never used.
631unusedFunctionstyleThe function 'iGeom_dtor' is never used.
753unusedFunctionstyleThe function 'iGeom_save' is never used.
834unusedFunctionstyleThe function 'iGeom_getBoundBox' is never used.
861unusedFunctionstyleThe function 'iGeom_initEntIter' is never used.
906unusedFunctionstyleThe function 'iGeom_getNextEntIter' is never used.
924unusedFunctionstyleThe function 'iGeom_getNextEntArrIter' is never used.
934nullPointerstylePossible null pointer dereference: has_data - otherwise it is redundant to check it against null.
947unusedFunctionstyleThe function 'iGeom_resetEntIter' is never used.
957unusedFunctionstyleThe function 'iGeom_resetEntArrIter' is never used.
971unusedFunctionstyleThe function 'iGeom_endEntIter' is never used.
981unusedFunctionstyleThe function 'iGeom_endEntArrIter' is never used.
995unusedFunctionstyleThe function 'iGeom_isChildOf' is never used.
1028unusedFunctionstyleThe function 'iGeom_getChldn' is never used.
1052unusedFunctionstyleThe function 'iGeom_getPrnts' is never used.
1075unusedFunctionstyleThe function 'iGeom_getNumChld' is never used.
1096unusedFunctionstyleThe function 'iGeom_getNumPrnt' is never used.
1116unusedFunctionstyleThe function 'iGeom_addPrntChld' is never used.
1136unusedFunctionstyleThe function 'iGeom_rmvPrntChld' is never used.
1242unusedFunctionstyleThe function 'iGeom_getEntType' is never used.
1260unusedFunctionstyleThe function 'iGeom_getArrType' is never used.
1314unusedFunctionstyleThe function 'iGeom_getArrAdj' is never used.
1331cstyleCaststyleC-style pointer casting
1356unusedFunctionstyleThe function 'iGeom_getEnt2ndAdj' is never used.
1390unusedFunctionstyleThe function 'iGeom_getArr2ndAdj' is never used.
1409cstyleCaststyleC-style pointer casting
1437unusedFunctionstyleThe function 'iGeom_isEntAdj' is never used.
1452unusedFunctionstyleThe function 'iGeom_isArrAdj' is never used.
1499unusedFunctionstyleThe function 'iGeom_getTopoLevel' is never used.
1518unusedFunctionstyleThe function 'iGeom_createTag' is never used.
1567unusedFunctionstyleThe function 'iGeom_destroyTag' is never used.
1580unusedFunctionstyleThe function 'iGeom_getTagName' is never used.
1598unusedFunctionstyleThe function 'iGeom_getTagSizeValues' is never used.
1629unusedFunctionstyleThe function 'iGeom_getTagSizeBytes' is never used.
1668unusedFunctionstyleThe function 'iGeom_rmvArrTag' is never used.
1686unusedFunctionstyleThe function 'iGeom_rmvTag' is never used.
1700unusedFunctionstyleThe function 'iGeom_getAllTags' is never used.
1732unusedFunctionstyleThe function 'iGeom_getIntArrData' is never used.
1755unusedFunctionstyleThe function 'iGeom_getDblArrData' is never used.
1777unusedFunctionstyleThe function 'iGeom_getEHArrData' is never used.
1799unusedFunctionstyleThe function 'iGeom_getESHArrData' is never used.
1838unusedFunctionstyleThe function 'iGeom_setIntArrData' is never used.
1852unusedFunctionstyleThe function 'iGeom_setDblArrData' is never used.
1866unusedFunctionstyleThe function 'iGeom_setEHArrData' is never used.
1881unusedFunctionstyleThe function 'iGeom_setESHArrData' is never used.
1900unusedFunctionstyleThe function 'iGeom_getData' is never used.
1929unusedFunctionstyleThe function 'iGeom_getDblData' is never used.
1942unusedFunctionstyleThe function 'iGeom_getEHData' is never used.
1955unusedFunctionstyleThe function 'iGeom_getESHData' is never used.
1972unusedFunctionstyleThe function 'iGeom_setData' is never used.
1988unusedFunctionstyleThe function 'iGeom_setIntData' is never used.
1999unusedFunctionstyleThe function 'iGeom_setDblData' is never used.
2010unusedFunctionstyleThe function 'iGeom_setEHData' is never used.
2021unusedFunctionstyleThe function 'iGeom_setESHData' is never used.
2037unusedFunctionstyleThe function 'iGeom_rmvEntSetTag' is never used.
2052unusedFunctionstyleThe function 'iGeom_getAllEntSetTags' is never used.
2089unusedFunctionstyleThe function 'iGeom_getEntSetIntData' is never used.
2102unusedFunctionstyleThe function 'iGeom_getEntSetDblData' is never used.
2115unusedFunctionstyleThe function 'iGeom_getEntSetEHData' is never used.
2128unusedFunctionstyleThe function 'iGeom_getEntSetESHData' is never used.
2161unusedFunctionstyleThe function 'iGeom_setEntSetIntData' is never used.
2172unusedFunctionstyleThe function 'iGeom_setEntSetDblData' is never used.
2183unusedFunctionstyleThe function 'iGeom_setEntSetEHData' is never used.
2195unusedFunctionstyleThe function 'iGeom_setEntSetESHData' is never used.
2206unusedFunctionstyleThe function 'iGeom_getEntClosestPt' is never used.
2216cstyleCaststyleC-style pointer casting
2227unusedFunctionstyleThe function 'iGeom_getEntClosestPtTrimmed' is never used.
2237cstyleCaststyleC-style pointer casting
2256unusedFunctionstyleThe function 'iGeom_getArrClosestPt' is never used.
2344unusedFunctionstyleThe function 'iGeom_getEntNrmlPlXYZ' is never used.
2357cstyleCaststyleC-style pointer casting
2378unusedFunctionstyleThe function 'iGeom_getArrNrmlPlXYZ' is never used.
2481unusedFunctionstyleThe function 'iGeom_getEntNrmlXYZ' is never used.
2491cstyleCaststyleC-style pointer casting
2512unusedFunctionstyleThe function 'iGeom_getArrNrmlXYZ' is never used.
2611cstyleCaststyleC-style pointer casting
2735cstyleCaststyleC-style pointer casting
2753unusedFunctionstyleThe function 'iGeom_getEgCvtrXYZ' is never used.
2763cstyleCaststyleC-style pointer casting
2904unusedFunctionstyleThe function 'iGeom_getEgEvalXYZ' is never used.
2920cstyleCaststyleC-style pointer casting
2934unusedFunctionstyleThe function 'iGeom_getFcEvalXYZ' is never used.
2953cstyleCaststyleC-style pointer casting
2974unusedFunctionstyleThe function 'iGeom_getArrEgEvalXYZ' is never used.
3098unusedFunctionstyleThe function 'iGeom_getArrFcEvalXYZ' is never used.
3266unusedFunctionstyleThe function 'iGeom_getEntBoundBox' is never used.
3276cstyleCaststyleC-style pointer casting
3290unusedFunctionstyleThe function 'iGeom_getFaceType' is never used.
3330unusedFunctionstyleThe function 'iGeom_getArrBoundBox' is never used.
3388unusedFunctionstyleThe function 'iGeom_getVtxCoord' is never used.
3395cstyleCaststyleC-style pointer casting
3462unusedFunctionstyleThe function 'iGeom_getPntRayIntsct' is never used.
3520unusedFunctionstyleThe function 'iGeom_getPntArrRayIntsct' is never used.
3615unusedFunctionstyleThe function 'iGeom_getPntClsf' is never used.
3629unusedFunctionstyleThe function 'iGeom_getPntArrClsf' is never used.
3680unusedFunctionstyleThe function 'iGeom_getEntNrmlSense' is never used.
3714unusedFunctionstyleThe function 'iGeom_getArrNrmlSense' is never used.
3795unusedFunctionstyleThe function 'iGeom_getEgFcSense' is never used.
3814unusedFunctionstyleThe function 'iGeom_getEgFcArrSense' is never used.
3879unusedFunctionstyleThe function 'iGeom_getEgVtxSense' is never used.
3897unusedFunctionstyleThe function 'iGeom_getEgVtxArrSense' is never used.
3966unusedFunctionstyleThe function 'iGeom_getNumEntSets' is never used.
3999unusedFunctionstyleThe function 'iGeom_getEntSets' is never used.
4042unusedFunctionstyleThe function 'iGeom_createEntSet' is never used.
4065unusedFunctionstyleThe function 'iGeom_destroyEntSet' is never used.
4085unusedFunctionstyleThe function 'iGeom_isList' is never used.
4104unusedFunctionstyleThe function 'iGeom_addEntSet' is never used.
4121unusedFunctionstyleThe function 'iGeom_rmvEntSet' is never used.
4204unusedFunctionstyleThe function 'iGeom_isEntArrContained' is never used.
4227unusedFunctionstyleThe function 'iGeom_isEntSetContained' is never used.
4247unusedFunctionstyleThe function 'iGeom_addEntArrToSet' is never used.
4276unusedFunctionstyleThe function 'iGeom_rmvEntArrFromSet' is never used.
4307unusedFunctionstyleThe function 'iGeom_getTolerance' is never used.
4318unusedFunctionstyleThe function 'iGeom_getEntTolerance' is never used.
4336unusedFunctionstyleThe function 'iGeom_getArrTolerance' is never used.
4353unusedFunctionstyleThe function 'iGeom_getParametric' is never used.
4368unusedFunctionstyleThe function 'iGeom_isEntParametric' is never used.
4373cstyleCaststyleC-style pointer casting
4378unusedFunctionstyleThe function 'iGeom_isArrParametric' is never used.
4403cstyleCaststyleC-style pointer casting
4506cstyleCaststyleC-style pointer casting
4593unusedFunctionstyleThe function 'iGeom_getEntXYZtoUV' is never used.
4602cstyleCaststyleC-style pointer casting
4623unusedFunctionstyleThe function 'iGeom_getArrXYZtoUV' is never used.
4701unusedFunctionstyleThe function 'iGeom_getEntXYZtoU' is never used.
4709cstyleCaststyleC-style pointer casting
4722unusedFunctionstyleThe function 'iGeom_getArrXYZtoU' is never used.
4789unusedFunctionstyleThe function 'iGeom_getEntXYZtoUVHint' is never used.
4798cstyleCaststyleC-style pointer casting
4819unusedFunctionstyleThe function 'iGeom_getArrXYZtoUVHint' is never used.
4894unusedFunctionstyleThe function 'iGeom_getEntUVRange' is never used.
4902cstyleCaststyleC-style pointer casting
4920cstyleCaststyleC-style pointer casting
4938unusedFunctionstyleThe function 'iGeom_getArrUVRange' is never used.
4993unusedFunctionstyleThe function 'iGeom_getArrURange' is never used.
5026unusedFunctionstyleThe function 'iGeom_getEntUtoUV' is never used.
5034cstyleCaststyleC-style pointer casting
5035cstyleCaststyleC-style pointer casting
5057unusedFunctionstyleThe function 'iGeom_getArrUtoUV' is never used.
5130unusedFunctionstyleThe function 'iGeom_getVtxToUV' is never used.
5137cstyleCaststyleC-style pointer casting
5138cstyleCaststyleC-style pointer casting
5148unusedFunctionstyleThe function 'iGeom_getVtxArrToUV' is never used.
5217unusedFunctionstyleThe function 'iGeom_getVtxToU' is never used.
5223cstyleCaststyleC-style pointer casting
5224cstyleCaststyleC-style pointer casting
5234unusedFunctionstyleThe function 'iGeom_getVtxArrToU' is never used.
5288unusedFunctionstyleThe function 'iGeom_getEntNrmlUV' is never used.
5297cstyleCaststyleC-style pointer casting
5317unusedFunctionstyleThe function 'iGeom_getArrNrmlUV' is never used.
5396unusedFunctionstyleThe function 'iGeom_getEntTgntU' is never used.
5419unusedFunctionstyleThe function 'iGeom_getArrTgntU' is never used.
5439unusedFunctionstyleThe function 'iGeom_getEnt1stDrvt' is never used.
5451cstyleCaststyleC-style pointer casting
5470unusedFunctionstyleThe function 'iGeom_getArr1stDrvt' is never used.
5559unusedFunctionstyleThe function 'iGeom_getEnt2ndDrvt' is never used.
5578unusedFunctionstyleThe function 'iGeom_getArr2ndDrvt' is never used.
5608unusedFunctionstyleThe function 'iGeom_getFcCvtrUV' is never used.
5631unusedFunctionstyleThe function 'iGeom_getFcArrCvtrUV' is never used.
5654unusedFunctionstyleThe function 'iGeom_isEntPeriodic' is never used.
5660cstyleCaststyleC-style pointer casting
5665unusedFunctionstyleThe function 'iGeom_isArrPeriodic' is never used.
5686unusedFunctionstyleThe function 'iGeom_isFcDegenerate' is never used.
5691cstyleCaststyleC-style pointer casting
5698unusedFunctionstyleThe function 'iGeom_isFcArrDegenerate' is never used.
5728unusedFunctionstyleThe function 'iGeom_subtract' is never used.
5752unusedFunctionstyleThe function 'iGeom_intersect' is never used.
5776unusedFunctionstyleThe function 'iGeom_unite' is never used.
5795unusedFunctionstyleThe function 'iGeom_copyEnt' is never used.
5829unusedFunctionstyleThe function 'iGeom_sweepEntAboutAxis' is never used.
5888unusedFunctionstyleThe function 'iGeom_deleteAll' is never used.
5897unusedFunctionstyleThe function 'iGeom_deleteEnt' is never used.
5928unusedFunctionstyleThe function 'iGeom_createSphere' is never used.
5944unusedFunctionstyleThe function 'iGeom_createPrism' is never used.
5965unusedFunctionstyleThe function 'iGeom_createBrick' is never used.
5996unusedFunctionstyleThe function 'iGeom_createCylinder' is never used.
6017unusedFunctionstyleThe function 'iGeom_createCone' is never used.
6039unusedFunctionstyleThe function 'iGeom_createTorus' is never used.
6060unusedFunctionstyleThe function 'iGeom_moveEnt' is never used.
6123unusedFunctionstyleThe function 'iGeom_rotateEnt' is never used.
6161unusedFunctionstyleThe function 'iGeom_reflectEnt' is never used.
6202unusedFunctionstyleThe function 'iGeom_scaleEnt' is never used.
6262unusedFunctionstyleThe function 'iGeom_uniteEnts' is never used.
6304unusedFunctionstyleThe function 'iGeom_subtractEnts' is never used.
6326variableScopestyleThe scope of the variable 'new_body' can be reduced.
6342unusedFunctionstyleThe function 'iGeom_intersectEnts' is never used.
6364variableScopestyleThe scope of the variable 'new_body' can be reduced.
6380unusedFunctionstyleThe function 'iGeom_sectionEnt' is never used.
6393oppositeInnerConditionstyleOpposite conditions in nested 'if' blocks lead to a dead code block.
6443unusedFunctionstyleThe function 'iGeom_imprintEnts' is never used.
6491unusedFunctionstyleThe function 'iGeom_mergeEnts' is never used.
6588unusedFunctionstyleThe function 'iGeom_isPositionOn' is never used.
6588unusedFunctionstyleThe function 'igeom_ispositionon_' is never used.
6673resourceLeakerrorResource leak: cubfile
6694redundantAssignmentstyleVariable 'result' is reassigned a value before the old one has been used.
6755resourceLeakerrorResource leak: tmp_file
7367variableScopestyleThe scope of the variable 're_ptr' can be reduced.
7373unreadVariablestyleVariable 're_ptr' is assigned a value that is never used.
7497unusedFunctionstyleThe function 'iGeom_getFacets' is never used.
itaps/mergetest.cc
47noCopyConstructorstyle'class SimpleArray' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
itaps/partest.cpp
75variableScopestyleThe scope of the variable 'rss_after' can be reduced.
75variableScopestyleThe scope of the variable 'size_after' can be reduced.
114redundantAssignmentstyleVariable 'file_ptr' is reassigned a value before the old one has been used.
123variableScopestyleThe scope of the variable 'page_size' can be reduced.
124invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
124invalidscanfstylescanf without field width limits can crash with huge input data.
itaps/testgeom.cc
58noCopyConstructorstyle'class SimpleArray' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
58noCopyConstructorstyle'class SimpleArray' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
58noCopyConstructorstyle'class SimpleArray' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
58noCopyConstructorstyle'class SimpleArray' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
304passedByValuestyleFunction parameter 'filename' should be passed by reference.
336redundantAssignmentstyleVariable 'success' is reassigned a value before the old one has been used.
553unreadVariablestyleVariable 'num_all_gentities_super' is assigned a value that is never used.
880postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
util/AllocMemManagersList.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
util/AppUtil.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'RUSAGE_SELF;SOLARIS' since the value of 'RUSAGE_SELF' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'SIGWINCH;TIOCGWINSZ' since the value of 'SIGWINCH' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'TIOCGWINSZ' since the value of 'TIOCGWINSZ' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
162unusedFunctionstyleThe function 'instance_no_create' is never used.
243unusedFunctionstyleThe function 'days_to_expire' is never used.
433redundantAssignmentstyleVariable 'file_ptr' is reassigned a value before the old one has been used.
445redundantAssignmentstyleVariable 'file_ptr' is reassigned a value before the old one has been used.
453variableScopestyleThe scope of the variable 'page_size' can be reduced.
454invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
454invalidscanfstylescanf without field width limits can crash with huge input data.
516unusedFunctionstyleThe function 'thread_pool' is never used.
542unusedFunctionstyleThe function 'set_interrupt' is never used.
552unusedFunctionstyleThe function 'clear_interrupt' is never used.
util/AppUtil.hpp
35noCopyConstructorstyle'class AppUtil' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
util/ArrayBasedContainer.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
78cstyleCaststyleC-style pointer casting
116cstyleCaststyleC-style pointer casting
145cstyleCaststyleC-style pointer casting
214variableScopestyleThe scope of the variable 'item' can be reduced.
239unusedFunctionstyleThe function 'current_allocated_memory' is never used.
244unusedFunctionstyleThe function 'maximum_allocated_memory' is never used.
util/CCubitFile.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
56uninitMemberVarstyleMember variable 'CCubitFile::mintWriteTempFile' is not initialized in the constructor.
56uninitMemberVarstyleMember variable 'CCubitFile::mintWriteBuffNumModels' is not initialized in the constructor.
56uninitMemberVarstyleMember variable 'CCubitFile::mReadContents' is not initialized in the constructor.
56uninitMemberVarstyleMember variable 'CCubitFile::mWriteContents' is not initialized in the constructor.
56uninitMemberVarstyleMember variable 'CCubitFile::mintFEModelIndex' is not initialized in the constructor.
56uninitMemberVarstyleMember variable 'CCubitFile::mintSimModelIndex' is not initialized in the constructor.
317catchExceptionByValuestyleException should be caught by reference.
365catchExceptionByValuestyleException should be caught by reference.
671catchExceptionByValuestyleException should be caught by reference.
677unusedFunctionstyleThe function 'EndWriteGeomModel' is never used.
710catchExceptionByValuestyleException should be caught by reference.
772catchExceptionByValuestyleException should be caught by reference.
855catchExceptionByValuestyleException should be caught by reference.
863unusedFunctionstyleThe function 'EndReadModel' is never used.
911catchExceptionByValuestyleException should be caught by reference.
932catchExceptionByValuestyleException should be caught by reference.
949catchExceptionByValuestyleException should be caught by reference.
969catchExceptionByValuestyleException should be caught by reference.
998catchExceptionByValuestyleException should be caught by reference.
1020catchExceptionByValuestyleException should be caught by reference.
1045catchExceptionByValuestyleException should be caught by reference.
1049unusedFunctionstyleThe function 'EndWriteFEModel' is never used.
1069catchExceptionByValuestyleException should be caught by reference.
1105catchExceptionByValuestyleException should be caught by reference.
1128catchExceptionByValuestyleException should be caught by reference.
1170catchExceptionByValuestyleException should be caught by reference.
1197catchExceptionByValuestyleException should be caught by reference.
1222catchExceptionByValuestyleException should be caught by reference.
1260catchExceptionByValuestyleException should be caught by reference.
1294catchExceptionByValuestyleException should be caught by reference.
1326catchExceptionByValuestyleException should be caught by reference.
1361catchExceptionByValuestyleException should be caught by reference.
1373unusedFunctionstyleThe function 'EndReadFEModel' is never used.
1386catchExceptionByValuestyleException should be caught by reference.
1427catchExceptionByValuestyleException should be caught by reference.
1455catchExceptionByValuestyleException should be caught by reference.
1475catchExceptionByValuestyleException should be caught by reference.
1499catchExceptionByValuestyleException should be caught by reference.
1503unusedFunctionstyleThe function 'EndWriteSimModel' is never used.
1520catchExceptionByValuestyleException should be caught by reference.
1552catchExceptionByValuestyleException should be caught by reference.
1582catchExceptionByValuestyleException should be caught by reference.
1613catchExceptionByValuestyleException should be caught by reference.
1645catchExceptionByValuestyleException should be caught by reference.
1656unusedFunctionstyleThe function 'EndReadSimModel' is never used.
1666catchExceptionByValuestyleException should be caught by reference.
util/CommandFeedback.hpp
55unnecessaryQualificationstyleThe extra qualification 'DeprecatedCommandError::' is unnecessary and is considered an error by many compilers.
util/CpuTimer.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
97unusedFunctionstyleThe function 'clock_secs' is never used.
util/Cubit2DPoint.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
util/CubitBox.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
util/CubitBox.hpp
188useInitializationListstyleVariable 'minimum_' is assigned in constructor body. Consider performing initialization in initialization list.
189useInitializationListstyleVariable 'maximum_' is assigned in constructor body. Consider performing initialization in initialization list.
util/CubitColor.cpp
31unusedFunctionstyleThe function 'rgb_from_double' is never used.
util/CubitConcurrentApi.cpp
73unusedFunctionstyleThe function 'get_base_type' is never used.
78unusedFunctionstyleThe function 'create_mutex' is never used.
83unusedFunctionstyleThe function 'destroy_mutex' is never used.
util/CubitCoordinateSystem.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
72unusedFunctionstyleThe function 'set_type' is never used.
80unusedFunctionstyleThe function 'get_transform' is never used.
94unusedFunctionstyleThe function 'get_concatenated_transform' is never used.
util/CubitDynamicLoader.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
15unusedFunctionstyleThe function 'add_search_path' is never used.
229unusedFunctionstyleThe function 'unload_library' is never used.
util/CubitEntity.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
40unusedFunctionstyleThe function 'is_visible' is never used.
48unusedFunctionstyleThe function 'is_transparent' is never used.
util/CubitEventDispatcher.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
util/CubitFileFEModel.cpp
932variableScopestyleThe scope of the variable 'lintNumElems' can be reduced.
932variableScopestyleThe scope of the variable 'lintNumConnect' can be reduced.
1019variableScopestyleThe scope of the variable 'lintNumMembers' can be reduced.
1089variableScopestyleThe scope of the variable 'lintNumMembers' can be reduced.
1167variableScopestyleThe scope of the variable 'lintNumMembers' can be reduced.
1263variableScopestyleThe scope of the variable 'lintNumMembers' can be reduced.
1365variableScopestyleThe scope of the variable 'lintNumMembers' can be reduced.
util/CubitFileIOWrapper.cpp
86unreadVariablestyleVariable 'pos' is assigned a value that is never used.
212variableScopestyleThe scope of the variable 'lintMod' can be reduced.
util/CubitFileIOWrapper.hpp
81variableScopestyleThe scope of the variable 'lintToByte' can be reduced.
82variableScopestyleThe scope of the variable 'lpCurFromByte' can be reduced.
util/CubitFileMetaData.cpp
423unusedFunctionstyleThe function 'GetMetaDataAll' is never used.
639unusedFunctionstyleThe function 'SearchByID' is never used.
689unusedFunctionstyleThe function 'SearchByName' is never used.
891variableScopestyleThe scope of the variable 'lintEntry' can be reduced.
950variableScopestyleThe scope of the variable 'lintEntry' can be reduced.
util/CubitFileSimModel.cpp
812variableScopestyleThe scope of the variable 'lintNumMembers' can be reduced.
852variableScopestyleThe scope of the variable 'lintNumMembers' can be reduced.
892variableScopestyleThe scope of the variable 'lintNumMembers' can be reduced.
953variableScopestyleThe scope of the variable 'lintNumMembers' can be reduced.
1020variableScopestyleThe scope of the variable 'lintNumMembers' can be reduced.
1062variableScopestyleThe scope of the variable 'lintNumMembers' can be reduced.
1103unusedFunctionstyleThe function 'GetBCMetaData' is never used.
1108unusedFunctionstyleThe function 'GetICMetaData' is never used.
1123unusedFunctionstyleThe function 'GetAmplitudeMetaData' is never used.
util/CubitFileUtil.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
94unusedFunctionstyleThe function 'set_current_working_directory' is never used.
119unusedFunctionstyleThe function 'find_home_path' is never used.
148unusedFunctionstyleThe function 'create_directory' is never used.
265unusedFunctionstyleThe function 'get_nice_filename' is never used.
315unusedFunctionstyleThe function 'get_file_extension' is never used.
348unusedFunctionstyleThe function 'all_chars_are' is never used.
366unusedFunctionstyleThe function 'contains_char' is never used.
406unusedFunctionstyleThe function 'get_next_filenumber' is never used.
510unusedFunctionstyleThe function 'complete_filename' is never used.
551nullPointerstylePossible null pointer dereference: home - otherwise it is redundant to check it against null.
617unusedVariablestyleUnused variable: catia_strings
617unusedVariablestyleUnused variable: proe_strings
892postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
917postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
util/CubitInstrumentation.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
60unusedFunctionstyleThe function 'write_context_token' is never used.
91postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
101unusedFunctionstyleThe function 'load_all_words' is never used.
103stlSizestylePossible inefficient checking for 'keywordMap' emptiness.
129unusedFunctionstyleThe function 'write_keywords' is never used.
util/CubitMatrix.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
159unusedFunctionstyleThe function 'print_matrix' is never used.
514unusedFunctionstyleThe function 'positive_definite' is never used.
560redundantAssignmentstyleVariable 'c' is reassigned a value before the old one has been used.
561clarifyCalculationstyleClarify calculation precedence for '%' and '?'.
657unusedFunctionstyleThe function 'inf_norm' is never used.
660variableScopestyleThe scope of the variable 'row_norm' can be reduced.
756unusedFunctionstyleThe function 'condition' is never used.
827unusedFunctionstyleThe function 'gauss_elim' is never used.
1019variableScopestyleThe scope of the variable 'i' can be reduced.
1019variableScopestyleThe scope of the variable 'j' can be reduced.
1052variableScopestyleThe scope of the variable 'i' can be reduced.
1154variableScopestyleThe scope of the variable 'ip' can be reduced.
1183unusedFunctionstyleThe function 'is_identity' is never used.
1224unusedFunctionstyleThe function 'plus_identity' is never used.
util/CubitMatrix.hpp
108operatorEqstyle'CubitMatrix::operator=' should return 'CubitMatrix &'.
util/CubitMessage.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
92unusedFunctionstyleThe function 'free_instance' is never used.
556unusedFunctionstyleThe function 'print_diagnostic' is never used.
561unusedFunctionstyleThe function 'reset_error_count' is never used.
582unusedFunctionstyleThe function 'reset_warning_count' is never used.
593unusedFunctionstyleThe function 'warning_count' is never used.
642unusedFunctionstyleThe function 'output_logging_information' is never used.
707unusedFunctionstyleThe function 'set_logging_file_setting' is never used.
748unusedFunctionstyleThe function 'set_debug_file_setting' is never used.
795unusedFunctionstyleThe function 'set_message_handler' is never used.
802unusedFunctionstyleThe function 'get_message_handler' is never used.
807unusedFunctionstyleThe function 'set_error_handler' is never used.
812unusedFunctionstyleThe function 'get_error_handler' is never used.
854unusedFunctionstyleThe function 'set_error_logging_file_setting' is never used.
905unusedFunctionstyleThe function 'logging_filename' is never used.
914unusedFunctionstyleThe function 'logging_errors_filename' is never used.
923unusedFunctionstyleThe function 'start_expected_error_count' is never used.
930unusedFunctionstyleThe function 'stop_expected_error_count' is never used.
util/CubitObservable.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
76variableScopestyleThe scope of the variable 'observer' can be reduced.
util/CubitObserver.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
42redundantAssignmentstyleVariable 'success' is reassigned a value before the old one has been used.
util/CubitPlane.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'ACIS' since the value of 'ACIS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
98unusedFunctionstyleThe function 'fit_points' is never used.
194useInitializationListstyleVariable 'normal_' is assigned in constructor body. Consider performing initialization in initialization list.
util/CubitPlane.hpp
134useInitializationListstyleVariable 'normal_' is assigned in constructor body. Consider performing initialization in initialization list.
util/CubitProcess.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
util/CubitQtConcurrentApi.cpp
34uninitMemberVarstyleMember variable 'TLSWrapper::mCleanup' is not initialized in the constructor.
68useInitializationListstyleVariable '_name' is assigned in constructor body. Consider performing initialization in initialization list.
84unusedFunctionstyleThe function 'get_name' is never used.
util/CubitSparseMatrix.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
227postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
237postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
279postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
286postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
300unusedFunctionstyleThe function 'get_row' is never used.
340postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
347postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
385postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
418unusedFunctionstyleThe function 'num_non_zeros' is never used.
427postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
util/CubitString.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
97va_list_usedBeforeStartederrorva_list 'args2' used before va_start() was called.
107va_list_usedBeforeStartederrorva_list 'args2' used before va_start() was called.
113va_list_usedBeforeStartederrorva_list 'args2' used before va_start() was called.
270unusedFunctionstyleThe function 'starts_with' is never used.
292unusedFunctionstyleThe function 'to_upper' is never used.
330unusedFunctionstyleThe function 'simplify' is never used.
445unusedFunctionstyleThe function 'toWide' is never used.
462unusedFunctionstyleThe function 'toNarrow' is never used.
util/CubitTransformMatrix.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
386unusedFunctionstyleThe function 'construct_matrix' is never used.
402unusedFunctionstyleThe function 'get_rotation_axis_and_angle' is never used.
util/CubitUndo.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
28unusedFunctionstyleThe function 'start_undo_group' is never used.
34unusedFunctionstyleThe function 'end_undo_group' is never used.
52unusedFunctionstyleThe function 'clear_undo_groups' is never used.
58unusedFunctionstyleThe function 'execute_undo' is never used.
73unusedFunctionstyleThe function 'remove_last_undo_group' is never used.
134unusedFunctionstyleThe function 'note_result_body' is never used.
146unusedFunctionstyleThe function 'retain_mesh_on_result_bodies' is never used.
152unusedFunctionstyleThe function 'retain_mesh_on_result_curves' is never used.
158unusedFunctionstyleThe function 'retain_mesh_on_result_vertices' is never used.
164unusedFunctionstyleThe function 'note_result_boundary_conditions' is never used.
170unusedFunctionstyleThe function 'note_result_entity' is never used.
188unusedFunctionstyleThe function 'set_undo_by_restoring_state' is never used.
194unusedFunctionstyleThe function 'set_undo_by_command' is never used.
200unusedFunctionstyleThe function 'number_undo_groups' is never used.
206unusedFunctionstyleThe function 'create_dummy_undo_object' is never used.
212unusedFunctionstyleThe function 'inside_undo_group' is never used.
218unusedFunctionstyleThe function 'save_mesh_size_data' is never used.
224unusedFunctionstyleThe function 'save_mesh_scheme_data' is never used.
230unusedFunctionstyleThe function 'save_smooth_scheme_data' is never used.
236unusedFunctionstyleThe function 'save_all_mesh_data' is never used.
242unusedFunctionstyleThe function 'save_merge_data' is never used.
248unusedFunctionstyleThe function 'save_mesh_state_before_smoothing' is never used.
util/CubitUtil.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
40unusedFunctionstyleThe function 'get_digits' is never used.
45unusedFunctionstyleThe function 'set_digits' is never used.
64variableScopestyleThe scope of the variable 'c2' can be reduced.
84unusedFunctionstyleThe function 'strncmp_case_insensitive' is never used.
87variableScopestyleThe scope of the variable 'c2' can be reduced.
108unusedFunctionstyleThe function 'list_ids' is never used.
306variableScopestyleThe scope of the variable 'current' can be reduced.
641unusedFunctionstyleThe function 'get_temporary_filename' is never used.
680unusedFunctionstyleThe function 'print_columns' is never used.
781unusedFunctionstyleThe function 'cubit_sleep' is never used.
810unusedFunctionstyleThe function 'get_computer_name' is never used.
828unusedFunctionstyleThe function 'get_os' is never used.
861unusedFunctionstyleThe function 'num_cpu' is never used.
util/CubitVector.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'ACIS' since the value of 'ACIS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
173unusedFunctionstyleThe function 'reflect_about_xaxis' is never used.
178unusedFunctionstyleThe function 'scale_angle' is never used.
403unusedFunctionstyleThe function 'within_scaled_tolerance' is never used.
463variableScopestyleThe scope of the variable 'rmag' can be reduced.
537unusedFunctionstyleThe function 'project_to_plane' is never used.
556unusedFunctionstyleThe function 'barycentric_coordinates' is never used.
739unusedFunctionstyleThe function 'project_to_line_segment' is never used.
util/DLIList.hpp
283variableScopestyleThe scope of the variable 'check_index' can be reduced.
285variableScopestyleThe scope of the variable 'new_item' can be reduced.
1043useInitializationListstyleVariable 'listArray' is assigned in constructor body. Consider performing initialization in initialization list.
1546passedByValuestyleFunction parameter 'item' should be passed by reference.
1568postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
1588postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
1609passedByValuestyleFunction parameter 'body' should be passed by reference.
util/DLList.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
26uninitMemberVarstyleMember variable 'DLList::nullItem' is not initialized in the constructor.
84variableScopestyleThe scope of the variable 'check_index' can be reduced.
85variableScopestyleThe scope of the variable 'new_item' can be reduced.
195unusedFunctionstyleThe function 'omit_link' is never used.
235unusedFunctionstyleThe function 'nullify_link' is never used.
249unusedFunctionstyleThe function 'prev_item' is never used.
270unusedFunctionstyleThe function 'step_and_get_item' is never used.
285unusedFunctionstyleThe function 'get_item_and_back' is never used.
300unusedFunctionstyleThe function 'move_to_and_remove_item' is never used.
308unusedFunctionstyleThe function 'distance_to_nearby_item' is never used.
436unusedFunctionstyleThe function 'move_between_items' is never used.
util/GMem.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'ACIS' since the value of 'ACIS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
util/GetLongOpt.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
36unusedFunctionstyleThe function 'retrieve' is never used.
88postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
util/GetLongOpt.hpp
106uninitMemberVarstyleMember variable 'Cell::type' is not initialized in the constructor.
106useInitializationListstyleVariable 'value' is assigned in constructor body. Consider performing initialization in initialization list.
util/GfxDebug.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
27unusedFunctionstyleThe function 'is_initialized' is never used.
62unusedFunctionstyleThe function 'drawing_mode' is never used.
80unusedFunctionstyleThe function 'create_window' is never used.
87unusedFunctionstyleThe function 'delete_window' is never used.
94unusedFunctionstyleThe function 'set_2D_mode' is never used.
115unusedFunctionstyleThe function 'display_to_world_length' is never used.
172unusedFunctionstyleThe function 'draw_mref_vertex' is never used.
178unusedFunctionstyleThe function 'draw_mref_edge' is never used.
184unusedFunctionstyleThe function 'draw_mref_face' is never used.
190unusedFunctionstyleThe function 'draw_mref_volume' is never used.
196unusedFunctionstyleThe function 'draw_mref_body' is never used.
202unusedFunctionstyleThe function 'draw_mref_entity_mesh' is never used.
208unusedFunctionstyleThe function 'draw_mref_volume_faces' is never used.
222unusedFunctionstyleThe function 'highlight_ref_vertex' is never used.
240unusedFunctionstyleThe function 'highlight_ref_volume' is never used.
246unusedFunctionstyleThe function 'highlight_ref_body' is never used.
260unusedFunctionstyleThe function 'highlight_mref_vertex' is never used.
266unusedFunctionstyleThe function 'highlight_mref_edge' is never used.
272unusedFunctionstyleThe function 'highlight_mref_face' is never used.
278unusedFunctionstyleThe function 'highlight_mref_volume' is never used.
284unusedFunctionstyleThe function 'highlight_mref_body' is never used.
305unusedFunctionstyleThe function 'draw_nodes' is never used.
315unusedFunctionstyleThe function 'draw_quads' is never used.
320unusedFunctionstyleThe function 'draw_tris' is never used.
325unusedFunctionstyleThe function 'draw_tets' is never used.
330unusedFunctionstyleThe function 'draw_hexes' is never used.
342unusedFunctionstyleThe function 'draw_wedges' is never used.
348unusedFunctionstyleThe function 'draw_mesh_entity' is never used.
354unusedFunctionstyleThe function 'draw_node' is never used.
374unusedFunctionstyleThe function 'draw_tet' is never used.
379unusedFunctionstyleThe function 'draw_hex' is never used.
384unusedFunctionstyleThe function 'draw_pyramid' is never used.
390unusedFunctionstyleThe function 'draw_wedge' is never used.
396unusedFunctionstyleThe function 'highlight_node' is never used.
402unusedFunctionstyleThe function 'highlight_edge' is never used.
408unusedFunctionstyleThe function 'highlight_quad' is never used.
414unusedFunctionstyleThe function 'highlight_tri' is never used.
420unusedFunctionstyleThe function 'highlight_tet' is never used.
426unusedFunctionstyleThe function 'highlight_hex' is never used.
432unusedFunctionstyleThe function 'highlight_pyramid' is never used.
438unusedFunctionstyleThe function 'highlight_wedge' is never used.
562unusedFunctionstyleThe function 'draw_shell' is never used.
587unusedFunctionstyleThe function 'highlight_points' is never used.
593unusedFunctionstyleThe function 'highlight_polylines' is never used.
599unusedFunctionstyleThe function 'highlight_polygons' is never used.
util/GlobalCommandFeedback.cpp
10unusedFunctionstyleThe function 'destroy' is never used.
util/IntersectionTool.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'ACIS' since the value of 'ACIS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
104variableScopestyleThe scope of the variable 'distance' can be reduced.
246unusedFunctionstyleThe function 'skew_line_test' is never used.
405unusedFunctionstyleThe function 'intersect_triangle_with_ray' is never used.
493unusedFunctionstyleThe function 'intersect_segment_with_ray' is never used.
560unusedFunctionstyleThe function 'intersect_point_with_ray' is never used.
util/KDDTree.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'ACIS' since the value of 'ACIS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
46uninitMemberVarstyleMember variable 'KDDTree::myDeepestLeaf' is not initialized in the constructor.
181variableScopestyleThe scope of the variable 'I' can be reduced.
181variableScopestyleThe scope of the variable 'J' can be reduced.
182variableScopestyleThe scope of the variable 'node' can be reduced.
406variableScopestyleThe scope of the variable 'D' can be reduced.
util/KDDTreeNode.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'ACIS' since the value of 'ACIS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
util/ManagedPtrVector.hpp
151unreadVariablestyleVariable 'rv' is assigned a value that is never used.
162useAutoPointerCopystyleCopying 'auto_ptr' pointer to another does not create two equal objects since one has lost its ownership of the pointer.
174postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
util/MemoryManager.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
149assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'get_used_objects'.
208unusedFunctionstyleThe function 'show_object_memory' is never used.
265unusedFunctionstyleThe function 'show_all_object_memory' is never used.
507unusedFunctionstyleThe function 'compress_object_memory' is never used.
520unreadVariablestyleVariable 'saved_memory' is assigned a value that is never used.
531unusedFunctionstyleThe function 'compress_all_object_memory' is never used.
util/OctTree.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'ACIS' since the value of 'ACIS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
util/OctTree.hpp
29noCopyConstructorstyle'class OctTree' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
29noCopyConstructorstyle'class OctTree' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
util/OctTreeCell.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
util/ParamCubitPlane.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
100unusedFunctionstyleThe function 'make_parameterization' is never used.
util/PlanarParamTool.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'ACIS' since the value of 'ACIS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
util/PriorityQueue.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
93variableScopestyleThe scope of the variable 'i' can be reduced.
util/RStarTree.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'ACIS' since the value of 'ACIS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
51variableScopestyleThe scope of the variable 'curr_node' can be reduced.
85variableScopestyleThe scope of the variable 'curr_node' can be reduced.
86variableScopestyleThe scope of the variable 'stat' can be reduced.
util/RStarTreeNode.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'ACIS' since the value of 'ACIS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
123assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'get_parent'.
158assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'get_parent'.
184assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'get_parent'.
211assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'get_parent'.
322variableScopestyleThe scope of the variable 'stat' can be reduced.
378assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'get_parent'.
723variableScopestyleThe scope of the variable 'local_margin' can be reduced.
991unreadVariablestyleVariable 'stat' is assigned a value that is never used.
1010variableScopestyleThe scope of the variable 'stat' can be reduced.
1028unreadVariablestyleVariable 'stat' is assigned a value that is never used.
1139variableScopestyleThe scope of the variable 'curr_node' can be reduced.
util/RStarTreeNode.hpp
24noCopyConstructorstyle'class RStarTreeNode' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
24noCopyConstructorstyle'class RStarTreeNode' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
util/RTree.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'ACIS' since the value of 'ACIS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
63variableScopestyleThe scope of the variable 'curr_node' can be reduced.
148variableScopestyleThe scope of the variable 'curr_node' can be reduced.
149variableScopestyleThe scope of the variable 'stat' can be reduced.
337variableScopestyleThe scope of the variable 'curr_node' can be reduced.
338variableScopestyleThe scope of the variable 'stat' can be reduced.
util/RTreeNode.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'ACIS' since the value of 'ACIS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
179variableScopestyleThe scope of the variable 'curr_enlargement' can be reduced.
512variableScopestyleThe scope of the variable 'd1' can be reduced.
512variableScopestyleThe scope of the variable 'd2' can be reduced.
656unreadVariablestyleVariable 'stat' is assigned a value that is never used.
803variableScopestyleThe scope of the variable 'curr_node' can be reduced.
util/RTreeNode.hpp
24noCopyConstructorstyle'class RTreeNode' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
24noCopyConstructorstyle'class RTreeNode' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
util/RandomMersenne.cpp
100variableScopestyleThe scope of the variable 'mag01' can be reduced.
util/RandomMersenne.hpp
99uninitMemberVarstyleMember variable 'RandomMersenne::left' is not initialized in the constructor.
99uninitMemberVarstyleMember variable 'RandomMersenne::initf' is not initialized in the constructor.
99uninitMemberVarstyleMember variable 'RandomMersenne::next' is not initialized in the constructor.
104uninitMemberVarstyleMember variable 'RandomMersenne::left' is not initialized in the constructor.
104uninitMemberVarstyleMember variable 'RandomMersenne::initf' is not initialized in the constructor.
104uninitMemberVarstyleMember variable 'RandomMersenne::next' is not initialized in the constructor.
util/SDLList.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
19uninitMemberVarstyleMember variable 'SDLList::compare_order_obj' is not initialized in the constructor.
19uninitMemberVarstyleMember variable 'SDLList::compare_order' is not initialized in the constructor.
19uninitMemberVarstyleMember variable 'SDLList::compare_equal' is not initialized in the constructor.
23uninitMemberVarstyleMember variable 'SDLList::compare_order_obj' is not initialized in the constructor.
23uninitMemberVarstyleMember variable 'SDLList::compare_order' is not initialized in the constructor.
23uninitMemberVarstyleMember variable 'SDLList::compare_equal' is not initialized in the constructor.
29uninitMemberVarstyleMember variable 'SDLList::compare_order_obj' is not initialized in the constructor.
29uninitMemberVarstyleMember variable 'SDLList::compare_order' is not initialized in the constructor.
29uninitMemberVarstyleMember variable 'SDLList::compare_equal' is not initialized in the constructor.
242unusedFunctionstyleThe function 'insert_item_sorted' is never used.
293unusedFunctionstyleThe function 'move_to_and_remove_item_sorted' is never used.
util/SettingHandler.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
120unusedFunctionstyleThe function 'save_settings' is never used.
171unusedFunctionstyleThe function 'print_settings' is never used.
268unusedFunctionstyleThe function 'restore_settings' is never used.
347unusedFunctionstyleThe function 'get_setting_holder' is never used.
353unusedFunctionstyleThe function 'get_settings_list' is never used.
364postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
util/SettingHolder.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
11uninitMemberVarstyleMember variable 'SettingHolder::int_value' is not initialized in the constructor.
11uninitMemberVarstyleMember variable 'SettingHolder::double_value' is not initialized in the constructor.
14useInitializationListstyleVariable 'description' is assigned in constructor body. Consider performing initialization in initialization list.
15useInitializationListstyleVariable 'name' is assigned in constructor body. Consider performing initialization in initialization list.
80useInitializationListstyleVariable 'description' is assigned in constructor body. Consider performing initialization in initialization list.
81useInitializationListstyleVariable 'name' is assigned in constructor body. Consider performing initialization in initialization list.
101useInitializationListstyleVariable 'string_value' is assigned in constructor body. Consider performing initialization in initialization list.
102useInitializationListstyleVariable 'description' is assigned in constructor body. Consider performing initialization in initialization list.
103useInitializationListstyleVariable 'name' is assigned in constructor body. Consider performing initialization in initialization list.
176uninitMemberVarstyleMember variable 'SettingHolder::int_value' is not initialized in the constructor.
176uninitMemberVarstyleMember variable 'SettingHolder::double_value' is not initialized in the constructor.
180useInitializationListstyleVariable 'description' is assigned in constructor body. Consider performing initialization in initialization list.
181useInitializationListstyleVariable 'name' is assigned in constructor body. Consider performing initialization in initialization list.
util/StubProgressTool.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
util/TDUPtr.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
10cstyleCaststyleC-style pointer casting
36cstyleCaststyleC-style pointer casting
44memleakerrorMemory leak: td
util/TextProgressTool.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
util/ToolData.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
util/ToolDataUser.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
util/TtyProgressTool.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
214variableScopestyleThe scope of the variable 'empty' can be reduced.
280variableScopestyleThe scope of the variable 'old_drawn' can be reduced.
util/TtyProgressTool.hpp
60uninitMemberVarstyleMember variable 'TtyProgressTool::myRange' is not initialized in the constructor.
60uninitMemberVarstyleMember variable 'TtyProgressTool::currentVal' is not initialized in the constructor.
60uninitMemberVarstyleMember variable 'TtyProgressTool::currPercent' is not initialized in the constructor.
60uninitMemberVarstyleMember variable 'TtyProgressTool::barStart' is not initialized in the constructor.
60uninitMemberVarstyleMember variable 'TtyProgressTool::bufferEnd' is not initialized in the constructor.
util/WeightedOctree.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'ACIS' since the value of 'ACIS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'DBL_MIN' since the value of 'DBL_MIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'M_PI' since the value of 'M_PI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
30uninitMemberVarstyleMember variable 'WeightedOctree::TotalWeight' is not initialized in the constructor.
util/WeightedOctree.hpp
46noCopyConstructorstyle'class WeightedOctree' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.