TD n°2 : Complexité cyclomatique
Go to file
2024-09-17 11:38:00 +02:00
ping-report td2 diagramme 2024-09-17 11:38:00 +02:00
Diagramme get_ping_from_temp_log.png td2 diagramme 2024-09-17 11:38:00 +02:00
Diagramme set_stats_ping.png td2 diagramme 2024-09-17 11:38:00 +02:00
exemple_1.c Téléverser les fichiers vers "/" 2024-09-16 20:36:19 +02:00
exemple_2.c Téléverser les fichiers vers "/" 2024-09-16 20:36:19 +02:00
README td2 diagramme 2024-09-17 11:38:00 +02:00

# Binome :
Axel Pietrois
Simon Saye Babu

## Complexité :
daemon.c 
    create_daemon() = 3
    ping_request() = 2
    send_check() = 4
    check_keep_working() = 4
    daemon_work() = 2

db-sqlite.c
    db_connect() = 1
    db_disconnect() = 1
    insert_hourly_report() = 1

ping-report.c
    main() = 4

stats.c
    get_ping_from_temp_log() = 15
    write_ping_log() = 4
    set_stats_ping() = 23

utils.c
    write_pid_file() = 2
    remove_file() = 1