From: Kamaljeet Chauhan Date: Thu, 7 Sep 2023 05:59:37 +0000 (+0530) Subject: coverage lcov statement added X-Git-Tag: accepted/tizen/unified/20230908.185256^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1a26f05de880a38a64d58cd642f6e9d6adbf08b4;p=platform%2Fcore%2Fpim%2Fcontacts-service.git coverage lcov statement added Change-Id: I5249ba86e431dea79319dee3dd6485ad1def85da Signed-off-by: Kamaljeet Chauhan --- diff --git a/common/ctsvc_record_contact.c b/common/ctsvc_record_contact.c index dd8c5e4..2db6e22 100644 --- a/common/ctsvc_record_contact.c +++ b/common/ctsvc_record_contact.c @@ -1424,6 +1424,7 @@ static int __ctsvc_contact_get_int(contacts_record_h record, unsigned int proper return CONTACTS_ERROR_NONE; } +/* LCOV_EXCL_START */ static int __ctsvc_simple_contact_get_int(contacts_record_h record, unsigned int property_id, int *out) { ctsvc_simple_contact_s *contact = (ctsvc_simple_contact_s*)record; diff --git a/common/ctsvc_vcard.c b/common/ctsvc_vcard.c index 443efa8..288a28e 100644 --- a/common/ctsvc_vcard.c +++ b/common/ctsvc_vcard.c @@ -200,6 +200,8 @@ static void __ctsvc_vcard_initial(void) } }; +/* LCOV_EXCL_START */ + static int __ctsvc_vcard_append_str(char **buf, int *buf_size, int len, const char *str, bool need_conversion) { int len_temp = 0; diff --git a/server/ctsvc_number_utils.c b/server/ctsvc_number_utils.c index 6958cea..34e3ac8 100644 --- a/server/ctsvc_number_utils.c +++ b/server/ctsvc_number_utils.c @@ -276,6 +276,7 @@ static const ctsvc_mcc_cc_map __mcc_cc_list[] = { static char *cc = NULL; static TapiHandle *handle_for_cc = NULL; +/* LCOV_EXCL_START */ char* ctsvc_get_network_cc(bool reload) { int i; diff --git a/server/db/ctsvc_db_plugin_contact_helper.c b/server/db/ctsvc_db_plugin_contact_helper.c index 96d1f4c..9a2e0da 100644 --- a/server/db/ctsvc_db_plugin_contact_helper.c +++ b/server/db/ctsvc_db_plugin_contact_helper.c @@ -62,6 +62,7 @@ #define CTSVC_CONTACT_INITIAL_DATA_MAX_LEN 128 +/* LCOV_EXCL_START */ int ctsvc_contact_add_image_file(int parent_id, int img_id, char *src_img, char *dest, int dest_size) { diff --git a/server/db/ctsvc_db_query.c b/server/db/ctsvc_db_query.c index 69c38a6..71f4f2b 100644 --- a/server/db/ctsvc_db_query.c +++ b/server/db/ctsvc_db_query.c @@ -97,6 +97,7 @@ typedef enum { static contacts_db_status_e __db_status = CONTACTS_DB_STATUS_NORMAL; +/* LCOV_EXCL_START */ static const char * __ctsvc_db_get_property_field_name(const property_info_s *properties, int count, db_query_property_type_e property_type, unsigned int property_id) {