Created at 2023-12-20 20:08:40 , with PHPMetrics v2.8.2 (Jean-François Lépine).
Test suites
23
Assertions
890
classes never called by tests (57.14 %)
12

These classes are never called by tests

Tests with high Cyclomatic number or high probability of bugs should be covered by unit tests.
Class Cyclomatic Bugs
Symftony\Xpression\Exception\Lexer\LexerException 1 0
Symftony\Xpression\Exception\Lexer\UnknownTokenTypeException 1 0.01
Symftony\Xpression\Exception\Expr\UnsupportedExpressionTypeException 1 0.01
Symftony\Xpression\Exception\Parser\UnsupportedTokenTypeException 2 0.02
Symftony\Xpression\Exception\Parser\UnexpectedTokenException 2 0.02
Symftony\Xpression\Exception\Parser\ParserException 1 0
Symftony\Xpression\Exception\Parser\InvalidExpressionException 2 0.02
Symftony\Xpression\Exception\Parser\SyntaxErrorException 2 0.01
Symftony\Xpression\Exception\Parser\TokenException 1 0.01
Symftony\Xpression\Exception\Parser\UnknownCompositeTypeException 2 0.01
Symftony\Xpression\Exception\Parser\ForbiddenTokenException 2 0.02

Execution time of tests

These classes are called by tests

TestSuite Called by these classes
Tests\Symftony\Xpression\Bridge\Doctrine\Common\ExpressionBuilderAdapterTest - PHPUnit\Framework\TestCase
- Doctrine\Common\Collections\ExpressionBuilder
2 Symftony\Xpression\Bridge\Doctrine\Common\ExpressionBuilderAdapter
- Doctrine\Common\Collections\Expr\Comparison
- Doctrine\Common\Collections\Expr\CompositeExpression
Tests\Symftony\Xpression\Bridge\Doctrine\Common\ParserTest - PHPUnit\Framework\TestCase
- Doctrine\Common\Collections\ExpressionBuilder
2 Symftony\Xpression\Bridge\Doctrine\Common\ExpressionBuilderAdapter
51 Symftony\Xpression\Parser
- Doctrine\Common\Collections\Expr\Comparison
- Doctrine\Common\Collections\Expr\CompositeExpression
- Doctrine\Common\Collections\Expr\Expression
Tests\Symftony\Xpression\Bridge\Doctrine\ORM\ExprAdapterTest - PHPUnit\Framework\TestCase
- Doctrine\ORM\Query\Expr
2 Symftony\Xpression\Bridge\Doctrine\ORM\ExprAdapter
- Doctrine\ORM\Query\Expr\Comparison
- Doctrine\ORM\Query\Expr\Func
- Doctrine\ORM\Query\Expr\Andx
- Doctrine\ORM\Query\Expr\Orx
Tests\Symftony\Xpression\Bridge\Doctrine\ORM\ParserTest - PHPUnit\Framework\TestCase
- Doctrine\ORM\Query\Expr
2 Symftony\Xpression\Bridge\Doctrine\ORM\ExprAdapter
51 Symftony\Xpression\Parser
- Doctrine\ORM\Query\Expr\Comparison
- Doctrine\ORM\Query\Expr\Func
- Doctrine\ORM\Query\Expr\Orx
- Doctrine\ORM\Query\Expr\Andx
Tests\Symftony\Xpression\Bridge\MongoDB\ExprBuilderTest - PHPUnit\Framework\TestCase
1 Symftony\Xpression\Bridge\MongoDB\ExprBuilder
Tests\Symftony\Xpression\Bridge\MongoDB\ParserTest - PHPUnit\Framework\TestCase
1 Symftony\Xpression\Bridge\MongoDB\ExprBuilder
51 Symftony\Xpression\Parser
Tests\Symftony\Xpression\Expr\ClosureExpressionBuilderTest - PHPUnit\Framework\TestCase
15 Symftony\Xpression\Expr\ClosureExpressionBuilder
- Tests\Symftony\Xpression\Expr\FakeClass
- Tests\Symftony\Xpression\Expr\FakeClass2
- Tests\Symftony\Xpression\Expr\FakeArrayAccess
- stdClass
Tests\Symftony\Xpression\Expr\HtmlExpressionBuilderTest - PHPUnit\Framework\TestCase
3 Symftony\Xpression\Expr\HtmlExpressionBuilder
Tests\Symftony\Xpression\Expr\MapperExpressionBuilderTest - PHPUnit\Framework\TestCase
- Prophecy\Prophet
6 Symftony\Xpression\Expr\MapperExpressionBuilder
Tests\Symftony\Xpression\LexerTest - PHPUnit\Framework\TestCase
55 Symftony\Xpression\Lexer
Tests\Symftony\Xpression\ParserTest - PHPUnit\Framework\TestCase
- Prophecy\Prophet
51 Symftony\Xpression\Parser
Tests\Symftony\Xpression\QueryStringParserTest - PHPUnit\Framework\TestCase
3 Symftony\Xpression\QueryStringParser