tsung

Code pulled with git from git://github.com/processone/tsung.git with the last commit being 015c0d7

These are Intersection warnings for tsung.

(Only new warnings by Intersection-enabled analysis are listed. Warnings by current public version of Dialyzer are listed here.)

dialyzer -n -q -Wno_improper_lists ebin
pgsql_proto.erl:256: The call pgsql_proto:encode_message('bind',{[],[],_,['binary',...]}) will never return since it differs in the 1st and/or 2nd argument from the success typing arguments: ('bind',{binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | []),binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | []),[any()],'auto' | 'binary' | 'none' | 'text',[any()]}) or ('close' | 'describe',{'portal',binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | [])} | {'prepared_statement',binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | [])}) or ('copy',binary()) or ('copydone' | 'flush' | 'sync' | 'terminate',any()) or ('copyfail' | 'squery',binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | [])) or ('execute',{binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | []),integer()}) or ('parse',{binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | []),binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | []),[any()]}) or ('pass_md5',{binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | maybe_improper_list(any(),binary() | []) | byte()}) or ('pass_plain',binary() | maybe_improper_list(any(),binary() | []) | byte())
pgsql_proto.erl:265: The created fun has no local return
pgsql_proto.erl:297: The call pgsql_proto:encode_message('bind',{[],_,_,['binary',...]}) will never return since it differs in the 1st and/or 2nd argument from the success typing arguments: ('bind',{binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | []),binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | []),[any()],'auto' | 'binary' | 'none' | 'text',[any()]}) or ('close' | 'describe',{'portal',binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | [])} | {'prepared_statement',binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | [])}) or ('copy',binary()) or ('copydone' | 'flush' | 'sync' | 'terminate',any()) or ('copyfail' | 'squery',binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | [])) or ('execute',{binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | []),integer()}) or ('parse',{binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | []),binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | []),[any()]}) or ('pass_md5',{binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | maybe_improper_list(any(),binary() | []) | byte()}) or ('pass_plain',binary() | maybe_improper_list(any(),binary() | []) | byte())
pgsql_proto.erl:369: Function process_equery/1 will never be called
pgsql_proto.erl:385: Function process_equery_datarow/3 will never be called
pgsql_proto.erl:427: Function process_execute/3 will never be called
pgsql_proto.erl:464: Function process_execute_resultset/5 will never be called
ts_os_mon_erlang.erl:156: Function updatestats/2 has no local return