2025-05-06 17:42 ftp://ftp.de.debian.org/debian/pool/main/o/open-jtalk/open-jtalk_1.11.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 56be00d (2025-05-06 17:27:07 +0200) count: 510 505 elapsed-time: 23.5 26.6 head-timing-info: old-timing-info: head results: open_jtalk-1.11/jpcommon/jpcommon_rule_shift_jis.h:181:0: error: No pair for character ("). Can't process file. File is either invalid or unicode, which is currently not supported. [preprocessorErrorDirective] open_jtalk-1.11/jpcommon/jpcommon.c:117:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] open_jtalk-1.11/jpcommon/jpcommon.c:89:14: style: Redundant initialization for 'node'. The initialized value is overwritten before it is read. [redundantInitialization] open_jtalk-1.11/jpcommon/jpcommon.c:80:23: note: node is initialized open_jtalk-1.11/jpcommon/jpcommon.c:89:14: note: node is overwritten open_jtalk-1.11/bin/open_jtalk.c:104:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] open_jtalk-1.11/bin/open_jtalk.c:190:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] open_jtalk-1.11/bin/open_jtalk.c:213:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/bin/open_jtalk.c:297:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] open_jtalk-1.11/jpcommon/jpcommon_node.c:152:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] open_jtalk-1.11/jpcommon/jpcommon_node.c:110:50: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/jpcommon/jpcommon_node.c:115:49: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/jpcommon/jpcommon_node.c:120:51: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/jpcommon/jpcommon_node.c:125:51: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/jpcommon/jpcommon_node.c:130:41: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/jpcommon/jpcommon_node.c:135:48: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/jpcommon/jpcommon_node.c:140:61: style: Parameter 'node2' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/jpcommon/jpcommon_node.c:155:41: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/bin/open_jtalk.c:298:10: style: Variable 'txtfn' can be declared as pointer to const [constVariablePointer] open_jtalk-1.11/mecab/src/common.h:161:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/utils.h:103:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/param.h:22:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ws [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/connector.cpp:57:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/connector.cpp:70:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/mmap.h:150:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/mmap.h:196:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/context_id.cpp:19:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/context_id.cpp:50:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/context_id.cpp:96:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/context_id.cpp:103:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/utils.h:217:24: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] open_jtalk-1.11/mecab/src/context_id.h:44:8: style:inconclusive: Technically the member function 'MeCab::ContextID::is_valid' can be const. [functionConst] open_jtalk-1.11/mecab/src/common.h:180:3: style: Class 'wlog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] open_jtalk-1.11/mecab/src/context_id.cpp:80:17: style: Return value '::save(lfile,&left_)' is always true [knownConditionTrueFalse] open_jtalk-1.11/mecab/src/context_id.cpp:80:17: note: Calling function 'save' returns 1 open_jtalk-1.11/mecab/src/context_id.cpp:80:17: note: Return value '::save(lfile,&left_)' is always true open_jtalk-1.11/mecab/src/context_id.cpp:80:42: style: Return value '::save(rfile,&right_)' is always true [knownConditionTrueFalse] open_jtalk-1.11/mecab/src/context_id.cpp:80:42: note: Calling function 'save' returns 1 open_jtalk-1.11/mecab/src/context_id.cpp:80:42: note: Return value '::save(rfile,&right_)' is always true open_jtalk-1.11/mecab/src/context_id.cpp:86:21: style: Return value '::open_map(lfile,&left_,iconv)' is always true [knownConditionTrueFalse] open_jtalk-1.11/mecab/src/context_id.cpp:86:21: note: Calling function 'open_map' returns 1 open_jtalk-1.11/mecab/src/context_id.cpp:86:21: note: Return value '::open_map(lfile,&left_,iconv)' is always true open_jtalk-1.11/mecab/src/context_id.cpp:87:21: style: Return value '::open_map(rfile,&right_,iconv)' is always true [knownConditionTrueFalse] open_jtalk-1.11/mecab/src/context_id.cpp:87:21: note: Calling function 'open_map' returns 1 open_jtalk-1.11/mecab/src/context_id.cpp:87:21: note: Return value '::open_map(rfile,&right_,iconv)' is always true open_jtalk-1.11/mecab/src/context_id.cpp:91:18: style: Return value '::build(&left_,left_bos_)' is always true [knownConditionTrueFalse] open_jtalk-1.11/mecab/src/context_id.cpp:91:18: note: Calling function 'build' returns 1 open_jtalk-1.11/mecab/src/context_id.cpp:91:18: note: Return value '::build(&left_,left_bos_)' is always true open_jtalk-1.11/mecab/src/context_id.cpp:91:48: style: Return value '::build(&right_,right_bos_)' is always true [knownConditionTrueFalse] open_jtalk-1.11/mecab/src/context_id.cpp:91:48: note: Calling function 'build' returns 1 open_jtalk-1.11/mecab/src/context_id.cpp:91:48: note: Return value '::build(&right_,right_bos_)' is always true open_jtalk-1.11/mecab/src/context_id.h:45:17: style: Unsigned expression 'lid' can't be negative so it is unnecessary to test it. [unsignedPositive] open_jtalk-1.11/mecab/src/context_id.h:46:17: style: Unsigned expression 'rid' can't be negative so it is unnecessary to test it. [unsignedPositive] open_jtalk-1.11/mecab/src/utils.h:134:15: style: Variable 'start' is assigned a value that is never used. [unreadVariable] open_jtalk-1.11/mecab/src/utils.h:135:13: style: Variable 'end' is assigned a value that is never used. [unreadVariable] open_jtalk-1.11/mecab/src/mmap.h:210:3: warning: Member variable 'Mmap < short >::length' is not initialized in the constructor. [uninitMemberVar] open_jtalk-1.11/mecab/src/mmap.h:210:3: warning: Member variable 'Mmap < short >::flag' is not initialized in the constructor. [uninitMemberVar] open_jtalk-1.11/mecab/src/connector.h:29:8: performance:inconclusive: Technically the member function 'MeCab::Connector::clear' can be static (but you may consider moving to unnamed namespace). [functionStatic] open_jtalk-1.11/mecab/src/mmap.h:81:10: style:inconclusive: Technically the member function 'Mmap < short >::size' can be const. [functionConst] open_jtalk-1.11/mecab/src/mmap.h:83:15: style:inconclusive: Technically the member function 'Mmap < short >::file_name' can be const. [functionConst] open_jtalk-1.11/mecab/src/mmap.h:84:10: style:inconclusive: Technically the member function 'Mmap < short >::file_size' can be const. [functionConst] open_jtalk-1.11/mecab/src/mmap.h:85:8: style:inconclusive: Technically the member function 'Mmap < short >::empty' can be const. [functionConst] open_jtalk-1.11/mecab/src/param.h:81:17: style: Redundant condition: !rewrite. 'rewrite || (!rewrite && conf_.find(key2)==conf_.end())' is equivalent to 'rewrite || conf_.find(key2)==conf_.end()' [redundantCondition] open_jtalk-1.11/mecab/src/connector.h:56:17: style: Unsigned expression 'lid' can't be negative so it is unnecessary to test it. [unsignedPositive] open_jtalk-1.11/mecab/src/connector.h:56:45: style: Unsigned expression 'rid' can't be negative so it is unnecessary to test it. [unsignedPositive] open_jtalk-1.11/mecab/src/connector.cpp:86:22: style: Local variable 'matrix' shadows outer function [shadowFunction] open_jtalk-1.11/mecab/src/connector.h:50:16: note: Shadowed declaration open_jtalk-1.11/mecab/src/connector.cpp:86:22: note: Shadow variable open_jtalk-1.11/mecab/src/param.h:30:64: performance: Function parameter 'arg' should be passed by const reference. [passedByValue] open_jtalk-1.11/mecab/src/char_property.cpp:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/char_property.cpp:55:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/char_property.cpp:143:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/dictionary_compiler.cpp:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/freelist.h:61:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/freelist.h:81:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/dictionary.cpp:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/dictionary.cpp:98:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIC_VERSION [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/dictionary.cpp:155:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/dictionary.cpp:272:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/mmap.h:210:3: warning: Member variable 'Mmap < char >::length' is not initialized in the constructor. [uninitMemberVar] open_jtalk-1.11/mecab/src/mmap.h:210:3: warning: Member variable 'Mmap < char >::flag' is not initialized in the constructor. [uninitMemberVar] open_jtalk-1.11/mecab/src/mmap.h:81:10: style:inconclusive: Technically the member function 'Mmap < char >::size' can be const. [functionConst] open_jtalk-1.11/mecab/src/mmap.h:83:15: style:inconclusive: Technically the member function 'Mmap < char >::file_name' can be const. [functionConst] open_jtalk-1.11/mecab/src/mmap.h:84:10: style:inconclusive: Technically the member function 'Mmap < char >::file_size' can be const. [functionConst] open_jtalk-1.11/mecab/src/mmap.h:85:8: style:inconclusive: Technically the member function 'Mmap < char >::empty' can be const. [functionConst] open_jtalk-1.11/mecab/src/ucs.h:74:3: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] open_jtalk-1.11/mecab/src/char_property.cpp:116:44: style:inconclusive: Function 'set_charset' argument 1 names different: declaration 'charset' definition 'ct'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/char_property.h:32:32: note: Function 'set_charset' argument 1 names different: declaration 'charset' definition 'ct'. open_jtalk-1.11/mecab/src/char_property.cpp:116:44: note: Function 'set_charset' argument 1 names different: declaration 'charset' definition 'ct'. open_jtalk-1.11/mecab/src/char_property.cpp:63:53: style: Local variable 'it' shadows outer variable [shadowVariable] open_jtalk-1.11/mecab/src/char_property.cpp:57:51: note: Shadowed declaration open_jtalk-1.11/mecab/src/char_property.cpp:63:53: note: Shadow variable open_jtalk-1.11/mecab/src/char_property.cpp:134:10: style: Local variable 'id' shadows outer function [shadowFunction] open_jtalk-1.11/mecab/src/char_property.h:33:7: note: Shadowed declaration open_jtalk-1.11/mecab/src/char_property.cpp:134:10: note: Shadow variable open_jtalk-1.11/mecab/src/char_property.cpp:152:18: style: Local variable 'size' shadows outer function [shadowFunction] open_jtalk-1.11/mecab/src/char_property.h:31:10: note: Shadowed declaration open_jtalk-1.11/mecab/src/char_property.cpp:152:18: note: Shadow variable open_jtalk-1.11/mecab/src/char_property.cpp:262:18: style: Local variable 'size' shadows outer function [shadowFunction] open_jtalk-1.11/mecab/src/char_property.h:31:10: note: Shadowed declaration open_jtalk-1.11/mecab/src/char_property.cpp:262:18: note: Shadow variable open_jtalk-1.11/mecab/src/char_property.h:23:26: performance: Function parameter 'c' should be passed by const reference. [passedByValue] open_jtalk-1.11/mecab/src/char_property.cpp:163:16: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] open_jtalk-1.11/mecab/src/char_property.cpp:122:43: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] open_jtalk-1.11/mecab/src/dictionary.h:80:12: warning: Member variable 'Dictionary::version_' is not initialized in the constructor. [uninitMemberVar] open_jtalk-1.11/mecab/src/dictionary.h:80:12: warning: Member variable 'Dictionary::type_' is not initialized in the constructor. [uninitMemberVar] open_jtalk-1.11/mecab/src/dictionary.h:80:12: warning: Member variable 'Dictionary::lexsize_' is not initialized in the constructor. [uninitMemberVar] open_jtalk-1.11/mecab/src/dictionary.h:80:12: warning: Member variable 'Dictionary::lsize_' is not initialized in the constructor. [uninitMemberVar] open_jtalk-1.11/mecab/src/dictionary.h:80:12: warning: Member variable 'Dictionary::rsize_' is not initialized in the constructor. [uninitMemberVar] open_jtalk-1.11/mecab/src/feature_index.h:92:1: style: The class 'DecoderFeatureIndex' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] open_jtalk-1.11/mecab/src/darts.h:219:12: warning: Member variable 'DoubleArrayImpl < char , unsigned char , int , unsigned int , Length < char > >::key_' is not initialized in the constructor. [uninitMemberVar] open_jtalk-1.11/mecab/src/darts.h:219:12: warning: Member variable 'DoubleArrayImpl < char , unsigned char , int , unsigned int , Length < char > >::key_size_' is not initialized in the constructor. [uninitMemberVar] open_jtalk-1.11/mecab/src/darts.h:219:12: warning: Member variable 'DoubleArrayImpl < char , unsigned char , int , unsigned int , Length < char > >::length_' is not initialized in the constructor. [uninitMemberVar] open_jtalk-1.11/mecab/src/darts.h:219:12: warning: Member variable 'DoubleArrayImpl < char , unsigned char , int , unsigned int , Length < char > >::value_' is not initialized in the constructor. [uninitMemberVar] open_jtalk-1.11/mecab/src/darts.h:219:12: warning: Member variable 'DoubleArrayImpl < char , unsigned char , int , unsigned int , Length < char > >::progress_' is not initialized in the constructor. [uninitMemberVar] open_jtalk-1.11/mecab/src/darts.h:219:12: warning: Member variable 'DoubleArrayImpl < char , unsigned char , int , unsigned int , Length < char > >::next_check_pos_' is not initialized in the constructor. [uninitMemberVar] open_jtalk-1.11/mecab/src/darts.h:219:12: warning: Member variable 'DoubleArrayImpl < char , unsigned char , int , unsigned int , Length < char > >::progress_func_' is not initialized in the constructor. [uninitMemberVar] open_jtalk-1.11/mecab/src/dictionary.h:65:10: performance:inconclusive: Technically the member function 'MeCab::Dictionary::token_size' can be static (but you may consider moving to unnamed namespace). [functionStatic] open_jtalk-1.11/mecab/src/darts.h:224:8: performance:inconclusive: Technically the member function 'DoubleArrayImpl < char , unsigned char , int , unsigned int , Length < char > >::set_result' can be static (but you may consider moving to unnamed namespace). [functionStatic] open_jtalk-1.11/mecab/src/darts.h:228:8: performance:inconclusive: Technically the member function 'DoubleArrayImpl < char , unsigned char , int , unsigned int , Length < char > >::set_result' can be static (but you may consider moving to unnamed namespace). [functionStatic] open_jtalk-1.11/mecab/src/darts.h:255:10: performance:inconclusive: Technically the member function 'DoubleArrayImpl < char , unsigned char , int , unsigned int , Length < char > >::unit_size' can be static (but you may consider moving to unnamed namespace). [functionStatic] open_jtalk-1.11/mecab/src/feature_index.h:71:8: style: The function 'open' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/feature_index.h:26:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/feature_index.h:71:8: note: Function in derived class open_jtalk-1.11/mecab/src/feature_index.h:72:8: style: The function 'close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/feature_index.h:28:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/feature_index.h:72:8: note: Function in derived class open_jtalk-1.11/mecab/src/feature_index.h:73:8: style: The function 'clear' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/feature_index.h:27:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/feature_index.h:73:8: note: Function in derived class open_jtalk-1.11/mecab/src/feature_index.h:83:8: style: The function 'buildFeature' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/feature_index.h:29:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/feature_index.h:83:8: note: Function in derived class open_jtalk-1.11/mecab/src/feature_index.h:89:7: style: The function 'id' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/feature_index.h:64:15: note: Virtual function in base class open_jtalk-1.11/mecab/src/feature_index.h:89:7: note: Function in derived class open_jtalk-1.11/mecab/src/feature_index.h:94:8: style: The function 'open' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/feature_index.h:26:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/feature_index.h:94:8: note: Function in derived class open_jtalk-1.11/mecab/src/feature_index.h:95:8: style: The function 'clear' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/feature_index.h:27:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/feature_index.h:95:8: note: Function in derived class open_jtalk-1.11/mecab/src/feature_index.h:96:8: style: The function 'close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/feature_index.h:28:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/feature_index.h:96:8: note: Function in derived class open_jtalk-1.11/mecab/src/feature_index.h:97:8: style: The function 'buildFeature' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/feature_index.h:29:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/feature_index.h:97:8: note: Function in derived class open_jtalk-1.11/mecab/src/feature_index.h:107:7: style: The function 'id' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/feature_index.h:64:15: note: Virtual function in base class open_jtalk-1.11/mecab/src/feature_index.h:107:7: note: Function in derived class open_jtalk-1.11/mecab/src/darts.h:309:48: error: Resource leak: fp [resourceLeak] open_jtalk-1.11/mecab/src/darts.h:312:50: error: Resource leak: fp [resourceLeak] open_jtalk-1.11/mecab/src/darts.h:314:50: error: Resource leak: fp [resourceLeak] open_jtalk-1.11/mecab/src/darts.h:323:57: error: Resource leak: fp [resourceLeak] open_jtalk-1.11/mecab/src/darts.h:337:7: error: Resource leak: fp [resourceLeak] open_jtalk-1.11/mecab/src/darts.h:117:28: error: Uninitialized variable: tmp_node.right [uninitvar] open_jtalk-1.11/mecab/src/darts.h:117:28: error: Uninitialized struct member: tmp_node.right [uninitStructMember] open_jtalk-1.11/mecab/src/dictionary.cpp:295:5: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] open_jtalk-1.11/mecab/src/dictionary_rewriter.cpp:25:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/dictionary_rewriter.cpp:46:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/dictionary_rewriter.cpp:105:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/dictionary_rewriter.cpp:136:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/dictionary_rewriter.cpp:168:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/dictionary_rewriter.cpp:206:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/dictionary_rewriter.cpp:232:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/dictionary.cpp:69:8: style:inconclusive: Either there is a missing 'override', or the member function 'pair_1st_cmp < std :: string , Token * >::operator()' can be const. [functionConst] open_jtalk-1.11/mecab/src/dictionary_rewriter.cpp:229:36: style:inconclusive: Function 'id' argument 1 names different: declaration 'key' definition 'feature'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/dictionary_rewriter.h:72:22: note: Function 'id' argument 1 names different: declaration 'key' definition 'feature'. open_jtalk-1.11/mecab/src/dictionary_rewriter.cpp:229:36: note: Function 'id' argument 1 names different: declaration 'key' definition 'feature'. open_jtalk-1.11/mecab/src/freelist.h:53:15: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/mecab/src/dictionary.cpp:76:35: style:inconclusive: Function 'open' argument 1 names different: declaration 'filename' definition 'file'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/dictionary.h:31:25: note: Function 'open' argument 1 names different: declaration 'filename' definition 'file'. open_jtalk-1.11/mecab/src/dictionary.cpp:76:35: note: Function 'open' argument 1 names different: declaration 'filename' definition 'file'. open_jtalk-1.11/mecab/src/dictionary.cpp:218:25: style: Local variable 'feature' shadows outer function [shadowFunction] open_jtalk-1.11/mecab/src/dictionary.h:66:16: note: Shadowed declaration open_jtalk-1.11/mecab/src/dictionary.cpp:218:25: note: Shadow variable open_jtalk-1.11/mecab/src/dictionary.cpp:269:13: style: Local variable 'type' shadows outer function [shadowFunction] open_jtalk-1.11/mecab/src/dictionary.h:58:7: note: Shadowed declaration open_jtalk-1.11/mecab/src/dictionary.cpp:269:13: note: Shadow variable open_jtalk-1.11/mecab/src/dictionary.cpp:515:16: style: Local variable 'lsize' shadows outer function [shadowFunction] open_jtalk-1.11/mecab/src/dictionary.h:59:10: note: Shadowed declaration open_jtalk-1.11/mecab/src/dictionary.cpp:515:16: note: Shadow variable open_jtalk-1.11/mecab/src/dictionary.cpp:516:16: style: Local variable 'rsize' shadows outer function [shadowFunction] open_jtalk-1.11/mecab/src/dictionary.h:60:10: note: Shadowed declaration open_jtalk-1.11/mecab/src/dictionary.cpp:516:16: note: Shadow variable open_jtalk-1.11/mecab/src/dictionary.cpp:521:16: style: Local variable 'version' shadows outer function [shadowFunction] open_jtalk-1.11/mecab/src/dictionary.h:56:18: note: Shadowed declaration open_jtalk-1.11/mecab/src/dictionary.cpp:521:16: note: Shadow variable open_jtalk-1.11/mecab/src/dictionary.cpp:522:8: style: Local variable 'charset' shadows outer function [shadowFunction] open_jtalk-1.11/mecab/src/dictionary.h:55:15: note: Shadowed declaration open_jtalk-1.11/mecab/src/dictionary.cpp:522:8: note: Shadow variable open_jtalk-1.11/mecab/src/dictionary.cpp:350:19: style: Local variable 'feature' shadows outer function [shadowFunction] open_jtalk-1.11/mecab/src/dictionary.h:66:16: note: Shadowed declaration open_jtalk-1.11/mecab/src/dictionary.cpp:350:19: note: Shadow variable open_jtalk-1.11/mecab/src/dictionary.cpp:439:14: style: Local variable 'token' shadows outer function [shadowFunction] open_jtalk-1.11/mecab/src/dictionary.h:62:16: note: Shadowed declaration open_jtalk-1.11/mecab/src/dictionary.cpp:439:14: note: Shadow variable open_jtalk-1.11/mecab/src/dictionary.cpp:37:28: style: Parameter 'property' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/mecab/src/param.h:71:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/stream_wrapper.h:24:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cin [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/stream_wrapper.h:31:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cin [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/stream_wrapper.h:43:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/stream_wrapper.h:50:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/eval.cpp:78:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/eval.cpp:143:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/eval.cpp:267:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/stream_wrapper.h:26:7: warning: Class 'istream_wrapper' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] open_jtalk-1.11/mecab/src/stream_wrapper.h:26:7: warning: Class 'istream_wrapper' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] open_jtalk-1.11/mecab/src/stream_wrapper.h:45:7: warning: Class 'ostream_wrapper' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] open_jtalk-1.11/mecab/src/stream_wrapper.h:45:7: warning: Class 'ostream_wrapper' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] open_jtalk-1.11/mecab/src/eval.cpp:170:30: style: Variable 'system' is assigned a value that is never used. [unreadVariable] open_jtalk-1.11/mecab/src/eval.cpp:171:30: style: Variable 'answer' is assigned a value that is never used. [unreadVariable] open_jtalk-1.11/mecab/src/eval.cpp:170:23: style: Variable 'system' is assigned a value that is never used. [unreadVariable] open_jtalk-1.11/mecab/src/eval.cpp:171:23: style: Variable 'answer' is assigned a value that is never used. [unreadVariable] open_jtalk-1.11/mecab/src/darts.h:294:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable node_type_ [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/feature_index.cpp:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/feature_index.cpp:81:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/feature_index.cpp:121:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/feature_index.cpp:158:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/feature_index.cpp:175:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/feature_index.cpp:236:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/feature_index.cpp:271:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/feature_index.cpp:363:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/feature_index.cpp:419:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/feature_index.cpp:446:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/feature_index.cpp:532:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/feature_index.cpp:541:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/feature_index.cpp:635:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/feature_index.cpp:669:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/darts.h:219:12: warning: Member variable 'DoubleArrayImpl::key_' is not initialized in the constructor. [uninitMemberVar] open_jtalk-1.11/mecab/src/darts.h:219:12: warning: Member variable 'DoubleArrayImpl::key_size_' is not initialized in the constructor. [uninitMemberVar] open_jtalk-1.11/mecab/src/darts.h:219:12: warning: Member variable 'DoubleArrayImpl::length_' is not initialized in the constructor. [uninitMemberVar] open_jtalk-1.11/mecab/src/darts.h:219:12: warning: Member variable 'DoubleArrayImpl::value_' is not initialized in the constructor. [uninitMemberVar] open_jtalk-1.11/mecab/src/darts.h:219:12: warning: Member variable 'DoubleArrayImpl::progress_' is not initialized in the constructor. [uninitMemberVar] open_jtalk-1.11/mecab/src/darts.h:219:12: warning: Member variable 'DoubleArrayImpl::next_check_pos_' is not initialized in the constructor. [uninitMemberVar] open_jtalk-1.11/mecab/src/darts.h:219:12: warning: Member variable 'DoubleArrayImpl::progress_func_' is not initialized in the constructor. [uninitMemberVar] open_jtalk-1.11/mecab/src/darts.h:224:8: performance:inconclusive: Technically the member function 'MeCab::Darts::DoubleArrayImpl::set_result' can be static (but you may consider moving to unnamed namespace). [functionStatic] open_jtalk-1.11/mecab/src/darts.h:228:8: performance:inconclusive: Technically the member function 'MeCab::Darts::DoubleArrayImpl::set_result' can be static (but you may consider moving to unnamed namespace). [functionStatic] open_jtalk-1.11/mecab/src/darts.h:255:10: performance:inconclusive: Technically the member function 'MeCab::Darts::DoubleArrayImpl::unit_size' can be static (but you may consider moving to unnamed namespace). [functionStatic] open_jtalk-1.11/mecab/src/feature_index.cpp:211:20: style:inconclusive: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. [functionConst] open_jtalk-1.11/mecab/src/feature_index.h:38:8: note: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. open_jtalk-1.11/mecab/src/feature_index.cpp:211:20: note: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. open_jtalk-1.11/mecab/src/feature_index.cpp:203:20: style:inconclusive: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. [functionConst] open_jtalk-1.11/mecab/src/feature_index.h:39:8: note: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. open_jtalk-1.11/mecab/src/feature_index.cpp:203:20: note: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. open_jtalk-1.11/mecab/src/feature_index.cpp:33:27: performance:inconclusive: Technically the member function 'MeCab::FeatureIndex::getIndex' can be static (but you may consider moving to unnamed namespace). [functionStatic] open_jtalk-1.11/mecab/src/feature_index.h:65:15: note: Technically the member function 'MeCab::FeatureIndex::getIndex' can be static (but you may consider moving to unnamed namespace). open_jtalk-1.11/mecab/src/feature_index.cpp:33:27: note: Technically the member function 'MeCab::FeatureIndex::getIndex' can be static (but you may consider moving to unnamed namespace). open_jtalk-1.11/mecab/src/feature_index.cpp:128:7: style: Condition '!openTemplate(param)' is always false [knownConditionTrueFalse] open_jtalk-1.11/mecab/src/feature_index.cpp:128:20: note: Calling function 'openTemplate' returns 1 open_jtalk-1.11/mecab/src/feature_index.cpp:128:7: note: Condition '!openTemplate(param)' is always false open_jtalk-1.11/mecab/src/feature_index.cpp:250:7: style: Condition '!buildUnigramFeature(path,ufeature2.c_str())' is always false [knownConditionTrueFalse] open_jtalk-1.11/mecab/src/feature_index.cpp:250:27: note: Calling function 'buildUnigramFeature' returns 1 open_jtalk-1.11/mecab/src/feature_index.cpp:250:7: note: Condition '!buildUnigramFeature(path,ufeature2.c_str())' is always false open_jtalk-1.11/mecab/src/feature_index.cpp:254:7: style: Condition '!buildBigramFeature(path,rfeature1.c_str(),lfeature2.c_str())' is always false [knownConditionTrueFalse] open_jtalk-1.11/mecab/src/feature_index.cpp:254:26: note: Calling function 'buildBigramFeature' returns 1 open_jtalk-1.11/mecab/src/feature_index.cpp:254:7: note: Condition '!buildBigramFeature(path,rfeature1.c_str(),lfeature2.c_str())' is always false open_jtalk-1.11/mecab/src/feature_index.cpp:295:11: style: Condition '!buildUnigramFeature(path,ufeature2.c_str())' is always false [knownConditionTrueFalse] open_jtalk-1.11/mecab/src/feature_index.cpp:295:31: note: Calling function 'buildUnigramFeature' returns 1 open_jtalk-1.11/mecab/src/feature_index.cpp:295:11: note: Condition '!buildUnigramFeature(path,ufeature2.c_str())' is always false open_jtalk-1.11/mecab/src/feature_index.cpp:316:11: style: Condition '!buildBigramFeature(path,rfeature1.c_str(),lfeature2.c_str())' is always false [knownConditionTrueFalse] open_jtalk-1.11/mecab/src/feature_index.cpp:316:30: note: Calling function 'buildBigramFeature' returns 1 open_jtalk-1.11/mecab/src/feature_index.cpp:316:11: note: Condition '!buildBigramFeature(path,rfeature1.c_str(),lfeature2.c_str())' is always false open_jtalk-1.11/mecab/src/feature_index.cpp:150:12: portability: Casting between const char * and const double * which have an incompatible binary data representation. [invalidPointerCast] open_jtalk-1.11/mecab/src/feature_index.cpp:604:20: portability:inconclusive: Casting from const double * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] open_jtalk-1.11/mecab/src/feature_index.cpp:372:8: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] open_jtalk-1.11/mecab/src/feature_index.cpp:429:8: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] open_jtalk-1.11/mecab/src/feature_index.cpp:219:46: style:inconclusive: Function 'strdup' argument 1 names different: declaration 'str' definition 'p'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/feature_index.h:41:34: note: Function 'strdup' argument 1 names different: declaration 'str' definition 'p'. open_jtalk-1.11/mecab/src/feature_index.cpp:219:46: note: Function 'strdup' argument 1 names different: declaration 'str' definition 'p'. open_jtalk-1.11/mecab/src/feature_index.cpp:529:40: style:inconclusive: Function 'compile' argument 2 names different: declaration 'text_filename' definition 'txtfile'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/feature_index.h:46:35: note: Function 'compile' argument 2 names different: declaration 'text_filename' definition 'txtfile'. open_jtalk-1.11/mecab/src/feature_index.cpp:529:40: note: Function 'compile' argument 2 names different: declaration 'text_filename' definition 'txtfile'. open_jtalk-1.11/mecab/src/feature_index.cpp:529:61: style:inconclusive: Function 'compile' argument 3 names different: declaration 'binary_filename' definition 'binfile'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/feature_index.h:46:62: note: Function 'compile' argument 3 names different: declaration 'binary_filename' definition 'binfile'. open_jtalk-1.11/mecab/src/feature_index.cpp:529:61: note: Function 'compile' argument 3 names different: declaration 'binary_filename' definition 'binfile'. open_jtalk-1.11/mecab/src/feature_index.cpp:539:40: style:inconclusive: Function 'convert' argument 2 names different: declaration 'text_filename' definition 'txtfile'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/feature_index.h:44:35: note: Function 'convert' argument 2 names different: declaration 'text_filename' definition 'txtfile'. open_jtalk-1.11/mecab/src/feature_index.cpp:539:40: note: Function 'convert' argument 2 names different: declaration 'text_filename' definition 'txtfile'. open_jtalk-1.11/mecab/src/feature_index.cpp:617:46: style:inconclusive: Function 'reopen' argument 2 names different: declaration 'charset' definition 'dic_charset'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/feature_index.h:76:27: note: Function 'reopen' argument 2 names different: declaration 'charset' definition 'dic_charset'. open_jtalk-1.11/mecab/src/feature_index.cpp:617:46: note: Function 'reopen' argument 2 names different: declaration 'charset' definition 'dic_charset'. open_jtalk-1.11/mecab/src/feature_index.cpp:591:16: style: Local variable 'size' shadows outer function [shadowFunction] open_jtalk-1.11/mecab/src/feature_index.h:33:10: note: Shadowed declaration open_jtalk-1.11/mecab/src/feature_index.cpp:591:16: note: Shadow variable open_jtalk-1.11/mecab/src/lbfgs.h:32:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/lbfgs.cpp:547:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/lbfgs.cpp:491:11: style: Variable 'bound' is reassigned a value before the old one has been used. [redundantAssignment] open_jtalk-1.11/mecab/src/lbfgs.cpp:471:28: note: bound is assigned open_jtalk-1.11/mecab/src/lbfgs.cpp:491:11: note: bound is overwritten open_jtalk-1.11/mecab/src/lbfgs.cpp:70:27: style: The scope of the variable 'd3' can be reduced. [variableScope] open_jtalk-1.11/mecab/src/lbfgs.h:24:58: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/mecab/src/dictionary_generator.cpp:25:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/dictionary_generator.cpp:48:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/dictionary_generator.cpp:71:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/dictionary_generator.cpp:119:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/dictionary_generator.cpp:194:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/iconv_utils.cpp:162:13: style:inconclusive: Technically the member function 'MeCab::Iconv::convert' can be const. [functionConst] open_jtalk-1.11/mecab/src/iconv_utils.h:83:8: note: Technically the member function 'MeCab::Iconv::convert' can be const. open_jtalk-1.11/mecab/src/iconv_utils.cpp:162:13: note: Technically the member function 'MeCab::Iconv::convert' can be const. open_jtalk-1.11/mecab/src/iconv_utils.cpp:162:34: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/mecab/src/dictionary_generator.cpp:52:17: style: The scope of the variable 'feature' can be reduced. [variableScope] open_jtalk-1.11/mecab/src/learner.cpp:53:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/learner.cpp:303:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/learner.cpp:305:7: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] open_jtalk-1.11/mecab/src/tokenizer.h:26:10: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] open_jtalk-1.11/mecab/src/learner_tagger.h:26:12: warning: Member variable 'LearnerTagger::allocator_' is not initialized in the constructor. [uninitMemberVar] open_jtalk-1.11/mecab/src/nbest_generator.h:26:16: style:inconclusive: Technically the member function 'MeCab::NBestGenerator::QueueElementComp::operator()' can be const. [functionConst] open_jtalk-1.11/mecab/src/learner_tagger.h:23:8: performance:inconclusive: Technically the member function 'MeCab::LearnerTagger::close' can be static (but you may consider moving to unnamed namespace). [functionStatic] open_jtalk-1.11/mecab/src/learner_tagger.h:24:8: performance:inconclusive: Technically the member function 'MeCab::LearnerTagger::clear' can be static (but you may consider moving to unnamed namespace). [functionStatic] open_jtalk-1.11/mecab/src/thread.h:209:8: performance:inconclusive: Technically the member function 'MeCab::thread::start' can be static (but you may consider moving to unnamed namespace). [functionStatic] open_jtalk-1.11/mecab/src/thread.h:225:8: performance:inconclusive: Technically the member function 'MeCab::thread::join' can be static (but you may consider moving to unnamed namespace). [functionStatic] open_jtalk-1.11/mecab/src/tokenizer.h:67:10: performance:inconclusive: Technically the member function 'Allocator < mecab_node_t , mecab_path_t >::results_size' can be static (but you may consider moving to unnamed namespace). [functionStatic] open_jtalk-1.11/mecab/src/tokenizer.h:67:10: performance:inconclusive: Technically the member function 'Allocator < mecab_learner_node_t , mecab_learner_path_t >::results_size' can be static (but you may consider moving to unnamed namespace). [functionStatic] open_jtalk-1.11/mecab/src/learner_tagger.h:59:12: style: The destructor '~EncoderLearnerTagger' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/learner_tagger.h:28:12: note: Virtual destructor in base class open_jtalk-1.11/mecab/src/learner_tagger.h:59:12: note: Destructor in derived class open_jtalk-1.11/mecab/src/learner_tagger.h:71:12: style: The destructor '~DecoderLearnerTagger' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/learner_tagger.h:28:12: note: Virtual destructor in base class open_jtalk-1.11/mecab/src/learner_tagger.h:71:12: note: Destructor in derived class open_jtalk-1.11/mecab/src/nbest_generator.h:26:41: style: Parameter 'q1' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/mecab/src/nbest_generator.h:26:59: style: Parameter 'q2' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/mecab/src/learner_tagger.cpp:53:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/learner_tagger.cpp:71:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eofbit [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/learner_tagger.cpp:259:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eofbit [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/learner_tagger.cpp:302:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/mecab.cpp:93:4: warning: If memory allocation fails, then there is a possible null pointer dereference: argv [nullPointerOutOfMemory] open_jtalk-1.11/mecab/src/mecab.cpp:91:27: note: Assuming allocation function fails open_jtalk-1.11/mecab/src/mecab.cpp:91:11: note: Assignment 'argv=(char**)malloc(sizeof(char*)*argc)', assigned value is 0 open_jtalk-1.11/mecab/src/mecab.cpp:93:4: note: Null pointer dereference open_jtalk-1.11/mecab/src/mecab.cpp:94:4: warning: If memory allocation fails, then there is a possible null pointer dereference: argv [nullPointerOutOfMemory] open_jtalk-1.11/mecab/src/mecab.cpp:91:27: note: Assuming allocation function fails open_jtalk-1.11/mecab/src/mecab.cpp:91:11: note: Assignment 'argv=(char**)malloc(sizeof(char*)*argc)', assigned value is 0 open_jtalk-1.11/mecab/src/mecab.cpp:94:4: note: Null pointer dereference open_jtalk-1.11/mecab/src/mecab.cpp:95:4: warning: If memory allocation fails, then there is a possible null pointer dereference: argv [nullPointerOutOfMemory] open_jtalk-1.11/mecab/src/mecab.cpp:91:27: note: Assuming allocation function fails open_jtalk-1.11/mecab/src/mecab.cpp:91:11: note: Assignment 'argv=(char**)malloc(sizeof(char*)*argc)', assigned value is 0 open_jtalk-1.11/mecab/src/mecab.cpp:95:4: note: Null pointer dereference open_jtalk-1.11/mecab/src/mecab.cpp:100:12: warning: If memory allocation fails, then there is a possible null pointer dereference: argv [nullPointerOutOfMemory] open_jtalk-1.11/mecab/src/mecab.cpp:91:27: note: Assuming allocation function fails open_jtalk-1.11/mecab/src/mecab.cpp:91:11: note: Assignment 'argv=(char**)malloc(sizeof(char*)*argc)', assigned value is 0 open_jtalk-1.11/mecab/src/mecab.cpp:100:12: note: Null pointer dereference open_jtalk-1.11/mecab/src/mecab.cpp:91:11: style: C-style pointer casting [cstyleCast] open_jtalk-1.11/mecab/src/mecab.cpp:123:15: style: C-style pointer casting [cstyleCast] open_jtalk-1.11/mecab/src/mecab.cpp:124:16: style: C-style pointer casting [cstyleCast] open_jtalk-1.11/mecab/src/mecab.cpp:125:17: style: C-style pointer casting [cstyleCast] open_jtalk-1.11/mecab/src/mecab.cpp:138:28: style: C-style pointer casting [cstyleCast] open_jtalk-1.11/mecab/src/mecab.cpp:139:30: style: C-style pointer casting [cstyleCast] open_jtalk-1.11/mecab/src/mecab.cpp:156:17: style: C-style pointer casting [cstyleCast] open_jtalk-1.11/mecab/src/mecab.cpp:212:33: style: C-style pointer casting [cstyleCast] open_jtalk-1.11/mecab/src/mecab.cpp:218:31: style: C-style pointer casting [cstyleCast] open_jtalk-1.11/mecab/src/mecab.cpp:224:29: style: C-style pointer casting [cstyleCast] open_jtalk-1.11/mecab/src/mecab.cpp:194:8: style: The scope of the variable 'i' can be reduced. [variableScope] open_jtalk-1.11/mecab/src/mecab.cpp:138:19: style: Variable 'tagger' can be declared as pointer to const [constVariablePointer] open_jtalk-1.11/mecab/src/mecab.cpp:173:25: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/mecab/src/mecab.cpp:182:27: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/mecab/src/mecab.cpp:187:33: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/mecab/src/nbest_generator.cpp:12:35: style: Parameter 'lattice' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/mecab/src/param.cpp:70:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/param.cpp:106:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/param.cpp:258:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/param.cpp:273:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/param.cpp:151:55: style:inconclusive: Function 'open' argument 3 names different: declaration 'opt' definition 'opts'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/param.h:55:51: note: Function 'open' argument 3 names different: declaration 'opt' definition 'opts'. open_jtalk-1.11/mecab/src/param.cpp:151:55: note: Function 'open' argument 3 names different: declaration 'opt' definition 'opts'. open_jtalk-1.11/mecab/src/param.cpp:253:49: style:inconclusive: Function 'open' argument 2 names different: declaration 'opt' definition 'opts'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/param.h:56:45: note: Function 'open' argument 2 names different: declaration 'opt' definition 'opts'. open_jtalk-1.11/mecab/src/param.cpp:253:49: note: Function 'open' argument 2 names different: declaration 'opt' definition 'opts'. open_jtalk-1.11/mecab/src/param.h:18:28: performance: Function parameter 'arg' should be passed by const reference. [passedByValue] open_jtalk-1.11/mecab/src/param.cpp:153:14: style: Variable '_errno' is assigned a value that is never used. [unreadVariable] open_jtalk-1.11/mecab/src/libmecab.cpp:168:37: style:inconclusive: Function 'mecab_strerror' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:434:58: note: Function 'mecab_strerror' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:168:37: note: Function 'mecab_strerror' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:175:29: style:inconclusive: Function 'mecab_destroy' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:439:57: note: Function 'mecab_destroy' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:175:29: note: Function 'mecab_destroy' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:181:33: style:inconclusive: Function 'mecab_get_partial' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:444:61: note: Function 'mecab_get_partial' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:181:33: note: Function 'mecab_get_partial' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:185:33: style:inconclusive: Function 'mecab_set_partial' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:449:61: note: Function 'mecab_set_partial' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:185:33: note: Function 'mecab_set_partial' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:189:33: style:inconclusive: Function 'mecab_get_theta' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:454:59: note: Function 'mecab_get_theta' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:189:33: note: Function 'mecab_get_theta' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:193:31: style:inconclusive: Function 'mecab_set_theta' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:459:59: note: Function 'mecab_set_theta' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:193:31: note: Function 'mecab_set_theta' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:197:39: style:inconclusive: Function 'mecab_get_lattice_level' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:464:67: note: Function 'mecab_get_lattice_level' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:197:39: note: Function 'mecab_get_lattice_level' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:201:39: style:inconclusive: Function 'mecab_set_lattice_level' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:469:67: note: Function 'mecab_set_lattice_level' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:201:39: note: Function 'mecab_set_lattice_level' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:205:35: style:inconclusive: Function 'mecab_get_all_morphs' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:474:64: note: Function 'mecab_get_all_morphs' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:205:35: note: Function 'mecab_get_all_morphs' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:210:36: style:inconclusive: Function 'mecab_set_all_morphs' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:479:64: note: Function 'mecab_set_all_morphs' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:210:36: note: Function 'mecab_set_all_morphs' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:214:41: style:inconclusive: Function 'mecab_sparse_tostr' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:489:62: note: Function 'mecab_sparse_tostr' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:214:41: note: Function 'mecab_sparse_tostr' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:218:42: style:inconclusive: Function 'mecab_sparse_tostr2' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:494:63: note: Function 'mecab_sparse_tostr2' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:218:42: note: Function 'mecab_sparse_tostr2' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:222:36: style:inconclusive: Function 'mecab_sparse_tostr3' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:499:63: note: Function 'mecab_sparse_tostr3' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:222:36: note: Function 'mecab_sparse_tostr3' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:223:33: style:inconclusive: Function 'mecab_sparse_tostr3' argument 4 names different: declaration 'ostr' definition 'out'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:500:60: note: Function 'mecab_sparse_tostr3' argument 4 names different: declaration 'ostr' definition 'out'. open_jtalk-1.11/mecab/src/libmecab.cpp:223:33: note: Function 'mecab_sparse_tostr3' argument 4 names different: declaration 'ostr' definition 'out'. open_jtalk-1.11/mecab/src/libmecab.cpp:223:45: style:inconclusive: Function 'mecab_sparse_tostr3' argument 5 names different: declaration 'olen' definition 'len2'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:500:73: note: Function 'mecab_sparse_tostr3' argument 5 names different: declaration 'olen' definition 'len2'. open_jtalk-1.11/mecab/src/libmecab.cpp:223:45: note: Function 'mecab_sparse_tostr3' argument 5 names different: declaration 'olen' definition 'len2'. open_jtalk-1.11/mecab/src/libmecab.cpp:229:50: style:inconclusive: Function 'mecab_sparse_tonode' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:505:69: note: Function 'mecab_sparse_tonode' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:229:50: note: Function 'mecab_sparse_tonode' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:234:51: style:inconclusive: Function 'mecab_sparse_tonode2' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:510:70: note: Function 'mecab_sparse_tonode2' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:234:51: note: Function 'mecab_sparse_tonode2' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:240:47: style:inconclusive: Function 'mecab_nbest_sparse_tostr' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:515:68: note: Function 'mecab_nbest_sparse_tostr' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:240:47: note: Function 'mecab_nbest_sparse_tostr' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:245:48: style:inconclusive: Function 'mecab_nbest_sparse_tostr2' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:520:69: note: Function 'mecab_nbest_sparse_tostr2' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:245:48: note: Function 'mecab_nbest_sparse_tostr2' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:251:42: style:inconclusive: Function 'mecab_nbest_sparse_tostr3' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:526:69: note: Function 'mecab_nbest_sparse_tostr3' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:251:42: note: Function 'mecab_nbest_sparse_tostr3' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:253:39: style:inconclusive: Function 'mecab_nbest_sparse_tostr3' argument 5 names different: declaration 'ostr' definition 'out'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:528:66: note: Function 'mecab_nbest_sparse_tostr3' argument 5 names different: declaration 'ostr' definition 'out'. open_jtalk-1.11/mecab/src/libmecab.cpp:253:39: note: Function 'mecab_nbest_sparse_tostr3' argument 5 names different: declaration 'ostr' definition 'out'. open_jtalk-1.11/mecab/src/libmecab.cpp:253:51: style:inconclusive: Function 'mecab_nbest_sparse_tostr3' argument 6 names different: declaration 'olen' definition 'len2'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:528:79: note: Function 'mecab_nbest_sparse_tostr3' argument 6 names different: declaration 'olen' definition 'len2'. open_jtalk-1.11/mecab/src/libmecab.cpp:253:51: note: Function 'mecab_nbest_sparse_tostr3' argument 6 names different: declaration 'olen' definition 'len2'. open_jtalk-1.11/mecab/src/libmecab.cpp:259:31: style:inconclusive: Function 'mecab_nbest_init' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:533:60: note: Function 'mecab_nbest_init' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:259:31: note: Function 'mecab_nbest_init' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:264:32: style:inconclusive: Function 'mecab_nbest_init2' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:538:61: note: Function 'mecab_nbest_init2' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:264:32: note: Function 'mecab_nbest_init2' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:269:45: style:inconclusive: Function 'mecab_nbest_next_tostr' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:543:66: note: Function 'mecab_nbest_next_tostr' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:269:45: note: Function 'mecab_nbest_next_tostr' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:273:40: style:inconclusive: Function 'mecab_nbest_next_tostr2' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:548:67: note: Function 'mecab_nbest_next_tostr2' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:273:40: note: Function 'mecab_nbest_next_tostr2' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:273:54: style:inconclusive: Function 'mecab_nbest_next_tostr2' argument 2 names different: declaration 'ostr' definition 'out'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:548:80: note: Function 'mecab_nbest_next_tostr2' argument 2 names different: declaration 'ostr' definition 'out'. open_jtalk-1.11/mecab/src/libmecab.cpp:273:54: note: Function 'mecab_nbest_next_tostr2' argument 2 names different: declaration 'ostr' definition 'out'. open_jtalk-1.11/mecab/src/libmecab.cpp:273:66: style:inconclusive: Function 'mecab_nbest_next_tostr2' argument 3 names different: declaration 'olen' definition 'len2'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:548:93: note: Function 'mecab_nbest_next_tostr2' argument 3 names different: declaration 'olen' definition 'len2'. open_jtalk-1.11/mecab/src/libmecab.cpp:273:66: note: Function 'mecab_nbest_next_tostr2' argument 3 names different: declaration 'olen' definition 'len2'. open_jtalk-1.11/mecab/src/libmecab.cpp:278:54: style:inconclusive: Function 'mecab_nbest_next_tonode' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:553:73: note: Function 'mecab_nbest_next_tonode' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:278:54: note: Function 'mecab_nbest_next_tonode' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:283:40: style:inconclusive: Function 'mecab_format_node' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:558:61: note: Function 'mecab_format_node' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:283:40: note: Function 'mecab_format_node' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:283:68: style:inconclusive: Function 'mecab_format_node' argument 2 names different: declaration 'node' definition 'n'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:558:88: note: Function 'mecab_format_node' argument 2 names different: declaration 'node' definition 'n'. open_jtalk-1.11/mecab/src/libmecab.cpp:283:68: note: Function 'mecab_format_node' argument 2 names different: declaration 'node' definition 'n'. open_jtalk-1.11/mecab/src/libmecab.cpp:287:63: style:inconclusive: Function 'mecab_dictionary_info' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:563:82: note: Function 'mecab_dictionary_info' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/libmecab.cpp:287:63: note: Function 'mecab_dictionary_info' argument 1 names different: declaration 'mecab' definition 'tagger'. open_jtalk-1.11/mecab/src/learner_tagger.cpp:78:10: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] open_jtalk-1.11/mecab/src/learner_tagger.cpp:291:12: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] open_jtalk-1.11/mecab/src/libmecab.cpp:178:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] open_jtalk-1.11/mecab/src/libmecab.cpp:305:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] open_jtalk-1.11/mecab/src/libmecab.cpp:501:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] open_jtalk-1.11/mecab/src/learner_tagger.cpp:152:30: warning: Possible null pointer dereference: rNode [nullPointer] open_jtalk-1.11/mecab/src/learner_tagger.cpp:143:26: note: Assignment 'rNode=0', assigned value is 0 open_jtalk-1.11/mecab/src/learner_tagger.cpp:144:53: note: Assuming condition is false open_jtalk-1.11/mecab/src/learner_tagger.cpp:152:30: note: Null pointer dereference open_jtalk-1.11/mecab/src/learner_tagger.cpp:159:5: warning: Possible null pointer dereference: lpath [nullPointer] open_jtalk-1.11/mecab/src/learner_tagger.cpp:151:26: note: Assignment 'lpath=0', assigned value is 0 open_jtalk-1.11/mecab/src/learner_tagger.cpp:152:44: note: Assuming condition is false open_jtalk-1.11/mecab/src/learner_tagger.cpp:159:5: note: Null pointer dereference open_jtalk-1.11/mecab/src/learner_tagger.cpp:296:21: style: Variable 'path->rnode' is reassigned a value before the old one has been used. [redundantAssignment] open_jtalk-1.11/mecab/src/learner_tagger.cpp:292:21: note: path->rnode is assigned open_jtalk-1.11/mecab/src/learner_tagger.cpp:296:21: note: path->rnode is overwritten open_jtalk-1.11/mecab/src/learner_tagger.cpp:297:21: style: Variable 'path->lnode' is reassigned a value before the old one has been used. [redundantAssignment] open_jtalk-1.11/mecab/src/learner_tagger.cpp:293:21: note: path->lnode is assigned open_jtalk-1.11/mecab/src/learner_tagger.cpp:297:21: note: path->lnode is overwritten open_jtalk-1.11/mecab/src/learner_tagger.cpp:30:70: style:inconclusive: Function 'open' argument 1 names different: declaration 'tokenzier' definition 'tokenizer'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/learner_tagger.h:51:50: note: Function 'open' argument 1 names different: declaration 'tokenzier' definition 'tokenizer'. open_jtalk-1.11/mecab/src/learner_tagger.cpp:30:70: note: Function 'open' argument 1 names different: declaration 'tokenzier' definition 'tokenizer'. open_jtalk-1.11/mecab/src/learner_tagger.cpp:111:18: style: Variable 'found' can be declared as pointer to const [constVariablePointer] open_jtalk-1.11/mecab/src/learner_tagger.cpp:413:7: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] open_jtalk-1.11/mecab/src/utils.cpp:214:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/utils.cpp:237:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/utils.cpp:267:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/utils.cpp:295:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/utils.cpp:239:28: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] open_jtalk-1.11/mecab/src/utils.cpp:241:13: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] open_jtalk-1.11/mecab/src/utils.cpp:239:36: warning: If resource allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfResources] open_jtalk-1.11/mecab/src/utils.cpp:236:21: note: Assuming allocation function fails open_jtalk-1.11/mecab/src/utils.cpp:236:21: note: Assignment 'dir=opendir(path)', assigned value is 0 open_jtalk-1.11/mecab/src/utils.cpp:239:36: note: Null pointer dereference open_jtalk-1.11/mecab/src/utils.cpp:241:21: warning: If resource allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfResources] open_jtalk-1.11/mecab/src/utils.cpp:236:21: note: Assuming allocation function fails open_jtalk-1.11/mecab/src/utils.cpp:236:21: note: Assignment 'dir=opendir(path)', assigned value is 0 open_jtalk-1.11/mecab/src/utils.cpp:241:21: note: Null pointer dereference open_jtalk-1.11/mecab/src/utils.cpp:251:12: warning: If resource allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfResources] open_jtalk-1.11/mecab/src/utils.cpp:236:21: note: Assuming allocation function fails open_jtalk-1.11/mecab/src/utils.cpp:236:21: note: Assignment 'dir=opendir(path)', assigned value is 0 open_jtalk-1.11/mecab/src/utils.cpp:251:12: note: Null pointer dereference open_jtalk-1.11/mecab/src/utils.cpp:494:27: style: C-style pointer casting [cstyleCast] open_jtalk-1.11/mecab/src/utils.cpp:510:30: style: C-style pointer casting [cstyleCast] open_jtalk-1.11/mecab/src/utils.cpp:539:27: style: C-style pointer casting [cstyleCast] open_jtalk-1.11/mecab/src/utils.cpp:183:10: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] open_jtalk-1.11/mecab/src/tagger.cpp:804:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/tagger.cpp:1046:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/tagger.cpp:1112:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/tagger.cpp:1140:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable long_options [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/tokenizer.cpp:258:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isPartial [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/tagger.cpp:971:5: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] open_jtalk-1.11/mecab/src/tagger.cpp:340:7: warning: Class 'ModelImpl' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] open_jtalk-1.11/mecab/src/tagger.cpp:340:7: warning: Class 'ModelImpl' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] open_jtalk-1.11/mecab/src/tagger.cpp:102:25: warning: The class 'ModelImpl' defines member function with name 'dictionary_info' also defined in its parent class 'Model'. [duplInheritedMember] open_jtalk-1.11/mecab/src/mecab.h:1122:33: note: Parent function 'Model::dictionary_info' open_jtalk-1.11/mecab/src/tagger.cpp:102:25: note: Derived function 'ModelImpl::dictionary_info' open_jtalk-1.11/mecab/src/tagger.cpp:729:35: warning: The class 'TaggerImpl' defines member function with name 'dictionary_info' also defined in its parent class 'Tagger'. [duplInheritedMember] open_jtalk-1.11/mecab/src/mecab.h:1453:33: note: Parent function 'Tagger::dictionary_info' open_jtalk-1.11/mecab/src/tagger.cpp:729:35: note: Derived function 'TaggerImpl::dictionary_info' open_jtalk-1.11/mecab/src/tagger.cpp:245:9: warning: The class 'LatticeImpl' defines member function with name 'bos_node' also defined in its parent class 'Lattice'. [duplInheritedMember] open_jtalk-1.11/mecab/src/mecab.h:850:17: note: Parent function 'Lattice::bos_node' open_jtalk-1.11/mecab/src/tagger.cpp:245:9: note: Derived function 'LatticeImpl::bos_node' open_jtalk-1.11/mecab/src/tagger.cpp:246:9: warning: The class 'LatticeImpl' defines member function with name 'eos_node' also defined in its parent class 'Lattice'. [duplInheritedMember] open_jtalk-1.11/mecab/src/mecab.h:856:17: note: Parent function 'Lattice::eos_node' open_jtalk-1.11/mecab/src/tagger.cpp:246:9: note: Derived function 'LatticeImpl::eos_node' open_jtalk-1.11/mecab/src/tagger.cpp:247:10: warning: The class 'LatticeImpl' defines member function with name 'begin_nodes' also defined in its parent class 'Lattice'. [duplInheritedMember] open_jtalk-1.11/mecab/src/mecab.h:862:18: note: Parent function 'Lattice::begin_nodes' open_jtalk-1.11/mecab/src/tagger.cpp:247:10: note: Derived function 'LatticeImpl::begin_nodes' open_jtalk-1.11/mecab/src/tagger.cpp:248:10: warning: The class 'LatticeImpl' defines member function with name 'end_nodes' also defined in its parent class 'Lattice'. [duplInheritedMember] open_jtalk-1.11/mecab/src/mecab.h:867:18: note: Parent function 'Lattice::end_nodes' open_jtalk-1.11/mecab/src/tagger.cpp:248:10: note: Derived function 'LatticeImpl::end_nodes' open_jtalk-1.11/mecab/src/tagger.cpp:249:9: warning: The class 'LatticeImpl' defines member function with name 'begin_nodes' also defined in its parent class 'Lattice'. [duplInheritedMember] open_jtalk-1.11/mecab/src/mecab.h:884:17: note: Parent function 'Lattice::begin_nodes' open_jtalk-1.11/mecab/src/tagger.cpp:249:9: note: Derived function 'LatticeImpl::begin_nodes' open_jtalk-1.11/mecab/src/tagger.cpp:250:9: warning: The class 'LatticeImpl' defines member function with name 'end_nodes' also defined in its parent class 'Lattice'. [duplInheritedMember] open_jtalk-1.11/mecab/src/mecab.h:876:17: note: Parent function 'Lattice::end_nodes' open_jtalk-1.11/mecab/src/tagger.cpp:250:9: note: Derived function 'LatticeImpl::end_nodes' open_jtalk-1.11/mecab/src/tagger.cpp:82:12: style: The destructor '~ModelImpl' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1172:12: note: Virtual destructor in base class open_jtalk-1.11/mecab/src/tagger.cpp:82:12: note: Destructor in derived class open_jtalk-1.11/mecab/src/tagger.cpp:88:8: style: The function 'swap' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1164:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:88:8: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:107:7: style: The function 'transition_cost' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1128:15: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:107:7: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:112:9: style: The function 'lookup' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1136:17: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:112:9: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:119:11: style: The function 'createTagger' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1145:20: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:119:11: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:121:12: style: The function 'createLattice' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1151:20: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:121:12: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:161:25: style: The function 'parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1225:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:161:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:163:25: style: The function 'set_request_type' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1386:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:163:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:164:25: style: The function 'request_type' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1393:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:164:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:166:25: style: The function 'parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1235:23: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:166:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:167:25: style: The function 'parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1320:23: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:167:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:168:25: style: The function 'parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1312:23: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:168:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:169:25: style: The function 'parseToNode' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1246:23: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:169:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:170:25: style: The function 'parseToNode' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1328:23: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:170:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:171:25: style: The function 'parseNBest' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1258:23: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:171:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:172:25: style: The function 'parseNBest' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1337:23: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:172:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:173:25: style: The function 'parseNBest' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1367:23: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:173:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:175:25: style: The function 'parseNBestInit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1269:17: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:175:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:176:25: style: The function 'parseNBestInit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1346:17: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:176:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:177:25: style: The function 'nextNode' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1278:23: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:177:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:178:25: style: The function 'next' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1287:23: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:178:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:179:25: style: The function 'next' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1355:23: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:179:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:181:25: style: The function 'formatNode' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1299:23: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:181:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:182:25: style: The function 'formatNode' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1378:23: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:182:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:186:25: style: The function 'set_partial' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1407:17: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:186:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:187:25: style: The function 'partial' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1400:17: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:187:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:188:25: style: The function 'set_theta' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1441:17: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:188:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:189:25: style: The function 'theta' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1447:17: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:189:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:190:25: style: The function 'set_lattice_level' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1421:17: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:190:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:191:25: style: The function 'lattice_level' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1414:17: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:191:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:192:25: style: The function 'set_all_morphs' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1435:17: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:192:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:193:25: style: The function 'all_morphs' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1428:17: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:193:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:195:25: style: The function 'what' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1459:23: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:195:25: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:198:12: style: The destructor '~TaggerImpl' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1461:12: note: Virtual destructor in base class open_jtalk-1.11/mecab/src/tagger.cpp:198:12: note: Destructor in derived class open_jtalk-1.11/mecab/src/tagger.cpp:230:4: style: The destructor '~LatticeImpl' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1110:12: note: Virtual destructor in base class open_jtalk-1.11/mecab/src/tagger.cpp:230:4: note: Destructor in derived class open_jtalk-1.11/mecab/src/tagger.cpp:233:8: style: The function 'clear' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:837:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:233:8: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:235:8: style: The function 'is_available' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:843:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:235:8: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:242:8: style: The function 'next' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:944:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:242:8: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:252:15: style: The function 'sentence' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:891:23: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:252:15: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:253:8: style: The function 'set_sentence' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:897:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:253:8: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:254:8: style: The function 'set_sentence' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:905:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:254:8: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:255:10: style: The function 'size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:912:18: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:255:10: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:257:8: style: The function 'set_Z' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:918:18: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:257:8: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:258:10: style: The function 'Z' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:924:18: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:258:10: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:260:9: style: The function 'theta' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:936:17: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:260:9: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:261:9: style: The function 'set_theta' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:930:17: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:261:9: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:263:7: style: The function 'request_type' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:950:15: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:263:7: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:265:8: style: The function 'set_request_type' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:962:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:265:8: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:268:8: style: The function 'has_request_type' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:956:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:268:8: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:271:8: style: The function 'add_request_type' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:968:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:271:8: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:274:8: style: The function 'remove_request_type' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:974:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:274:8: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:278:26: style: The function 'allocator' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:980:34: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:278:26: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:282:9: style: The function 'newNode' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:987:17: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:282:9: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:286:8: style: The function 'has_constraint' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1050:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:286:8: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:287:7: style: The function 'boundary_constraint' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1057:15: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:287:7: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:288:15: style: The function 'feature_constraint' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1064:23: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:288:15: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:290:8: style: The function 'set_boundary_constraint' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1071:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:290:8: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:293:8: style: The function 'set_feature_constraint' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1080:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:293:8: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:296:8: style: The function 'set_result' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1088:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:296:8: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:298:15: style: The function 'what' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1094:23: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:298:15: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:300:8: style: The function 'set_what' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1100:16: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:300:8: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:304:15: style: The function 'toString' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:995:23: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:304:15: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:305:15: style: The function 'toString' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1023:23: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:305:15: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:306:15: style: The function 'toString' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1004:23: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:306:15: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:307:15: style: The function 'toString' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1033:23: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:307:15: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:309:15: style: The function 'enumNBestAsString' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1013:23: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:309:15: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:310:15: style: The function 'enumNBestAsString' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] open_jtalk-1.11/mecab/src/mecab.h:1044:23: note: Virtual function in base class open_jtalk-1.11/mecab/src/tagger.cpp:310:15: note: Function in derived class open_jtalk-1.11/mecab/src/tagger.cpp:1059:34: style:inconclusive: Function 'createTagger' argument 1 names different: declaration 'arg' definition 'argv'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/mecab.h:1516:56: note: Function 'createTagger' argument 1 names different: declaration 'arg' definition 'argv'. open_jtalk-1.11/mecab/src/tagger.cpp:1059:34: note: Function 'createTagger' argument 1 names different: declaration 'arg' definition 'argv'. open_jtalk-1.11/mecab/src/tagger.cpp:806:15: style: Local variable 'sentence' shadows outer function [shadowFunction] open_jtalk-1.11/mecab/src/tagger.cpp:252:15: note: Shadowed declaration open_jtalk-1.11/mecab/src/tagger.cpp:806:15: note: Shadow variable open_jtalk-1.11/mecab/src/tagger.cpp:825:9: style: Local variable 'bos_node' shadows outer function [shadowFunction] open_jtalk-1.11/mecab/src/tagger.cpp:245:9: note: Shadowed declaration open_jtalk-1.11/mecab/src/tagger.cpp:825:9: note: Shadow variable open_jtalk-1.11/mecab/src/tagger.cpp:831:9: style: Local variable 'eos_node' shadows outer function [shadowFunction] open_jtalk-1.11/mecab/src/tagger.cpp:246:9: note: Shadowed declaration open_jtalk-1.11/mecab/src/tagger.cpp:831:9: note: Shadow variable open_jtalk-1.11/mecab/src/tagger.cpp:867:28: style: Parameter 'lattice' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/mecab/src/viterbi.cpp:209:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/viterbi.cpp:296:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] open_jtalk-1.11/mecab/src/writer.cpp:236:14: performance:inconclusive: Technically the member function 'MeCab::Writer::writeNode' can be static (but you may consider moving to unnamed namespace). [functionStatic] open_jtalk-1.11/mecab/src/writer.h:27:8: note: Technically the member function 'MeCab::Writer::writeNode' can be static (but you may consider moving to unnamed namespace). open_jtalk-1.11/mecab/src/writer.cpp:236:14: note: Technically the member function 'MeCab::Writer::writeNode' can be static (but you may consider moving to unnamed namespace). open_jtalk-1.11/mecab/src/writer.cpp:80:23: style: The statement 'if (node_format!=node_format2) node_format=node_format2' is logically equivalent to 'node_format=node_format2'. [duplicateConditionalAssign] open_jtalk-1.11/mecab/src/writer.cpp:81:21: note: Assignment 'node_format=node_format2' open_jtalk-1.11/mecab/src/writer.cpp:80:23: note: Condition 'node_format!=node_format2' is redundant open_jtalk-1.11/mecab/src/writer.cpp:83:22: style: The statement 'if (bos_format!=bos_format2) bos_format=bos_format2' is logically equivalent to 'bos_format=bos_format2'. [duplicateConditionalAssign] open_jtalk-1.11/mecab/src/writer.cpp:84:20: note: Assignment 'bos_format=bos_format2' open_jtalk-1.11/mecab/src/writer.cpp:83:22: note: Condition 'bos_format!=bos_format2' is redundant open_jtalk-1.11/mecab/src/writer.cpp:86:22: style: The statement 'if (eos_format!=eos_format2) eos_format=eos_format2' is logically equivalent to 'eos_format=eos_format2'. [duplicateConditionalAssign] open_jtalk-1.11/mecab/src/writer.cpp:87:20: note: Assignment 'eos_format=eos_format2' open_jtalk-1.11/mecab/src/writer.cpp:86:22: note: Condition 'eos_format!=eos_format2' is redundant open_jtalk-1.11/mecab/src/writer.cpp:96:22: style: The statement 'if (eon_format!=eon_format2) eon_format=eon_format2' is logically equivalent to 'eon_format=eon_format2'. [duplicateConditionalAssign] open_jtalk-1.11/mecab/src/writer.cpp:97:20: note: Assignment 'eon_format=eon_format2' open_jtalk-1.11/mecab/src/writer.cpp:96:22: note: Condition 'eon_format!=eon_format2' is redundant open_jtalk-1.11/mecab/src/writer.cpp:110:52: style:inconclusive: Function 'write' argument 2 names different: declaration 'node' definition 'os'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/writer.h:34:46: note: Function 'write' argument 2 names different: declaration 'node' definition 'os'. open_jtalk-1.11/mecab/src/writer.cpp:110:52: note: Function 'write' argument 2 names different: declaration 'node' definition 'os'. open_jtalk-1.11/mecab/src/writer.cpp:117:59: style:inconclusive: Function 'writeLattice' argument 2 names different: declaration 's' definition 'os'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/writer.h:46:53: note: Function 'writeLattice' argument 2 names different: declaration 's' definition 'os'. open_jtalk-1.11/mecab/src/writer.cpp:117:59: note: Function 'writeLattice' argument 2 names different: declaration 's' definition 'os'. open_jtalk-1.11/mecab/src/writer.cpp:128:58: style:inconclusive: Function 'writeWakati' argument 2 names different: declaration 's' definition 'os'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/writer.h:47:52: note: Function 'writeWakati' argument 2 names different: declaration 's' definition 'os'. open_jtalk-1.11/mecab/src/writer.cpp:128:58: note: Function 'writeWakati' argument 2 names different: declaration 's' definition 'os'. open_jtalk-1.11/mecab/src/writer.cpp:138:56: style:inconclusive: Function 'writeNone' argument 2 names different: declaration 's' definition 'os'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/writer.h:48:50: note: Function 'writeNone' argument 2 names different: declaration 's' definition 'os'. open_jtalk-1.11/mecab/src/writer.cpp:138:56: note: Function 'writeNone' argument 2 names different: declaration 's' definition 'os'. open_jtalk-1.11/mecab/src/writer.cpp:142:54: style:inconclusive: Function 'writeEM' argument 2 names different: declaration 's' definition 'os'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/writer.h:51:48: note: Function 'writeEM' argument 2 names different: declaration 's' definition 'os'. open_jtalk-1.11/mecab/src/writer.cpp:142:54: note: Function 'writeEM' argument 2 names different: declaration 's' definition 'os'. open_jtalk-1.11/mecab/src/writer.cpp:167:56: style:inconclusive: Function 'writeDump' argument 2 names different: declaration 's' definition 'os'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/writer.h:50:50: note: Function 'writeDump' argument 2 names different: declaration 's' definition 'os'. open_jtalk-1.11/mecab/src/writer.cpp:167:56: note: Function 'writeDump' argument 2 names different: declaration 's' definition 'os'. open_jtalk-1.11/mecab/src/writer.cpp:201:56: style:inconclusive: Function 'writeUser' argument 2 names different: declaration 's' definition 'os'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/writer.h:49:50: note: Function 'writeUser' argument 2 names different: declaration 's' definition 'os'. open_jtalk-1.11/mecab/src/writer.cpp:201:56: note: Function 'writeUser' argument 2 names different: declaration 's' definition 'os'. open_jtalk-1.11/mecab/src/writer.cpp:220:38: style:inconclusive: Function 'writeNode' argument 3 names different: declaration 's' definition 'os'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/writer.h:32:32: note: Function 'writeNode' argument 3 names different: declaration 's' definition 'os'. open_jtalk-1.11/mecab/src/writer.cpp:220:38: note: Function 'writeNode' argument 3 names different: declaration 's' definition 'os'. open_jtalk-1.11/mecab/src/writer.cpp:237:36: style:inconclusive: Function 'writeNode' argument 2 names different: declaration 'format' definition 'p'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/writer.h:28:30: note: Function 'writeNode' argument 2 names different: declaration 'format' definition 'p'. open_jtalk-1.11/mecab/src/writer.cpp:237:36: note: Function 'writeNode' argument 2 names different: declaration 'format' definition 'p'. open_jtalk-1.11/mecab/src/writer.cpp:239:38: style:inconclusive: Function 'writeNode' argument 4 names different: declaration 's' definition 'os'. [funcArgNamesDifferent] open_jtalk-1.11/mecab/src/writer.h:29:50: note: Function 'writeNode' argument 4 names different: declaration 's' definition 'os'. open_jtalk-1.11/mecab/src/writer.cpp:239:38: note: Function 'writeNode' argument 4 names different: declaration 's' definition 'os'. open_jtalk-1.11/mecab/src/writer.cpp:117:36: style: Parameter 'lattice' can be declared as pointer to const. However it seems that 'writeLattice' is a callback function, if 'lattice' is declared with const you might also need to cast function pointer(s). [constParameterCallback] open_jtalk-1.11/mecab/src/writer.cpp:27:21: note: You might need to cast the function pointer here open_jtalk-1.11/mecab/src/writer.cpp:117:36: note: Parameter 'lattice' can be declared as pointer to const open_jtalk-1.11/mecab/src/writer.cpp:128:35: style: Parameter 'lattice' can be declared as pointer to const. However it seems that 'writeWakati' is a callback function, if 'lattice' is declared with const you might also need to cast function pointer(s). [constParameterCallback] open_jtalk-1.11/mecab/src/writer.cpp:30:23: note: You might need to cast the function pointer here open_jtalk-1.11/mecab/src/writer.cpp:128:35: note: Parameter 'lattice' can be declared as pointer to const open_jtalk-1.11/mecab/src/writer.cpp:138:33: style: Parameter 'lattice' can be declared as pointer to const. However it seems that 'writeNone' is a callback function, if 'lattice' is declared with const you might also need to cast function pointer(s). [constParameterCallback] open_jtalk-1.11/mecab/src/writer.cpp:32:23: note: You might need to cast the function pointer here open_jtalk-1.11/mecab/src/writer.cpp:138:33: note: Parameter 'lattice' can be declared as pointer to const open_jtalk-1.11/mecab/src/writer.cpp:138:56: style: Parameter 'os' can be declared as pointer to const. However it seems that 'writeNone' is a callback function, if 'os' is declared with const you might also need to cast function pointer(s). [constParameterCallback] open_jtalk-1.11/mecab/src/writer.cpp:32:23: note: You might need to cast the function pointer here open_jtalk-1.11/mecab/src/writer.cpp:138:56: note: Parameter 'os' can be declared as pointer to const open_jtalk-1.11/mecab/src/writer.cpp:142:31: style: Parameter 'lattice' can be declared as pointer to const. However it seems that 'writeEM' is a callback function, if 'lattice' is declared with const you might also need to cast function pointer(s). [constParameterCallback] open_jtalk-1.11/mecab/src/writer.cpp:36:23: note: You might need to cast the function pointer here open_jtalk-1.11/mecab/src/writer.cpp:142:31: note: Parameter 'lattice' can be declared as pointer to const open_jtalk-1.11/mecab/src/writer.cpp:167:33: style: Parameter 'lattice' can be declared as pointer to const. However it seems that 'writeDump' is a callback function, if 'lattice' is declared with const you might also need to cast function pointer(s). [constParameterCallback] open_jtalk-1.11/mecab/src/writer.cpp:34:23: note: You might need to cast the function pointer here open_jtalk-1.11/mecab/src/writer.cpp:167:33: note: Parameter 'lattice' can be declared as pointer to const open_jtalk-1.11/mecab2njd/mecab2njd.c:66:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NJDNode [valueFlowBailoutIncompleteVar] open_jtalk-1.11/njd/njd.c:150:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/njd/njd.c:217:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/njd/njd.c:328:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] open_jtalk-1.11/njd/njd_node.c:205:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/njd/njd_node.c:214:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/njd/njd_node.c:307:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/njd/njd_node.c:316:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/njd/njd_node.c:484:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/njd/njd_node.c:558:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] open_jtalk-1.11/njd/njd_node.c:590:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] open_jtalk-1.11/njd/njd.c:78:13: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] open_jtalk-1.11/njd/njd.c:77:34: note: outer condition: c=='\n'||c=='\r'||c=='\t' open_jtalk-1.11/njd/njd.c:78:13: note: opposite inner condition: c=='\0' open_jtalk-1.11/njd/njd.c:283:11: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd.c:245:32: note: Assuming allocation function fails open_jtalk-1.11/njd/njd.c:245:14: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd.c:261:26: note: Calling function 'NJD_push_node', 2nd argument 'node' value is 0 open_jtalk-1.11/njd/njd.c:283:11: note: Null pointer dereference open_jtalk-1.11/njd/njd.c:354:22: style:inconclusive: Function 'NJD_clear' argument 1 names different: declaration 'wl' definition 'njd'. [funcArgNamesDifferent] open_jtalk-1.11/njd/njd.h:136:22: note: Function 'NJD_clear' argument 1 names different: declaration 'wl' definition 'njd'. open_jtalk-1.11/njd/njd.c:354:22: note: Function 'NJD_clear' argument 1 names different: declaration 'wl' definition 'njd'. open_jtalk-1.11/njd/njd_node.c:83:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:509:29: note: Calling function 'NJDNode_initialize', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:83:4: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:84:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:509:29: note: Calling function 'NJDNode_initialize', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:84:4: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:85:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:509:29: note: Calling function 'NJDNode_initialize', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:85:4: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:86:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:509:29: note: Calling function 'NJDNode_initialize', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:86:4: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:87:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:509:29: note: Calling function 'NJDNode_initialize', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:87:4: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:88:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:509:29: note: Calling function 'NJDNode_initialize', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:88:4: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:89:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:509:29: note: Calling function 'NJDNode_initialize', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:89:4: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:90:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:509:29: note: Calling function 'NJDNode_initialize', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:90:4: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:91:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:509:29: note: Calling function 'NJDNode_initialize', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:91:4: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:92:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:509:29: note: Calling function 'NJDNode_initialize', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:92:4: note: Null pointer dereference open_jtalk-1.11/njd2jpcommon/njd2jpcommon_rule_shift_jis.h:116:0: error: The code contains unhandled character(s) (character code=144). Neither unicode nor extended ascii is supported. [preprocessorErrorDirective] open_jtalk-1.11/njd/njd_node.c:93:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:509:29: note: Calling function 'NJDNode_initialize', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:93:4: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:94:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:509:29: note: Calling function 'NJDNode_initialize', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:94:4: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:95:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:509:29: note: Calling function 'NJDNode_initialize', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:95:4: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:96:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:509:29: note: Calling function 'NJDNode_initialize', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:96:4: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:97:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:509:29: note: Calling function 'NJDNode_initialize', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:97:4: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:98:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:509:29: note: Calling function 'NJDNode_initialize', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:98:4: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:103:8: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:523:29: note: Calling function 'NJDNode_set_string', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:103:8: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:113:8: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:510:23: note: Calling function 'NJDNode_copy', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:573:20: note: Calling function 'NJDNode_set_pos', 1st argument 'node1' value is 0 open_jtalk-1.11/njd/njd_node.c:113:8: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:123:8: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:510:23: note: Calling function 'NJDNode_copy', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:574:27: note: Calling function 'NJDNode_set_pos_group1', 1st argument 'node1' value is 0 open_jtalk-1.11/njd/njd_node.c:123:8: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:133:8: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:510:23: note: Calling function 'NJDNode_copy', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:575:27: note: Calling function 'NJDNode_set_pos_group2', 1st argument 'node1' value is 0 open_jtalk-1.11/njd/njd_node.c:133:8: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:143:8: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:510:23: note: Calling function 'NJDNode_copy', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:576:27: note: Calling function 'NJDNode_set_pos_group3', 1st argument 'node1' value is 0 open_jtalk-1.11/njd/njd_node.c:143:8: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:153:8: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:510:23: note: Calling function 'NJDNode_copy', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:577:22: note: Calling function 'NJDNode_set_ctype', 1st argument 'node1' value is 0 open_jtalk-1.11/njd/njd_node.c:153:8: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:163:8: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:510:23: note: Calling function 'NJDNode_copy', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:578:22: note: Calling function 'NJDNode_set_cform', 1st argument 'node1' value is 0 open_jtalk-1.11/njd/njd_node.c:163:8: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:173:8: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:517:24: note: Calling function 'NJDNode_set_orig', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:173:8: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:183:8: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:527:24: note: Calling function 'NJDNode_set_read', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:183:8: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:193:8: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:530:24: note: Calling function 'NJDNode_set_pron', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:193:8: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:203:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:510:23: note: Calling function 'NJDNode_copy', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:582:20: note: Calling function 'NJDNode_set_acc', 1st argument 'node1' value is 0 open_jtalk-1.11/njd/njd_node.c:203:4: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:204:8: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:510:23: note: Calling function 'NJDNode_copy', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:582:20: note: Calling function 'NJDNode_set_acc', 1st argument 'node1' value is 0 open_jtalk-1.11/njd/njd_node.c:204:8: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:212:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:510:23: note: Calling function 'NJDNode_copy', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:583:26: note: Calling function 'NJDNode_set_mora_size', 1st argument 'node1' value is 0 open_jtalk-1.11/njd/njd_node.c:212:4: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:213:8: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:510:23: note: Calling function 'NJDNode_copy', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:583:26: note: Calling function 'NJDNode_set_mora_size', 1st argument 'node1' value is 0 open_jtalk-1.11/njd/njd_node.c:213:8: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:222:8: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:510:23: note: Calling function 'NJDNode_copy', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:584:27: note: Calling function 'NJDNode_set_chain_rule', 1st argument 'node1' value is 0 open_jtalk-1.11/njd/njd_node.c:222:8: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:232:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:511:33: note: Calling function 'NJDNode_set_chain_flag', 1st argument 'node' value is 0 open_jtalk-1.11/njd/njd_node.c:232:4: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:244:17: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:243:29: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:243:14: note: Assignment 'c=(char*)calloc(strlen(node->string)+strlen(str)+1,sizeof(char))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:244:17: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:245:17: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:243:29: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:243:14: note: Assignment 'c=(char*)calloc(strlen(node->string)+strlen(str)+1,sizeof(char))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:245:17: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:261:17: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:260:29: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:260:14: note: Assignment 'c=(char*)calloc(strlen(node->orig)+strlen(str)+1,sizeof(char))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:261:17: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:262:17: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:260:29: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:260:14: note: Assignment 'c=(char*)calloc(strlen(node->orig)+strlen(str)+1,sizeof(char))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:262:17: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:278:17: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:277:29: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:277:14: note: Assignment 'c=(char*)calloc(strlen(node->read)+strlen(str)+1,sizeof(char))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:278:17: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:279:17: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:277:29: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:277:14: note: Assignment 'c=(char*)calloc(strlen(node->read)+strlen(str)+1,sizeof(char))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:279:17: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:295:17: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:294:29: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:294:14: note: Assignment 'c=(char*)calloc(strlen(node->pron)+strlen(str)+1,sizeof(char))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:295:17: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:296:17: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:294:29: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:294:14: note: Assignment 'c=(char*)calloc(strlen(node->pron)+strlen(str)+1,sizeof(char))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:296:17: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:512:10: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] open_jtalk-1.11/njd/njd_node.c:508:35: note: Assuming allocation function fails open_jtalk-1.11/njd/njd_node.c:508:17: note: Assignment 'node=(struct NJDNode*)calloc(1,sizeof(struct NJDNode))', assigned value is 0 open_jtalk-1.11/njd/njd_node.c:512:10: note: Null pointer dereference open_jtalk-1.11/njd/njd_node.c:322:42: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/njd/njd_node.c:329:39: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/njd/njd_node.c:336:46: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/njd/njd_node.c:343:46: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/njd/njd_node.c:350:46: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/njd/njd_node.c:357:41: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/njd/njd_node.c:364:41: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/njd/njd_node.c:371:40: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/njd/njd_node.c:378:40: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/njd/njd_node.c:385:40: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/njd/njd_node.c:392:31: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/njd/njd_node.c:397:37: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/njd/njd_node.c:402:46: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/njd/njd_node.c:409:38: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/njd/njd_node.c:570:46: style: Parameter 'node2' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/njd/njd_node.c:605:67: error: Undefined behavior: Variable 'buff' is used as parameter and destination in sprintf(). [sprintfOverlappingData] open_jtalk-1.11/njd_set_accent_phrase/njd_set_accent_phrase_rule_shift_jis.h:85:0: error: No pair for character ("). Can't process file. File is either invalid or unicode, which is currently not supported. [preprocessorErrorDirective] open_jtalk-1.11/njd_set_accent_type/njd_set_accent_type_rule_shift_jis.h:64:0: error: No pair for character ("). Can't process file. File is either invalid or unicode, which is currently not supported. [preprocessorErrorDirective] open_jtalk-1.11/njd_set_long_vowel/njd_set_long_vowel.c:79:0: error: #error CHARSET is not specified [preprocessorErrorDirective] open_jtalk-1.11/njd_set_long_vowel/njd_set_long_vowel.c:79:2: error: #error CHARSET is not specified [preprocessorErrorDirective] open_jtalk-1.11/njd_set_digit/njd_set_digit_rule_shift_jis.h:59:0: error: No pair for character ("). Can't process file. File is either invalid or unicode, which is currently not supported. [preprocessorErrorDirective] open_jtalk-1.11/njd_set_pronunciation/njd_set_pronunciation_rule_shift_jis.h:162:0: error: The code contains unhandled character(s) (character code=131). Neither unicode nor extended ascii is supported. [preprocessorErrorDirective] open_jtalk-1.11/njd_set_unvoiced_vowel/njd_set_unvoiced_vowel_rule_shift_jis.h:126:0: error: No pair for character ("). Can't process file. File is either invalid or unicode, which is currently not supported. [preprocessorErrorDirective] open_jtalk-1.11/text2mecab/text2mecab_rule_shift_jis.h:226:0: error: No pair for character ("). Can't process file. File is either invalid or unicode, which is currently not supported. [preprocessorErrorDirective] open_jtalk-1.11/mecab/src/viterbi.cpp:198:15: style: Unused private function: 'Viterbi::buildAlternative' [unusedPrivateFunction] open_jtalk-1.11/mecab/src/viterbi.h:45:15: note: Unused private function: 'Viterbi::buildAlternative' open_jtalk-1.11/mecab/src/viterbi.cpp:198:15: note: Unused private function: 'Viterbi::buildAlternative' open_jtalk-1.11/mecab/src/viterbi.cpp:75:7: style: Condition '!initPartial(lattice)' is always false [knownConditionTrueFalse] open_jtalk-1.11/mecab/src/viterbi.cpp:75:19: note: Calling function 'initPartial' returns 1 open_jtalk-1.11/mecab/src/viterbi.cpp:75:7: note: Condition '!initPartial(lattice)' is always false open_jtalk-1.11/mecab/src/viterbi.cpp:101:7: style: Condition '!forwardbackward(lattice)' is always false [knownConditionTrueFalse] open_jtalk-1.11/mecab/src/viterbi.cpp:101:23: note: Calling function 'forwardbackward' returns 1 open_jtalk-1.11/mecab/src/viterbi.cpp:101:7: note: Condition '!forwardbackward(lattice)' is always false open_jtalk-1.11/mecab/src/viterbi.cpp:105:7: style: Condition '!buildBestLattice(lattice)' is always false [knownConditionTrueFalse] open_jtalk-1.11/mecab/src/viterbi.cpp:105:24: note: Calling function 'buildBestLattice' returns 1 open_jtalk-1.11/mecab/src/viterbi.cpp:105:7: note: Condition '!buildBestLattice(lattice)' is always false open_jtalk-1.11/mecab/src/viterbi.cpp:109:7: style: Condition '!buildAllLattice(lattice)' is always false [knownConditionTrueFalse] open_jtalk-1.11/mecab/src/viterbi.cpp:109:23: note: Calling function 'buildAllLattice' returns 1 open_jtalk-1.11/mecab/src/viterbi.cpp:109:7: note: Condition '!buildAllLattice(lattice)' is always false open_jtalk-1.11/mecab/src/viterbi.cpp:113:7: style: Condition '!initNBest(lattice)' is always false [knownConditionTrueFalse] open_jtalk-1.11/mecab/src/viterbi.cpp:113:17: note: Calling function 'initNBest' returns 1 open_jtalk-1.11/mecab/src/viterbi.cpp:113:7: note: Condition '!initNBest(lattice)' is always false open_jtalk-1.11/mecab/src/viterbi.cpp:177:40: style: Parameter 'lattice' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/mecab/src/viterbi.cpp:198:41: style: Parameter 'lattice' can be declared as pointer to const [constParameterPointer] open_jtalk-1.11/mecab/src/viterbi.cpp:227:41: style: Parameter 'lattice' can be declared as pointer to const [constParameterPointer] diff: head open_jtalk-1.11/mecab/src/char_property.cpp:122:43: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] head open_jtalk-1.11/mecab/src/eval.cpp:170:23: style: Variable 'system' is assigned a value that is never used. [unreadVariable] head open_jtalk-1.11/mecab/src/eval.cpp:171:23: style: Variable 'answer' is assigned a value that is never used. [unreadVariable] head open_jtalk-1.11/mecab/src/feature_index.cpp:203:20: style:inconclusive: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. [functionConst] open_jtalk-1.11/mecab/src/feature_index.h:39:8: note: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. open_jtalk-1.11/mecab/src/feature_index.cpp:203:20: note: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. head open_jtalk-1.11/mecab/src/feature_index.cpp:211:20: style:inconclusive: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. [functionConst] open_jtalk-1.11/mecab/src/feature_index.h:38:8: note: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. open_jtalk-1.11/mecab/src/feature_index.cpp:211:20: note: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. head open_jtalk-1.11/mecab/src/feature_index.cpp:33:27: performance:inconclusive: Technically the member function 'MeCab::FeatureIndex::getIndex' can be static (but you may consider moving to unnamed namespace). [functionStatic] open_jtalk-1.11/mecab/src/feature_index.h:65:15: note: Technically the member function 'MeCab::FeatureIndex::getIndex' can be static (but you may consider moving to unnamed namespace). open_jtalk-1.11/mecab/src/feature_index.cpp:33:27: note: Technically the member function 'MeCab::FeatureIndex::getIndex' can be static (but you may consider moving to unnamed namespace). 2.17.0 open_jtalk-1.11/mecab/src/feature_index.h:38:8: style:inconclusive: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. [functionConst] open_jtalk-1.11/mecab/src/feature_index.cpp:211:20: note: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. open_jtalk-1.11/mecab/src/feature_index.h:38:8: note: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. 2.17.0 open_jtalk-1.11/mecab/src/feature_index.h:39:8: style:inconclusive: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. [functionConst] open_jtalk-1.11/mecab/src/feature_index.cpp:203:20: note: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. open_jtalk-1.11/mecab/src/feature_index.h:39:8: note: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. 2.17.0 open_jtalk-1.11/mecab/src/feature_index.h:65:15: performance:inconclusive: Technically the member function 'MeCab::FeatureIndex::getIndex' can be static (but you may consider moving to unnamed namespace). [functionStatic] open_jtalk-1.11/mecab/src/feature_index.cpp:33:27: note: Technically the member function 'MeCab::FeatureIndex::getIndex' can be static (but you may consider moving to unnamed namespace). open_jtalk-1.11/mecab/src/feature_index.h:65:15: note: Technically the member function 'MeCab::FeatureIndex::getIndex' can be static (but you may consider moving to unnamed namespace). head open_jtalk-1.11/mecab/src/iconv_utils.cpp:162:13: style:inconclusive: Technically the member function 'MeCab::Iconv::convert' can be const. [functionConst] open_jtalk-1.11/mecab/src/iconv_utils.h:83:8: note: Technically the member function 'MeCab::Iconv::convert' can be const. open_jtalk-1.11/mecab/src/iconv_utils.cpp:162:13: note: Technically the member function 'MeCab::Iconv::convert' can be const. 2.17.0 open_jtalk-1.11/mecab/src/iconv_utils.h:83:8: style:inconclusive: Technically the member function 'MeCab::Iconv::convert' can be const. [functionConst] open_jtalk-1.11/mecab/src/iconv_utils.cpp:162:13: note: Technically the member function 'MeCab::Iconv::convert' can be const. open_jtalk-1.11/mecab/src/iconv_utils.h:83:8: note: Technically the member function 'MeCab::Iconv::convert' can be const. head open_jtalk-1.11/mecab/src/learner_tagger.cpp:413:7: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] head open_jtalk-1.11/mecab/src/viterbi.cpp:198:15: style: Unused private function: 'Viterbi::buildAlternative' [unusedPrivateFunction] open_jtalk-1.11/mecab/src/viterbi.h:45:15: note: Unused private function: 'Viterbi::buildAlternative' open_jtalk-1.11/mecab/src/viterbi.cpp:198:15: note: Unused private function: 'Viterbi::buildAlternative' 2.17.0 open_jtalk-1.11/mecab/src/viterbi.h:45:15: style: Unused private function: 'Viterbi::buildAlternative' [unusedPrivateFunction] head open_jtalk-1.11/mecab/src/writer.cpp:236:14: performance:inconclusive: Technically the member function 'MeCab::Writer::writeNode' can be static (but you may consider moving to unnamed namespace). [functionStatic] open_jtalk-1.11/mecab/src/writer.h:27:8: note: Technically the member function 'MeCab::Writer::writeNode' can be static (but you may consider moving to unnamed namespace). open_jtalk-1.11/mecab/src/writer.cpp:236:14: note: Technically the member function 'MeCab::Writer::writeNode' can be static (but you may consider moving to unnamed namespace). 2.17.0 open_jtalk-1.11/mecab/src/writer.h:27:8: performance:inconclusive: Technically the member function 'MeCab::Writer::writeNode' can be static (but you may consider moving to unnamed namespace). [functionStatic] open_jtalk-1.11/mecab/src/writer.cpp:236:14: note: Technically the member function 'MeCab::Writer::writeNode' can be static (but you may consider moving to unnamed namespace). open_jtalk-1.11/mecab/src/writer.h:27:8: note: Technically the member function 'MeCab::Writer::writeNode' can be static (but you may consider moving to unnamed namespace). head open_jtalk-1.11/njd_set_long_vowel/njd_set_long_vowel.c:79:2: error: #error CHARSET is not specified [preprocessorErrorDirective] DONE