http://vsa.shaheenj.com/

Query Metrics

14 Database Queries
6 Different statements
39.42 ms Query time
2 Invalid entities

Queries

Group similar statements

# Time Info
1 8.66 ms
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.image AS image_3, t0.description AS description_4, t0.tags AS tags_5, t0.isValidated AS isValidated_6, t0.slug AS slug_7, t0.views AS views_8, t0.subCategoryId AS subCategoryId_9, t0.niveauId AS niveauId_10, t0.enseignantId AS enseignantId_11, t12.id AS id_13, t12.lien AS lien_14, t12.type AS type_15, t12.coursId AS coursId_16 FROM cours t0 LEFT JOIN ressources t12 ON t12.coursId = t0.id
Parameters:
[]
2 3.49 ms
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.description AS description_3, t0.images AS images_4, t0.status AS status_5, t0.dateCreation AS dateCreation_6, t0.categorieId AS categorieId_7 FROM souscategorie t0 WHERE t0.id = ?
Parameters:
[
  1
]
3 7.50 ms
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.prenom AS prenom_3, t0.username AS username_4, t0.date_de_naissance AS date_de_naissance_5, t0.email AS email_6, t0.password AS password_7, t0.role AS role_8, t0.status AS status_9, t0.token AS token_10, t0.image AS image_11, t0.level_id AS level_id_12 FROM user t0 WHERE t0.id = ?
Parameters:
[
  3
]
4 5.15 ms
SELECT t0.id_avi AS id_avi_1, t0.note AS note_2, t0.message AS message_3, t0.date AS date_4, t0.id_user AS id_user_5, t0.coursId AS coursId_6 FROM avis t0 WHERE t0.coursId = ?
Parameters:
[
  0
]
5 2.21 ms
SELECT t0.id AS id_1, t0.titre AS titre_2, t0.content AS content_3, t0.duree AS duree_4, t0.image AS image_5, t0.video AS video_6, t0.classement AS classement_7, t0.coursId AS coursId_8 FROM lessons t0 WHERE t0.coursId = ?
Parameters:
[
  0
]
6 1.91 ms
SELECT t0.id AS id_1, t0.niveau AS niveau_2 FROM LEVEL t0 WHERE t0.id = ?
Parameters:
[
  1
]
7 2.23 ms
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.description AS description_3, t0.images AS images_4, t0.status AS status_5, t0.dateCreation AS dateCreation_6, t0.categorieId AS categorieId_7 FROM souscategorie t0 WHERE t0.id = ?
Parameters:
[
  2
]
8 1.91 ms
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.prenom AS prenom_3, t0.username AS username_4, t0.date_de_naissance AS date_de_naissance_5, t0.email AS email_6, t0.password AS password_7, t0.role AS role_8, t0.status AS status_9, t0.token AS token_10, t0.image AS image_11, t0.level_id AS level_id_12 FROM user t0 WHERE t0.id = ?
Parameters:
[
  12
]
9 0.94 ms
SELECT t0.id_avi AS id_avi_1, t0.note AS note_2, t0.message AS message_3, t0.date AS date_4, t0.id_user AS id_user_5, t0.coursId AS coursId_6 FROM avis t0 WHERE t0.coursId = ?
Parameters:
[
  1
]
10 0.92 ms
SELECT t0.id AS id_1, t0.titre AS titre_2, t0.content AS content_3, t0.duree AS duree_4, t0.image AS image_5, t0.video AS video_6, t0.classement AS classement_7, t0.coursId AS coursId_8 FROM lessons t0 WHERE t0.coursId = ?
Parameters:
[
  1
]
11 1.45 ms
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.prenom AS prenom_3, t0.username AS username_4, t0.date_de_naissance AS date_de_naissance_5, t0.email AS email_6, t0.password AS password_7, t0.role AS role_8, t0.status AS status_9, t0.token AS token_10, t0.image AS image_11, t0.level_id AS level_id_12 FROM user t0 WHERE t0.id = ?
Parameters:
[
  11
]
12 1.00 ms
SELECT t0.id_avi AS id_avi_1, t0.note AS note_2, t0.message AS message_3, t0.date AS date_4, t0.id_user AS id_user_5, t0.coursId AS coursId_6 FROM avis t0 WHERE t0.coursId = ?
Parameters:
[
  2
]
13 0.78 ms
SELECT t0.id AS id_1, t0.titre AS titre_2, t0.content AS content_3, t0.duree AS duree_4, t0.image AS image_5, t0.video AS video_6, t0.classement AS classement_7, t0.coursId AS coursId_8 FROM lessons t0 WHERE t0.coursId = ?
Parameters:
[
  2
]
14 1.27 ms
SELECT t0.id AS id_1, t0.niveau AS niveau_2 FROM LEVEL t0 WHERE t0.id = ?
Parameters:
[
  3
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

Class Mapping errors
App\Entity\Cours
  • The field App\Entity\Cours#lessons is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Lessons#coursid does not contain the required 'inversedBy="lessons"' attribute.
  • The field App\Entity\Cours#avis is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Avis#coursid does not contain the required 'inversedBy="avis"' attribute.
  • The field App\Entity\Cours#ressource is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Ressources#coursid does not contain the required 'inversedBy="ressource"' attribute.
App\Entity\Souscategorie No errors.
App\Entity\Level No errors.
App\Entity\User No errors.
App\Entity\Ressources No errors.
App\Entity\Lessons No errors.
App\Entity\Avis No errors.
App\Entity\Categorie
  • The association App\Entity\Categorie#souscategories refers to the owning side field App\Entity\Souscategorie#categorie which does not exist.