Code Duplication    Length = 5-5 lines in 2 locations

application/tests/_ci_phpunit_test/replacing/core/Loader.php 2 locations

@@ 412-416 (lines=5) @@
409
	{
410
		$CI =& get_instance();
411
412
		if ( ! is_object($db) OR ! ($db instanceof CI_DB))
413
		{
414
			class_exists('CI_DB', FALSE) OR $this->database();
415
			$db =& $CI->db;
416
		}
417
418
		require_once(BASEPATH.'database/DB_utility.php');
419
		require_once(BASEPATH.'database/drivers/'.$db->dbdriver.'/'.$db->dbdriver.'_utility.php');
@@ 443-447 (lines=5) @@
440
	public function dbforge($db = NULL, $return = FALSE)
441
	{
442
		$CI =& get_instance();
443
		if ( ! is_object($db) OR ! ($db instanceof CI_DB))
444
		{
445
			class_exists('CI_DB', FALSE) OR $this->database();
446
			$db =& $CI->db;
447
		}
448
449
		require_once(BASEPATH.'database/DB_forge.php');
450
		require_once(BASEPATH.'database/drivers/'.$db->dbdriver.'/'.$db->dbdriver.'_forge.php');