Code Duplication    Length = 5-5 lines in 2 locations

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

@@ 424-428 (lines=5) @@
421
	{
422
		$CI =& get_instance();
423
424
		if ( ! is_object($db) OR ! ($db instanceof CI_DB))
425
		{
426
			class_exists('CI_DB', FALSE) OR $this->database();
427
			$db =& $CI->db;
428
		}
429
430
		require_once(BASEPATH.'database/DB_utility.php');
431
		require_once(BASEPATH.'database/drivers/'.$db->dbdriver.'/'.$db->dbdriver.'_utility.php');
@@ 457-461 (lines=5) @@
454
	public function dbforge($db = NULL, $return = FALSE)
455
	{
456
		$CI =& get_instance();
457
		if ( ! is_object($db) OR ! ($db instanceof CI_DB))
458
		{
459
			class_exists('CI_DB', FALSE) OR $this->database();
460
			$db =& $CI->db;
461
		}
462
463
		require_once(BASEPATH.'database/DB_forge.php');
464
		require_once(BASEPATH.'database/drivers/'.$db->dbdriver.'/'.$db->dbdriver.'_forge.php');