add comment to exclude code from code coverage 37/79337/1 accepted/tizen/3.0/ivi/20161011.053452 accepted/tizen/3.0/mobile/20161015.032202 accepted/tizen/3.0/tv/20161016.003328 accepted/tizen/3.0/wearable/20161015.080256 accepted/tizen/common/20160713.050600 accepted/tizen/ivi/20160712.132248 accepted/tizen/mobile/20160712.132148 accepted/tizen/tv/20160712.132208 accepted/tizen/wearable/20160712.132223 submit/tizen/20160712.090432 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000000 submit/tizen_3.0_ivi/20161010.000010 submit/tizen_3.0_mobile/20161015.000000 submit/tizen_3.0_tv/20161015.000000 submit/tizen_3.0_wearable/20161015.000000
authorSukHyung, Kang <shine.kang@samsung.com>
Mon, 11 Jul 2016 04:36:07 +0000 (13:36 +0900)
committerSukHyung, Kang <shine.kang@samsung.com>
Mon, 11 Jul 2016 04:36:07 +0000 (13:36 +0900)
Change-Id: I4f5b57a0dc422a9c29a3deef59ed5628a51ed094
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
src/bundle.c
src/keyval.c
src/keyval_array.c

index c49e6ed..7879a5e 100644 (file)
@@ -898,19 +898,23 @@ int bundle_get_type(bundle *b, const char *key)
 /*
  * Get length of an array
  */
+/* LCOV_EXCL_START */
 unsigned int bundle_get_array_len(bundle *b, const char *key)
 {
        return BUNDLE_ERROR_NONE;
 }
+/* LCOV_EXCL_STOP */
 
 /*
  * Get size of an item in byte, of given pointer
  */
+/* LCOV_EXCL_START */
 size_t bundle_get_array_val_size(bundle *b, const char *key,
                const void *val_ptr)
 {
        return BUNDLE_ERROR_NONE;
 }
+/* LCOV_EXCL_STOP */
 
 static int bundle_set_array_val(bundle *b, const char *key, const int type,
                const unsigned int idx, const void *val, const size_t size)
@@ -946,12 +950,14 @@ int bundle_add_str_array(bundle *b, const char *key, const char **str_array,
        return _bundle_add_kv(b, key, str_array, 0, BUNDLE_TYPE_STR_ARRAY, len);
 }
 
+/* LCOV_EXCL_START */
 int bundle_get_val_array(bundle *b, const char *key, char ***str_array,
                int *len)
 {
        return _bundle_get_val(b, key, BUNDLE_TYPE_STR_ARRAY,
                        (void **)str_array, NULL, (unsigned int *)len, NULL);
 }
+/* LCOV_EXCL_STOP */
 
 const char **bundle_get_str_array(bundle *b, const char *key, int *len)
 {
@@ -964,6 +970,7 @@ const char **bundle_get_str_array(bundle *b, const char *key, int *len)
        return arr_val;
 }
 
+/* LCOV_EXCL_START */
 int bundle_compare(bundle *b1, bundle *b2)
 {
        keyval_t *kv1;
@@ -985,6 +992,7 @@ int bundle_compare(bundle *b1, bundle *b2)
 
        return 0;
 }
+/* LCOV_EXCL_STOP */
 
 int bundle_set_str_array_element(bundle *b, const char *key,
                const unsigned int idx, const char *val)
index 4ca41bd..9dda300 100755 (executable)
@@ -117,6 +117,7 @@ int keyval_get_data(keyval_t *kv, int *type, void **val, size_t *size)
        return 0;
 }
 
+/* LCOV_EXCL_START */
 int keyval_compare(keyval_t *kv1, keyval_t *kv2)
 {
        if (!kv1 || !kv2)
@@ -138,6 +139,7 @@ int keyval_compare(keyval_t *kv1, keyval_t *kv2)
 
        return 0;
 }
+/* LCOV_EXCL_STOP */
 
 size_t keyval_get_encoded_size(keyval_t *kv)
 {
index 8774140..b9d9886 100755 (executable)
@@ -125,6 +125,7 @@ void keyval_array_free(keyval_array_t *kva, int do_free_object)
                free(kva);
 }
 
+/* LCOV_EXCL_START */
 int keyval_array_compare(keyval_array_t *kva1, keyval_array_t *kva2)
 {
        keyval_t *kv1;
@@ -156,6 +157,7 @@ int keyval_array_compare(keyval_array_t *kva1, keyval_array_t *kva2)
 
        return 0;
 }
+/* LCOV_EXCL_STOP */
 
 int keyval_array_copy_array(keyval_array_t *kva, void **array_val,
                unsigned int array_len, size_t (*measure_val_len)(void *val))