Code Duplication    Length = 9-10 lines in 2 locations

packages/sync/src/Replicastore.php 2 locations

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