Permet de sortir des stats d'audits agiles
  • PHP 88.6%
  • Twig 9.2%
  • JavaScript 1.2%
  • Shell 0.6%
  • Dockerfile 0.4%
Find a file
Nora 6027a95883
All checks were successful
Symfony / symfony-tests (push) Successful in 1m28s
Release / release (push) Successful in 1m24s
Merge pull request 'review 1' (#5) from review into develop
Reviewed-on: #5
2026-06-13 15:49:11 +00:00
.forgejo/workflows on going init project 2026-06-12 11:48:27 +02:00
.idea on going init project 2026-06-12 11:48:27 +02:00
assets cleaning 2026-06-13 16:01:12 +02:00
bin init 2026-06-12 11:53:34 +02:00
config ongoing 2026-06-13 11:04:47 +02:00
docker/db on going init project 2026-06-12 11:48:27 +02:00
frankenphp on going init project 2026-06-12 11:48:27 +02:00
migrations remove useless mig 2026-06-13 11:12:18 +02:00
public fix mago & phpstan before stating 2026-06-12 12:10:56 +02:00
scripts fix mago & phpstan before stating 2026-06-12 12:10:56 +02:00
src better html 2026-06-13 17:36:36 +02:00
templates better html 2026-06-13 17:36:36 +02:00
tests cleaning 2026-06-13 17:14:47 +02:00
translations init 2026-06-12 11:53:34 +02:00
.editorconfig init 2026-06-12 11:53:34 +02:00
.env remove useless thing 2026-06-12 17:16:06 +02:00
.env.dev init 2026-06-12 11:53:34 +02:00
.gitignore add better htl 2026-06-12 18:09:49 +02:00
Caddyfile on going init project 2026-06-12 11:48:27 +02:00
compose.override.yaml init 2026-06-12 11:53:34 +02:00
compose.yaml on going init project 2026-06-12 11:48:27 +02:00
composer.json add better htl 2026-06-12 18:09:49 +02:00
composer.lock add better htl 2026-06-12 18:09:49 +02:00
dc on going init project 2026-06-12 11:48:27 +02:00
Dockerfile on going init project 2026-06-12 11:48:27 +02:00
importmap.php add better htl 2026-06-12 18:09:49 +02:00
LICENSE Initial commit 2026-06-12 09:40:21 +00:00
mago.toml fix mago & phpstan before stating 2026-06-12 12:10:56 +02:00
phpstan.dist.neon 5.2 2026-06-12 17:11:58 +02:00
phpunit.dist.xml fix ci 2026-06-12 18:20:56 +02:00
README.md update readme 2026-06-12 17:14:06 +02:00
release.sh on going init project 2026-06-12 11:48:27 +02:00
symfony.lock add better htl 2026-06-12 18:09:49 +02:00

audit-agile

Permet de sortir des stats d'audits agiles

Lancer les vérifications

composer check   # Mago + PHPStan niveau 10 + PHPUnit (177 tests)

Critères d'acceptation — couverture par les tests

# Critère Tests couvrants
1 Un audit validé affiche un score global, un niveau de maturité et un radar à 6 branches cohérents avec les réponses saisies. AuditResultsTest::testItShowsResultsForCompletedAudit
AuditResultsTest::testItEmbeddsRadarJsonWithDimensionLabels
ResultsViewModelBuilderTest::testBuildRadarJsonContainsScoreData
2 Une question marquée N/A ne modifie pas le score de sa dimension. DimensionScorerTest::testItScoresDimension[one N/A excluded from average]
DimensionScorerTest::testItScoresDimension[all N/A → null]
AuditFillTest::testItSavesNaAnswerCorrectly
3 Un audit en brouillon peut être repris exactement là où il a été quitté. AuditFillTest::testItPrefillsExistingAnswers
4 Un audit terminé est immuable (toute tentative de modification est refusée). AuditTest::testItThrowsOnSetAnswerScoredWhenCompleted
AuditTest::testItThrowsOnSetAnswerNaWhenCompleted
AuditTest::testItThrowsOnContextNotesMutationWhenCompleted
AuditFillTest::testItReturns403WhenAuditIsCompleted
CompleteAuditServiceTest::testItThrowsLogicExceptionWhenAuditAlreadyCompleted
5 La comparaison de deux audits de la même équipe affiche les deltas corrects par dimension. TeamCompareTest::testItShowsCorrectDeltaValue
AuditComparisonServiceTest::testItComputesPositiveDeltaAndTrendUp
AuditComparisonServiceTest::testItComputesNegativeDeltaAndTrendDown
6 Le ScoringService est couvert par des tests unitaires : cas nominal, dimension entièrement N/A, pondérations, bornes (toutes réponses à 1, toutes à 5). DimensionScorerTest::testItScoresDimension[all ones → 0.0]
DimensionScorerTest::testItScoresDimension[all fives → 100.0]
ScoringServiceTest::testItExcludesAllNaDimensionFromGlobal
ScoringServiceTest::testItAppliesWeightsToGlobalScore
ScoringServiceTest::testItComputesEqualWeightGlobalScore