beehive

Code pulled with git from git://github.com/auser/beehive.git with the last commit being dfe2577

These are Current warnings for beehive.

dialyzer -n -q -Wno_improper_lists -r lib
bee_store.erl:45: The variable _ can never match since previous clauses completely covered the type 'debug'
bee_store.erl:45: The pattern 'info' can never match the type 'debug'
bee_store.erl:51: The variable _ can never match since previous clauses completely covered the type 'debug'
bee_store.erl:51: The pattern 'info' can never match the type 'debug'
bee_store.erl:99: The pattern [] can never match the type 'bee_must_wait' | {'ok',#app{},[any(),...]}
bee_store.erl:120: The pattern 'do_not_print' can never match the type 'error_msg'
bee_store.erl:120: The pattern 'debug' can never match the type 'error'
bee_store.erl:120: The pattern 'info' can never match the type 'error'
bee_store.erl:124: The pattern 'do_not_print' can never match the type 'error_msg'
bee_store.erl:124: The pattern 'debug' can never match the type 'error'
bee_store.erl:124: The pattern 'info' can never match the type 'error'
bee_store.erl:128: The variable _ can never match since previous clauses completely covered the type 'debug'
bee_store.erl:128: The pattern 'info' can never match the type 'debug'
app_killer_fsm.erl:117: The pattern 'do_not_print' can never match the type 'info_msg'
app_killer_fsm.erl:117: The variable _ can never match since previous clauses completely covered the type 'info'
app_killer_fsm.erl:117: The pattern 'debug' can never match the type 'info'
app_launcher_fsm.erl:97: The variable _ can never match since previous clauses completely covered the type 'debug'
app_launcher_fsm.erl:97: The pattern 'info' can never match the type 'debug'
app_launcher_fsm.erl:144: The variable _ can never match since previous clauses completely covered the type 'debug'
app_launcher_fsm.erl:144: The pattern 'info' can never match the type 'debug'
app_launcher_fsm.erl:169: The variable _ can never match since previous clauses completely covered the type 'debug'
app_launcher_fsm.erl:169: The pattern 'info' can never match the type 'debug'
app_launcher_fsm.erl:177: The variable _ can never match since previous clauses completely covered the type 'debug'
app_launcher_fsm.erl:177: The pattern 'info' can never match the type 'debug'
app_launcher_fsm.erl:188: The variable _ can never match since previous clauses completely covered the type 'debug'
app_launcher_fsm.erl:188: The pattern 'info' can never match the type 'debug'
app_launcher_fsm.erl:201: The variable _ can never match since previous clauses completely covered the type 'debug'
app_launcher_fsm.erl:201: The pattern 'info' can never match the type 'debug'
app_launcher_fsm.erl:277: The variable _ can never match since previous clauses completely covered the type 'debug'
app_launcher_fsm.erl:277: The pattern 'info' can never match the type 'debug'
app_launcher_fsm.erl:290: The variable _ can never match since previous clauses completely covered the type 'debug'
app_launcher_fsm.erl:290: The pattern 'info' can never match the type 'debug'
app_manager.erl:14: Callback info about the gen_cluster behaviour is not available
app_manager.erl:332: The variable _ can never match since previous clauses completely covered the type 'debug'
app_manager.erl:332: The pattern 'info' can never match the type 'debug'
app_manager.erl:336: The variable _ can never match since previous clauses completely covered the type 'debug'
app_manager.erl:336: The pattern 'info' can never match the type 'debug'
app_manager.erl:344: The variable _ can never match since previous clauses completely covered the type 'debug'
app_manager.erl:344: The pattern 'info' can never match the type 'debug'
app_manager.erl:360: The variable _ can never match since previous clauses completely covered the type 'debug'
app_manager.erl:360: The pattern 'info' can never match the type 'debug'
app_manager.erl:366: The variable _ can never match since previous clauses completely covered the type 'debug'
app_manager.erl:366: The pattern 'info' can never match the type 'debug'
app_manager.erl:387: The variable _ can never match since previous clauses completely covered the type 'debug'
app_manager.erl:387: The pattern 'info' can never match the type 'debug'
app_manager.erl:409: The variable _ can never match since previous clauses completely covered the type 'debug'
app_manager.erl:409: The pattern 'info' can never match the type 'debug'
app_manager.erl:420: The variable _ can never match since previous clauses completely covered the type 'debug'
app_manager.erl:420: The pattern 'info' can never match the type 'debug'
app_manager.erl:434: The pattern 'do_not_print' can never match the type 'info_msg'
app_manager.erl:434: The variable _ can never match since previous clauses completely covered the type 'info'
app_manager.erl:434: The pattern 'debug' can never match the type 'info'
app_manager.erl:445: The pattern 'do_not_print' can never match the type 'info_msg'
app_manager.erl:445: The variable _ can never match since previous clauses completely covered the type 'info'
app_manager.erl:445: The pattern 'debug' can never match the type 'info'
app_manager.erl:506: The variable _ can never match since previous clauses completely covered the type 'debug'
app_manager.erl:506: The pattern 'info' can never match the type 'debug'
app_manager.erl:584: The variable _ can never match since previous clauses completely covered the type 'debug'
app_manager.erl:584: The pattern 'info' can never match the type 'debug'
app_manager.erl:634: The variable _ can never match since previous clauses completely covered the type 'debug'
app_manager.erl:634: The pattern 'info' can never match the type 'debug'
app_manager.erl:657: The variable _ can never match since previous clauses completely covered the type 'debug'
app_manager.erl:657: The pattern 'info' can never match the type 'debug'
app_manager.erl:785: The variable _ can never match since previous clauses completely covered the type 'debug'
app_manager.erl:785: The pattern 'info' can never match the type 'debug'
beehive_bee_object.erl:85: The pattern 'true' can never match the type 'false'
beehive_bee_object.erl:91: The pattern 'true' can never match the type 'false'
beehive_bee_object.erl:92: The variable _ can never match since previous clauses completely covered the type 'debug'
beehive_bee_object.erl:92: The pattern 'info' can never match the type 'debug'
beehive_bee_object.erl:100: The pattern 'true' can never match the type 'false'
beehive_bee_object.erl:124: The variable _ can never match since previous clauses completely covered the type 'debug'
beehive_bee_object.erl:124: The pattern 'info' can never match the type 'debug'
beehive_bee_object.erl:128: The pattern 'true' can never match the type 'false'
beehive_bee_object.erl:138: The variable _ can never match since previous clauses completely covered the type 'debug'
beehive_bee_object.erl:138: The pattern 'info' can never match the type 'debug'
beehive_bee_object.erl:148: The variable _ can never match since previous clauses completely covered the type 'debug'
beehive_bee_object.erl:148: The pattern 'info' can never match the type 'debug'
beehive_bee_object.erl:152: The pattern 'true' can never match the type 'false'
beehive_bee_object.erl:202: The pattern 'true' can never match the type 'false'
beehive_bee_object.erl:212: The pattern 'true' can never match the type 'false'
beehive_bee_object.erl:290: The variable _ can never match since previous clauses completely covered the type 'debug'
beehive_bee_object.erl:290: The pattern 'info' can never match the type 'debug'
beehive_bee_object.erl:359: The pattern 'true' can never match the type 'false'
beehive_bee_object.erl:376: The pattern 'true' can never match the type 'false'
beehive_bee_object.erl:385: The call beehive_bee_object:to_list(BeeObject::#bee_object{bee_file::atom() | binary() | [atom() | [any()] | char()]}) will never return since it differs in the 1st argument from the success typing arguments: (atom() | maybe_improper_list() | integer())
beehive_bee_object.erl:525: The variable _ can never match since previous clauses completely covered the type 'debug'
beehive_bee_object.erl:525: The pattern 'info' can never match the type 'debug'
beehive_bee_object.erl:539: The variable _ can never match since previous clauses completely covered the type 'debug'
beehive_bee_object.erl:539: The pattern 'info' can never match the type 'debug'
beehive_bee_object.erl:546: The pattern 'true' can never match the type 'false'
beehive_bee_object.erl:576: The variable _ can never match since previous clauses completely covered the type 'debug'
beehive_bee_object.erl:576: The pattern 'info' can never match the type 'debug'
beehive_bee_object.erl:588: The pattern 'true' can never match the type 'false'
beehive_bee_object.erl:621: The variable _ can never match since previous clauses completely covered the type 'debug'
beehive_bee_object.erl:621: The pattern 'info' can never match the type 'debug'
beehive_bee_object.erl:622: The variable _ can never match since previous clauses completely covered the type 'debug'
beehive_bee_object.erl:622: The pattern 'info' can never match the type 'debug'
beehive_bee_object.erl:630: The variable _ can never match since previous clauses completely covered the type 'debug'
beehive_bee_object.erl:630: The pattern 'info' can never match the type 'debug'
beehive_bee_object.erl:634: The pattern 'do_not_print' can never match the type 'info_msg'
beehive_bee_object.erl:634: The variable _ can never match since previous clauses completely covered the type 'info'
beehive_bee_object.erl:634: The pattern 'debug' can never match the type 'info'
beehive_bee_object.erl:752: The pattern 'undefined' can never match the type [{_,_}]
beehive_bee_object.erl:870: The variable _ can never match since previous clauses completely covered the type 'debug'
beehive_bee_object.erl:870: The pattern 'info' can never match the type 'debug'
beehive_bee_object.erl:944: The pattern 'true' can never match the type 'false'
beehive_bee_object.erl:971: The variable _ can never match since previous clauses completely covered the type 'debug'
beehive_bee_object.erl:971: The pattern 'info' can never match the type 'debug'
beehive_bee_object.erl:986: The variable _ can never match since previous clauses completely covered the type 'debug'
beehive_bee_object.erl:986: The pattern 'info' can never match the type 'debug'
beehive_bee_object.erl:987: The pattern 'true' can never match the type 'false'
beehive_control.erl:145: Function error/1 has no local return
beehive_storage_srv.erl:14: Callback info about the gen_cluster behaviour is not available
beehive_storage_srv.erl:134: The variable _ can never match since previous clauses completely covered the type 'debug'
beehive_storage_srv.erl:134: The pattern 'info' can never match the type 'debug'
beehive_storage_srv.erl:223: The variable _ can never match since previous clauses completely covered the type 'debug'
beehive_storage_srv.erl:223: The pattern 'info' can never match the type 'debug'
beehive_storage_srv.erl:230: The variable _ can never match since previous clauses completely covered the type 'debug'
beehive_storage_srv.erl:230: The pattern 'info' can never match the type 'debug'
beehive_storage_srv.erl:245: The variable _ can never match since previous clauses completely covered the type 'debug'
beehive_storage_srv.erl:245: The pattern 'info' can never match the type 'debug'
node_manager.erl:10: Callback info about the gen_cluster behaviour is not available
node_manager.erl:284: The pattern 'true' can never match the type 'false'
node_manager.erl:296: The pattern 'true' can never match the type 'false'
beehive_request.erl:19: The pattern {'error', {'http_error', "\r\n"}} can never match the type {'error',atom()} | {'ok','http_eoh' | binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | []) | {'http_error',binary() | string()} | {'http_response',{non_neg_integer(),non_neg_integer()},integer(),binary() | string()} | {'http_header',integer(),atom() | binary() | string(),_,binary() | string()}}
beehive_request.erl:21: The pattern {'error', {'http_error', "\n"}} can never match the type {'error',atom()} | {'ok','http_eoh' | binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | []) | {'http_error',binary() | string()} | {'http_response',{non_neg_integer(),non_neg_integer()},integer(),binary() | string()} | {'http_header',integer(),atom() | binary() | string(),_,binary() | string()}}
db_mnesia_adapter.erl:113: The pattern {'error', Reason} can never match the type 'ok'
db_mnesia_adapter.erl:126: The pattern 'do_not_print' can never match the type 'error_msg'
db_mnesia_adapter.erl:126: The pattern 'debug' can never match the type 'error'
db_mnesia_adapter.erl:126: The pattern 'info' can never match the type 'error'
event_manager.erl:42: The variable _ can never match since previous clauses completely covered the type 'debug'
event_manager.erl:42: The pattern 'info' can never match the type 'debug'
app_event_handler.erl:102: The variable _ can never match since previous clauses completely covered the type 'debug'
app_event_handler.erl:102: The pattern 'info' can never match the type 'debug'
bee_event_handler.erl:88: The variable _ can never match since previous clauses completely covered the type 'debug'
bee_event_handler.erl:88: The pattern 'info' can never match the type 'debug'
dashboard_event_handler.erl:137: Function next_trans/1 will never be called
node_event_handler.erl:56: The variable _ can never match since previous clauses completely covered the type 'debug'
node_event_handler.erl:56: The pattern 'info' can never match the type 'debug'
node_event_handler.erl:60: The variable _ can never match since previous clauses completely covered the type 'debug'
node_event_handler.erl:60: The pattern 'info' can never match the type 'debug'
user_defined_event_handler.erl:45: The pattern 'do_not_print' can never match the type 'error_msg'
user_defined_event_handler.erl:45: The pattern 'debug' can never match the type 'error'
user_defined_event_handler.erl:45: The pattern 'info' can never match the type 'error'
beehive_git_srv.erl:28: The variable _ can never match since previous clauses completely covered the type 'debug'
beehive_git_srv.erl:28: The pattern 'info' can never match the type 'debug'
beehive_git_srv.erl:35: The pattern 'do_not_print' can never match the type 'error_msg'
beehive_git_srv.erl:35: The pattern 'debug' can never match the type 'error'
beehive_git_srv.erl:35: The pattern 'info' can never match the type 'error'
beehive_git_srv.erl:45: The pattern 'do_not_print' can never match the type 'error_msg'
beehive_git_srv.erl:45: The pattern 'debug' can never match the type 'error'
beehive_git_srv.erl:45: The pattern 'info' can never match the type 'error'
bh_upload_pack.erl:24: Call to missing or unexported function re:match/2
apps.erl:53: The pattern T = {'error', _} can never match the type #app{dynamic::'dynamic'}
bees.erl:76: The pattern T = {'error', _} can never match the type #bee{}
user_apps.erl:132: The pattern T = {'error', _} can never match the type #user_app{}
user_apps.erl:156: Call to missing or unexported function beehive_db_srv:delete/1
users.erl:80: The pattern T = {'error', _} can never match the type #user{}
users.erl:105: Call to missing or unexported function beehive_db_srv:delete/1
users.erl:183: The variable Error can never match since previous clauses completely covered the type 'ok'
apps_controller.erl:54: The pattern 'do_not_print' can never match the type 'error_msg'
apps_controller.erl:54: The pattern 'debug' can never match the type 'error'
apps_controller.erl:54: The pattern 'info' can never match the type 'error'
apps_controller.erl:130: Function rebuild_bee/1 will never be called
bees_controller.erl:49: Call to missing or unexported function bees:delete/3
stats_controller.erl:68: Call to missing or unexported function bee_store:get_proxy_state/0
rest_server.erl:153: The pattern 'do_not_print' can never match the type 'error_msg'
rest_server.erl:153: The pattern 'debug' can never match the type 'error'
rest_server.erl:153: The pattern 'info' can never match the type 'error'
beehive_builder.erl:90: Call to missing or unexported function node_manager:read_babysitter_config/0
beehive_builder.erl:111: The pattern <'undefined', _> can never match the type <#app{},[char() | {'bee_image',binary() | [any()]} | {'host',_} | {'port',integer()} | {'scratch_dir',_} | {'squashed_disk',atom() | binary() | [any()]},...]>
beehive_builder.erl:165: Function error/1 has no local return
bh_host.erl:50: The pattern 'true' can never match the type 'false'
config.erl:40: The pattern 'undefined' can never match the type {'error','not_found'} | {'ok',_}
misc_utils.erl:154: Call to missing or unexported function node_manager:read_babysitter_config/0
sanity_checks.erl:34: The variable _ can never match since previous clauses completely covered the type 'ok'
sanity_checks.erl:35: The created fun has no local return
slugger.erl:20: The pattern {'file', _} can never match the type {[any()],[atom()]}
proxy_handler.erl:59: The variable _ can never match since previous clauses completely covered the type 'debug'
proxy_handler.erl:59: The pattern 'info' can never match the type 'debug'
proxy_handler.erl:146: The pattern 'do_not_print' can never match the type 'error_msg'
proxy_handler.erl:146: The pattern 'debug' can never match the type 'error'
proxy_handler.erl:146: The pattern 'info' can never match the type 'error'
tcp_socket_server.erl:47: The pattern 'do_not_print' can never match the type 'error_msg'
tcp_socket_server.erl:47: The pattern 'debug' can never match the type 'error'
tcp_socket_server.erl:47: The pattern 'info' can never match the type 'error'
tcp_socket_server.erl:65: The pattern 'do_not_print' can never match the type 'error_msg'
tcp_socket_server.erl:65: The pattern 'debug' can never match the type 'error'
tcp_socket_server.erl:65: The pattern 'info' can never match the type 'error'