Skip to content

Static Analysis - Backend #14

@vedharn

Description

@vedharn

/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Console/Kernel.php:25 Avoid unused parameters such as '$schedule'.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Exceptions/Handler.php:57 Avoid unused parameters such as '$exception'.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Http/Controllers/AuthZController.php:43 Avoid unused local variables such as '$user'.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Http/Controllers/AuthZController.php:68 Avoid unused local variables such as '$value'.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Http/Controllers/EndGameController.php:32 Avoid unused local variables such as '$k'.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Http/Controllers/EndGameController.php:32 Avoid variables with short names like $k. Configured minimum length is 3.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Http/Controllers/EndGameController.php:59 Avoid unused local variables such as '$percent'.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Http/Controllers/EndGameController.php:74 Avoid unused local variables such as '$nextLevel'.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Http/Controllers/EndGameController.php:75 Avoid unused local variables such as '$maxLevel'.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Http/Controllers/SubmitLevelController.php:24 The method index() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Http/Controllers/SubmitLevelController.php:33 Avoid excessively long variable names like $currentLevelQuestionIds. Keep variable name length under 20.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Http/Controllers/SubmitLevelController.php:47 Avoid unused local variables such as '$k'.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Http/Controllers/SubmitLevelController.php:47 Avoid variables with short names like $k. Configured minimum length is 3.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Http/Controllers/SubmitLevelController.php:97 Avoid unused local variables such as '$updateRes1'.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Http/Controllers/SubmitLevelController.php:113 Avoid unused local variables such as '$updateRes'.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Http/Controllers/newGameController.php:14 The class newGameController is not named in CamelCase.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Options.php:16 Avoid unused local variables such as '$q'.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Options.php:16 Avoid variables with short names like $q. Configured minimum length is 3.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Providers/RouteServiceProvider.php:57 Avoid unused local variables such as '$router'.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Providers/RouteServiceProvider.php:75 Avoid unused local variables such as '$router'.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Questions.php:2The variable $array_temp is not named in camelCase.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Questions.php:2The variable $array_temp is not named in camelCase.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Questions.php:2The variable $array_temp is not named in camelCase.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Questions.php:2The variable $array_temp is not named in camelCase.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Questions.php:2The variable $array_temp is not named in camelCase.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Questions.php:2The variable $array_temp is not named in camelCase.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Questions.php:2The variable $array_temp is not named in camelCase.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/Questions.php:2The variable $array_temp is not named in camelCase.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/User.php:46 The variable $User is not named in camelCase.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/User.php:46 The variable $User is not named in camelCase.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/User.php:46 The variable $User is not named in camelCase.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/User.php:46 The variable $User is not named in camelCase.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/User.php:46 The variable $User is not named in camelCase.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/User.php:46 The variable $User is not named in camelCase.
/Applications/XAMPP/xamppfiles/htdocs/fastQuiz/api/services/app/User.php:46 The variable $User is not named in camelCase.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions