LineIdSeverityMessage
missingIncludestyleCppcheck cannot find all the include files (use --check-config for details)
itaps/fbigeom/FBiGeom_MOAB.cpp
934memleakerrorMemory leak: face_type
itaps/fbigeom/FBiGeom_MOAB.hpp
20noCopyConstructorstyle'class MBiGeom' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
itaps/fbigeom/testSmooth.cc
48noCopyConstructorstyle'class SimpleArray' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
48noCopyConstructorstyle'class SimpleArray' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
48noCopyConstructorstyle'class SimpleArray' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
48noCopyConstructorstyle'class SimpleArray' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
48noCopyConstructorstyle'class SimpleArray' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
509unusedFunctionstyleThe function 'gentityset_test' is never used.
1114unusedFunctionstyleThe function 'construct_test' is never used.
1183unusedFunctionstyleThe function 'primitives_test' is never used.
1249unusedFunctionstyleThe function 'transforms_test' is never used.
1316unusedFunctionstyleThe function 'booleans_test' is never used.
1440unusedFunctionstyleThe function 'mesh_size_test' is never used.
1567unusedFunctionstyleThe function 'save_entset_test' is never used.
itaps/fbigeom/testSmooth2.cc
55noCopyConstructorstyle'class SimpleArray' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
55noCopyConstructorstyle'class SimpleArray' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
55noCopyConstructorstyle'class SimpleArray' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
55noCopyConstructorstyle'class SimpleArray' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
55noCopyConstructorstyle'class SimpleArray' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
itaps/fbigeom/testgeom.cc
54noCopyConstructorstyle'class SimpleArray' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
54noCopyConstructorstyle'class SimpleArray' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
54noCopyConstructorstyle'class SimpleArray' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
54noCopyConstructorstyle'class SimpleArray' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
54noCopyConstructorstyle'class SimpleArray' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
itaps/imesh/MOAB_iMeshP_unit_tests.cpp
234unusedFunctionstyleThe function 'rank_from_part_id' is never used.
237unusedFunctionstyleThe function 'rank_from_local_id' is never used.
897clarifyCalculationstyleClarify calculation precedence for '%' and '?'.
itaps/imesh/iMeshP_MOAB.cpp
50unusedFunctionstyleThe function 'itaps_cast_internal_' is never used.
120unusedFunctionstyleThe function 'itaps_cast' is never used.
120unusedFunctionstyleThe function 'itaps_cast' is never used.
120unusedFunctionstyleThe function 'itaps_cast' is never used.
120unusedFunctionstyleThe function 'itaps_cast' is never used.
122unusedFunctionstyleThe function 'itaps_cast' is never used.
122unusedFunctionstyleThe function 'itaps_cast' is never used.
122unusedFunctionstyleThe function 'itaps_cast' is never used.
122unusedFunctionstyleThe function 'itaps_cast' is never used.
123unusedFunctionstyleThe function 'itaps_cast' is never used.
123unusedFunctionstyleThe function 'itaps_cast' is never used.
123unusedFunctionstyleThe function 'itaps_cast' is never used.
123unusedFunctionstyleThe function 'itaps_cast' is never used.
127unusedFunctionstyleThe function 'itaps_cast' is never used.
130unusedFunctionstyleThe function 'itaps_cast' is never used.
142unusedFunctionstyleThe function 'itaps_tag_cast' is never used.
1873unusedFunctionstyleThe function 'iMeshP_getPartsArrOnRank' is never used.
1900unusedFunctionstyleThe function 'iMeshP_assignGlobalIds' is never used.
1934unusedFunctionstyleThe function 'iMeshP_getCommunicator' is never used.
itaps/imesh/iMesh_MOAB.cpp
1641unusedFunctionstyleThe function 'iMesh_getAllIfaceTags' is never used.
2927unusedFunctionstyleThe function 'iMesh_MBCNType' is never used.
2960unusedFunctionstyleThe function 'iMesh_connectIterate' is never used.
2983unusedFunctionstyleThe function 'iMesh_coordsIterate' is never used.
3127variableScopestyleThe scope of the variable 'dum_int' can be reduced.
3128variableScopestyleThe scope of the variable 'dum_dbl' can be reduced.
3291unusedFunctionstyleThe function 'iMesh_createStructuredMesh' is never used.
3384variableScopestyleThe scope of the variable 'k' can be reduced.
3435unusedFunctionstyleThe function 'iMesh_freeMemory' is never used.
itaps/imesh/testc_cbind.cpp
224variableScopestyleThe scope of the variable 'num_region' can be reduced.
494variableScopestyleThe scope of the variable 'sorted' can be reduced.
498variableScopestyleThe scope of the variable 'size' can be reduced.
1558variableScopestyleThe scope of the variable 'result' can be reduced.
2677deallocuseerrorDereferencing 'ents' after it is deallocated / released
2680doubleFreeerrorMemory pointed to by 'ents' is freed twice.
2685deallocuseerrorDereferencing 'ents' after it is deallocated / released
2899variableScopestyleThe scope of the variable 'setptr' can be reduced.
itaps/irel/AssocPair.cpp
32unreadVariablestyleVariable 'ifaces' is assigned a value that is never used.
itaps/irel/Lasso.cpp
13unusedFunctionstyleThe function 'find_pair' is never used.
itaps/irel/iRel_Lasso.cpp
689unusedFunctionstyleThe function 'iRel_inferEntArrEntArrRelations' is never used.
702unusedFunctionstyleThe function 'iRel_inferEntArrSetArrRelations' is never used.
715unusedFunctionstyleThe function 'iRel_inferSetArrEntArrRelations' is never used.
728unusedFunctionstyleThe function 'iRel_inferSetArrSetArrRelations' is never used.
itaps/irel/test_entset.cpp
69unusedFunctionstyleThe function 'print_mesh_info' is never used.
218unassignedVariablestyleVariable 'tmp_pair' is not assigned a value.
itaps/irel/test_entsetFB.cpp
216unassignedVariablestyleVariable 'tmp_pair' is not assigned a value.
471variableScopestyleThe scope of the variable 'descr' can be reduced.
src/AEntityFactory.cpp
90unusedFunctionstyleThe function 'get_elements' is never used.
743nullPointererrorPossible null pointer dereference: vertices
759nullPointererrorPossible null pointer dereference: vertices
768nullPointererrorPossible null pointer dereference: vertices
1135nullPointererrorPossible null pointer dereference: source_vertices
src/AdaptiveKDTree.cpp
613variableScopestyleThe scope of the variable 'child_idx' can be reduced.
640comparisonOfBoolWithIntstyleComparison of a boolean with an integer.
726unusedFunctionstyleThe function 'sibling_side' is never used.
src/BSPTreePoly.cpp
55noCopyConstructorstyle'struct Edge' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
545duplicateExpressionstyleSame expression on both sides of '%'.
src/BVHTree.cpp
513unusedFunctionstyleThe function 'bruteforce_find' is never used.
676unusedFunctionstyleThe function 'print_nodes' is never used.
src/BoundBox.cpp
52nullPointererrorPossible null pointer dereference: conn
src/CN.cpp
672unusedFunctionstyleThe function 'mbcn_getbasis_' is never used.
675unusedFunctionstyleThe function 'mbcn_setbasis_' is never used.
678unusedFunctionstyleThe function 'mbcn_entitytypename_' is never used.
687unusedFunctionstyleThe function 'mbcn_entitytypefromname_' is never used.
693unusedFunctionstyleThe function 'mbcn_dimension_' is never used.
699unusedFunctionstyleThe function 'mbcn_verticesperentity_' is never used.
705unusedFunctionstyleThe function 'mbcn_numsubentities_' is never used.
715unusedFunctionstyleThe function 'mbcn_subentitytype_' is never used.
731unusedFunctionstyleThe function 'mbcn_subentityvertexindices_' is never used.
763unusedFunctionstyleThe function 'mbcn_adjacentsubentities_' is never used.
790unusedFunctionstyleThe function 'mbcn_sidenumber_' is never used.
799unusedFunctionstyleThe function 'mbcn_sidenumberint_' is never used.
808unusedFunctionstyleThe function 'mbcn_sidenumberuint_' is never used.
817unusedFunctionstyleThe function 'mbcn_sidenumberlong_' is never used.
826unusedFunctionstyleThe function 'mbcn_sidenumberulong_' is never used.
835unusedFunctionstyleThe function 'mbcn_sidenumbervoid_' is never used.
857unusedFunctionstyleThe function 'mbcn_oppositeside_' is never used.
874unusedFunctionstyleThe function 'mbcn_connectivitymatchint_' is never used.
883unusedFunctionstyleThe function 'mbcn_connectivitymatchuint_' is never used.
892unusedFunctionstyleThe function 'mbcn_connectivitymatchlong_' is never used.
901unusedFunctionstyleThe function 'mbcn_connectivitymatchulong_' is never used.
910unusedFunctionstyleThe function 'mbcn_connectivitymatchvoid_' is never used.
924unusedFunctionstyleThe function 'mbcn_hasmidedgenodes_' is never used.
935unusedFunctionstyleThe function 'mbcn_hasmidfacenodes_' is never used.
946unusedFunctionstyleThe function 'mbcn_hasmidregionnodes_' is never used.
958unusedFunctionstyleThe function 'mbcn_hasmidnodes_' is never used.
974unusedFunctionstyleThe function 'mbcn_honodeparent_' is never used.
992unusedFunctionstyleThe function 'mbcn_honodeindex_' is never used.
1048unusedFunctionstyleThe function 'permuteThis' is never used.
1062unusedFunctionstyleThe function 'revPermuteThis' is never used.
src/Core.cpp
847unusedFunctionstyleThe function 'get_vertex_coordinates' is never used.
1144unusedFunctionstyleThe function 'get_connectivity_by_type' is never used.
2704unreadVariablestyleVariable 'arrays' is assigned a value that is never used.
3010unusedFunctionstyleThe function 'convert_entities' is never used.
3063nullPointererrorPossible null pointer dereference: child_conn
3079nullPointererrorPossible null pointer dereference: child_conn
3122unusedFunctionstyleThe function 'high_order_node' is never used.
3932unusedFunctionstyleThe function 'get_set_iterators' is never used.
4021variableScopestyleThe scope of the variable 'count2' can be reduced.
4032variableScopestyleThe scope of the variable 'count' can be reduced.
4057variableScopestyleThe scope of the variable 'count2' can be reduced.
4068variableScopestyleThe scope of the variable 'count' can be reduced.
4148unusedFunctionstyleThe function 'print_database' is never used.
src/DenseTag.cpp
388arithOperationsOnVoidPointerstyle'pointers' is of type 'void * const *'. When using void pointers in calculations, the behaviour is undefined.
417arithOperationsOnVoidPointerstyle'pointers' is of type 'void * const *'. When using void pointers in calculations, the behaviour is undefined.
src/DualTool.cpp
351variableScopestyleThe scope of the variable 'avg_pos' can be reduced.
1182unusedFunctionstyleThe function 'get_graphics_points' is never used.
1339unusedFunctionstyleThe function 'next_loop_vertex' is never used.
1410unusedFunctionstyleThe function 'set_dual_surface_or_curve' is never used.
1442unusedFunctionstyleThe function 'atomic_pillow' is never used.
1445cstyleCaststyleC-style pointer casting
1547cstyleCaststyleC-style pointer casting
1563unusedFunctionstyleThe function 'rev_atomic_pillow' is never used.
1568cstyleCaststyleC-style pointer casting
1626cstyleCaststyleC-style pointer casting
1717unusedFunctionstyleThe function 'face_open_collapse' is never used.
1719cstyleCaststyleC-style pointer casting
1779cstyleCaststyleC-style pointer casting
1932assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'common_entity'.
1933assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'common_entity'.
1934assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'common_entity'.
1935assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'common_entity'.
1937assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'common_entity'.
1939assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'common_entity'.
1942assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'common_entity'.
1943assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'common_entity'.
2390unusedFunctionstyleThe function 'get_opposite_verts' is never used.
2595unusedFunctionstyleThe function 'face_shrink' is never used.
2600cstyleCaststyleC-style pointer casting
2759cstyleCaststyleC-style pointer casting
2877unusedFunctionstyleThe function 'rev_face_shrink' is never used.
2879cstyleCaststyleC-style pointer casting
3008cstyleCaststyleC-style pointer casting
src/ErrorOutput.hpp
27noCopyConstructorstyle'class ErrorOutput' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
src/FBEngine.cpp
374unusedFunctionstyleThe function 'delete_smooth_tags' is never used.
432unusedFunctionstyleThe function 'getNumEntSets' is never used.
439unusedFunctionstyleThe function 'createEntSet' is never used.
474unusedFunctionstyleThe function 'addEntArrToSet' is never used.
479unusedFunctionstyleThe function 'addEntSet' is never used.
534unusedFunctionstyleThe function 'getEntBoundBox' is never used.
599variableScopestyleThe scope of the variable 'point' can be reduced.
655unusedFunctionstyleThe function 'gsubtract' is never used.
1008unusedFunctionstyleThe function 'getEntNrmlSense' is never used.
1021unusedFunctionstyleThe function 'getFcEvalXYZ' is never used.
1075nullPointererrorPossible null pointer dereference: conn
1080nullPointererrorPossible null pointer dereference: conn
1158unusedFunctionstyleThe function 'split_surface_with_direction' is never used.
1847nullPointererrorPossible null pointer dereference: conn2
1924nullPointererrorPossible null pointer dereference: conn3
1937unusedFunctionstyleThe function 'BreakTriangle' is never used.
2285unusedFunctionstyleThe function 'split_edge_at_point' is never used.
2371nullPointererrorPossible null pointer dereference: conn
2568nullPointererrorPossible null pointer dereference: conn
2589nullPointererrorPossible null pointer dereference: conn
2694nullPointererrorPossible null pointer dereference: conn
3125nullPointererrorPossible null pointer dereference: conn3
3126nullPointererrorPossible null pointer dereference: conn3
3127nullPointererrorPossible null pointer dereference: conn3
3156nullPointererrorPossible null pointer dereference: conn3
3157nullPointererrorPossible null pointer dereference: conn3
3158nullPointererrorPossible null pointer dereference: conn3
3163unusedFunctionstyleThe function 'create_volume_with_direction' is never used.
3250nullPointererrorPossible null pointer dereference: conn
3253nullPointererrorPossible null pointer dereference: conn
3811nullPointererrorPossible null pointer dereference: conn
src/Factory.cpp
119unusedFunctionstyleThe function 'MoabVersion' is never used.
126unusedFunctionstyleThe function 'GetInterface' is never used.
141unusedFunctionstyleThe function 'DeInitialize' is never used.
157unusedFunctionstyleThe function 'ReleaseInterface' is never used.
src/GeomTopoTool.cpp
117unusedFunctionstyleThe function 'other_entity' is never used.
376variableScopestyleThe scope of the variable 'err' can be reduced.
852unusedFunctionstyleThe function 'geometrize_surface_set' is never used.
1313unusedFunctionstyleThe function 'check_model' is never used.
src/GeomUtil.cpp
613variableScopestyleThe scope of the variable 'not_inside' can be reduced.
788variableScopestyleThe scope of the variable 'not_inside' can be reduced.
1265variableScopestyleThe scope of the variable 't' can be reduced.
1271duplicateExpressionstyleSame expression on both sides of '%'.
1299variableScopestyleThe scope of the variable 'dist_sqr' can be reduced.
1299variableScopestyleThe scope of the variable 't' can be reduced.
1443variableScopestyleThe scope of the variable 'det' can be reduced.
src/HalfFacetRep.cpp
46uninitMemberVarstyleMember variable 'HalfFacetRep::thismeshtype' is not initialized in the constructor.
46uninitMemberVarstyleMember variable 'HalfFacetRep::queue_lid' is not initialized in the constructor.
350unusedFunctionstyleThe function 'print_tags' is never used.
765variableScopestyleThe scope of the variable 'sibhv_lid' can be reduced.
1331redundantAssignmentstyleVariable 'found' is reassigned a value before the old one has been used.
2353unusedFunctionstyleThe function 'find_matching_implicit_edge_in_cell' is never used.
2499variableScopestyleThe scope of the variable 'vidx' can be reduced.
2907variableScopestyleThe scope of the variable 'idx' can be reduced.
src/HigherOrderFactory.cpp
39uninitMemberVarstyleMember variable 'HigherOrderFactory::mNodeMap' is not initialized in the constructor.
633unusedFunctionstyleThe function 'add_center_node' is never used.
src/LloydSmoother.cpp
30unusedFunctionstyleThe function 'perform_smooth' is never used.
src/MergeMesh.cpp
43cstyleCaststyleC-style pointer casting
209cstyleCaststyleC-style pointer casting
210cstyleCaststyleC-style pointer casting
src/MeshTopoUtil.cpp
260unusedFunctionstyleThe function 'star_entities_nonmanifold' is never used.
src/MetisPartitioner.cpp
73nullPointerstylePossible null pointer dereference: method - otherwise it is redundant to check it against null.
83unusedVariablestyleUnused variable: parts
200postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
233postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
272postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
293postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
339redundantAssignmentstyleVariable 'result' is reassigned a value before the old one has been used.
405postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
512postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
518postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
525postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
538postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
543redundantAssignmentstyleVariable 'result' is reassigned a value before the old one has been used.
545postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
567variableScopestyleThe scope of the variable 'i' can be reduced.
613mismatchAllocDeallocerrorMismatching allocation and deallocation: dum_ids
619postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
625postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
632postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
src/OrientedBox.cpp
302nullPointererrorPossible null pointer dereference: conn
src/OrientedBoxTreeTool.cpp
87nullPointererrorPossible null pointer dereference: con
119nullPointererrorPossible null pointer dereference: con
src/ProgOptions.cpp
32unusedFunctionstyleThe function 'get_opt_type' is never used.
33unusedFunctionstyleThe function 'get_opt_type' is never used.
34unusedFunctionstyleThe function 'get_opt_type' is never used.
35unusedFunctionstyleThe function 'get_opt_type' is never used.
src/Range.cpp
561unusedFunctionstyleThe function 'sanity_check' is never used.
src/ReadUtil.cpp
298nullPointererrorPossible null pointer dereference: connect
src/ReaderWriterSet.cpp
231unusedFunctionstyleThe function 'get_file_extension_writer' is never used.
src/RefineMesh/NestedRefine.cpp
25uninitMemberVarstyleMember variable 'NestedRefine::timeall' is not initialized in the constructor.
25uninitMemberVarstyleMember variable 'NestedRefine::level_dsequence' is not initialized in the constructor.
25uninitMemberVarstyleMember variable 'NestedRefine::level_mesh' is not initialized in the constructor.
353unusedFunctionstyleThe function 'vertex_to_entities' is never used.
389unusedFunctionstyleThe function 'is_entity_on_boundary' is never used.
489variableScopestyleThe scope of the variable 'findex' can be reduced.
489variableScopestyleThe scope of the variable 'cindex' can be reduced.
824variableScopestyleThe scope of the variable 'idx' can be reduced.
825variableScopestyleThe scope of the variable 'xi' can be reduced.
963variableScopestyleThe scope of the variable 'id1' can be reduced.
963variableScopestyleThe scope of the variable 'id2' can be reduced.
1316variableScopestyleThe scope of the variable 'id1' can be reduced.
1316variableScopestyleThe scope of the variable 'id2' can be reduced.
src/ScdInterface.cpp
86uselessCallsRemovestyleReturn value of std::remove_if() ignored. Elements remain in container.
374unusedFunctionstyleThe function 'global_box_dims_tag' is never used.
443unusedFunctionstyleThe function 'get_boxes' is never used.
482assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'sdata'.
483assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'sdata'.
583unusedFunctionstyleThe function 'vert_dat' is never used.
1299unusedFunctionstyleThe function 'get_shared_vertices' is never used.
src/SequenceData.cpp
36unusedFunctionstyleThe function 'create_custom_data' is never used.
src/SequenceManager.cpp
326unusedFunctionstyleThe function 'allocate_mesh_set' is never used.
764variableScopestyleThe scope of the variable 'temp_entity' can be reduced.
764variableScopestyleThe scope of the variable 'temp_total' can be reduced.
897unusedFunctionstyleThe function 'print_sequences' is never used.
src/Skinner.cpp
184unusedFunctionstyleThe function 'find_geometric_skin' is never used.
383unusedFunctionstyleThe function 'find_skin_noadj' is never used.
470variableScopestyleThe scope of the variable 'indices' can be reduced.
758variableScopestyleThe scope of the variable 'num_edge' can be reduced.
759variableScopestyleThe scope of the variable 'edge_verts' can be reduced.
src/SmoothCurve.cpp
29unusedFunctionstyleThe function 'arc_length' is never used.
38unusedFunctionstyleThe function 'is_parametric' is never used.
91unusedFunctionstyleThe function 'u_from_arc_length' is never used.
257variableScopestyleThe scope of the variable 't4' can be reduced.
257variableScopestyleThe scope of the variable 't3' can be reduced.
257variableScopestyleThe scope of the variable 't2' can be reduced.
257variableScopestyleThe scope of the variable 'one_minus_t' can be reduced.
257variableScopestyleThe scope of the variable 'one_minus_t2' can be reduced.
257variableScopestyleThe scope of the variable 'one_minus_t3' can be reduced.
257variableScopestyleThe scope of the variable 'one_minus_t4' can be reduced.
350unusedFunctionstyleThe function 'start_coordinates' is never used.
371unusedFunctionstyleThe function 'end_coordinates' is never used.
src/SmoothFace.cpp
28unusedFunctionstyleThe function 'numAdjTriInSet' is never used.
100unusedFunctionstyleThe function 'bounding_box' is never used.
604variableScopestyleThe scope of the variable 'denom' can be reduced.
627duplicateExpressionstyleSame expression on both sides of '%'.
628duplicateExpressionstyleSame expression on both sides of '%'.
1278variableScopestyleThe scope of the variable 'mag' can be reduced.
1278variableScopestyleThe scope of the variable 'distnew' can be reduced.
1278variableScopestyleThe scope of the variable 'movedist' can be reduced.
src/SparseTag.cpp
259arithOperationsOnVoidPointerstyle'pointers' is of type 'void * const *'. When using void pointers in calculations, the behaviour is undefined.
277arithOperationsOnVoidPointerstyle'pointers' is of type 'void * const *'. When using void pointers in calculations, the behaviour is undefined.
484unusedVariablestyleUnused variable: iter
484unusedVariablestyleUnused variable: end
src/SparseTagSuperCollection.cpp
51unusedFunctionstyleThe function 'reset_data' is never used.
65unusedFunctionstyleThe function 'reserve_tag_id' is never used.
80unusedFunctionstyleThe function 'release_tag_id' is never used.
458unusedFunctionstyleThe function 'get_tags' is never used.
src/SpatialLocator.cpp
51unusedFunctionstyleThe function 'add_elems' is never used.
473unusedFunctionstyleThe function 'local_num_located' is never used.
491unusedFunctionstyleThe function 'remote_num_located' is never used.
src/SpectralMeshTool.cpp
40unusedFunctionstyleThe function 'spectral_order_tag' is never used.
59unusedFunctionstyleThe function 'convert_to_fine' is never used.
73unusedFunctionstyleThe function 'convert_to_coarse' is never used.
151nullPointererrorPossible null pointer dereference: sv_ptr
src/TagInfo.cpp
73unusedFunctionstyleThe function 'check_valid_sizes' is never used.
src/TupleList.cpp
255variableScopestyleThe scope of the variable 'index' can be reduced.
287variableScopestyleThe scope of the variable 'index' can be reduced.
318variableScopestyleThe scope of the variable 'index' can be reduced.
357unusedFunctionstyleThe function 'get_sint' is never used.
364unusedFunctionstyleThe function 'get_int' is never used.
371unusedFunctionstyleThe function 'get_ulong' is never used.
378unusedFunctionstyleThe function 'get_double' is never used.
src/TypeSequenceManager.cpp
424unusedFunctionstyleThe function 'find_free_block' is never used.
572variableScopestyleThe scope of the variable 'junk' can be reduced.
src/VarLenDenseTag.cpp
305arithOperationsOnVoidPointerstyle'pointers' is of type 'void * const *'. When using void pointers in calculations, the behaviour is undefined.
336arithOperationsOnVoidPointerstyle'pointers' is of type 'void * const *'. When using void pointers in calculations, the behaviour is undefined.
src/VarLenSparseTag.cpp
198arithOperationsOnVoidPointerstyle'pointers' is of type 'void * const *'. When using void pointers in calculations, the behaviour is undefined.
395unusedVariablestyleUnused variable: iter
395unusedVariablestyleUnused variable: end
src/WriteUtil.cpp
513unusedFunctionstyleThe function 'get_poly_connect_size' is never used.
617nullPointererrorPossible null pointer dereference: face_conn
src/ZoltanPartitioner.cpp
68uninitMemberVarstyleMember variable 'ZoltanPartitioner::myNumPts' is not initialized in the constructor.
92unusedFunctionstyleThe function 'balance_mesh' is never used.
135nullPointerstylePossible null pointer dereference: zmethod - otherwise it is redundant to check it against null.
235unusedFunctionstyleThe function 'repartition' is never used.
497nullPointerstylePossible null pointer dereference: zmethod - otherwise it is redundant to check it against null.
1478variableScopestyleThe scope of the variable 'i' can be reduced.
1657variableScopestyleThe scope of the variable 'i' can be reduced.
1660variableScopestyleThe scope of the variable 'ptsPerProc' can be reduced.
1660variableScopestyleThe scope of the variable 'ptsAssigned' can be reduced.
1830variableScopestyleThe scope of the variable 'i' can be reduced.
1833variableScopestyleThe scope of the variable 'v' can be reduced.
1919variableScopestyleThe scope of the variable 'id' can be reduced.
1919variableScopestyleThe scope of the variable 'id3' can be reduced.
1948variableScopestyleThe scope of the variable 'id' can be reduced.
1969variableScopestyleThe scope of the variable 'id' can be reduced.
1969variableScopestyleThe scope of the variable 'idSum' can be reduced.
1999variableScopestyleThe scope of the variable 'id' can be reduced.
src/io/FileTokenizer.cpp
258unusedFunctionstyleThe function 'get_bytes' is never used.
269unusedFunctionstyleThe function 'get_short_ints' is never used.
427unusedFunctionstyleThe function 'get_binary' is never used.
src/io/NCHelper.cpp
903variableScopestyleThe scope of the variable 'k' can be reduced.
src/io/NCHelperEuler.cpp
59variableScopestyleThe scope of the variable 'isParallel' can be reduced.
60variableScopestyleThe scope of the variable 'partMethod' can be reduced.
127variableScopestyleThe scope of the variable 'rank' can be reduced.
src/io/NCHelperFV.cpp
44variableScopestyleThe scope of the variable 'isParallel' can be reduced.
45variableScopestyleThe scope of the variable 'partMethod' can be reduced.
132variableScopestyleThe scope of the variable 'rank' can be reduced.
src/io/NCHelperHOMME.cpp
463nullPointererrorPossible null pointer dereference: sv_ptr
464nullPointererrorPossible null pointer dereference: sv_ptr
src/io/NCWriteGCRM.cpp
116variableScopestyleThe scope of the variable 'lev_idx' can be reduced.
src/io/NCWriteHelper.cpp
499variableScopestyleThe scope of the variable 'success' can be reduced.
src/io/ReadABAQUS.cpp
1311unreadVariablestyleVariable 'coord_arrays' is assigned a value that is never used.
1910variableScopestyleThe scope of the variable 'x' can be reduced.
1910variableScopestyleThe scope of the variable 'y' can be reduced.
1910variableScopestyleThe scope of the variable 'r' can be reduced.
1910variableScopestyleThe scope of the variable 't' can be reduced.
1927variableScopestyleThe scope of the variable 'x' can be reduced.
1927variableScopestyleThe scope of the variable 'y' can be reduced.
1927variableScopestyleThe scope of the variable 'z' can be reduced.
1927variableScopestyleThe scope of the variable 'r' can be reduced.
1927variableScopestyleThe scope of the variable 't' can be reduced.
1927variableScopestyleThe scope of the variable 'p' can be reduced.
src/io/ReadCGM.cpp
138variableScopestyleThe scope of the variable 'DEFAULT_NORM' can be reduced.
139variableScopestyleThe scope of the variable 'DEFAULT_FACET_TOL' can be reduced.
140variableScopestyleThe scope of the variable 'DEFAULT_LEN_TOL' can be reduced.
975variableScopestyleThe scope of the variable 'CUBIT_NAME' can be reduced.
1036invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
1047invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
src/io/ReadDamsel.cpp
297variableScopestyleThe scope of the variable 'connect' can be reduced.
452variableScopestyleThe scope of the variable 'ind' can be reduced.
src/io/ReadGmsh.cpp
470unreadVariablestyleVariable 'tag_val' is assigned a value that is never used.
src/io/ReadHDF5.cpp
147variableScopestyleThe scope of the variable 'count' can be reduced.
192uninitMemberVarstyleMember variable 'ReadHDF5::errorHandler' is not initialized in the constructor.
192uninitMemberVarstyleMember variable 'ReadHDF5::_times' is not initialized in the constructor.
339stlIfStrFindstyleInefficient usage of string::find() in condition; string::compare() would be faster.
1299iteratorserrorSame iterator is used with different containers 'ranges' and 'indices'.
1485invalidPointerCaststyleCasting between integer* and double* which have an incompatible binary data representation.
1487variableScopestyleThe scope of the variable 'coffset' can be reduced.
1488variableScopestyleThe scope of the variable 'nn' can be reduced.
2467variableScopestyleThe scope of the variable 'offset' can be reduced.
3096iteratorserrorSame iterator is used with different containers 'handles' and 'ents'.
src/io/ReadHDF5VarLen.cpp
45variableScopestyleThe scope of the variable 'offset' can be reduced.
src/io/ReadIDEAS.cpp
111variableScopestyleThe scope of the variable 'il' can be reduced.
133variableScopestyleThe scope of the variable 'il1' can be reduced.
133variableScopestyleThe scope of the variable 'il2' can be reduced.
223variableScopestyleThe scope of the variable 'il1' can be reduced.
223variableScopestyleThe scope of the variable 'il2' can be reduced.
src/io/ReadMCNP5.cpp
799variableScopestyleThe scope of the variable 'energy' can be reduced.
889unreadVariablestyleVariable 'coord_arrays' is assigned a value that is never used.
1063memleakerrorMemory leak: errors0
src/io/ReadNCDF.cpp
436deallocDeallocerrorDeallocating a deallocated pointer: title
1237variableScopestyleThe scope of the variable 'side_offset' can be reduced.
2064deallocDeallocerrorDeallocating a deallocated pointer: exo_conn
src/io/ReadSTL.cpp
247unusedStructMemberstylestruct or union member 'BinaryHeader::comment' is never used.
253unusedStructMemberstylestruct or union member 'BinaryTri::normal' is never used.
255unusedStructMemberstylestruct or union member 'BinaryTri::pad' is never used.
311doubleFreeerrorMemory pointed to by 'file' is freed twice.
src/io/ReadSmf.cpp
86uninitMemberVarstyleMember variable 'ReadSmf::line' is not initialized in the constructor.
86uninitMemberVarstyleMember variable 'ReadSmf::ivar' is not initialized in the constructor.
175unreadVariablestyleVariable 'arrays' is assigned a value that is never used.
222invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
src/io/ReadSms.cpp
123invalidscanfstylescanf without field width limits can crash with huge input data.
123invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
131invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
156invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
160invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
174invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
180invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
208invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
212invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
239invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
245invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
267invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
272invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
281invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
308invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
314invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
319invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
347invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
351invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
354invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
379invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
443invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
450variableScopestyleThe scope of the variable 'iface_corners' can be reduced.
452invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
463invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
src/io/ReadTetGen.cpp
327unreadVariablestyleVariable 'coords' is assigned a value that is never used.
src/io/ReadVtk.cpp
225invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
845postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
873postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
src/io/Tqdcfr.cpp
196invalidPointerCaststyleCasting from double* to integer* is not portable due to different binary data representations on different platforms.
343invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
608variableScopestyleThe scope of the variable 'this_type' can be reduced.
608variableScopestyleThe scope of the variable 'num_ents' can be reduced.
700variableScopestyleThe scope of the variable 'this_type' can be reduced.
700variableScopestyleThe scope of the variable 'sense_size' can be reduced.
993variableScopestyleThe scope of the variable 'this_type' can be reduced.
993variableScopestyleThe scope of the variable 'num_ents' can be reduced.
1147variableScopestyleThe scope of the variable 'name_tag_data' can be reduced.
1150variableScopestyleThe scope of the variable 'this_type' can be reduced.
1150variableScopestyleThe scope of the variable 'num_ents' can be reduced.
1215redundantCopystyleBuffer 'name_tag_data' is being written before its old content has been used.
1557variableScopestyleThe scope of the variable 'int_type' can be reduced.
1557variableScopestyleThe scope of the variable 'nodes_per_elem' can be reduced.
1557variableScopestyleThe scope of the variable 'num_elem' can be reduced.
2593variableScopestyleThe scope of the variable 'name_tag_val' can be reduced.
2624invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
2624invalidscanfstylescanf without field width limits can crash with huge input data.
2626invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
2626invalidscanfstylescanf without field width limits can crash with huge input data.
2636invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
2641invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
2655invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
2657invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
2664invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
2672invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
2811invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
2898invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
2981uninitMemberVarstyleMember variable 'BlockHeader::hasMidNodes' is not initialized in the constructor.
src/io/WriteCCMIO.cpp
738unreadVariablestyleVariable 'coord_arrays' is assigned a value that is never used.
759deallocDeallocerrorDeallocating a deallocated pointer: coords
1019variableScopestyleThe scope of the variable 'sense' can be reduced.
1019variableScopestyleThe scope of the variable 'offset' can be reduced.
1247derefInvalidIteratorstylePossible dereference of an invalid iterator: range_iter
1264derefInvalidIteratorstylePossible dereference of an invalid iterator: dum_it
src/io/WriteDamsel.cpp
477clarifyCalculationstyleClarify calculation precedence for '&' and '?'.
src/io/WriteGMV.cpp
211variableScopestyleThe scope of the variable 'j' can be reduced.
src/io/WriteHDF5.cpp
381uninitMemberVarstyleMember variable 'WriteHDF5::errorHandler' is not initialized in the constructor.
381uninitMemberVarstyleMember variable 'WriteHDF5::nodeSet' is not initialized in the constructor.
381uninitMemberVarstyleMember variable 'WriteHDF5::setSet' is not initialized in the constructor.
922invalidPointerCaststyleCasting between integer* and double* which have an incompatible binary data representation.
3134unusedFunctionstyleThe function 'get_write_entities' is never used.
src/io/WriteSTL.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'O_BINARY' since the value of 'O_BINARY' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
src/io/WriteTemplate.cpp
605derefInvalidIteratorstylePossible dereference of an invalid iterator: range_iter
622derefInvalidIteratorstylePossible dereference of an invalid iterator: dum_it
src/io/WriteVtk.cpp
597clarifyCalculationstyleClarify calculation precedence for '&' and '?'.
src/io/mhdf/example/hexes_to_gmsh.c
77variableScopestyleThe scope of the variable 'x' can be reduced.
77variableScopestyleThe scope of the variable 'y' can be reduced.
77variableScopestyleThe scope of the variable 'z' can be reduced.
106variableScopestyleThe scope of the variable 'havedense' can be reduced.
112variableScopestyleThe scope of the variable 'fileid' can be reduced.
112variableScopestyleThe scope of the variable 'globalid' can be reduced.
113variableScopestyleThe scope of the variable 'ncount' can be reduced.
113variableScopestyleThe scope of the variable 'hcount' can be reduced.
276invalidPrintfArgType_uintstyle%lu in format string (no. 1) requires 'unsigned long' but the argument type is 'long'.
292invalidPrintfArgType_uintstyle%lu in format string (no. 1) requires 'unsigned long' but the argument type is 'long'.
src/io/mhdf/example/info.c
170clarifyCalculationstyleClarify calculation precedence for '&' and '?'.
src/io/mhdf/example/validate.c
291variableScopestyleThe scope of the variable 'start' can be reduced.
291variableScopestyleThe scope of the variable 'count' can be reduced.
470variableScopestyleThe scope of the variable 'len' can be reduced.
600variableScopestyleThe scope of the variable 'n' can be reduced.
600variableScopestyleThe scope of the variable 'id' can be reduced.
747variableScopestyleThe scope of the variable 'start' can be reduced.
747variableScopestyleThe scope of the variable 'n' can be reduced.
881variableScopestyleThe scope of the variable 'start' can be reduced.
881variableScopestyleThe scope of the variable 'n' can be reduced.
1005variableScopestyleThe scope of the variable 'srange' can be reduced.
src/io/mhdf/src/adjacency.c
161unusedFunctionstyleThe function 'mhdf_writeAdjacency' is never used.
src/io/mhdf/src/connectivity.c
215unusedFunctionstyleThe function 'mhdf_createPolyConnectivity' is never used.
366unusedFunctionstyleThe function 'mhdf_writePolyConnIndices' is never used.
378unusedFunctionstyleThe function 'mhdf_writePolyConnIndicesWithOpt' is never used.
404unusedFunctionstyleThe function 'mhdf_readPolyConnIndicesWithOpt' is never used.
418unusedFunctionstyleThe function 'mhdf_writePolyConnIDs' is never used.
430unusedFunctionstyleThe function 'mhdf_writePolyConnIDsWithOpt' is never used.
456unusedFunctionstyleThe function 'mhdf_readPolyConnIDsWithOpt' is never used.
src/io/mhdf/src/file-desc.c
32variableScopestyleThe scope of the variable 'new_size' can be reduced.
578nullPointerstylePossible null pointer dereference: ptr - otherwise it is redundant to check it against null.
src/io/mhdf/src/file.c
382unusedFunctionstyleThe function 'mhdf_getElemName' is never used.
969unusedFunctionstyleThe function 'mhdf_getNextStartId' is never used.
src/io/mhdf/src/nodes.c
220unusedFunctionstyleThe function 'mhdf_readNodeCoordsWithOpt' is never used.
233unusedFunctionstyleThe function 'mhdf_writeNodeCoord' is never used.
246unusedFunctionstyleThe function 'mhdf_writeNodeCoordWithOpt' is never used.
262unusedFunctionstyleThe function 'mhdf_readNodeCoord' is never used.
275unusedFunctionstyleThe function 'mhdf_readNodeCoordWithOpt' is never used.
src/io/mhdf/src/sets.c
400unusedFunctionstyleThe function 'mhdf_readSetMeta' is never used.
597unusedFunctionstyleThe function 'mhdf_readSetFlagsWithOpt' is never used.
624unusedFunctionstyleThe function 'mhdf_readSetContentEndIndicesWithOpt' is never used.
650unusedFunctionstyleThe function 'mhdf_readSetChildEndIndicesWithOpt' is never used.
676unusedFunctionstyleThe function 'mhdf_readSetParentEndIndicesWithOpt' is never used.
924unusedFunctionstyleThe function 'mhdf_writeSetParentsChildren' is never used.
962unusedFunctionstyleThe function 'mhdf_readSetParentsChildrenWithOpt' is never used.
src/io/mhdf/src/tags.c
566unusedFunctionstyleThe function 'mhdf_getTagDataType' is never used.
658unusedFunctionstyleThe function 'mhdf_getNumberTags' is never used.
709variableScopestyleThe scope of the variable 'size' can be reduced.
1145variableScopestyleThe scope of the variable 'ilen' can be reduced.
1721unusedFunctionstyleThe function 'mhdf_writeSparseTagIndices' is never used.
1810unusedFunctionstyleThe function 'mhdf_readSparseTagIndicesWithOpt' is never used.
src/io/mhdf/src/util.c
774unusedFunctionstyleThe function 'mhdf_compact_to_ranges' is never used.
778variableScopestyleThe scope of the variable 'count' can be reduced.
781variableScopestyleThe scope of the variable 'blen' can be reduced.
906variableScopestyleThe scope of the variable 'rval' can be reduced.
src/lotte/findpt.c
1448variableScopestyleThe scope of the variable 'ac' can be reduced.
1723variableScopestyleThe scope of the variable 'ac' can be reduced.
1884unusedFunctionstyleThe function 'findpt_setup_2' is never used.
1914unusedFunctionstyleThe function 'findpt_setup_3' is never used.
1944unusedFunctionstyleThe function 'findpt_free_2' is never used.
1955unusedFunctionstyleThe function 'findpt_free_3' is never used.
1966unusedFunctionstyleThe function 'findpt_allbnd_2' is never used.
1971unusedFunctionstyleThe function 'findpt_allbnd_3' is never used.
2101unusedFunctionstyleThe function 'findpt_2' is never used.
2110unusedFunctionstyleThe function 'findpt_3' is never used.
2122unusedFunctionstyleThe function 'findpt_weights_2' is never used.
2128unusedFunctionstyleThe function 'findpt_weights_3' is never used.
2135unusedFunctionstyleThe function 'findpt_eval_2' is never used.
2142unusedFunctionstyleThe function 'findpt_eval_3' is never used.
src/lotte/poly.c
69unusedFunctionstyleThe function 'legendre_row' is never used.
136unusedFunctionstyleThe function 'gauss_nodes' is never used.
174unusedFunctionstyleThe function 'gauss_weights' is never used.
210unusedFunctionstyleThe function 'gauss_to_legendre' is never used.
224unusedFunctionstyleThe function 'gauss_to_legendre_t' is never used.
242unusedFunctionstyleThe function 'lobatto_to_legendre' is never used.
279unusedFunctionstyleThe function 'lagrange_weights' is never used.
src/lotte/tensor.c
142unusedFunctionstyleThe function 'tensor_c1' is never used.
148unusedFunctionstyleThe function 'tensor_r1' is never used.
155unusedFunctionstyleThe function 'tensor_c2' is never used.
164unusedFunctionstyleThe function 'tensor_r2' is never used.
174unusedFunctionstyleThe function 'tensor_c3' is never used.
189unusedFunctionstyleThe function 'tensor_r3' is never used.
src/moab/BSPTree.hpp
360uninitMemberVarstyleMember variable 'BSPTreeBoxIter::leafCoords' is not initialized in the constructor.
src/moab/CartVect.hpp
107duplicateExpressionstyleSame expression on both sides of '%'.
126duplicateExpressionstyleSame expression on both sides of '%'.
src/moab/Matrix3.hpp
146variableScopestyleThe scope of the variable 'k' can be reduced.
147variableScopestyleThe scope of the variable 'tresh' can be reduced.
147variableScopestyleThe scope of the variable 'sm' can be reduced.
147variableScopestyleThe scope of the variable 'tmp' can be reduced.
src/parallel/ParallelComm.cpp
584unusedFunctionstyleThe function 'scatter_entities' is never used.
593variableScopestyleThe scope of the variable 'buff_size' can be reduced.
593variableScopestyleThe scope of the variable 'prev_size' can be reduced.
669deallocDeallocerrorDeallocating a deallocated pointer: sendCounts
670deallocDeallocerrorDeallocating a deallocated pointer: displacements
676unusedFunctionstyleThe function 'send_entities' is never used.
840unusedFunctionstyleThe function 'recv_entities' is never used.
1080variableScopestyleThe scope of the variable 'success' can be reduced.
1144unusedFunctionstyleThe function 'recv_remote_handle_messages' is never used.
1157variableScopestyleThe scope of the variable 'success' can be reduced.
1875variableScopestyleThe scope of the variable 'num_ents' can be reduced.
1877variableScopestyleThe scope of the variable 'i' can be reduced.
2501unusedFunctionstyleThe function 'update_remote_data_old' is never used.
2846unusedFunctionstyleThe function 'pack_range_map' is never used.
3059variableScopestyleThe scope of the variable 'tag_vals' can be reduced.
3145unusedFunctionstyleThe function 'pack_adjacencies' is never used.
3157unusedFunctionstyleThe function 'unpack_adjacencies' is never used.
4017uselessCallsRemovestyleReturn value of std::remove_if() ignored. Elements remain in container.
4873variableScopestyleThe scope of the variable 'share_flag' can be reduced.
5709assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'get_stored_size'.
5710assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'get_stored_size'.
5808assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'get_stored_size'.
5809assertWithSideEffectstyleAssert statement calls a function which may have desired side effects: 'get_stored_size'.
6309unusedFunctionstyleThe function 'post_irecv' is never used.
6319variableScopestyleThe scope of the variable 'success' can be reduced.
6360variableScopestyleThe scope of the variable 'success' can be reduced.
8332clarifyConditionstyleBoolean result is used in bitwise operation. Clarify expression with parentheses.
8389unusedFunctionstyleThe function 'clean_shared_tags' is never used.
src/parallel/ParallelData.cpp
12unusedFunctionstyleThe function 'get_partition_sets' is never used.
src/parallel/ParallelMergeMesh.cpp
183variableScopestyleThe scope of the variable 'xPart' can be reduced.
183variableScopestyleThe scope of the variable 'yPart' can be reduced.
183variableScopestyleThe scope of the variable 'zPart' can be reduced.
183variableScopestyleThe scope of the variable 'xEps' can be reduced.
183variableScopestyleThe scope of the variable 'yEps' can be reduced.
183variableScopestyleThe scope of the variable 'zEps' can be reduced.
183variableScopestyleThe scope of the variable 'baseProc' can be reduced.
186variableScopestyleThe scope of the variable 'xDup' can be reduced.
186variableScopestyleThe scope of the variable 'yDup' can be reduced.
186variableScopestyleThe scope of the variable 'zDup' can be reduced.
src/parallel/ReadParallel.cpp
131invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
146invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
src/parallel/ReadParallel.hpp
16noCopyConstructorstyle'class ReadParallel' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
src/parallel/WriteHDF5Parallel.cpp
254variableScopestyleThe scope of the variable 'count' can be reduced.
1364unreadVariablestyleVariable 'groups' is assigned a value that is never used.
src/parallel/gs.cpp
706unusedFunctionstyleThe function 'gs_data_op' is never used.
715unusedFunctionstyleThe function 'gs_data_op_vec' is never used.
729unusedFunctionstyleThe function 'gs_data_op_many' is never used.
src/verdict/V_EdgeMetric.cpp
49unusedFunctionstyleThe function 'edge_quality' is never used.
src/verdict/V_GaussIntegration.cpp
708variableScopestyleThe scope of the variable 'y1' can be reduced.
708variableScopestyleThe scope of the variable 'y2' can be reduced.
708variableScopestyleThe scope of the variable 'y3' can be reduced.
748variableScopestyleThe scope of the variable 'y3' can be reduced.
src/verdict/V_HexMetric.cpp
149unusedFunctionstyleThe function 'localize_hex_coordinates' is never used.
235unusedFunctionstyleThe function 'safe_ratio3' is never used.
292duplicateExpressionstyleSame expression on both sides of '%'.
293duplicateExpressionstyleSame expression on both sides of '%'.
308duplicateExpressionstyleSame expression on both sides of '%'.
311duplicateExpressionstyleSame expression on both sides of '%'.
313duplicateExpressionstyleSame expression on both sides of '%'.
2119variableScopestyleThe scope of the variable 'tau' can be reduced.
2705memsetClassFloatstyleUsing memset() on struct which contains a floating point number.
src/verdict/V_KnifeMetric.cpp
165unusedFunctionstyleThe function 'v_knife_quality' is never used.
168memsetClassFloatstyleUsing memset() on struct which contains a floating point number.
src/verdict/V_PyramidMetric.cpp
112unusedFunctionstyleThe function 'v_pyramid_quality' is never used.
115memsetClassFloatstyleUsing memset() on struct which contains a floating point number.
src/verdict/V_QuadMetric.cpp
142unusedFunctionstyleThe function 'localize_quad_coordinates' is never used.
193unusedFunctionstyleThe function 'localize_quad_for_ef' is never used.
214variableScopestyleThe scope of the variable 'xnew' can be reduced.
894variableScopestyleThe scope of the variable 'g' can be reduced.
894variableScopestyleThe scope of the variable 'g11' can be reduced.
894variableScopestyleThe scope of the variable 'g12' can be reduced.
894variableScopestyleThe scope of the variable 'g22' can be reduced.
1188variableScopestyleThe scope of the variable 'distrt' can be reduced.
1188variableScopestyleThe scope of the variable 'thickness_gauss' can be reduced.
1189variableScopestyleThe scope of the variable 'cur_jacobian' can be reduced.
1189variableScopestyleThe scope of the variable 'jacobian' can be reduced.
1213variableScopestyleThe scope of the variable 'i' can be reduced.
1293variableScopestyleThe scope of the variable 'dot_product' can be reduced.
1397memsetClassFloatstyleUsing memset() on struct which contains a floating point number.
1569variableScopestyleThe scope of the variable 'scaled_jac' can be reduced.
1569variableScopestyleThe scope of the variable 'min_scaled_jac' can be reduced.
1613variableScopestyleThe scope of the variable 'oddy' can be reduced.
1613variableScopestyleThe scope of the variable 'max_oddy' can be reduced.
1615variableScopestyleThe scope of the variable 'diff' can be reduced.
1615variableScopestyleThe scope of the variable 'dot_prod' can be reduced.
src/verdict/V_TetMetric.cpp
972memsetClassFloatstyleUsing memset() on struct which contains a floating point number.
1091duplicateExpressionstyleSame expression on both sides of '%'.
src/verdict/V_TriMetric.cpp
69unusedFunctionstyleThe function 'v_set_tri_normal_func' is never used.
767variableScopestyleThe scope of the variable 'dot_product' can be reduced.
876memsetClassFloatstyleUsing memset() on struct which contains a floating point number.
1064duplicateExpressionstyleSame expression on both sides of '%'.
1065duplicateExpressionstyleSame expression on both sides of '%'.
1087duplicateExpressionstyleSame expression on both sides of '%'.
1088duplicateExpressionstyleSame expression on both sides of '%'.
src/verdict/V_WedgeMetric.cpp
122unusedFunctionstyleThe function 'v_wedge_quality' is never used.
125memsetClassFloatstyleUsing memset() on struct which contains a floating point number.
src/verdict/VerdictVector.cpp
49unusedFunctionstyleThe function 'distance_between' is never used.
156unusedFunctionstyleThe function 'reflect_about_xaxis' is never used.
161unusedFunctionstyleThe function 'scale_angle' is never used.
196unusedFunctionstyleThe function 'vector_angle_quick' is never used.
233unusedFunctionstyleThe function 'vectorRotate' is never used.
262unusedFunctionstyleThe function 'vector_angle' is never used.
365unusedFunctionstyleThe function 'orthogonal_vectors' is never used.
376variableScopestyleThe scope of the variable 'rmag' can be reduced.
433unusedFunctionstyleThe function 'next_point' is never used.
src/verdict/verdict_defines.hpp
211duplicateExpressionstyleSame expression on both sides of '%'.
214duplicateExpressionstyleSame expression on both sides of '%'.
216duplicateExpressionstyleSame expression on both sides of '%'.
278duplicateExpressionstyleSame expression on both sides of '%'.
test/MBTest.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/OBBTest.cpp
93clarifyCalculationstyleClarify calculation precedence for '%' and '?'.
1271duplicateExpressionstyleSame expression on both sides of '%'.
test/TestRunner.hpp
92cstyleCaststyleC-style pointer casting
134variableScopestyleThe scope of the variable 'req_idx' can be reduced.
197variableScopestyleThe scope of the variable 'changed_some' can be reduced.
test/TestTypeSequenceManager.cpp
837unusedFunctionstyleThe function 'test_is_free_handle' is never used.
test/VarLenTagTest.cpp
50unusedStructMemberstylestruct or union member 'ExpectedSize::pointer' is never used.
test/adaptive_kd_tree_tests.cpp
345duplicateExpressionstyleSame expression on both sides of '%'.
347duplicateExpressionstyleSame expression on both sides of '%'.
349duplicateExpressionstyleSame expression on both sides of '%'.
796clarifyCalculationstyleClarify calculation precedence for '&' and '?'.
797clarifyCalculationstyleClarify calculation precedence for '&' and '?'.
798clarifyCalculationstyleClarify calculation precedence for '&' and '?'.
855clarifyCalculationstyleClarify calculation precedence for '&' and '?'.
856clarifyCalculationstyleClarify calculation precedence for '&' and '?'.
857clarifyCalculationstyleClarify calculation precedence for '&' and '?'.
925clarifyCalculationstyleClarify calculation precedence for '&' and '?'.
926clarifyCalculationstyleClarify calculation precedence for '&' and '?'.
927clarifyCalculationstyleClarify calculation precedence for '&' and '?'.
951clarifyCalculationstyleClarify calculation precedence for '&' and '?'.
952clarifyCalculationstyleClarify calculation precedence for '&' and '?'.
953clarifyCalculationstyleClarify calculation precedence for '&' and '?'.
test/adj_moab_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR;MOAB_HAVE_AHF;MOAB_HAVE_HDF5' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR;MOAB_HAVE_HDF5' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/crop_vol_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/dagmc/dagmc_pointinvol_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
206unusedFunctionstyleThe function 'dagmc_point_on_corner_5' is never used.
218unusedFunctionstyleThe function 'dagmc_point_on_corner_6' is never used.
230unusedFunctionstyleThe function 'dagmc_point_on_corner_7' is never used.
242unusedFunctionstyleThe function 'dagmc_point_on_corner_8' is never used.
test/dagmc/dagmc_rayfire_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/dagmc/dagmc_simple_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
48unusedFunctionstyleThe function 'dagmc_entity_handle' is never used.
test/dual/dual_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/elem_eval_test.cpp
153unusedFunctionstyleThe function 'test_linear_tri' is never used.
test/gttool_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/h5file/dump_sets.c
119variableScopestyleThe scope of the variable 'end' can be reduced.
test/h5file/h5file_test.cpp
505clarifyCalculationstyleClarify calculation precedence for '&' and '?'.
506clarifyCalculationstyleClarify calculation precedence for '&' and '?'.
507clarifyCalculationstyleClarify calculation precedence for '&' and '?'.
508clarifyCalculationstyleClarify calculation precedence for '&' and '?'.
509clarifyCalculationstyleClarify calculation precedence for '&' and '?'.
510clarifyCalculationstyleClarify calculation precedence for '&' and '?'.
test/h5file/h5regression.cpp
31duplicateExpressionstyleSame expression on both sides of '-'.
66unreadVariablestyleVariable 'coords' is assigned a value that is never used.
107clarifyCalculationstyleClarify calculation precedence for '%' and '?'.
test/h5file/h5sets_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/homxform_test.cpp
167unusedFunctionstyleThe function 'test_xform_constructors' is never used.
test/io/VtkTest.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
35cstyleCaststyleC-style pointer casting
1227invalidPrintfArgType_uintstyle%u in format string (no. 1) requires 'unsigned int' but the argument type is 'const int'.
1631stlIfStrFindstyleInefficient usage of string::find() in condition; string::compare() would be faster.
1638stlIfStrFindstyleInefficient usage of string::find() in condition; string::compare() would be faster.
test/io/ccmio_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/io/cgns_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/io/cub_file_test.cc
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
634redundantAssignmentstyleVariable 'dim' is reassigned a value before the old one has been used.
637redundantAssignmentstyleVariable 'dim' is reassigned a value before the old one has been used.
637unreadVariablestyleVariable 'dim' is assigned a value that is never used.
test/io/exodus_test.cc
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/io/gmsh_test.cc
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/io/ideas_test.cc
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/io/nastran_test.cc
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/io/read_cgm_basic_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'HAVE_OCC_STEP;MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/io/read_cgm_connectivity_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'HAVE_OCC_STEP;MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
197unusedFunctionstyleThe function 'cube_edge_adjacencies_test' is never used.
test/io/read_cgm_facet_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'HAVE_OCC_STEP;MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/io/read_cgm_group_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'HAVE_OCC_STEP;MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/io/read_cgm_load_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'HAVE_OCC_STEP;MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/io/read_cgm_senses_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'HAVE_OCC_STEP;MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/io/read_gcrm_nc.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
42duplicateExpressionstyleSame expression on both sides of '-'.
test/io/read_mpas_nc.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
41duplicateExpressionstyleSame expression on both sides of '-'.
test/io/read_nc.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
49duplicateExpressionstyleSame expression on both sides of '-'.
294unusedFunctionstyleThe function 'test_read_fv_all' is never used.
test/io/read_ucd_nc.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
44duplicateExpressionstyleSame expression on both sides of '-'.
test/io/smf_test.cc
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/io/stl_test.cc
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/io/test_exo.cpp
62variableScopestyleThe scope of the variable 'this_meshset' can be reduced.
63variableScopestyleThe scope of the variable 'bc_tag' can be reduced.
test/io/write_nc.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
97duplicateExpressionstyleSame expression on both sides of '-'.
185variableScopestyleThe scope of the variable 'procs' can be reduced.
348variableScopestyleThe scope of the variable 'procs' can be reduced.
494variableScopestyleThe scope of the variable 'procs' can be reduced.
660variableScopestyleThe scope of the variable 'procs' can be reduced.
855variableScopestyleThe scope of the variable 'procs' can be reduced.
1064variableScopestyleThe scope of the variable 'procs' can be reduced.
1230variableScopestyleThe scope of the variable 'procs' can be reduced.
1423variableScopestyleThe scope of the variable 'procs' can be reduced.
test/kd_tree_test.cpp
40duplicateExpressionstyleSame expression on both sides of '-'.
test/kd_tree_time.cpp
87resourceLeakerrorResource leak: file
157resourceLeakerrorResource leak: rfile
test/lloyd_smoother_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/mbfacet_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/mbground_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/merge_test.cpp
510variableScopestyleThe scope of the variable 'id1' can be reduced.
510variableScopestyleThe scope of the variable 'id2' can be reduced.
test/mergemesh_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/obb/obb_test.cpp
229invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
test/obb/obb_tree_tool.cpp
77invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
test/parallel/augment_with_ghosts.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
44postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
65redundantAssignmentstyleVariable 'rval' is reassigned a value before the old one has been used.
89redundantAssignmentstyleVariable 'rval' is reassigned a value before the old one has been used.
124redundantAssignmentstyleVariable 'rval' is reassigned a value before the old one has been used.
146unreadVariablestyleVariable 'result' is assigned a value that is never used.
test/parallel/gcrm_par.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/parallel/mbparallelcomm_test.cpp
226unusedFunctionstyleThe function 'report_nsets' is never used.
test/parallel/mpastrvpart.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/parallel/par_intx_sph.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/parallel/parallel_hdf5_test.cc
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/parallel/parallel_unit_tests.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR;MOAB_HAVE_HDF5' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/parallel/parmerge.cpp
149variableScopestyleThe scope of the variable 'tmp' can be reduced.
test/parallel/parmerge_test.cpp
26variableScopestyleThe scope of the variable 'filename0' can be reduced.
27variableScopestyleThe scope of the variable 'filename1' can be reduced.
test/parallel/pcomm_unit.cpp
1517unusedFunctionstyleThe function 'test_pack_bit_tag_data' is never used.
test/parallel/scdpart.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/parallel/uber_parallel_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/parallel/ucdtrvpart.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/perf/adj_mem_time_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR;MOAB_HAVE_HDF5' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/perf/adj_time.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/perf/cubit_perf.cpp
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.
42unusedFunctionstyleThe function '__ctype_toupper' is never used.
107invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
188memleakerrorMemory leak: node_array
188memleakerrorMemory leak: hex_array
test/perf/perf.cpp
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.
130unusedVariablestyleUnused variable: idx
314invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
316invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
770variableScopestyleThe scope of the variable 'imem2' can be reduced.
770variableScopestyleThe scope of the variable 'imem4' can be reduced.
770variableScopestyleThe scope of the variable 'rmem4' can be reduced.
770variableScopestyleThe scope of the variable 'imem5' can be reduced.
770variableScopestyleThe scope of the variable 'rmem5' can be reduced.
770variableScopestyleThe scope of the variable 'imem6' can be reduced.
771variableScopestyleThe scope of the variable 'imem7' can be reduced.
771variableScopestyleThe scope of the variable 'imem8' can be reduced.
test/perf/point_location/elem_eval_time.cpp
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.
test/perf/point_location/sploc_searching_perf.cpp
32duplicateExpressionstyleSame expression on both sides of '-'.
test/perf/point_location/tree_searching_perf.cpp
31duplicateExpressionstyleSame expression on both sides of '-'.
test/perf/tstt_perf.cpp
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.
110invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
161variableScopestyleThe scope of the variable 'sidl_vertices_size' can be reduced.
188variableScopestyleThe scope of the variable 'new_hexes_size' can be reduced.
190variableScopestyleThe scope of the variable 'status_size' can be reduced.
252variableScopestyleThe scope of the variable 'tmp_vertices_size' can be reduced.
279variableScopestyleThe scope of the variable 'tmp_conn_size' can be reduced.
295variableScopestyleThe scope of the variable 'new_hex_size' can be reduced.
297variableScopestyleThe scope of the variable 'status_size' can be reduced.
513unusedVariablestyleUnused variable: idx
test/perf/tstt_perf_binding.cpp
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.
58invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
226memleakerrorMemory leak: sidl_vertices
495unusedVariablestyleUnused variable: idx
test/perf/umr_perf.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/scdseq_timing.cpp
67invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
69variableScopestyleThe scope of the variable 'do_option' can be reduced.
74invalidscanfstylescanf without field width limits can crash with huge input data.
test/spatial_locator_test.cpp
43duplicateExpressionstyleSame expression on both sides of '-'.
test/test_adj.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR;MOAB_HAVE_HDF5' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
test/urefine_mesh_test.cpp
57redundantAssignmentstyleVariable 'y' is reassigned a value before the old one has been used.
357variableScopestyleThe scope of the variable 'factor' can be reduced.
377postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
450postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
tools/dagmc/DagMC.cpp
120redundantCopystyleBuffer 'implComplName' is being written before its old content has been used.
120bufferAccessOutOfBoundserrorBuffer is accessed out of bounds: implComplName
597unusedFunctionstyleThe function 'reset_to_last_intersection' is never used.
606unusedFunctionstyleThe function 'rollback_last_intersection' is never used.
1415variableScopestyleThe scope of the variable 's' can be reduced.
1415variableScopestyleThe scope of the variable 'ang' can be reduced.
1615unusedFunctionstyleThe function 'set_numerical_precision' is never used.
1628unusedFunctionstyleThe function 'set_use_CAD' is never used.
1846unusedFunctionstyleThe function 'prop_value' is never used.
1898unusedFunctionstyleThe function 'get_all_prop_values' is never used.
1923unusedFunctionstyleThe function 'entities_by_property' is never used.
tools/dagmc/cub2h5m.cc
577variableScopestyleThe scope of the variable 'bar_height' can be reduced.
1612variableScopestyleThe scope of the variable 'CUBIT_NAME' can be reduced.
1669invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
1680invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
tools/dagmc/ray_fire_test.cc
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.
436invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
436invalidscanfstylescanf without field width limits can crash with huge input data.
tools/mbcoupler/Coupler.cpp
157unusedFunctionstyleThe function 'initialize_spectral_elements' is never used.
305variableScopestyleThe scope of the variable 'point_located' can be reduced.
1206memleakerrorMemory leak: offsets
1497variableScopestyleThe scope of the variable 'grp_intrgr_val' can be reduced.
tools/mbcoupler/DataCoupler.cpp
204variableScopestyleThe scope of the variable 'tsize_bytes' can be reduced.
tools/mbcoupler/DataCoupler.hpp
37noCopyConstructorstyle'class DataCoupler' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
tools/mbcoupler/ElemUtil.cpp
30variableScopestyleThe scope of the variable 'det' can be reduced.
130unusedFunctionstyleThe function 'nat_coords_trilinear_hex2' is never used.
266unusedFunctionstyleThe function 'hex_eval' is never used.
341unusedFunctionstyleThe function 'integrate_trilinear_hex' is never used.
453variableScopestyleThe scope of the variable 'det' can be reduced.
1250unusedFunctionstyleThe function 'compute_gl_positions' is never used.
1287unusedFunctionstyleThe function 'get_gl_points' is never used.
tools/mbcoupler/ElementTest.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
tools/mbcoupler/datacoupler_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
tools/mbcoupler/mbcoupler_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
tools/mbcslam/CslamUtils.cpp
587unusedFunctionstyleThe function 'ProjectOnSphere' is never used.
672unusedFunctionstyleThe function 'area_spherical_triangle' is never used.
840unusedFunctionstyleThe function 'distance_on_great_circle' is never used.
1086unusedFunctionstyleThe function 'create_span_quads' is never used.
1137unreadVariablestyleVariable 'coords' is assigned a value that is never used.
1901unreadVariablestyleVariable 'coords' is assigned a value that is never used.
tools/mbcslam/Intx2Mesh.cpp
22uninitMemberVarstyleMember variable 'Intx2Mesh::redCoords2D' is not initialized in the constructor.
22uninitMemberVarstyleMember variable 'Intx2Mesh::blueCoords2D' is not initialized in the constructor.
tools/mbcslam/Intx2MeshInPlane.cpp
377unusedFunctionstyleThe function 'is_inside_element' is never used.
tools/mbcslam/IntxRllCssphere.cpp
13uninitMemberVarstyleMember variable 'IntxRllCssphere::blueEdgeType' is not initialized in the constructor.
tools/mbcslam/cslam_par_test.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
tools/mbcslam/diffusion.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
tools/mbcslam/linear_advection.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
838unusedFunctionstyleThe function 'departure_point_swirl' is never used.
1031unusedFunctionstyleThe function 'create_lagr_mesh' is never used.
tools/mbcslam/linear_remap.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
516unusedFunctionstyleThe function 'reverse_gnomonic_projection_test' is never used.
567unusedFunctionstyleThe function 'decide_gnomonic_plane_test' is never used.
tools/mbcslam/proj1.cpp
58redundantAssignmentstyleVariable 'rval' is reassigned a value before the old one has been used.
tools/mbcslam/wrap_intx.cpp
67unusedFunctionstyleThe function 'initialize_area_and_tracer' is never used.
99unusedFunctionstyleThe function 'update_tracer_test' is never used.
840unusedFunctionstyleThe function 'intersection_at_level' is never used.
894unusedFunctionstyleThe function 'cleanup_after_intersection' is never used.
940unusedFunctionstyleThe function 'cleanup_after_simulation' is never used.
tools/mbmem.cpp
275invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
tools/mbpart.cpp
81unusedVariablestyleUnused variable: zoltan_method
81unusedVariablestyleUnused variable: parm_method
81unusedVariablestyleUnused variable: oct_method
81unusedVariablestyleUnused variable: metis_method
307variableScopestyleThe scope of the variable 'options' can be reduced.
tools/mcnpmit/main.cpp
133variableScopestyleThe scope of the variable 'p' can be reduced.
381unusedFunctionstyleThe function 'next_double' is never used.
tools/mcnpmit/mcnpmit.cpp
47unusedFunctionstyleThe function 'set_coord_system' is never used.
51unusedFunctionstyleThe function 'get_coord_system' is never used.
56unusedFunctionstyleThe function 'set_rotation_matrix' is never used.
62unusedFunctionstyleThe function 'get_rotation_matrix' is never used.
72unusedFunctionstyleThe function 'get_filename' is never used.
251variableScopestyleThe scope of the variable 'result' can be reduced.
392variableScopestyleThe scope of the variable 'result' can be reduced.
tools/parse.cpp
75unusedFunctionstyleThe function 'parse_value' is never used.
tools/quality.cpp
69variableScopestyleThe scope of the variable 'out_file' can be reduced.
tools/refiner/EdgeSizeSimpleImplicit.cpp
32variableScopestyleThe scope of the variable 'delta' can be reduced.
57unusedFunctionstyleThe function 'set_implicit_function' is never used.
70unusedFunctionstyleThe function 'get_implicit_function' is never used.
tools/refiner/EntityRefiner.cpp
124unusedFunctionstyleThe function 'set_minimum_number_of_subdivisions' is never used.
150unusedFunctionstyleThe function 'set_maximum_number_of_subdivisions' is never used.
tools/refiner/EntityRefiner.hpp
97unreadVariablestyleVariable 'harr' is assigned a value that is never used.
115unreadVariablestyleVariable 'harr' is assigned a value that is never used.
tools/refiner/MeshOutputFunctor.cpp
54unusedFunctionstyleThe function 'print_vert_crud' is never used.
89clarifyCalculationstyleClarify calculation precedence for '%' and '?'.
98clarifyCalculationstyleClarify calculation precedence for '%' and '?'.
99clarifyCalculationstyleClarify calculation precedence for '%' and '?'.
126clarifyCalculationstyleClarify calculation precedence for '%' and '?'.
133clarifyCalculationstyleClarify calculation precedence for '%' and '?'.
134clarifyCalculationstyleClarify calculation precedence for '%' and '?'.
137clarifyCalculationstyleClarify calculation precedence for '%' and '?'.
187unusedFunctionstyleThe function 'exchange_handles' is never used.
tools/refiner/MeshRefiner.hpp
43noCopyConstructorstyle'class MeshRefiner' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
tools/refiner/RefinerTagManager.cpp
160clarifyCalculationstyleClarify calculation precedence for '%' and '?'.
194unusedFunctionstyleThe function 'add_element_tag' is never used.
208clarifyCalculationstyleClarify calculation precedence for '%' and '?'.
tools/refiner/SimplexTemplateRefiner.cpp
173unusedFunctionstyleThe function 'set_tag_assigner' is never used.
1554variableScopestyleThe scope of the variable 'ntets' can be reduced.
1555variableScopestyleThe scope of the variable 'perm' can be reduced.
1556variableScopestyleThe scope of the variable 'sgn' can be reduced.
tools/refiner/test_mesh_refiner.cpp
1ConfigurationNotCheckedstyleSkipping configuration 'MESHDIR' since the value of 'MESHDIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
tools/skin.cpp
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.
439invalidscanf_libcstylescanf without field width limits can crash with huge input data on some versions of libc.
439invalidscanfstylescanf without field width limits can crash with huge input data.
tools/umr.cpp
84variableScopestyleThe scope of the variable 'resolve_shared' can be reduced.
84variableScopestyleThe scope of the variable 'exchange_ghosts' can be reduced.
458postfixOperatorstylePrefer prefix ++/-- operators for non-primitive types.
tools/vtkMOABReader/vtkMoabReader.cxx
42unusedFunctionstyleThe function 'RequestData' is never used.