GET https://uprim-madagascar.com/student/examens

Query Metrics

39 Database Queries
12 Different statements
10.56 ms Query time
4 Invalid entities

Grouped Statements

Show all queries

Time Count Info
4.94 ms
(46.74%)
21
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.color AS color_4, t0.parent_id AS parent_id_5, t0.question_id AS question_id_6, t0.answer_id AS answer_id_7 FROM category t0 INNER JOIN menu_category ON t0.id = menu_category.category_id WHERE menu_category.menu_id = ?
Parameters:
[
  57
]
1.62 ms
(15.32%)
2
SELECT t0.id AS id_1, t0.title AS title_2, t0.slug AS slug_3, t0.content AS content_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.is_published AS is_published_7, t0.target AS target_8, t0.video_embeded AS video_embeded_9, t0.type AS type_10 FROM PAGE t0 WHERE t0.id = ?
Parameters:
[
  27
]
0.61 ms
(5.82%)
3
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.duration AS duration_4, t0.slug AS slug_5, t0.is_publisher AS is_publisher_6, t0.thumbnail_id AS thumbnail_id_7 FROM cour t0 WHERE t0.id = ?
Parameters:
[
  12
]
0.56 ms
(5.34%)
3
SELECT t0.id AS id_1, t0.enable_cours AS enable_cours_2, t0.enable_library AS enable_library_3, t0.enable_topic AS enable_topic_4 FROM options t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  1
]
0.51 ms
(4.82%)
2
SELECT t0.id AS id_1, t0.name AS name_2, t0.menu_order AS menu_order_3, t0.is_visible AS is_visible_4, t0.link AS link_5, t0.page_id AS page_id_6, t0.category_id AS category_id_7, t0.cour_id AS cour_id_8 FROM menu t0 INNER JOIN menu_menu ON t0.id = menu_menu.menu_target WHERE menu_menu.menu_source = ?
Parameters:
[
  127
]
0.44 ms
(4.13%)
1
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.activate AS activate_7, t0.avatar AS avatar_8, t0.matricule AS matricule_9, t0.lastname AS lastname_10, t0.firstname AS firstname_11, t0.is_eligible AS is_eligible_12, t0.created_by_id AS created_by_id_13, t0.updated_by_id AS updated_by_id_14, t0.review_level_id AS review_level_id_15, t0.student_group_id AS student_group_id_16 FROM user t0 WHERE t0.id = ?
Parameters:
[
  1076
]
0.39 ms
(3.71%)
1
SELECT r0_.id AS id_0, r0_.type AS type_1, r0_.review_id AS review_id_2, r0_.level_id AS level_id_3 FROM review_level r0_ LEFT JOIN review r1_ ON r0_.review_id = r1_.id WHERE r0_.level_id = ? AND r1_.visible = 1
Parameters:
[
  "4"
]
0.39 ms
(3.70%)
2
SELECT t0.id AS id_1, t0.name AS name_2, t0.visible AS visible_3, t0.enable AS enable_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.start_at AS start_at_7, t0.end_at AS end_at_8, t0.created_by_id AS created_by_id_9, t0.updated_by_id AS updated_by_id_10 FROM review t0 WHERE t0.id = ?
Parameters:
[
  1
]
0.38 ms
(3.60%)
1
SELECT m0_.id AS id_0, m0_.name AS name_1, m0_.menu_order AS menu_order_2, m0_.is_visible AS is_visible_3, m0_.link AS link_4, m0_.page_id AS page_id_5, m0_.category_id AS category_id_6, m0_.cour_id AS cour_id_7 FROM menu m0_ WHERE m0_.is_visible = 1 ORDER BY m0_.menu_order ASC
Parameters:
[]
0.27 ms
(2.57%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.color AS color_4, t0.parent_id AS parent_id_5, t0.question_id AS question_id_6, t0.answer_id AS answer_id_7 FROM category t0 INNER JOIN level_category ON t0.id = level_category.category_id WHERE level_category.level_id = ?
Parameters:
[
  4
]
0.25 ms
(2.37%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.meeting_link AS meeting_link_3, t0.level_id AS level_id_4 FROM `group` t0 WHERE t0.id = ?
Parameters:
[
  13
]
0.20 ms
(1.87%)
1
SELECT t0.id AS id_1, t0.name AS name_2 FROM LEVEL t0 WHERE t0.id = ?
Parameters:
[
  4
]

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\User No errors.
App\Entity\ReviewLevel No errors.
App\Entity\Group No errors.
App\Entity\Subject No errors.
App\Entity\SubjectResponse
  • The association App\Entity\SubjectResponse#question refers to the inverse side field App\Entity\Question#student which does not exist.
App\Entity\DoSubject No errors.
App\Entity\StudentHistoryCour No errors.
App\Entity\UserBook No errors.
App\Entity\StudentReviewResult No errors.
App\Entity\Level No errors.
App\Entity\Category
  • The field App\Entity\Category#question is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\Question#categories does not contain the required 'mappedBy="question"' attribute.
  • If association App\Entity\Category#question is many-to-one, then the inversed side App\Entity\Question#categories has to be one-to-many.
  • The association App\Entity\Category#answer refers to the inverse side field App\Entity\Answer#categories which does not exist.
App\Entity\Review No errors.
App\Entity\Menu No errors.
App\Entity\Page No errors.
App\Entity\Cour No errors.
App\Entity\Question
  • The mappings App\Entity\Question#subjectResponses and App\Entity\SubjectResponse#question are inconsistent with each other.
App\Entity\Answer No errors.
App\Entity\Course No errors.
App\Entity\Media No errors.
App\Entity\Comment
  • The association App\Entity\Comment#author refers to the inverse side field App\Entity\User#comments which does not exist.
App\Entity\Chapter No errors.
App\Entity\Options No errors.