Code Duplication    Length = 5-5 lines in 2 locations

include/captcha/scripts/img.php 2 locations

@@ 383-387 (lines=5) @@
380
     */
381
    public function drawBars()
382
    {
383
        for ($i = 0; $i <= $this->height;) {
384
            $randomcolor = imagecolorallocate($this->oImage, mt_rand(190, 255), mt_rand(190, 255), mt_rand(190, 255));
385
            imageline($this->oImage, 0, $i, $this->width, $i, $randomcolor);
386
            $i += 2.5;
387
        }
388
        for ($i = 0; $i <= $this->width;) {
389
            $randomcolor = imagecolorallocate($this->oImage, mt_rand(190, 255), mt_rand(190, 255), mt_rand(190, 255));
390
            imageline($this->oImage, $i, 0, $i, $this->height, $randomcolor);
@@ 388-392 (lines=5) @@
385
            imageline($this->oImage, 0, $i, $this->width, $i, $randomcolor);
386
            $i += 2.5;
387
        }
388
        for ($i = 0; $i <= $this->width;) {
389
            $randomcolor = imagecolorallocate($this->oImage, mt_rand(190, 255), mt_rand(190, 255), mt_rand(190, 255));
390
            imageline($this->oImage, $i, 0, $i, $this->height, $randomcolor);
391
            $i += 2.5;
392
        }
393
    }
394
395
    /**