.dev/tests/unit/class_security_test.Test.php
Method test_xss_clean
has 97 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function test_xss_clean()
{
$this->assertEquals(_class('security')->xss_clean('script'), 'script');
$this->assertEquals(_class('security')->xss_clean('<script'), '<script');
$this->assertEquals(_class('security')->xss_clean('<img src="javascript:alert(document.cookie)" />'), '<img />');