Function (File:Line) |
Call count |
Block coverage |
accept_new_client (src/client/handler.c:12) | not called | 0.0% |
add_element_to_inventory (src/commands/ai/take.c:23) | called 2 times, returned 2 times | 74.0% |
add_element_to_map (src/utils/map.c:26) | called 31 times, returned 31 times | 100.0% |
add_object (src/init.c:56) | not called | 0.0% |
add_object (src/meteors.c:28) | not called | 0.0% |
adjust_angle_receiver_rotation (src/commands/ai/broadcast.c:11) | called 50 times, returned 50 times | 33.0% |
append_tile_to_payload (src/commands/ai/look.c:93) | called 4 times, returned 4 times | 90.0% |
are_requierment_met_encapsulation (src/commands/ai/incantation.c:132) | called 8 times, returned 8 times | 100.0% |
array_len (src/utils/arrays.c:10) | not called | 0.0% |
asign_egg_to_client (src/commands/ai/connector.c:22) | not called | 0.0% |
bct (src/commands/gui/bct.c:28) | called 3 times, returned 3 times | 86.0% |
broadcast (src/commands/ai/broadcast.c:74) | called 5 times, returned 5 times | 100.0% |
callback_end_incantation_set_payload (src/commands/ai/incantation_callback.c:49) | called 9 times, returned 9 times | 100.0% |
callback_freeze (src/commands/ai/incantation_callback.c:11) | called 9 times, returned 9 times | 100.0% |
callback_level_up (src/commands/ai/incantation_callback.c:19) | called 9 times, returned 9 times | 100.0% |
callback_start_incantation_set_payload (src/commands/ai/incantation_callback.c:41) | called 9 times, returned 9 times | 100.0% |
callback_unfreeze (src/commands/ai/incantation_callback.c:33) | not called | 0.0% |
check_connections (src/server.c:48) | not called | 0.0% |
check_error_flags (src/utils/flags.c:140) | called 2 times, returned 2 times | 56.0% |
check_number_flags (src/utils/flags.c:108) | called 3 times, returned 3 times | 93.0% |
check_object_in_lookup_table (src/commands/ai/look.c:67) | called 16 times, returned 16 times | 100.0% |
check_requirements_met (src/commands/ai/incantation.c:37) | called 8 times, returned 8 times | 100.0% |
check_response_client_time (src/server.c:131) | not called | 0.0% |
client_time_handler (src/utils/client.c:11) | called 29 times, returned 29 times | 89.0% |
connect_nbr (src/commands/ai/connect_nbr.c:10) | called 2 times, returned 2 times | 100.0% |
connector (src/commands/ai/connector.c:140) | called 2 times, returned 2 times | 42.0% |
copy_map (src/commands/ai/look.c:33) | called 1 time, returned 1 time | 100.0% |
count_flags (src/utils/flags.c:10) | called 3 times, returned 3 times | 100.0% |
count_lines (src/utils/str_to_array.c:39) | called 4 times, returned 4 times | 100.0% |
count_nb_names (src/utils/flags.c:30) | called 2 times, returned 2 times | 100.0% |
create_eggs (src/teams.c:10) | called 2 times, returned 2 times | 100.0% |
create_new_client (src/client/handler.c:25) | not called | 0.0% |
delete_eggs_on_tile (src/commands/ai/eject.c:25) | called 1 time, returned 1 time | 60.0% |
destroy_clients (src/client/lists.c:58) | called 1 time, returned 1 time | 100.0% |
destroy_flags (src/destroy.c:10) | called 1 time, returned 1 time | 100.0% |
destroy_server (src/destroy.c:22) | not called | 0.0% |
destroy_teams (src/teams.c:45) | called 1 time, returned 1 time | 86.0% |
does_object_exist_on_tile (src/commands/ai/take.c:45) | called 2 times, returned 2 times | 80.0% |
eject (src/commands/ai/eject.c:71) | called 1 time, returned 1 time | 100.0% |
end_assign_egg_to_client (src/commands/ai/connector.c:10) | not called | 0.0% |
execute_command (src/commands/handler.c:37) | called 2 times, returned 2 times | 11.0% |
fill_flags (src/utils/flags.c:71) | called 16 times, returned 16 times | 100.0% |
fill_objects (src/meteors.c:52) | not called | 0.0% |
find_object_type (src/commands/ai/set.c:45) | called 2 times, returned 2 times | 100.0% |
fork_z (src/commands/ai/fork.c:11) | not called | 0.0% |
forward (src/commands/ai/forward.c:10) | called 5 times, returned 5 times | 70.0% |
free_array (src/utils/arrays.c:20) | called 2 times, returned 2 times | 100.0% |
get_client (src/client/handler.c:48) | not called | 0.0% |
get_int (src/utils/flags.c:20) | called 13 times, returned 13 times | 100.0% |
get_interval (src/server.c:57) | not called | 0.0% |
get_map_density (src/utils/map.c:61) | not called | 0.0% |
get_names (src/utils/flags.c:43) | called 2 times, returned 2 times | 100.0% |
get_nb_players_on_tile (src/commands/ai/incantation.c:95) | called 8 times, returned 8 times | 100.0% |
get_object_from_string (src/commands/ai/take.c:54) | called 3 times, returned 3 times | 100.0% |
get_orientation_to_tile (src/commands/ai/eject.c:33) | called 1 time, returned 1 time | 50.0% |
get_sound_direction (src/commands/ai/broadcast.c:30) | called 50 times, returned 50 times | 89.0% |
get_team_by_name (src/utils/teams.c:10) | not called | 0.0% |
get_tile (src/commands/ai/connector.c:79) | not called | 0.0% |
get_tile (src/commands/ai/incantation.c:20) | called 8 times, returned 8 times | 100.0% |
get_tile (src/commands/gui/bct.c:11) | called 2 times, returned 2 times | 100.0% |
get_tile (src/commands/gui/mct.c:10) | called 4 times, returned 4 times | 75.0% |
get_tile (src/meteors.c:11) | not called | 0.0% |
handle_client_data (src/client/handler.c:112) | not called | 0.0% |
handle_client_death (src/death.c:19) | not called | 0.0% |
handle_client_life (src/death.c:45) | not called | 0.0% |
handle_client_message (src/commands/handler.c:61) | called 4 times, returned 4 times | 100.0% |
handle_connections (src/server.c:36) | not called | 0.0% |
handle_look (src/commands/ai/look.c:109) | called 1 time, returned 1 time | 100.0% |
handle_meteors (src/meteors.c:63) | not called | 0.0% |
handle_quit_client (src/client/handler.c:60) | not called | 0.0% |
handle_response (src/utils/asprintf_response.c:11) | called 49 times, returned 49 times | 100.0% |
helper (src/utils/helper.c:10) | not called | 0.0% |
incantation (src/commands/ai/incantation.c:151) | called 5 times, returned 5 times | 100.0% |
incantation_callback_end_of_command (src/commands/ai/incantation.c:166) | called 3 times, returned 3 times | 75.0% |
init_bools (src/client/lists.c:23) | called 7 times, returned 7 times | 100.0% |
init_client (src/client/lists.c:34) | called 7 times, returned 7 times | 100.0% |
init_egg (src/eggs.c:10) | called 10 times, returned 10 times | 100.0% |
init_flags (src/utils/flags.c:164) | called 3 times, returned 3 times | 100.0% |
init_inventory (src/client/lists.c:12) | called 7 times, returned 7 times | 100.0% |
init_map (src/init.c:43) | not called | 0.0% |
init_meteor (src/init.c:65) | not called | 0.0% |
init_server (src/init.c:79) | not called | 0.0% |
init_socket_address (src/init.c:12) | not called | 0.0% |
init_team (src/teams.c:25) | called 2 times, returned 2 times | 88.0% |
init_teams (src/init.c:23) | not called | 0.0% |
inventory (src/commands/ai/inventory.c:14) | called 1 time, returned 1 time | 67.0% |
is_freq_flag (src/utils/flags.c:99) | called 3 times, returned 3 times | 100.0% |
is_separator (src/utils/str_to_array.c:18) | called 60 times, returned 60 times | 100.0% |
left (src/commands/ai/left.c:20) | called 4 times, returned 4 times | 91.0% |
look (src/commands/ai/look.c:131) | called 1 time, returned 1 time | 77.0% |
mct (src/commands/gui/mct.c:27) | called 1 time, returned 1 time | 100.0% |
message_to_graphicals (src/commands/message_to_graphicals.c:12) | called 37 times, returned 37 times | 91.0% |
msz (src/commands/gui/msz.c:10) | called 1 time, returned 1 time | 100.0% |
my_cols_counter (src/utils/str_to_array.c:29) | called 2 times, returned 2 times | 89.0% |
object_to_string (src/commands/ai/look.c:86) | called 4 times, returned 4 times | 100.0% |
pin (src/commands/gui/pin.c:10) | called 1 time, returned 1 time | 67.0% |
plv (src/commands/gui/plv.c:10) | called 1 time, returned 1 time | 67.0% |
populate_map_with_players (src/commands/ai/look.c:49) | called 1 time, returned 1 time | 86.0% |
ppo (src/commands/gui/ppo.c:10) | called 1 time, returned 1 time | 67.0% |
print_clients_fds (src/client/lists.c:79) | called 1 time, returned 1 time | 100.0% |
print_egg_graphic (src/server.c:80) | not called | 0.0% |
print_eggs (src/commands/ai/connector.c:50) | not called | 0.0% |
print_flags (src/utils/flags.c:129) | not called | 0.0% |
print_map (src/utils/map.c:92) | called 1 time, returned 1 time | 100.0% |
print_map_to_gui (src/commands/ai/connector.c:96) | not called | 0.0% |
print_string_array (src/utils/arrays.c:30) | not called | 0.0% |
print_teams (src/commands/ai/connector.c:68) | not called | 0.0% |
print_teams_infos (src/teams.c:54) | not called | 0.0% |
print_tile (src/utils/map.c:82) | called 100 times, returned 100 times | 100.0% |
purge_eggs_from_team (src/commands/ai/eject.c:11) | not called | 0.0% |
rand_p (src/utils/rand.c:10) | called 7 times, returned 7 times | 100.0% |
read_until_newline (src/client/handler.c:89) | not called | 0.0% |
remove_client_by_fd (src/client/lists.c:67) | called 1 time, returned 1 time | 78.0% |
remove_element_from_inventory (src/commands/ai/set.c:23) | called 1 time, returned 1 time | 74.0% |
remove_element_from_map (src/utils/map.c:37) | called 6 times, returned 6 times | 88.0% |
remove_resource_from_tile (src/commands/ai/incantation.c:56) | called 24 times, returned 24 times | 100.0% |
remove_resources (src/commands/ai/incantation.c:71) | called 3 times, returned 3 times | 100.0% |
right (src/commands/ai/right.c:20) | called 6 times, returned 6 times | 91.0% |
run_logic_on_group (src/commands/ai/incantation.c:113) | called 12 times, returned 12 times | 100.0% |
secure_free (src/utils/free.c:10) | called 4 times, returned 4 times | 100.0% |
send_broadcast_to_graphicals (src/commands/ai/broadcast.c:56) | called 5 times, returned 5 times | 70.0% |
send_command (src/server.c:103) | not called | 0.0% |
send_data_to_graphiscs (src/commands/ai/eject.c:64) | called 1 time, returned 1 time | 100.0% |
send_everything (src/commands/ai/connector.c:129) | not called | 0.0% |
send_pin_for_food_update (src/death.c:10) | not called | 0.0% |
send_players (src/commands/ai/connector.c:110) | not called | 0.0% |
send_start_incantation_to_graphicals (src/commands/ai/incantation_graphical.c:11) | called 3 times, returned 3 times | 93.0% |
server (src/server.c:170) | not called | 0.0% |
set (src/commands/ai/set.c:57) | called 2 times, returned 2 times | 79.0% |
set_dx (src/commands/ai/eject.c:46) | called 1 time, returned 1 time | 75.0% |
set_dy (src/commands/ai/eject.c:55) | called 1 time, returned 1 time | 50.0% |
set_line (src/utils/str_to_array.c:53) | called 2 times, returned 2 times | 100.0% |
sgt (src/commands/gui/sgt.c:10) | not called | 0.0% |
signint_handler (src/server.c:16) | not called | 0.0% |
sigpipe_handler (src/server.c:31) | not called | 0.0% |
sst (src/commands/gui/sst.c:10) | not called | 0.0% |
start_server (src/server.c:146) | not called | 0.0% |
str_is_num (src/utils/strings.c:12) | called 13 times, returned 13 times | 100.0% |
str_to_array_separator (src/utils/str_to_array.c:64) | called 4 times, returned 4 times | 93.0% |
take (src/commands/ai/take.c:67) | called 3 times, returned 3 times | 81.0% |
team_nb_slots (src/utils/teams.c:23) | called 4 times, returned 4 times | 40.0% |
tna (src/commands/gui/tna.c:10) | called 1 time, returned 1 time | 100.0% |