.dev/tests/unit/class_security_test.Test.php

Summary

Maintainability
A
3 hrs
Test Coverage

Method test_xss_clean has 97 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function test_xss_clean()
    {
        $this->assertEquals(_class('security')->xss_clean('script'), 'script');
        $this->assertEquals(_class('security')->xss_clean('<script'), '&lt;script');
        $this->assertEquals(_class('security')->xss_clean('<img src="javascript:alert(document.cookie)" />'), '<img  />');
Severity: Major
Found in .dev/tests/unit/class_security_test.Test.php - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status