Code Duplication    Length = 4-4 lines in 2 locations

class.jetpack-autoupdate.php 2 locations

@@ 185-188 (lines=4) @@
182
		$instance = Jetpack::init();
183
		$log      = array();
184
		// Bump numbers
185
		if ( ! empty( $this->success['plugin'] ) ) {
186
			$instance->stat( 'autoupdates/plugin-success', count( $this->success['plugin'] ) );
187
			$log['plugins_success'] = $this->success['plugin'];
188
		}
189
190
		if ( ! empty( $this->failed['plugin'] ) ) {
191
			$instance->stat( 'autoupdates/plugin-fail', count( $this->failed['plugin'] ) );
@@ 190-193 (lines=4) @@
187
			$log['plugins_success'] = $this->success['plugin'];
188
		}
189
190
		if ( ! empty( $this->failed['plugin'] ) ) {
191
			$instance->stat( 'autoupdates/plugin-fail', count( $this->failed['plugin'] ) );
192
			$log['plugins_failed'] = $this->failed['plugin'];
193
		}
194
195
		if ( ! empty( $this->success['theme'] ) ) {
196
			$instance->stat( 'autoupdates/theme-success', count( $this->success['theme'] ) );