erlyweb

Code pulled with git from git://github.com/yariv/erlyweb.git with the last commit being a3a478d

These are Current warnings for erlyweb.

dialyzer -n -q -Wno_improper_lists ebin
mysql_auth.erl:120: The variable _ can never match since previous clauses completely covered the type 'none'
mysql_auth.erl:131: The variable _ can never match since previous clauses completely covered the type 'none'
mysql_conn.erl:629: The variable Data can never match since previous clauses completely covered the type binary()
mysql_conn.erl:630: The created fun has no local return
psql_connection.erl:111: Function handle_message/2 will never be called
psql_connection.erl:178: Function handle_debug/2 has no local return
psql_connection.erl:179: The call sys:handle_debug(any(),{'psql_connection', 'print_event'},[],Data::{'logic',_,#state{}} | {'socket',_,#state{}} | {'tcp_closed',_,#state{}} | {'unknown_message',_,#state{}}) breaks the contract (Debug,FormFunc,Extra,Event) -> [dbg_opt()] when is_subtype(Debug,[dbg_opt()]), is_subtype(FormFunc,dbg_fun()), is_subtype(Extra,term()), is_subtype(Event,system_event())
psql_connection.erl:184: Function dispatch_messages/2 will never be called
erlsql.erl:256: The pattern 'undefined' can never match the type [any()]
erlsql.erl:396: The pattern 'undefined' can never match the type [any()]
erlsql.erl:445: The call erlsql:subquery(Val::any(),Op::any(),Subquery::{'select',_,_,_,_,_,_},Safe::boolean()) will never return since it differs in the 3rd argument from the success typing arguments: (any(),'any' | 'in' | 'some',{'select',_} | {'delete' | 'insert' | 'select' | 'update' | {'delete',atom() | {_,_}} | {'select',_} | {'delete' | 'insert' | 'select' | 'update' | {_,_} | {_,_,_} | {_,_,_,_} | {_,_,_,_,_} | {_,_,_,_,_,_},_,_} | {'delete' | 'insert' | 'select' | 'update' | {_,_} | {_,_,_} | {_,_,_,_} | {_,_,_,_,_} | {_,_,_,_,_,_},_,_,_} | {'delete' | 'insert' | 'select' | 'update' | {_,_} | {_,_,_} | {_,_,_,_} | {_,_,_,_,_} | {_,_,_,_,_,_},_,_,'undefined' | binary() | maybe_improper_list(any(),binary() | []) | tuple(),'undefined' | binary() | nonempty_maybe_improper_list(any(),binary() | []) | {_,_} | {_,_,_} | {_,_,_,_}} | {'select',atom(),_,{_,_},'undefined' | binary() | maybe_improper_list(any(),binary() | []) | tuple(),'undefined' | binary() | nonempty_maybe_improper_list(any(),binary() | []) | {_,_} | {_,_,_} | {_,_,_,_}},_,_} | {'delete' | 'insert' | 'select' | 'update' | {'delete',atom() | {_,_}} | {'select',_} | {'delete' | 'insert' | 'select' | 'update' | {_,_} | {_,_,_} | {_,_,_,_} | {_,_,_,_,_} | {_,_,_,_,_,_},_,_} | {'delete' | 'insert' | 'select' | 'update' | {_,_} | {_,_,_} | {_,_,_,_} | {_,_,_,_,_} | {_,_,_,_,_,_},_,_,_} | {'delete' | 'insert' | 'select' | 'update' | {_,_} | {_,_,_} | {_,_,_,_} | {_,_,_,_,_} | {_,_,_,_,_,_},_,_,'undefined' | binary() | maybe_improper_list(any(),binary() | []) | tuple(),'undefined' | binary() | nonempty_maybe_improper_list(any(),binary() | []) | {_,_} | {_,_,_} | {_,_,_,_}} | {'select',atom(),_,{_,_},'undefined' | binary() | maybe_improper_list(any(),binary() | []) | tuple(),'undefined' | binary() | nonempty_maybe_improper_list(any(),binary() | []) | {_,_} | {_,_,_} | {_,_,_,_}},_,_,_} | {'delete' | 'insert' | 'select' | 'update' | {'delete',atom() | {_,_}} | {'select',_} | {'delete' | 'insert' | 'select' | 'update' | {_,_} | {_,_,_} | {_,_,_,_} | {_,_,_,_,_} | {_,_,_,_,_,_},_,_} | {'delete' | 'insert' | 'select' | 'update' | {_,_} | {_,_,_} | {_,_,_,_} | {_,_,_,_,_} | {_,_,_,_,_,_},_,_,_} | {'delete' | 'insert' | 'select' | 'update' | {_,_} | {_,_,_} | {_,_,_,_} | {_,_,_,_,_} | {_,_,_,_,_,_},_,_,'undefined' | binary() | maybe_improper_list(any(),binary() | []) | tuple(),'undefined' | binary() | nonempty_maybe_improper_list(any(),binary() | []) | {_,_} | {_,_,_} | {_,_,_,_}} | {'select',atom(),_,{_,_},'undefined' | binary() | maybe_improper_list(any(),binary() | []) | tuple(),'undefined' | binary() | nonempty_maybe_improper_list(any(),binary() | []) | {_,_} | {_,_,_} | {_,_,_,_}},_,_,'undefined' | binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | []) | tuple(),'undefined' | binary() | nonempty_maybe_improper_list(any(),binary() | []) | {'group_by',_} | {'limit',_} | {'order_by',_} | {'where','undefined' | binary() | maybe_improper_list(any(),binary() | []) | tuple()} | {'limit',_,_} | {'group_by',_,'having',_}} | {'select',atom(),_,{'from',_},'undefined' | binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | []) | tuple(),'undefined' | binary() | nonempty_maybe_improper_list(any(),binary() | []) | {'group_by',_} | {'limit',_} | {'order_by',_} | {'limit',_,_} | {'group_by',_,'having',_}},boolean())
erltl.erl:426: The pattern [] can never match the type [{[any()],pos_integer()},...]
erltl.erl:441: The pattern [] can never match the type [{[any()],pos_integer()},...]
erltl.erl:456: The pattern [] can never match the type [{[any()],pos_integer()},...]
erlydb.erl:1131: The variable _ can never match since previous clauses completely covered the type 'undefined'
erlydb_mnesia.erl:860: The pattern <{'data', Data}, 'undefined'> can never match the type <{_,_},[any()]>
erlydb_mnesia.erl:861: The created fun has no local return
erlydb_psql.erl:255: The pattern <Result = {'ok', _Rows}, 'undefined'> can never match the type <{'ok',_},[any()]>
erlydb_psql.erl:265: The pattern <Other, _> can never match since previous clauses completely covered the type <{'ok',_},[any()]>
erlyweb_compile.erl:165: Function make_app_data_module/5 has no local return
erlyweb_compile.erl:182: The call erlyweb_compile:make_get_component_function(ComponentTree::atom() | <<_:_*1>> | maybe_improper_list(atom() | <<_:_*1>> | maybe_improper_list(atom() | <<_:_*1>> | maybe_improper_list(any(),atom() | <<_:_*1>> | [] | number() | tuple()) | number() | tuple(),atom() | <<_:_*1>> | [] | number() | tuple()) | number() | tuple(),atom() | <<_:_*1>> | [] | number() | tuple()) | number() | tuple()) does not have an opaque term of type gb_tree() as 1st argument
erlyweb_compile.erl:222: Function make_get_component_function/1 has no local return
erlyweb_compile.erl:225: The created fun has no local return
erlyweb_compile.erl:226: The call gb_trees:get(ComponentStr::any(),ComponentTree::atom() | <<_:_*1>> | maybe_improper_list(atom() | <<_:_*1>> | maybe_improper_list(atom() | <<_:_*1>> | maybe_improper_list(any(),atom() | <<_:_*1>> | [] | number() | tuple()) | number() | tuple(),atom() | <<_:_*1>> | [] | number() | tuple()) | number() | tuple(),atom() | <<_:_*1>> | [] | number() | tuple()) | number() | tuple()) does not have an opaque term of type gb_tree() as 2nd argument
erlyweb_compile.erl:229: The call gb_trees:keys(ComponentTree::atom() | <<_:_*1>> | maybe_improper_list(atom() | <<_:_*1>> | maybe_improper_list(atom() | <<_:_*1>> | maybe_improper_list(any(),atom() | <<_:_*1>> | [] | number() | tuple()) | number() | tuple(),atom() | <<_:_*1>> | [] | number() | tuple()) | number() | tuple(),atom() | <<_:_*1>> | [] | number() | tuple()) | number() | tuple()) does not have an opaque term of type gb_tree() as 1st argument
erlyweb_compile.erl:245: Function make_clauses_for_component/2 will never be called
erlyweb_compile.erl:248: The created fun has no local return
erlyweb_compile.erl:272: Function get_body_for_func/3 will never be called
erlyweb_compile.erl:286: Function addFinalClauses/3 will never be called
smerl.erl:176: Guard test 'cover_compiled' | 'non_existing' | 'preloaded' | binary() =:= _Err::{'error',{'invalid_module',atom() | binary() | [any()]}} can never succeed