rules 2026.10.7-provisional platform PHP: Symfony (composer.json requires symfony/framework-bundle; bin/console) demo-3.1.0/.php-cs-fixer.dist.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on file level code Duplication: 100 (A), based on 33 code lines NamingConvention: 100 (A), based on 2 names Security: not graded demo-3.1.0/bin/console (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on file level code Duplication: 100 (A), based on 11 code lines NamingConvention: 100 (A), based on 2 names Security: not graded demo-3.1.0/bin/phpunit (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on file level code Duplication: 100 (A), based on 1 code line NamingConvention: not graded Security: not graded demo-3.1.0/config/bundles.php (config) CodeLength: not graded CyclomaticComplexity: 100 (A), based on file level code Duplication: 0 (F), based on 18 code lines 13:1 [warning] duplication.repeated_block - lines 13 to 18 repeat lines 4 to 9 (82 tokens); repeated code has to be fixed in every copy NamingConvention: not graded Security: not graded demo-3.1.0/config/preload.php (config) CodeLength: not graded CyclomaticComplexity: 100 (A), based on file level code Duplication: 100 (A), based on 3 code lines NamingConvention: not graded Security: not graded demo-3.1.0/importmap.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on file level code Duplication: 100 (A), based on 79 code lines NamingConvention: not graded Security: not graded demo-3.1.0/public/index.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on file level code Duplication: 100 (A), based on 4 code lines NamingConvention: 100 (A), based on 1 name Security: not graded demo-3.1.0/src/Command/AddUserCommand.php (other) CodeLength: not graded 91:24 [warning] length.function - AddUserCommand::interact has 56 lines in its body, above 50 CyclomaticComplexity: 100 (A), based on 5 functions Duplication: 100 (A), based on 119 code lines NamingConvention: 100 (A), based on 24 names Security: not graded demo-3.1.0/src/Command/DeleteUserCommand.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 4 functions Duplication: 100 (A), based on 62 code lines NamingConvention: 100 (A), based on 15 names Security: not graded demo-3.1.0/src/Command/ListUsersCommand.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 3 functions Duplication: 100 (A), based on 62 code lines NamingConvention: 100 (A), based on 18 names Security: not graded demo-3.1.0/src/Controller/Admin/BlogController.php (controller) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 5 functions Duplication: 100 (A), based on 80 code lines NamingConvention: 100 (A), based on 15 names Security: not graded demo-3.1.0/src/Controller/BlogController.php (controller) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 5 functions Duplication: 100 (A), based on 64 code lines NamingConvention: 100 (A), based on 19 names Security: not graded demo-3.1.0/src/Controller/SecurityController.php (controller) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 1 function Duplication: 100 (A), based on 20 code lines NamingConvention: 100 (A), based on 5 names Security: not graded demo-3.1.0/src/Controller/UserController.php (controller) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 2 functions Duplication: 40 (F), based on 40 code lines 63:1 [warning] duplication.repeated_block - lines 63 to 71 repeat lines 39 to 47 (54 tokens); repeated code has to be fixed in every copy NamingConvention: 100 (A), based on 8 names Security: not graded demo-3.1.0/src/DataFixtures/AppFixtures.php (seeder) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 12 functions Duplication: 100 (A), based on 186 code lines NamingConvention: 100 (A), based on 29 names Security: not graded demo-3.1.0/src/Entity/Comment.php (model) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 11 functions Duplication: 100 (A), based on 68 code lines NamingConvention: 100 (A), based on 21 names Security: not graded demo-3.1.0/src/Entity/Post.php (model) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 20 functions Duplication: 100 (A), based on 126 code lines NamingConvention: 100 (A), based on 38 names Security: not graded demo-3.1.0/src/Entity/Tag.php (model) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 5 functions Duplication: 100 (A), based on 32 code lines NamingConvention: 100 (A), based on 7 names Security: not graded demo-3.1.0/src/Entity/User.php (model) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 15 functions Duplication: 100 (A), based on 89 code lines NamingConvention: 96 (A), based on 28 names 161:42 [warning] naming.generic - parameter `data` is a generic name; it says nothing about what it holds Security: not graded demo-3.1.0/src/Event/CommentCreatedEvent.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 2 functions Duplication: 100 (A), based on 12 code lines NamingConvention: 100 (A), based on 3 names Security: not graded demo-3.1.0/src/EventSubscriber/CheckRequirementsSubscriber.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 5 functions Duplication: 100 (A), based on 39 code lines NamingConvention: 100 (A), based on 13 names Security: not graded demo-3.1.0/src/EventSubscriber/CommentNotificationSubscriber.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 3 functions Duplication: 100 (A), based on 41 code lines NamingConvention: 100 (A), based on 16 names Security: not graded demo-3.1.0/src/EventSubscriber/ControllerSubscriber.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 3 functions Duplication: 100 (A), based on 20 code lines NamingConvention: 100 (A), based on 5 names Security: not graded demo-3.1.0/src/EventSubscriber/RedirectToPreferredLocaleSubscriber.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 3 functions Duplication: 100 (A), based on 41 code lines NamingConvention: 91 (A), based on 11 names 30:13 [warning] naming.too_long - class `RedirectToPreferredLocaleSubscriber` is 35 characters (limit 30); very long names make code hard to read Security: not graded demo-3.1.0/src/Form/ChangePasswordType.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 2 functions Duplication: 100 (A), based on 43 code lines NamingConvention: 100 (A), based on 6 names Security: not graded demo-3.1.0/src/Form/CommentType.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 2 functions Duplication: 100 (A), based on 18 code lines NamingConvention: 100 (A), based on 6 names Security: not graded demo-3.1.0/src/Form/DataTransformer/TagArrayToStringTransformer.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 4 functions Duplication: 100 (A), based on 35 code lines NamingConvention: 100 (A), based on 12 names Security: not graded demo-3.1.0/src/Form/PostType.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 3 functions Duplication: 100 (A), based on 46 code lines NamingConvention: 100 (A), based on 9 names Security: not graded demo-3.1.0/src/Form/Type/DateTimePickerType.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 2 functions Duplication: 100 (A), based on 22 code lines NamingConvention: 100 (A), based on 4 names Security: not graded demo-3.1.0/src/Form/Type/TagsInputType.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 4 functions Duplication: 100 (A), based on 23 code lines NamingConvention: 100 (A), based on 9 names Security: not graded demo-3.1.0/src/Form/UserType.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 2 functions Duplication: 100 (A), based on 25 code lines NamingConvention: 100 (A), based on 6 names Security: not graded demo-3.1.0/src/Kernel.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 1 function Duplication: 100 (A), based on 9 code lines NamingConvention: 100 (A), based on 2 names Security: not graded demo-3.1.0/src/Pagination/Paginator.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 12 functions Duplication: 100 (A), based on 73 code lines NamingConvention: 100 (A), based on 25 names Security: not graded demo-3.1.0/src/Repository/PostRepository.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 4 functions Duplication: 100 (A), based on 50 code lines NamingConvention: 100 (A), based on 17 names Security: not graded demo-3.1.0/src/Repository/TagRepository.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 1 function Duplication: 100 (A), based on 8 code lines NamingConvention: 100 (A), based on 2 names Security: not graded demo-3.1.0/src/Repository/UserRepository.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 1 function Duplication: 100 (A), based on 8 code lines NamingConvention: 100 (A), based on 2 names Security: not graded demo-3.1.0/src/Security/PostVoter.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 2 functions Duplication: 100 (A), based on 24 code lines NamingConvention: 100 (A), based on 12 names Security: not graded demo-3.1.0/src/Twig/AppExtension.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 3 functions Duplication: 100 (A), based on 28 code lines NamingConvention: 100 (A), based on 8 names Security: not graded demo-3.1.0/src/Twig/Components/BlogSearchComponent.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 2 functions Duplication: 100 (A), based on 16 code lines NamingConvention: 100 (A), based on 4 names Security: not graded demo-3.1.0/src/Twig/SourceCodeExtension.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 8 functions Duplication: 100 (A), based on 97 code lines NamingConvention: 97 (A), based on 33 names 136:14 [warning] naming.too_short - variable `r` is 1 character (at least 2); a one letter name hides its meaning Security: not graded demo-3.1.0/src/Utils/Validator.php (other) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 4 functions Duplication: 100 (A), based on 41 code lines NamingConvention: 100 (A), based on 9 names Security: not graded demo-3.1.0/tests/Command/AbstractCommandTestCase.php (test) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 1 function Duplication: 100 (A), based on 16 code lines NamingConvention: 100 (A), based on 9 names Security: not graded demo-3.1.0/tests/Command/AddUserCommandTest.php (test) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 6 functions Duplication: 100 (A), based on 55 code lines NamingConvention: 100 (A), based on 13 names Security: not graded demo-3.1.0/tests/Command/ListUsersCommandTest.php (test) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 5 functions Duplication: 100 (A), based on 32 code lines NamingConvention: 100 (A), based on 9 names Security: not graded demo-3.1.0/tests/Controller/Admin/BlogControllerTest.php (test) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 10 functions Duplication: 100 (A), based on 106 code lines NamingConvention: 100 (A), based on 26 names Security: not graded demo-3.1.0/tests/Controller/BlogControllerTest.php (test) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 4 functions Duplication: 100 (A), based on 50 code lines NamingConvention: 100 (A), based on 11 names Security: not graded demo-3.1.0/tests/Controller/DefaultControllerTest.php (test) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 5 functions Duplication: 100 (A), based on 43 code lines NamingConvention: 100 (A), based on 10 names Security: not graded demo-3.1.0/tests/Controller/UserControllerTest.php (test) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 4 functions Duplication: 100 (A), based on 56 code lines NamingConvention: 100 (A), based on 12 names Security: not graded demo-3.1.0/tests/Form/DataTransformer/TagArrayToStringTransformerTest.php (test) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 7 functions Duplication: 100 (A), based on 56 code lines NamingConvention: 93 (A), based on 14 names 24:13 [warning] naming.too_long - class `TagArrayToStringTransformerTest` is 31 characters (limit 30); very long names make code hard to read Security: not graded demo-3.1.0/tests/Twig/AppExtensionTest.php (test) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 2 functions Duplication: 100 (A), based on 21 code lines NamingConvention: 100 (A), based on 4 names Security: not graded demo-3.1.0/tests/Utils/ValidatorTest.php (test) CodeLength: not graded CyclomaticComplexity: 100 (A), based on 12 functions Duplication: 100 (A), based on 71 code lines NamingConvention: 100 (A), based on 15 names Security: not graded demo-3.1.0/tests/bootstrap.php (test) CodeLength: not graded CyclomaticComplexity: 100 (A), based on file level code Duplication: 100 (A), based on 7 code lines NamingConvention: not graded Security: not graded demo-3.1.0/tests/object-manager.php (test) CodeLength: not graded CyclomaticComplexity: 100 (A), based on file level code Duplication: 100 (A), based on 5 code lines NamingConvention: 100 (A), based on 1 name Security: not graded project grades CodeLength: not graded CyclomaticComplexity: 100 (A), based on 53 files, 226 units Duplication: 98 (A), based on 53 files, 2334 code lines NamingConvention: 99 (A), based on 48 files, 570 names Security: not graded Overall: 99 (A), 3 of 5 metrics, weights complexity 3, duplication 2, naming 1; not graded: codelength, security not analysed: 191 files (XML 59, Twig 32, YAML 30, SVG 29, JavaScript 9, SCSS 5, binary 4, JSON 3, Markdown 3, CSS 2, Ignore List 2, NEON 2, ApacheConf 1, EditorConfig 1, JSON with Comments 1, Shell 1, Text 1, demo 1, dev 1, lock 1, robots.txt 1, test 1, unknown 1)