coverage lcov statement added 48/298448/1 accepted/tizen/unified/20230908.185256
authorKamaljeet Chauhan <kamal.jc@samsung.com>
Thu, 7 Sep 2023 05:59:37 +0000 (11:29 +0530)
committerKamaljeet Chauhan <kamal.jc@samsung.com>
Thu, 7 Sep 2023 05:59:37 +0000 (11:29 +0530)
Change-Id: I5249ba86e431dea79319dee3dd6485ad1def85da
Signed-off-by: Kamaljeet Chauhan <kamal.jc@samsung.com>
common/ctsvc_record_contact.c
common/ctsvc_vcard.c
server/ctsvc_number_utils.c
server/db/ctsvc_db_plugin_contact_helper.c
server/db/ctsvc_db_query.c

index dd8c5e4..2db6e22 100644 (file)
@@ -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;
index 443efa8..288a28e 100644 (file)
@@ -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;
index 6958cea..34e3ac8 100644 (file)
@@ -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;
index 96d1f4c..9a2e0da 100644 (file)
@@ -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)
 {
index 69c38a6..71f4f2b 100644 (file)
@@ -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)
 {