2025-05-06 05:23 ftp://ftp.de.debian.org/debian/pool/main/m/mecab/mecab_0.996.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: 581f101 (2025-05-05 21:13:30 +0200) count: 415 411 elapsed-time: 26.5 27.9 head-timing-info: old-timing-info: head results: mecab-0.996/example/example.c:19:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mecab-0.996/example/example.cpp:15:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/example/example_lattice.c:20:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mecab-0.996/example/example.c:15:10: style: Unused variable: len [unusedVariable] mecab-0.996/example/example_lattice.c:11:26: style: Unused variable: another_model [unusedVariable] mecab-0.996/example/example_lattice.c:15:15: style: Unused variable: result [unusedVariable] mecab-0.996/example/example_lattice.cpp:20:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/example/thread_test.cpp:20:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] mecab-0.996/example/thread_test.cpp:71:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] mecab-0.996/example/thread_test.cpp:101:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/example/example_lattice.cpp:92:27: style: Local variable 'node' shadows outer variable [shadowVariable] mecab-0.996/example/example_lattice.cpp:33:22: note: Shadowed declaration mecab-0.996/example/example_lattice.cpp:92:27: note: Shadow variable mecab-0.996/src/thread.h:162:8: performance:inconclusive: Technically the member function 'MeCab::thread::start' can be static (but you may consider moving to unnamed namespace). [functionStatic] mecab-0.996/src/thread.h:175:8: performance:inconclusive: Technically the member function 'MeCab::thread::join' can be static (but you may consider moving to unnamed namespace). [functionStatic] mecab-0.996/example/thread_test.cpp:81:3: style: Class 'ModelUpdater' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mecab-0.996/example/thread_test.cpp:13:8: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mecab-0.996/src/thread.h:160:16: note: Virtual function in base class mecab-0.996/example/thread_test.cpp:13:8: note: Function in derived class mecab-0.996/example/thread_test.cpp:36:4: style: The destructor '~TaggerThread' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] mecab-0.996/src/thread.h:186:12: note: Virtual destructor in base class mecab-0.996/example/thread_test.cpp:36:4: note: Destructor in derived class mecab-0.996/example/thread_test.cpp:50:8: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mecab-0.996/src/thread.h:160:16: note: Virtual function in base class mecab-0.996/example/thread_test.cpp:50:8: note: Function in derived class mecab-0.996/src/common.h:95:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/utils.h:103:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] mecab-0.996/src/context_id.cpp:19:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/context_id.cpp:50:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/context_id.cpp:96:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/context_id.cpp:103:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/utils.h:217:24: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] mecab-0.996/src/context_id.h:44:8: style:inconclusive: Technically the member function 'MeCab::ContextID::is_valid' can be const. [functionConst] mecab-0.996/src/common.h:112:3: style: Class 'wlog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mecab-0.996/src/context_id.cpp:80:17: style: Return value '::save(lfile,&left_)' is always true [knownConditionTrueFalse] mecab-0.996/src/context_id.cpp:80:17: note: Calling function 'save' returns 1 mecab-0.996/src/context_id.cpp:80:17: note: Return value '::save(lfile,&left_)' is always true mecab-0.996/src/context_id.cpp:80:42: style: Return value '::save(rfile,&right_)' is always true [knownConditionTrueFalse] mecab-0.996/src/context_id.cpp:80:42: note: Calling function 'save' returns 1 mecab-0.996/src/context_id.cpp:80:42: note: Return value '::save(rfile,&right_)' is always true mecab-0.996/src/context_id.cpp:86:21: style: Return value '::open_map(lfile,&left_,iconv)' is always true [knownConditionTrueFalse] mecab-0.996/src/context_id.cpp:86:21: note: Calling function 'open_map' returns 1 mecab-0.996/src/context_id.cpp:86:21: note: Return value '::open_map(lfile,&left_,iconv)' is always true mecab-0.996/src/context_id.cpp:87:21: style: Return value '::open_map(rfile,&right_,iconv)' is always true [knownConditionTrueFalse] mecab-0.996/src/context_id.cpp:87:21: note: Calling function 'open_map' returns 1 mecab-0.996/src/context_id.cpp:87:21: note: Return value '::open_map(rfile,&right_,iconv)' is always true mecab-0.996/src/context_id.cpp:91:18: style: Return value '::build(&left_,left_bos_)' is always true [knownConditionTrueFalse] mecab-0.996/src/context_id.cpp:91:18: note: Calling function 'build' returns 1 mecab-0.996/src/context_id.cpp:91:18: note: Return value '::build(&left_,left_bos_)' is always true mecab-0.996/src/context_id.cpp:91:48: style: Return value '::build(&right_,right_bos_)' is always true [knownConditionTrueFalse] mecab-0.996/src/context_id.cpp:91:48: note: Calling function 'build' returns 1 mecab-0.996/src/context_id.cpp:91:48: note: Return value '::build(&right_,right_bos_)' is always true mecab-0.996/src/context_id.h:45:17: style: Unsigned expression 'lid' can't be negative so it is unnecessary to test it. [unsignedPositive] mecab-0.996/src/context_id.h:46:17: style: Unsigned expression 'rid' can't be negative so it is unnecessary to test it. [unsignedPositive] mecab-0.996/src/utils.h:134:15: style: Variable 'start' is assigned a value that is never used. [unreadVariable] mecab-0.996/src/utils.h:135:13: style: Variable 'end' is assigned a value that is never used. [unreadVariable] mecab-0.996/src/param.h:22:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ws [valueFlowBailoutIncompleteVar] mecab-0.996/src/connector.cpp:57:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/connector.cpp:70:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/mmap.h:146:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] mecab-0.996/src/mmap.h:192:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] mecab-0.996/src/mmap.h:206:3: warning: Member variable 'Mmap < short >::length' is not initialized in the constructor. [uninitMemberVar] mecab-0.996/src/mmap.h:206:3: warning: Member variable 'Mmap < short >::flag' is not initialized in the constructor. [uninitMemberVar] mecab-0.996/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] mecab-0.996/src/mmap.h:81:10: style:inconclusive: Technically the member function 'Mmap < short >::size' can be const. [functionConst] mecab-0.996/src/mmap.h:83:15: style:inconclusive: Technically the member function 'Mmap < short >::file_name' can be const. [functionConst] mecab-0.996/src/mmap.h:84:10: style:inconclusive: Technically the member function 'Mmap < short >::file_size' can be const. [functionConst] mecab-0.996/src/mmap.h:85:8: style:inconclusive: Technically the member function 'Mmap < short >::empty' can be const. [functionConst] mecab-0.996/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] mecab-0.996/src/connector.h:56:17: style: Unsigned expression 'lid' can't be negative so it is unnecessary to test it. [unsignedPositive] mecab-0.996/src/connector.h:56:45: style: Unsigned expression 'rid' can't be negative so it is unnecessary to test it. [unsignedPositive] mecab-0.996/src/connector.cpp:86:22: style: Local variable 'matrix' shadows outer function [shadowFunction] mecab-0.996/src/connector.h:50:16: note: Shadowed declaration mecab-0.996/src/connector.cpp:86:22: note: Shadow variable mecab-0.996/src/param.h:30:64: performance: Function parameter 'arg' should be passed by const reference. [passedByValue] mecab-0.996/src/char_property.cpp:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/char_property.cpp:55:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/char_property.cpp:143:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/dictionary_compiler.cpp:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] mecab-0.996/src/freelist.h:61:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] mecab-0.996/src/freelist.h:81:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] mecab-0.996/src/mmap.h:206:3: warning: Member variable 'Mmap < char >::length' is not initialized in the constructor. [uninitMemberVar] mecab-0.996/src/mmap.h:206:3: warning: Member variable 'Mmap < char >::flag' is not initialized in the constructor. [uninitMemberVar] mecab-0.996/src/dictionary.cpp:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/dictionary.cpp:98:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIC_VERSION [valueFlowBailoutIncompleteVar] mecab-0.996/src/dictionary.cpp:155:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/dictionary.cpp:258:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/mmap.h:81:10: style:inconclusive: Technically the member function 'Mmap < char >::size' can be const. [functionConst] mecab-0.996/src/mmap.h:83:15: style:inconclusive: Technically the member function 'Mmap < char >::file_name' can be const. [functionConst] mecab-0.996/src/mmap.h:84:10: style:inconclusive: Technically the member function 'Mmap < char >::file_size' can be const. [functionConst] mecab-0.996/src/mmap.h:85:8: style:inconclusive: Technically the member function 'Mmap < char >::empty' can be const. [functionConst] mecab-0.996/src/ucs.h:74:3: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] mecab-0.996/src/char_property.cpp:116:44: style:inconclusive: Function 'set_charset' argument 1 names different: declaration 'charset' definition 'ct'. [funcArgNamesDifferent] mecab-0.996/src/char_property.h:32:32: note: Function 'set_charset' argument 1 names different: declaration 'charset' definition 'ct'. mecab-0.996/src/char_property.cpp:116:44: note: Function 'set_charset' argument 1 names different: declaration 'charset' definition 'ct'. mecab-0.996/src/char_property.cpp:63:53: style: Local variable 'it' shadows outer variable [shadowVariable] mecab-0.996/src/char_property.cpp:57:51: note: Shadowed declaration mecab-0.996/src/char_property.cpp:63:53: note: Shadow variable mecab-0.996/src/char_property.cpp:134:10: style: Local variable 'id' shadows outer function [shadowFunction] mecab-0.996/src/char_property.h:33:7: note: Shadowed declaration mecab-0.996/src/char_property.cpp:134:10: note: Shadow variable mecab-0.996/src/char_property.cpp:152:18: style: Local variable 'size' shadows outer function [shadowFunction] mecab-0.996/src/char_property.h:31:10: note: Shadowed declaration mecab-0.996/src/char_property.cpp:152:18: note: Shadow variable mecab-0.996/src/char_property.cpp:262:18: style: Local variable 'size' shadows outer function [shadowFunction] mecab-0.996/src/char_property.h:31:10: note: Shadowed declaration mecab-0.996/src/char_property.cpp:262:18: note: Shadow variable mecab-0.996/src/char_property.h:23:26: performance: Function parameter 'c' should be passed by const reference. [passedByValue] mecab-0.996/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] mecab-0.996/src/char_property.cpp:122:43: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] mecab-0.996/src/dictionary.h:80:12: warning: Member variable 'Dictionary::version_' is not initialized in the constructor. [uninitMemberVar] mecab-0.996/src/dictionary.h:80:12: warning: Member variable 'Dictionary::type_' is not initialized in the constructor. [uninitMemberVar] mecab-0.996/src/dictionary.h:80:12: warning: Member variable 'Dictionary::lexsize_' is not initialized in the constructor. [uninitMemberVar] mecab-0.996/src/dictionary.h:80:12: warning: Member variable 'Dictionary::lsize_' is not initialized in the constructor. [uninitMemberVar] mecab-0.996/src/dictionary.h:80:12: warning: Member variable 'Dictionary::rsize_' is not initialized in the constructor. [uninitMemberVar] mecab-0.996/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] mecab-0.996/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] mecab-0.996/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] mecab-0.996/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] mecab-0.996/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] mecab-0.996/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] mecab-0.996/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] mecab-0.996/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] mecab-0.996/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] mecab-0.996/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] mecab-0.996/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] mecab-0.996/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] mecab-0.996/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] mecab-0.996/src/feature_index.h:26:16: note: Virtual function in base class mecab-0.996/src/feature_index.h:71:8: note: Function in derived class mecab-0.996/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] mecab-0.996/src/feature_index.h:28:16: note: Virtual function in base class mecab-0.996/src/feature_index.h:72:8: note: Function in derived class mecab-0.996/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] mecab-0.996/src/feature_index.h:27:16: note: Virtual function in base class mecab-0.996/src/feature_index.h:73:8: note: Function in derived class mecab-0.996/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] mecab-0.996/src/feature_index.h:29:16: note: Virtual function in base class mecab-0.996/src/feature_index.h:83:8: note: Function in derived class mecab-0.996/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] mecab-0.996/src/feature_index.h:64:15: note: Virtual function in base class mecab-0.996/src/feature_index.h:89:7: note: Function in derived class mecab-0.996/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] mecab-0.996/src/feature_index.h:26:16: note: Virtual function in base class mecab-0.996/src/feature_index.h:94:8: note: Function in derived class mecab-0.996/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] mecab-0.996/src/feature_index.h:27:16: note: Virtual function in base class mecab-0.996/src/feature_index.h:95:8: note: Function in derived class mecab-0.996/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] mecab-0.996/src/feature_index.h:28:16: note: Virtual function in base class mecab-0.996/src/feature_index.h:96:8: note: Function in derived class mecab-0.996/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] mecab-0.996/src/feature_index.h:29:16: note: Virtual function in base class mecab-0.996/src/feature_index.h:97:8: note: Function in derived class mecab-0.996/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] mecab-0.996/src/feature_index.h:64:15: note: Virtual function in base class mecab-0.996/src/feature_index.h:107:7: note: Function in derived class mecab-0.996/src/darts.h:309:48: error: Resource leak: fp [resourceLeak] mecab-0.996/src/darts.h:312:50: error: Resource leak: fp [resourceLeak] mecab-0.996/src/darts.h:314:50: error: Resource leak: fp [resourceLeak] mecab-0.996/src/darts.h:323:57: error: Resource leak: fp [resourceLeak] mecab-0.996/src/darts.h:337:7: error: Resource leak: fp [resourceLeak] mecab-0.996/src/darts.h:117:28: error: Uninitialized variable: tmp_node.right [uninitvar] mecab-0.996/src/darts.h:117:28: error: Uninitialized struct member: tmp_node.right [uninitStructMember] mecab-0.996/src/dictionary_rewriter.cpp:25:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/dictionary_rewriter.cpp:46:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/dictionary_rewriter.cpp:105:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/dictionary_rewriter.cpp:136:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/dictionary_rewriter.cpp:168:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/dictionary_rewriter.cpp:206:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/dictionary_rewriter.cpp:232:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/dictionary_rewriter.cpp:229:36: style:inconclusive: Function 'id' argument 1 names different: declaration 'key' definition 'feature'. [funcArgNamesDifferent] mecab-0.996/src/dictionary_rewriter.h:72:22: note: Function 'id' argument 1 names different: declaration 'key' definition 'feature'. mecab-0.996/src/dictionary_rewriter.cpp:229:36: note: Function 'id' argument 1 names different: declaration 'key' definition 'feature'. mecab-0.996/src/freelist.h:53:15: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] mecab-0.996/src/param.h:71:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] mecab-0.996/src/stream_wrapper.h:24:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cin [valueFlowBailoutIncompleteVar] mecab-0.996/src/stream_wrapper.h:31:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cin [valueFlowBailoutIncompleteVar] mecab-0.996/src/stream_wrapper.h:43:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] mecab-0.996/src/stream_wrapper.h:50:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] mecab-0.996/src/eval.cpp:37:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/eval.cpp:102:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] mecab-0.996/src/eval.cpp:218:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] mecab-0.996/src/eval.cpp:104:7: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] mecab-0.996/src/eval.cpp:113:7: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] mecab-0.996/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] mecab-0.996/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] mecab-0.996/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] mecab-0.996/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] mecab-0.996/src/eval.cpp:121:30: style: Variable 'system' is assigned a value that is never used. [unreadVariable] mecab-0.996/src/eval.cpp:122:30: style: Variable 'answer' is assigned a value that is never used. [unreadVariable] mecab-0.996/src/eval.cpp:121:23: style: Variable 'system' is assigned a value that is never used. [unreadVariable] mecab-0.996/src/eval.cpp:122:23: style: Variable 'answer' is assigned a value that is never used. [unreadVariable] mecab-0.996/src/dictionary.cpp:281:5: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] mecab-0.996/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] mecab-0.996/src/dictionary_generator.cpp:25:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] mecab-0.996/src/dictionary_generator.cpp:48:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/dictionary_generator.cpp:71:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/dictionary_generator.cpp:119:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/dictionary_generator.cpp:194:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] mecab-0.996/src/darts.h:294:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable node_type_ [valueFlowBailoutIncompleteVar] mecab-0.996/src/feature_index.cpp:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/feature_index.cpp:81:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/feature_index.cpp:121:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] mecab-0.996/src/feature_index.cpp:158:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/feature_index.cpp:175:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/feature_index.cpp:236:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/feature_index.cpp:271:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/feature_index.cpp:363:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/feature_index.cpp:419:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/feature_index.cpp:446:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/feature_index.cpp:532:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] mecab-0.996/src/feature_index.cpp:541:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/feature_index.cpp:635:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/feature_index.cpp:669:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/dictionary.cpp:76:35: style:inconclusive: Function 'open' argument 1 names different: declaration 'filename' definition 'file'. [funcArgNamesDifferent] mecab-0.996/src/dictionary.h:31:25: note: Function 'open' argument 1 names different: declaration 'filename' definition 'file'. mecab-0.996/src/dictionary.cpp:76:35: note: Function 'open' argument 1 names different: declaration 'filename' definition 'file'. mecab-0.996/src/dictionary.cpp:204:25: style: Local variable 'feature' shadows outer function [shadowFunction] mecab-0.996/src/dictionary.h:66:16: note: Shadowed declaration mecab-0.996/src/dictionary.cpp:204:25: note: Shadow variable mecab-0.996/src/dictionary.cpp:255:13: style: Local variable 'type' shadows outer function [shadowFunction] mecab-0.996/src/dictionary.h:58:7: note: Shadowed declaration mecab-0.996/src/dictionary.cpp:255:13: note: Shadow variable mecab-0.996/src/dictionary.cpp:487:16: style: Local variable 'lsize' shadows outer function [shadowFunction] mecab-0.996/src/dictionary.h:59:10: note: Shadowed declaration mecab-0.996/src/dictionary.cpp:487:16: note: Shadow variable mecab-0.996/src/dictionary.cpp:488:16: style: Local variable 'rsize' shadows outer function [shadowFunction] mecab-0.996/src/dictionary.h:60:10: note: Shadowed declaration mecab-0.996/src/dictionary.cpp:488:16: note: Shadow variable mecab-0.996/src/dictionary.cpp:493:16: style: Local variable 'version' shadows outer function [shadowFunction] mecab-0.996/src/dictionary.h:56:18: note: Shadowed declaration mecab-0.996/src/dictionary.cpp:493:16: note: Shadow variable mecab-0.996/src/dictionary.cpp:494:8: style: Local variable 'charset' shadows outer function [shadowFunction] mecab-0.996/src/dictionary.h:55:15: note: Shadowed declaration mecab-0.996/src/dictionary.cpp:494:8: note: Shadow variable mecab-0.996/src/dictionary.cpp:322:19: style: Local variable 'feature' shadows outer function [shadowFunction] mecab-0.996/src/dictionary.h:66:16: note: Shadowed declaration mecab-0.996/src/dictionary.cpp:322:19: note: Shadow variable mecab-0.996/src/dictionary.cpp:411:14: style: Local variable 'token' shadows outer function [shadowFunction] mecab-0.996/src/dictionary.h:62:16: note: Shadowed declaration mecab-0.996/src/dictionary.cpp:411:14: note: Shadow variable mecab-0.996/src/dictionary.cpp:37:28: style: Parameter 'property' can be declared as pointer to const [constParameterPointer] mecab-0.996/src/darts.h:219:12: warning: Member variable 'DoubleArrayImpl::key_' is not initialized in the constructor. [uninitMemberVar] mecab-0.996/src/darts.h:219:12: warning: Member variable 'DoubleArrayImpl::key_size_' is not initialized in the constructor. [uninitMemberVar] mecab-0.996/src/darts.h:219:12: warning: Member variable 'DoubleArrayImpl::length_' is not initialized in the constructor. [uninitMemberVar] mecab-0.996/src/darts.h:219:12: warning: Member variable 'DoubleArrayImpl::value_' is not initialized in the constructor. [uninitMemberVar] mecab-0.996/src/darts.h:219:12: warning: Member variable 'DoubleArrayImpl::progress_' is not initialized in the constructor. [uninitMemberVar] mecab-0.996/src/darts.h:219:12: warning: Member variable 'DoubleArrayImpl::next_check_pos_' is not initialized in the constructor. [uninitMemberVar] mecab-0.996/src/darts.h:219:12: warning: Member variable 'DoubleArrayImpl::progress_func_' is not initialized in the constructor. [uninitMemberVar] mecab-0.996/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] mecab-0.996/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] mecab-0.996/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] mecab-0.996/src/feature_index.cpp:211:20: style:inconclusive: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. [functionConst] mecab-0.996/src/feature_index.h:38:8: note: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. mecab-0.996/src/feature_index.cpp:211:20: note: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. mecab-0.996/src/feature_index.cpp:203:20: style:inconclusive: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. [functionConst] mecab-0.996/src/feature_index.h:39:8: note: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. mecab-0.996/src/feature_index.cpp:203:20: note: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. mecab-0.996/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] mecab-0.996/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). mecab-0.996/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). mecab-0.996/src/feature_index.cpp:128:7: style: Condition '!openTemplate(param)' is always false [knownConditionTrueFalse] mecab-0.996/src/feature_index.cpp:128:20: note: Calling function 'openTemplate' returns 1 mecab-0.996/src/feature_index.cpp:128:7: note: Condition '!openTemplate(param)' is always false mecab-0.996/src/feature_index.cpp:250:7: style: Condition '!buildUnigramFeature(path,ufeature2.c_str())' is always false [knownConditionTrueFalse] mecab-0.996/src/feature_index.cpp:250:27: note: Calling function 'buildUnigramFeature' returns 1 mecab-0.996/src/feature_index.cpp:250:7: note: Condition '!buildUnigramFeature(path,ufeature2.c_str())' is always false mecab-0.996/src/feature_index.cpp:254:7: style: Condition '!buildBigramFeature(path,rfeature1.c_str(),lfeature2.c_str())' is always false [knownConditionTrueFalse] mecab-0.996/src/feature_index.cpp:254:26: note: Calling function 'buildBigramFeature' returns 1 mecab-0.996/src/feature_index.cpp:254:7: note: Condition '!buildBigramFeature(path,rfeature1.c_str(),lfeature2.c_str())' is always false mecab-0.996/src/feature_index.cpp:295:11: style: Condition '!buildUnigramFeature(path,ufeature2.c_str())' is always false [knownConditionTrueFalse] mecab-0.996/src/feature_index.cpp:295:31: note: Calling function 'buildUnigramFeature' returns 1 mecab-0.996/src/feature_index.cpp:295:11: note: Condition '!buildUnigramFeature(path,ufeature2.c_str())' is always false mecab-0.996/src/feature_index.cpp:316:11: style: Condition '!buildBigramFeature(path,rfeature1.c_str(),lfeature2.c_str())' is always false [knownConditionTrueFalse] mecab-0.996/src/feature_index.cpp:316:30: note: Calling function 'buildBigramFeature' returns 1 mecab-0.996/src/feature_index.cpp:316:11: note: Condition '!buildBigramFeature(path,rfeature1.c_str(),lfeature2.c_str())' is always false mecab-0.996/src/feature_index.cpp:150:12: portability: Casting between const char * and const double * which have an incompatible binary data representation. [invalidPointerCast] mecab-0.996/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] mecab-0.996/src/feature_index.cpp:372:8: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] mecab-0.996/src/feature_index.cpp:429:8: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] mecab-0.996/src/feature_index.cpp:219:46: style:inconclusive: Function 'strdup' argument 1 names different: declaration 'str' definition 'p'. [funcArgNamesDifferent] mecab-0.996/src/feature_index.h:41:34: note: Function 'strdup' argument 1 names different: declaration 'str' definition 'p'. mecab-0.996/src/feature_index.cpp:219:46: note: Function 'strdup' argument 1 names different: declaration 'str' definition 'p'. mecab-0.996/src/feature_index.cpp:529:40: style:inconclusive: Function 'compile' argument 2 names different: declaration 'text_filename' definition 'txtfile'. [funcArgNamesDifferent] mecab-0.996/src/feature_index.h:46:35: note: Function 'compile' argument 2 names different: declaration 'text_filename' definition 'txtfile'. mecab-0.996/src/feature_index.cpp:529:40: note: Function 'compile' argument 2 names different: declaration 'text_filename' definition 'txtfile'. mecab-0.996/src/feature_index.cpp:529:61: style:inconclusive: Function 'compile' argument 3 names different: declaration 'binary_filename' definition 'binfile'. [funcArgNamesDifferent] mecab-0.996/src/feature_index.h:46:62: note: Function 'compile' argument 3 names different: declaration 'binary_filename' definition 'binfile'. mecab-0.996/src/feature_index.cpp:529:61: note: Function 'compile' argument 3 names different: declaration 'binary_filename' definition 'binfile'. mecab-0.996/src/feature_index.cpp:539:40: style:inconclusive: Function 'convert' argument 2 names different: declaration 'text_filename' definition 'txtfile'. [funcArgNamesDifferent] mecab-0.996/src/feature_index.h:44:35: note: Function 'convert' argument 2 names different: declaration 'text_filename' definition 'txtfile'. mecab-0.996/src/feature_index.cpp:539:40: note: Function 'convert' argument 2 names different: declaration 'text_filename' definition 'txtfile'. mecab-0.996/src/feature_index.cpp:617:46: style:inconclusive: Function 'reopen' argument 2 names different: declaration 'charset' definition 'dic_charset'. [funcArgNamesDifferent] mecab-0.996/src/feature_index.h:76:27: note: Function 'reopen' argument 2 names different: declaration 'charset' definition 'dic_charset'. mecab-0.996/src/feature_index.cpp:617:46: note: Function 'reopen' argument 2 names different: declaration 'charset' definition 'dic_charset'. mecab-0.996/src/feature_index.cpp:591:16: style: Local variable 'size' shadows outer function [shadowFunction] mecab-0.996/src/feature_index.h:33:10: note: Shadowed declaration mecab-0.996/src/feature_index.cpp:591:16: note: Shadow variable mecab-0.996/src/lbfgs.h:32:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/lbfgs.cpp:547:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/lbfgs.cpp:491:11: style: Variable 'bound' is reassigned a value before the old one has been used. [redundantAssignment] mecab-0.996/src/lbfgs.cpp:471:28: note: bound is assigned mecab-0.996/src/lbfgs.cpp:491:11: note: bound is overwritten mecab-0.996/src/lbfgs.cpp:70:27: style: The scope of the variable 'd3' can be reduced. [variableScope] mecab-0.996/src/lbfgs.h:24:58: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] mecab-0.996/src/dictionary_generator.cpp:52:17: style: The scope of the variable 'feature' can be reduced. [variableScope] mecab-0.996/src/iconv_utils.cpp:103:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/iconv_utils.cpp:110:13: style:inconclusive: Technically the member function 'MeCab::Iconv::convert' can be const. [functionConst] mecab-0.996/src/iconv_utils.h:36:8: note: Technically the member function 'MeCab::Iconv::convert' can be const. mecab-0.996/src/iconv_utils.cpp:110:13: note: Technically the member function 'MeCab::Iconv::convert' can be const. mecab-0.996/src/iconv_utils.cpp:110:34: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mecab-0.996/src/learner.cpp:53:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/learner.cpp:303:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] mecab-0.996/src/learner.cpp:305:7: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] mecab-0.996/src/tokenizer.h:26:10: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] mecab-0.996/src/learner_tagger.h:26:12: warning: Member variable 'LearnerTagger::allocator_' is not initialized in the constructor. [uninitMemberVar] mecab-0.996/src/nbest_generator.h:26:16: style:inconclusive: Technically the member function 'MeCab::NBestGenerator::QueueElementComp::operator()' can be const. [functionConst] mecab-0.996/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] mecab-0.996/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] mecab-0.996/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] mecab-0.996/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] mecab-0.996/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] mecab-0.996/src/learner_tagger.h:28:12: note: Virtual destructor in base class mecab-0.996/src/learner_tagger.h:59:12: note: Destructor in derived class mecab-0.996/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] mecab-0.996/src/learner_tagger.h:28:12: note: Virtual destructor in base class mecab-0.996/src/learner_tagger.h:71:12: note: Destructor in derived class mecab-0.996/src/nbest_generator.h:26:41: style: Parameter 'q1' can be declared as pointer to const [constParameterPointer] mecab-0.996/src/nbest_generator.h:26:59: style: Parameter 'q2' can be declared as pointer to const [constParameterPointer] mecab-0.996/src/learner_tagger.cpp:53:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/learner_tagger.cpp:71:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eofbit [valueFlowBailoutIncompleteVar] mecab-0.996/src/learner_tagger.cpp:259:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eofbit [valueFlowBailoutIncompleteVar] mecab-0.996/src/learner_tagger.cpp:302:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/learner_tagger.cpp:78:10: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] mecab-0.996/src/learner_tagger.cpp:291:12: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] mecab-0.996/src/learner_tagger.cpp:152:30: warning: Possible null pointer dereference: rNode [nullPointer] mecab-0.996/src/learner_tagger.cpp:143:26: note: Assignment 'rNode=0', assigned value is 0 mecab-0.996/src/learner_tagger.cpp:144:53: note: Assuming condition is false mecab-0.996/src/learner_tagger.cpp:152:30: note: Null pointer dereference mecab-0.996/src/learner_tagger.cpp:159:5: warning: Possible null pointer dereference: lpath [nullPointer] mecab-0.996/src/learner_tagger.cpp:151:26: note: Assignment 'lpath=0', assigned value is 0 mecab-0.996/src/learner_tagger.cpp:152:44: note: Assuming condition is false mecab-0.996/src/learner_tagger.cpp:159:5: note: Null pointer dereference mecab-0.996/src/learner_tagger.cpp:296:21: style: Variable 'path->rnode' is reassigned a value before the old one has been used. [redundantAssignment] mecab-0.996/src/learner_tagger.cpp:292:21: note: path->rnode is assigned mecab-0.996/src/learner_tagger.cpp:296:21: note: path->rnode is overwritten mecab-0.996/src/learner_tagger.cpp:297:21: style: Variable 'path->lnode' is reassigned a value before the old one has been used. [redundantAssignment] mecab-0.996/src/learner_tagger.cpp:293:21: note: path->lnode is assigned mecab-0.996/src/learner_tagger.cpp:297:21: note: path->lnode is overwritten mecab-0.996/src/nbest_generator.cpp:12:35: style: Parameter 'lattice' can be declared as pointer to const [constParameterPointer] mecab-0.996/src/learner_tagger.cpp:30:70: style:inconclusive: Function 'open' argument 1 names different: declaration 'tokenzier' definition 'tokenizer'. [funcArgNamesDifferent] mecab-0.996/src/learner_tagger.h:51:50: note: Function 'open' argument 1 names different: declaration 'tokenzier' definition 'tokenizer'. mecab-0.996/src/learner_tagger.cpp:30:70: note: Function 'open' argument 1 names different: declaration 'tokenzier' definition 'tokenizer'. mecab-0.996/src/learner_tagger.cpp:111:18: style: Variable 'found' can be declared as pointer to const [constVariablePointer] mecab-0.996/src/param.cpp:26:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] mecab-0.996/src/param.cpp:62:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] mecab-0.996/src/param.cpp:77:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] mecab-0.996/src/param.cpp:197:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] mecab-0.996/src/param.cpp:212:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] mecab-0.996/src/learner_tagger.cpp:413:7: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] mecab-0.996/src/param.cpp:73:22: style: Redundant condition: line.size(). '!line.size() || (line.size() && line[0]==';'||line[0]=='#')' is equivalent to '!line.size() || line[0]==';'||line[0]=='#'' [redundantCondition] mecab-0.996/src/param.cpp:90:55: style:inconclusive: Function 'open' argument 3 names different: declaration 'opt' definition 'opts'. [funcArgNamesDifferent] mecab-0.996/src/param.h:55:51: note: Function 'open' argument 3 names different: declaration 'opt' definition 'opts'. mecab-0.996/src/param.cpp:90:55: note: Function 'open' argument 3 names different: declaration 'opt' definition 'opts'. mecab-0.996/src/param.cpp:192:49: style:inconclusive: Function 'open' argument 2 names different: declaration 'opt' definition 'opts'. [funcArgNamesDifferent] mecab-0.996/src/param.h:56:45: note: Function 'open' argument 2 names different: declaration 'opt' definition 'opts'. mecab-0.996/src/param.cpp:192:49: note: Function 'open' argument 2 names different: declaration 'opt' definition 'opts'. mecab-0.996/src/param.h:18:28: performance: Function parameter 'arg' should be passed by const reference. [passedByValue] mecab-0.996/src/param.cpp:92:14: style: Variable '_errno' is assigned a value that is never used. [unreadVariable] mecab-0.996/src/libmecab.cpp:123:37: style:inconclusive: Function 'mecab_strerror' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:385:58: note: Function 'mecab_strerror' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:123:37: note: Function 'mecab_strerror' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:130:29: style:inconclusive: Function 'mecab_destroy' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:390:57: note: Function 'mecab_destroy' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:130:29: note: Function 'mecab_destroy' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:136:33: style:inconclusive: Function 'mecab_get_partial' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:395:61: note: Function 'mecab_get_partial' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:136:33: note: Function 'mecab_get_partial' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:140:33: style:inconclusive: Function 'mecab_set_partial' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:400:61: note: Function 'mecab_set_partial' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:140:33: note: Function 'mecab_set_partial' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:144:33: style:inconclusive: Function 'mecab_get_theta' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:405:59: note: Function 'mecab_get_theta' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:144:33: note: Function 'mecab_get_theta' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:148:31: style:inconclusive: Function 'mecab_set_theta' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:410:59: note: Function 'mecab_set_theta' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:148:31: note: Function 'mecab_set_theta' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:152:39: style:inconclusive: Function 'mecab_get_lattice_level' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:415:67: note: Function 'mecab_get_lattice_level' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:152:39: note: Function 'mecab_get_lattice_level' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:156:39: style:inconclusive: Function 'mecab_set_lattice_level' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:420:67: note: Function 'mecab_set_lattice_level' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:156:39: note: Function 'mecab_set_lattice_level' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:160:35: style:inconclusive: Function 'mecab_get_all_morphs' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:425:64: note: Function 'mecab_get_all_morphs' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:160:35: note: Function 'mecab_get_all_morphs' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:165:36: style:inconclusive: Function 'mecab_set_all_morphs' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:430:64: note: Function 'mecab_set_all_morphs' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:165:36: note: Function 'mecab_set_all_morphs' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:169:41: style:inconclusive: Function 'mecab_sparse_tostr' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:440:62: note: Function 'mecab_sparse_tostr' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:169:41: note: Function 'mecab_sparse_tostr' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:173:42: style:inconclusive: Function 'mecab_sparse_tostr2' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:445:63: note: Function 'mecab_sparse_tostr2' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:173:42: note: Function 'mecab_sparse_tostr2' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:177:36: style:inconclusive: Function 'mecab_sparse_tostr3' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:450:63: note: Function 'mecab_sparse_tostr3' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:177:36: note: Function 'mecab_sparse_tostr3' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:178:33: style:inconclusive: Function 'mecab_sparse_tostr3' argument 4 names different: declaration 'ostr' definition 'out'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:451:60: note: Function 'mecab_sparse_tostr3' argument 4 names different: declaration 'ostr' definition 'out'. mecab-0.996/src/libmecab.cpp:178:33: note: Function 'mecab_sparse_tostr3' argument 4 names different: declaration 'ostr' definition 'out'. mecab-0.996/src/libmecab.cpp:178:45: style:inconclusive: Function 'mecab_sparse_tostr3' argument 5 names different: declaration 'olen' definition 'len2'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:451:73: note: Function 'mecab_sparse_tostr3' argument 5 names different: declaration 'olen' definition 'len2'. mecab-0.996/src/libmecab.cpp:178:45: note: Function 'mecab_sparse_tostr3' argument 5 names different: declaration 'olen' definition 'len2'. mecab-0.996/src/libmecab.cpp:184:50: style:inconclusive: Function 'mecab_sparse_tonode' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:456:69: note: Function 'mecab_sparse_tonode' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:184:50: note: Function 'mecab_sparse_tonode' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:189:51: style:inconclusive: Function 'mecab_sparse_tonode2' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:461:70: note: Function 'mecab_sparse_tonode2' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:189:51: note: Function 'mecab_sparse_tonode2' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:195:47: style:inconclusive: Function 'mecab_nbest_sparse_tostr' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:466:68: note: Function 'mecab_nbest_sparse_tostr' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:195:47: note: Function 'mecab_nbest_sparse_tostr' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:200:48: style:inconclusive: Function 'mecab_nbest_sparse_tostr2' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:471:69: note: Function 'mecab_nbest_sparse_tostr2' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:200:48: note: Function 'mecab_nbest_sparse_tostr2' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:206:42: style:inconclusive: Function 'mecab_nbest_sparse_tostr3' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:477:69: note: Function 'mecab_nbest_sparse_tostr3' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:206:42: note: Function 'mecab_nbest_sparse_tostr3' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:208:39: style:inconclusive: Function 'mecab_nbest_sparse_tostr3' argument 5 names different: declaration 'ostr' definition 'out'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:479:66: note: Function 'mecab_nbest_sparse_tostr3' argument 5 names different: declaration 'ostr' definition 'out'. mecab-0.996/src/libmecab.cpp:208:39: note: Function 'mecab_nbest_sparse_tostr3' argument 5 names different: declaration 'ostr' definition 'out'. mecab-0.996/src/libmecab.cpp:208:51: style:inconclusive: Function 'mecab_nbest_sparse_tostr3' argument 6 names different: declaration 'olen' definition 'len2'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:479:79: note: Function 'mecab_nbest_sparse_tostr3' argument 6 names different: declaration 'olen' definition 'len2'. mecab-0.996/src/libmecab.cpp:208:51: note: Function 'mecab_nbest_sparse_tostr3' argument 6 names different: declaration 'olen' definition 'len2'. mecab-0.996/src/libmecab.cpp:214:31: style:inconclusive: Function 'mecab_nbest_init' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:484:60: note: Function 'mecab_nbest_init' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:214:31: note: Function 'mecab_nbest_init' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:219:32: style:inconclusive: Function 'mecab_nbest_init2' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:489:61: note: Function 'mecab_nbest_init2' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:219:32: note: Function 'mecab_nbest_init2' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:224:45: style:inconclusive: Function 'mecab_nbest_next_tostr' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:494:66: note: Function 'mecab_nbest_next_tostr' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:224:45: note: Function 'mecab_nbest_next_tostr' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:228:40: style:inconclusive: Function 'mecab_nbest_next_tostr2' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:499:67: note: Function 'mecab_nbest_next_tostr2' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:228:40: note: Function 'mecab_nbest_next_tostr2' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:228:54: style:inconclusive: Function 'mecab_nbest_next_tostr2' argument 2 names different: declaration 'ostr' definition 'out'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:499:80: note: Function 'mecab_nbest_next_tostr2' argument 2 names different: declaration 'ostr' definition 'out'. mecab-0.996/src/libmecab.cpp:228:54: note: Function 'mecab_nbest_next_tostr2' argument 2 names different: declaration 'ostr' definition 'out'. mecab-0.996/src/libmecab.cpp:228:66: style:inconclusive: Function 'mecab_nbest_next_tostr2' argument 3 names different: declaration 'olen' definition 'len2'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:499:93: note: Function 'mecab_nbest_next_tostr2' argument 3 names different: declaration 'olen' definition 'len2'. mecab-0.996/src/libmecab.cpp:228:66: note: Function 'mecab_nbest_next_tostr2' argument 3 names different: declaration 'olen' definition 'len2'. mecab-0.996/src/libmecab.cpp:233:54: style:inconclusive: Function 'mecab_nbest_next_tonode' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:504:73: note: Function 'mecab_nbest_next_tonode' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:233:54: note: Function 'mecab_nbest_next_tonode' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:238:40: style:inconclusive: Function 'mecab_format_node' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:509:61: note: Function 'mecab_format_node' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:238:40: note: Function 'mecab_format_node' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:238:68: style:inconclusive: Function 'mecab_format_node' argument 2 names different: declaration 'node' definition 'n'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:509:88: note: Function 'mecab_format_node' argument 2 names different: declaration 'node' definition 'n'. mecab-0.996/src/libmecab.cpp:238:68: note: Function 'mecab_format_node' argument 2 names different: declaration 'node' definition 'n'. mecab-0.996/src/libmecab.cpp:242:63: style:inconclusive: Function 'mecab_dictionary_info' argument 1 names different: declaration 'mecab' definition 'tagger'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:514:82: note: Function 'mecab_dictionary_info' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:242:63: note: Function 'mecab_dictionary_info' argument 1 names different: declaration 'mecab' definition 'tagger'. mecab-0.996/src/libmecab.cpp:133:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] mecab-0.996/src/libmecab.cpp:260:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] mecab-0.996/src/libmecab.cpp:456:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] mecab-0.996/src/utils.cpp:166:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] mecab-0.996/src/utils.cpp:189:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/utils.cpp:219:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] mecab-0.996/src/utils.cpp:247:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mecab-0.996/src/utils.cpp:370:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MECAB_DEFAULT_RC [valueFlowBailoutIncompleteVar] mecab-0.996/src/utils.cpp:191:28: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] mecab-0.996/src/utils.cpp:193:13: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] mecab-0.996/src/utils.cpp:191:36: warning: If resource allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfResources] mecab-0.996/src/utils.cpp:188:21: note: Assuming allocation function fails mecab-0.996/src/utils.cpp:188:21: note: Assignment 'dir=opendir(path)', assigned value is 0 mecab-0.996/src/utils.cpp:191:36: note: Null pointer dereference mecab-0.996/src/utils.cpp:193:21: warning: If resource allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfResources] mecab-0.996/src/utils.cpp:188:21: note: Assuming allocation function fails mecab-0.996/src/utils.cpp:188:21: note: Assignment 'dir=opendir(path)', assigned value is 0 mecab-0.996/src/utils.cpp:193:21: note: Null pointer dereference mecab-0.996/src/utils.cpp:203:12: warning: If resource allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfResources] mecab-0.996/src/utils.cpp:188:21: note: Assuming allocation function fails mecab-0.996/src/utils.cpp:188:21: note: Assignment 'dir=opendir(path)', assigned value is 0 mecab-0.996/src/utils.cpp:203:12: note: Null pointer dereference mecab-0.996/src/utils.cpp:444:27: style: C-style pointer casting [cstyleCast] mecab-0.996/src/utils.cpp:460:30: style: C-style pointer casting [cstyleCast] mecab-0.996/src/utils.cpp:489:27: style: C-style pointer casting [cstyleCast] mecab-0.996/src/utils.cpp:135:10: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] mecab-0.996/src/tagger.cpp:804:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] mecab-0.996/src/tagger.cpp:1046:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] mecab-0.996/src/tagger.cpp:1112:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] mecab-0.996/src/tagger.cpp:1140:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable long_options [valueFlowBailoutIncompleteVar] mecab-0.996/src/tokenizer.cpp:258:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isPartial [valueFlowBailoutIncompleteVar] mecab-0.996/src/tagger.cpp:971:5: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] mecab-0.996/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] mecab-0.996/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] mecab-0.996/src/tagger.cpp:102:25: warning: The class 'ModelImpl' defines member function with name 'dictionary_info' also defined in its parent class 'Model'. [duplInheritedMember] mecab-0.996/src/mecab.h:1073:33: note: Parent function 'Model::dictionary_info' mecab-0.996/src/tagger.cpp:102:25: note: Derived function 'ModelImpl::dictionary_info' mecab-0.996/src/tagger.cpp:729:35: warning: The class 'TaggerImpl' defines member function with name 'dictionary_info' also defined in its parent class 'Tagger'. [duplInheritedMember] mecab-0.996/src/mecab.h:1404:33: note: Parent function 'Tagger::dictionary_info' mecab-0.996/src/tagger.cpp:729:35: note: Derived function 'TaggerImpl::dictionary_info' mecab-0.996/src/tagger.cpp:245:9: warning: The class 'LatticeImpl' defines member function with name 'bos_node' also defined in its parent class 'Lattice'. [duplInheritedMember] mecab-0.996/src/mecab.h:801:17: note: Parent function 'Lattice::bos_node' mecab-0.996/src/tagger.cpp:245:9: note: Derived function 'LatticeImpl::bos_node' mecab-0.996/src/tagger.cpp:246:9: warning: The class 'LatticeImpl' defines member function with name 'eos_node' also defined in its parent class 'Lattice'. [duplInheritedMember] mecab-0.996/src/mecab.h:807:17: note: Parent function 'Lattice::eos_node' mecab-0.996/src/tagger.cpp:246:9: note: Derived function 'LatticeImpl::eos_node' mecab-0.996/src/tagger.cpp:247:10: warning: The class 'LatticeImpl' defines member function with name 'begin_nodes' also defined in its parent class 'Lattice'. [duplInheritedMember] mecab-0.996/src/mecab.h:813:18: note: Parent function 'Lattice::begin_nodes' mecab-0.996/src/tagger.cpp:247:10: note: Derived function 'LatticeImpl::begin_nodes' mecab-0.996/src/tagger.cpp:248:10: warning: The class 'LatticeImpl' defines member function with name 'end_nodes' also defined in its parent class 'Lattice'. [duplInheritedMember] mecab-0.996/src/mecab.h:818:18: note: Parent function 'Lattice::end_nodes' mecab-0.996/src/tagger.cpp:248:10: note: Derived function 'LatticeImpl::end_nodes' mecab-0.996/src/tagger.cpp:249:9: warning: The class 'LatticeImpl' defines member function with name 'begin_nodes' also defined in its parent class 'Lattice'. [duplInheritedMember] mecab-0.996/src/mecab.h:835:17: note: Parent function 'Lattice::begin_nodes' mecab-0.996/src/tagger.cpp:249:9: note: Derived function 'LatticeImpl::begin_nodes' mecab-0.996/src/tagger.cpp:250:9: warning: The class 'LatticeImpl' defines member function with name 'end_nodes' also defined in its parent class 'Lattice'. [duplInheritedMember] mecab-0.996/src/mecab.h:827:17: note: Parent function 'Lattice::end_nodes' mecab-0.996/src/tagger.cpp:250:9: note: Derived function 'LatticeImpl::end_nodes' mecab-0.996/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] mecab-0.996/src/mecab.h:1123:12: note: Virtual destructor in base class mecab-0.996/src/tagger.cpp:82:12: note: Destructor in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1115:16: note: Virtual function in base class mecab-0.996/src/tagger.cpp:88:8: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1079:15: note: Virtual function in base class mecab-0.996/src/tagger.cpp:107:7: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1087:17: note: Virtual function in base class mecab-0.996/src/tagger.cpp:112:9: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1096:20: note: Virtual function in base class mecab-0.996/src/tagger.cpp:119:11: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1102:20: note: Virtual function in base class mecab-0.996/src/tagger.cpp:121:12: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1176:16: note: Virtual function in base class mecab-0.996/src/tagger.cpp:161:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1337:16: note: Virtual function in base class mecab-0.996/src/tagger.cpp:163:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1344:16: note: Virtual function in base class mecab-0.996/src/tagger.cpp:164:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1186:23: note: Virtual function in base class mecab-0.996/src/tagger.cpp:166:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1271:23: note: Virtual function in base class mecab-0.996/src/tagger.cpp:167:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1263:23: note: Virtual function in base class mecab-0.996/src/tagger.cpp:168:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1197:23: note: Virtual function in base class mecab-0.996/src/tagger.cpp:169:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1279:23: note: Virtual function in base class mecab-0.996/src/tagger.cpp:170:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1209:23: note: Virtual function in base class mecab-0.996/src/tagger.cpp:171:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1288:23: note: Virtual function in base class mecab-0.996/src/tagger.cpp:172:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1318:23: note: Virtual function in base class mecab-0.996/src/tagger.cpp:173:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1220:17: note: Virtual function in base class mecab-0.996/src/tagger.cpp:175:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1297:17: note: Virtual function in base class mecab-0.996/src/tagger.cpp:176:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1229:23: note: Virtual function in base class mecab-0.996/src/tagger.cpp:177:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1238:23: note: Virtual function in base class mecab-0.996/src/tagger.cpp:178:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1306:23: note: Virtual function in base class mecab-0.996/src/tagger.cpp:179:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1250:23: note: Virtual function in base class mecab-0.996/src/tagger.cpp:181:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1329:23: note: Virtual function in base class mecab-0.996/src/tagger.cpp:182:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1358:17: note: Virtual function in base class mecab-0.996/src/tagger.cpp:186:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1351:17: note: Virtual function in base class mecab-0.996/src/tagger.cpp:187:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1392:17: note: Virtual function in base class mecab-0.996/src/tagger.cpp:188:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1398:17: note: Virtual function in base class mecab-0.996/src/tagger.cpp:189:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1372:17: note: Virtual function in base class mecab-0.996/src/tagger.cpp:190:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1365:17: note: Virtual function in base class mecab-0.996/src/tagger.cpp:191:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1386:17: note: Virtual function in base class mecab-0.996/src/tagger.cpp:192:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1379:17: note: Virtual function in base class mecab-0.996/src/tagger.cpp:193:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1410:23: note: Virtual function in base class mecab-0.996/src/tagger.cpp:195:25: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1412:12: note: Virtual destructor in base class mecab-0.996/src/tagger.cpp:198:12: note: Destructor in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1061:12: note: Virtual destructor in base class mecab-0.996/src/tagger.cpp:230:4: note: Destructor in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:788:16: note: Virtual function in base class mecab-0.996/src/tagger.cpp:233:8: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:794:16: note: Virtual function in base class mecab-0.996/src/tagger.cpp:235:8: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:895:16: note: Virtual function in base class mecab-0.996/src/tagger.cpp:242:8: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:842:23: note: Virtual function in base class mecab-0.996/src/tagger.cpp:252:15: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:848:16: note: Virtual function in base class mecab-0.996/src/tagger.cpp:253:8: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:856:16: note: Virtual function in base class mecab-0.996/src/tagger.cpp:254:8: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:863:18: note: Virtual function in base class mecab-0.996/src/tagger.cpp:255:10: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:869:18: note: Virtual function in base class mecab-0.996/src/tagger.cpp:257:8: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:875:18: note: Virtual function in base class mecab-0.996/src/tagger.cpp:258:10: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:887:17: note: Virtual function in base class mecab-0.996/src/tagger.cpp:260:9: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:881:17: note: Virtual function in base class mecab-0.996/src/tagger.cpp:261:9: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:901:15: note: Virtual function in base class mecab-0.996/src/tagger.cpp:263:7: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:913:16: note: Virtual function in base class mecab-0.996/src/tagger.cpp:265:8: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:907:16: note: Virtual function in base class mecab-0.996/src/tagger.cpp:268:8: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:919:16: note: Virtual function in base class mecab-0.996/src/tagger.cpp:271:8: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:925:16: note: Virtual function in base class mecab-0.996/src/tagger.cpp:274:8: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:931:34: note: Virtual function in base class mecab-0.996/src/tagger.cpp:278:26: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:938:17: note: Virtual function in base class mecab-0.996/src/tagger.cpp:282:9: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1001:16: note: Virtual function in base class mecab-0.996/src/tagger.cpp:286:8: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1008:15: note: Virtual function in base class mecab-0.996/src/tagger.cpp:287:7: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1015:23: note: Virtual function in base class mecab-0.996/src/tagger.cpp:288:15: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1022:16: note: Virtual function in base class mecab-0.996/src/tagger.cpp:290:8: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1031:16: note: Virtual function in base class mecab-0.996/src/tagger.cpp:293:8: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1039:16: note: Virtual function in base class mecab-0.996/src/tagger.cpp:296:8: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1045:23: note: Virtual function in base class mecab-0.996/src/tagger.cpp:298:15: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:1051:16: note: Virtual function in base class mecab-0.996/src/tagger.cpp:300:8: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:946:23: note: Virtual function in base class mecab-0.996/src/tagger.cpp:304:15: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:974:23: note: Virtual function in base class mecab-0.996/src/tagger.cpp:305:15: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:955:23: note: Virtual function in base class mecab-0.996/src/tagger.cpp:306:15: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:984:23: note: Virtual function in base class mecab-0.996/src/tagger.cpp:307:15: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:964:23: note: Virtual function in base class mecab-0.996/src/tagger.cpp:309:15: note: Function in derived class mecab-0.996/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] mecab-0.996/src/mecab.h:995:23: note: Virtual function in base class mecab-0.996/src/tagger.cpp:310:15: note: Function in derived class mecab-0.996/src/tagger.cpp:1059:34: style:inconclusive: Function 'createTagger' argument 1 names different: declaration 'arg' definition 'argv'. [funcArgNamesDifferent] mecab-0.996/src/mecab.h:1467:56: note: Function 'createTagger' argument 1 names different: declaration 'arg' definition 'argv'. mecab-0.996/src/tagger.cpp:1059:34: note: Function 'createTagger' argument 1 names different: declaration 'arg' definition 'argv'. mecab-0.996/src/tagger.cpp:806:15: style: Local variable 'sentence' shadows outer function [shadowFunction] mecab-0.996/src/tagger.cpp:252:15: note: Shadowed declaration mecab-0.996/src/tagger.cpp:806:15: note: Shadow variable mecab-0.996/src/tagger.cpp:825:9: style: Local variable 'bos_node' shadows outer function [shadowFunction] mecab-0.996/src/tagger.cpp:245:9: note: Shadowed declaration mecab-0.996/src/tagger.cpp:825:9: note: Shadow variable mecab-0.996/src/tagger.cpp:831:9: style: Local variable 'eos_node' shadows outer function [shadowFunction] mecab-0.996/src/tagger.cpp:246:9: note: Shadowed declaration mecab-0.996/src/tagger.cpp:831:9: note: Shadow variable mecab-0.996/src/tagger.cpp:867:28: style: Parameter 'lattice' can be declared as pointer to const [constParameterPointer] mecab-0.996/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] mecab-0.996/src/writer.h:27:8: note: Technically the member function 'MeCab::Writer::writeNode' can be static (but you may consider moving to unnamed namespace). mecab-0.996/src/writer.cpp:236:14: note: Technically the member function 'MeCab::Writer::writeNode' can be static (but you may consider moving to unnamed namespace). mecab-0.996/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] mecab-0.996/src/writer.cpp:81:21: note: Assignment 'node_format=node_format2' mecab-0.996/src/writer.cpp:80:23: note: Condition 'node_format!=node_format2' is redundant mecab-0.996/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] mecab-0.996/src/writer.cpp:84:20: note: Assignment 'bos_format=bos_format2' mecab-0.996/src/writer.cpp:83:22: note: Condition 'bos_format!=bos_format2' is redundant mecab-0.996/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] mecab-0.996/src/writer.cpp:87:20: note: Assignment 'eos_format=eos_format2' mecab-0.996/src/writer.cpp:86:22: note: Condition 'eos_format!=eos_format2' is redundant mecab-0.996/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] mecab-0.996/src/writer.cpp:97:20: note: Assignment 'eon_format=eon_format2' mecab-0.996/src/writer.cpp:96:22: note: Condition 'eon_format!=eon_format2' is redundant mecab-0.996/src/writer.cpp:110:52: style:inconclusive: Function 'write' argument 2 names different: declaration 'node' definition 'os'. [funcArgNamesDifferent] mecab-0.996/src/writer.h:34:46: note: Function 'write' argument 2 names different: declaration 'node' definition 'os'. mecab-0.996/src/writer.cpp:110:52: note: Function 'write' argument 2 names different: declaration 'node' definition 'os'. mecab-0.996/src/writer.cpp:117:59: style:inconclusive: Function 'writeLattice' argument 2 names different: declaration 's' definition 'os'. [funcArgNamesDifferent] mecab-0.996/src/writer.h:46:53: note: Function 'writeLattice' argument 2 names different: declaration 's' definition 'os'. mecab-0.996/src/writer.cpp:117:59: note: Function 'writeLattice' argument 2 names different: declaration 's' definition 'os'. mecab-0.996/src/writer.cpp:128:58: style:inconclusive: Function 'writeWakati' argument 2 names different: declaration 's' definition 'os'. [funcArgNamesDifferent] mecab-0.996/src/writer.h:47:52: note: Function 'writeWakati' argument 2 names different: declaration 's' definition 'os'. mecab-0.996/src/writer.cpp:128:58: note: Function 'writeWakati' argument 2 names different: declaration 's' definition 'os'. mecab-0.996/src/writer.cpp:138:56: style:inconclusive: Function 'writeNone' argument 2 names different: declaration 's' definition 'os'. [funcArgNamesDifferent] mecab-0.996/src/writer.h:48:50: note: Function 'writeNone' argument 2 names different: declaration 's' definition 'os'. mecab-0.996/src/writer.cpp:138:56: note: Function 'writeNone' argument 2 names different: declaration 's' definition 'os'. mecab-0.996/src/writer.cpp:142:54: style:inconclusive: Function 'writeEM' argument 2 names different: declaration 's' definition 'os'. [funcArgNamesDifferent] mecab-0.996/src/writer.h:51:48: note: Function 'writeEM' argument 2 names different: declaration 's' definition 'os'. mecab-0.996/src/writer.cpp:142:54: note: Function 'writeEM' argument 2 names different: declaration 's' definition 'os'. mecab-0.996/src/writer.cpp:167:56: style:inconclusive: Function 'writeDump' argument 2 names different: declaration 's' definition 'os'. [funcArgNamesDifferent] mecab-0.996/src/writer.h:50:50: note: Function 'writeDump' argument 2 names different: declaration 's' definition 'os'. mecab-0.996/src/writer.cpp:167:56: note: Function 'writeDump' argument 2 names different: declaration 's' definition 'os'. mecab-0.996/src/writer.cpp:201:56: style:inconclusive: Function 'writeUser' argument 2 names different: declaration 's' definition 'os'. [funcArgNamesDifferent] mecab-0.996/src/writer.h:49:50: note: Function 'writeUser' argument 2 names different: declaration 's' definition 'os'. mecab-0.996/src/writer.cpp:201:56: note: Function 'writeUser' argument 2 names different: declaration 's' definition 'os'. mecab-0.996/src/writer.cpp:220:38: style:inconclusive: Function 'writeNode' argument 3 names different: declaration 's' definition 'os'. [funcArgNamesDifferent] mecab-0.996/src/writer.h:32:32: note: Function 'writeNode' argument 3 names different: declaration 's' definition 'os'. mecab-0.996/src/writer.cpp:220:38: note: Function 'writeNode' argument 3 names different: declaration 's' definition 'os'. mecab-0.996/src/writer.cpp:237:36: style:inconclusive: Function 'writeNode' argument 2 names different: declaration 'format' definition 'p'. [funcArgNamesDifferent] mecab-0.996/src/writer.h:28:30: note: Function 'writeNode' argument 2 names different: declaration 'format' definition 'p'. mecab-0.996/src/writer.cpp:237:36: note: Function 'writeNode' argument 2 names different: declaration 'format' definition 'p'. mecab-0.996/src/writer.cpp:239:38: style:inconclusive: Function 'writeNode' argument 4 names different: declaration 's' definition 'os'. [funcArgNamesDifferent] mecab-0.996/src/writer.h:29:50: note: Function 'writeNode' argument 4 names different: declaration 's' definition 'os'. mecab-0.996/src/writer.cpp:239:38: note: Function 'writeNode' argument 4 names different: declaration 's' definition 'os'. mecab-0.996/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] mecab-0.996/src/writer.cpp:27:21: note: You might need to cast the function pointer here mecab-0.996/src/writer.cpp:117:36: note: Parameter 'lattice' can be declared as pointer to const mecab-0.996/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] mecab-0.996/src/writer.cpp:30:23: note: You might need to cast the function pointer here mecab-0.996/src/writer.cpp:128:35: note: Parameter 'lattice' can be declared as pointer to const mecab-0.996/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] mecab-0.996/src/writer.cpp:32:23: note: You might need to cast the function pointer here mecab-0.996/src/writer.cpp:138:33: note: Parameter 'lattice' can be declared as pointer to const mecab-0.996/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] mecab-0.996/src/writer.cpp:32:23: note: You might need to cast the function pointer here mecab-0.996/src/writer.cpp:138:56: note: Parameter 'os' can be declared as pointer to const mecab-0.996/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] mecab-0.996/src/writer.cpp:36:23: note: You might need to cast the function pointer here mecab-0.996/src/writer.cpp:142:31: note: Parameter 'lattice' can be declared as pointer to const mecab-0.996/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] mecab-0.996/src/writer.cpp:34:23: note: You might need to cast the function pointer here mecab-0.996/src/writer.cpp:167:33: note: Parameter 'lattice' can be declared as pointer to const mecab-0.996/src/viterbi.cpp:209:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] mecab-0.996/src/viterbi.cpp:296:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] mecab-0.996/src/viterbi.cpp:198:15: style: Unused private function: 'Viterbi::buildAlternative' [unusedPrivateFunction] mecab-0.996/src/viterbi.h:45:15: note: Unused private function: 'Viterbi::buildAlternative' mecab-0.996/src/viterbi.cpp:198:15: note: Unused private function: 'Viterbi::buildAlternative' mecab-0.996/src/viterbi.cpp:75:7: style: Condition '!initPartial(lattice)' is always false [knownConditionTrueFalse] mecab-0.996/src/viterbi.cpp:75:19: note: Calling function 'initPartial' returns 1 mecab-0.996/src/viterbi.cpp:75:7: note: Condition '!initPartial(lattice)' is always false mecab-0.996/src/viterbi.cpp:101:7: style: Condition '!forwardbackward(lattice)' is always false [knownConditionTrueFalse] mecab-0.996/src/viterbi.cpp:101:23: note: Calling function 'forwardbackward' returns 1 mecab-0.996/src/viterbi.cpp:101:7: note: Condition '!forwardbackward(lattice)' is always false mecab-0.996/src/viterbi.cpp:105:7: style: Condition '!buildBestLattice(lattice)' is always false [knownConditionTrueFalse] mecab-0.996/src/viterbi.cpp:105:24: note: Calling function 'buildBestLattice' returns 1 mecab-0.996/src/viterbi.cpp:105:7: note: Condition '!buildBestLattice(lattice)' is always false mecab-0.996/src/viterbi.cpp:109:7: style: Condition '!buildAllLattice(lattice)' is always false [knownConditionTrueFalse] mecab-0.996/src/viterbi.cpp:109:23: note: Calling function 'buildAllLattice' returns 1 mecab-0.996/src/viterbi.cpp:109:7: note: Condition '!buildAllLattice(lattice)' is always false mecab-0.996/src/viterbi.cpp:113:7: style: Condition '!initNBest(lattice)' is always false [knownConditionTrueFalse] mecab-0.996/src/viterbi.cpp:113:17: note: Calling function 'initNBest' returns 1 mecab-0.996/src/viterbi.cpp:113:7: note: Condition '!initNBest(lattice)' is always false mecab-0.996/src/viterbi.cpp:177:40: style: Parameter 'lattice' can be declared as pointer to const [constParameterPointer] mecab-0.996/src/viterbi.cpp:198:41: style: Parameter 'lattice' can be declared as pointer to const [constParameterPointer] mecab-0.996/src/viterbi.cpp:227:41: style: Parameter 'lattice' can be declared as pointer to const [constParameterPointer] diff: head mecab-0.996/src/char_property.cpp:122:43: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] head mecab-0.996/src/eval.cpp:121:23: style: Variable 'system' is assigned a value that is never used. [unreadVariable] head mecab-0.996/src/eval.cpp:122:23: style: Variable 'answer' is assigned a value that is never used. [unreadVariable] head mecab-0.996/src/feature_index.cpp:203:20: style:inconclusive: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. [functionConst] mecab-0.996/src/feature_index.h:39:8: note: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. mecab-0.996/src/feature_index.cpp:203:20: note: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. head mecab-0.996/src/feature_index.cpp:211:20: style:inconclusive: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. [functionConst] mecab-0.996/src/feature_index.h:38:8: note: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. mecab-0.996/src/feature_index.cpp:211:20: note: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. head mecab-0.996/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] mecab-0.996/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). mecab-0.996/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 mecab-0.996/src/feature_index.h:38:8: style:inconclusive: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. [functionConst] mecab-0.996/src/feature_index.cpp:211:20: note: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. mecab-0.996/src/feature_index.h:38:8: note: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. 2.17.0 mecab-0.996/src/feature_index.h:39:8: style:inconclusive: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. [functionConst] mecab-0.996/src/feature_index.cpp:203:20: note: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. mecab-0.996/src/feature_index.h:39:8: note: Technically the member function 'MeCab::FeatureIndex::calcCost' can be const. 2.17.0 mecab-0.996/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] mecab-0.996/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). mecab-0.996/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 mecab-0.996/src/iconv_utils.cpp:110:13: style:inconclusive: Technically the member function 'MeCab::Iconv::convert' can be const. [functionConst] mecab-0.996/src/iconv_utils.h:36:8: note: Technically the member function 'MeCab::Iconv::convert' can be const. mecab-0.996/src/iconv_utils.cpp:110:13: note: Technically the member function 'MeCab::Iconv::convert' can be const. 2.17.0 mecab-0.996/src/iconv_utils.h:36:8: style:inconclusive: Technically the member function 'MeCab::Iconv::convert' can be const. [functionConst] mecab-0.996/src/iconv_utils.cpp:110:13: note: Technically the member function 'MeCab::Iconv::convert' can be const. mecab-0.996/src/iconv_utils.h:36:8: note: Technically the member function 'MeCab::Iconv::convert' can be const. head mecab-0.996/src/learner_tagger.cpp:413:7: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] head mecab-0.996/src/viterbi.cpp:198:15: style: Unused private function: 'Viterbi::buildAlternative' [unusedPrivateFunction] mecab-0.996/src/viterbi.h:45:15: note: Unused private function: 'Viterbi::buildAlternative' mecab-0.996/src/viterbi.cpp:198:15: note: Unused private function: 'Viterbi::buildAlternative' 2.17.0 mecab-0.996/src/viterbi.h:45:15: style: Unused private function: 'Viterbi::buildAlternative' [unusedPrivateFunction] head mecab-0.996/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] mecab-0.996/src/writer.h:27:8: note: Technically the member function 'MeCab::Writer::writeNode' can be static (but you may consider moving to unnamed namespace). mecab-0.996/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 mecab-0.996/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] mecab-0.996/src/writer.cpp:236:14: note: Technically the member function 'MeCab::Writer::writeNode' can be static (but you may consider moving to unnamed namespace). mecab-0.996/src/writer.h:27:8: note: Technically the member function 'MeCab::Writer::writeNode' can be static (but you may consider moving to unnamed namespace). DONE