Code Duplication    Length = 9-10 lines in 2 locations

sync/class.jetpack-sync-wp-replicastore.php 2 locations

@@ 663-672 (lines=10) @@
660
					$columns = Jetpack_Sync_Defaults::$default_post_checksum_columns;
661
				}
662
				break;
663
			case 'post_meta':
664
				$object_table = $wpdb->postmeta;
665
				$where_sql    = Jetpack_Sync_Settings::get_whitelisted_post_meta_sql();
666
				$object_count = $this->meta_count( $object_table, $where_sql, $start_id, $end_id );
667
				$id_field     = 'meta_id';
668
669
				if ( empty( $columns ) ) {
670
					$columns = Jetpack_Sync_Defaults::$default_post_meta_checksum_columns;
671
				}
672
				break;
673
			case 'comments':
674
				$object_count = $this->comment_count( null, $start_id, $end_id );
675
				$object_table = $wpdb->comments;
@@ 682-690 (lines=9) @@
679
					$columns = Jetpack_Sync_Defaults::$default_comment_checksum_columns;
680
				}
681
				break;
682
			case 'comment_meta':
683
				$object_table = $wpdb->commentmeta;
684
				$where_sql    = Jetpack_Sync_Settings::get_whitelisted_comment_meta_sql();
685
				$object_count = $this->meta_count( $object_table, $where_sql, $start_id, $end_id );
686
				$id_field     = 'meta_id';
687
				if ( empty( $columns ) ) {
688
					$columns = Jetpack_Sync_Defaults::$default_post_meta_checksum_columns;
689
				}
690
				break;
691
			default:
692
				return false;
693
		}