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 dd8c5e40df80cb2f914fbffe238571d9023e1dfc..2db6e224d8bd9533948952f2c15683fd28b56b49 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 443efa8989893ecdc35674714235cb353e72305c..288a28e4b4aa1e94fdfc958c242920caa62d70d4 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 6958ceaccfa063f579cb8a4f841d74acda94c9b6..34e3ac8cb6ffc01a9d17718089c26bc3a15f50ba 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 96d1f4c6f13f1846267993bfe1dedc4bdde45e9d..9a2e0da9a25f7ffc6a5914d65fb330f7bda30357 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 69c38a6c1677b9bc6bec22c613f80c974a3838d2..71f4f2bb62600a0a004761bdf27cfa3fa94c5ad1 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)
 {