Code Duplication    Length = 3-3 lines in 3 locations

src/wp-includes/ID3/getid3.php 3 locations

@@ 1545-1547 (lines=3) @@
1542
			if (isset($this->info['replay_gain']['track']['adjustment'])) {
1543
				$this->info['replay_gain']['track']['volume'] = $this->info['replay_gain']['reference_volume'] - $this->info['replay_gain']['track']['adjustment'];
1544
			}
1545
			if (isset($this->info['replay_gain']['album']['adjustment'])) {
1546
				$this->info['replay_gain']['album']['volume'] = $this->info['replay_gain']['reference_volume'] - $this->info['replay_gain']['album']['adjustment'];
1547
			}
1548
1549
			if (isset($this->info['replay_gain']['track']['peak'])) {
1550
				$this->info['replay_gain']['track']['max_noclip_gain'] = 0 - getid3_lib::RGADamplitude2dB($this->info['replay_gain']['track']['peak']);
@@ 1549-1551 (lines=3) @@
1546
				$this->info['replay_gain']['album']['volume'] = $this->info['replay_gain']['reference_volume'] - $this->info['replay_gain']['album']['adjustment'];
1547
			}
1548
1549
			if (isset($this->info['replay_gain']['track']['peak'])) {
1550
				$this->info['replay_gain']['track']['max_noclip_gain'] = 0 - getid3_lib::RGADamplitude2dB($this->info['replay_gain']['track']['peak']);
1551
			}
1552
			if (isset($this->info['replay_gain']['album']['peak'])) {
1553
				$this->info['replay_gain']['album']['max_noclip_gain'] = 0 - getid3_lib::RGADamplitude2dB($this->info['replay_gain']['album']['peak']);
1554
			}
@@ 1552-1554 (lines=3) @@
1549
			if (isset($this->info['replay_gain']['track']['peak'])) {
1550
				$this->info['replay_gain']['track']['max_noclip_gain'] = 0 - getid3_lib::RGADamplitude2dB($this->info['replay_gain']['track']['peak']);
1551
			}
1552
			if (isset($this->info['replay_gain']['album']['peak'])) {
1553
				$this->info['replay_gain']['album']['max_noclip_gain'] = 0 - getid3_lib::RGADamplitude2dB($this->info['replay_gain']['album']['peak']);
1554
			}
1555
		}
1556
		return true;
1557
	}