http://isbbethesda.com/index.php/

Query Metrics

16 Database Queries
5 Different statements
8.52 ms Query time
6 Invalid entities

Grouped Statements

Show all queries

Time Count Info
5.88 ms
(68.99%)
12
SELECT COUNT(s0_.id) AS sclr_0, s0_.officialExamResult AS officialExamResult_1 FROM subscription s0_ LEFT JOIN school_year s1_ ON s0_.school_year_id = s1_.id LEFT JOIN class_room c2_ ON s0_.class_room_id = c2_.id WHERE s1_.id = ? AND c2_.id = ? GROUP BY s0_.officialExamResult
Parameters:
[
  7
  5
]
0.96 ms
(11.30%)
1
SELECT t0.id AS id_1, t0.email AS email_2, t0.github_id AS github_id_3, t0.github_access_token AS github_access_token_4, t0.facebook_id AS facebook_id_5, t0.facebook_access_token AS facebook_access_token_6, t0.google_id AS google_id_7, t0.google_access_token AS google_access_token_8, t0.linkedin_id AS linkedin_id_9, t0.linkedin_access_token AS linkedin_access_token_10, t0.twitter_id AS twitter_id_11, t0.twitter_access_token AS twitter_access_token_12, t0.yahoo_id AS yahoo_id_13, t0.yahoo_access_token AS yahoo_access_token_14, t0.password AS password_15, t0.is_verified AS is_verified_16, t0.avatarPath AS avatarPath_17, t0.phoneNumber AS phoneNumber_18, t0.gender AS gender_19, t0.birthday AS birthday_20, t0.birthplace AS birthplace_21, t0.nationality AS nationality_22, t0.location AS location_23, t0.region AS region_24, t0.department AS department_25, t0.academicLevel AS academicLevel_26, t0.numCni AS numCni_27, t0.status AS status_28, t0.full_name AS full_name_29, t0.created_at AS created_at_30, t0.updated_at AS updated_at_31, t0.image_name AS image_name_32, t0.domain_id AS domain_id_33 FROM user t0 WHERE t0.id = ?
Parameters:
[
  408
]
0.64 ms
(7.51%)
1
SELECT t0.id AS id_1, t0.registration_deadline AS registration_deadline_2, t0.rate AS rate_3, t0.code AS code_4, t0.wording AS wording_5, t0.start_date AS start_date_6, t0.end_date AS end_date_7, t0.activated AS activated_8, t9.id AS id_10, t9.weight AS weight_11, t9.school_year_id AS school_year_id_12 FROM school_year t0 LEFT JOIN payment_plan t9 ON t9.school_year_id = t0.id WHERE t0.activated = ? LIMIT 1
Parameters:
[
  1
]
0.55 ms
(6.47%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.apc AS apc_3, t0.level_id AS level_id_4 FROM class_room t0 WHERE t0.apc = ? ORDER BY t0.level_id ASC
Parameters:
[
  1
]
0.49 ms
(5.73%)
1
SELECT t0.id AS id_1, t0.registration_deadline AS registration_deadline_2, t0.rate AS rate_3, t0.code AS code_4, t0.wording AS wording_5, t0.start_date AS start_date_6, t0.end_date AS end_date_7, t0.activated AS activated_8, t9.id AS id_10, t9.weight AS weight_11, t9.school_year_id AS school_year_id_12 FROM school_year t0 LEFT JOIN payment_plan t9 ON t9.school_year_id = t0.id WHERE t0.id = ? LIMIT 1
Parameters:
[
  7
]

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\ClassRoom
  • The mappings App\Entity\ClassRoom#mainTeachers and App\Entity\MainTeacher#classRoom are inconsistent with each other.
App\Entity\Level No errors.
App\Entity\Module No errors.
App\Entity\MainTeacher
  • The association App\Entity\MainTeacher#teacher refers to the inverse side field App\Entity\User#mainTeachers which does not exist.
App\Entity\Subscription No errors.
App\Entity\AbscenceSheet No errors.
App\Entity\SchoolYear
  • The field App\Entity\SchoolYear#paymentPlan is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\PaymentPlan#schoolYear does not contain the required 'inversedBy="paymentPlan"' attribute.
App\Entity\PaymentPlan
  • The association App\Entity\PaymentPlan#payments refers to the owning side field App\Entity\Payment#paymentPlan which does not exist.
  • The field App\Entity\PaymentPlan#installments is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Installment#paymentPlan does not contain the required 'inversedBy="installments"' attribute.
App\Entity\Quater No errors.
App\Entity\User
  • The association App\Entity\User#fullTeacherOf refers to the owning side field App\Entity\ClassRoom#fullTeacher which does not exist.
  • The field App\Entity\User#attributions is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Attribution#teacher does not contain the required 'inversedBy="attributions"' attribute.
App\Entity\Domain
  • The association App\Entity\Domain#headOfDepartment refers to the inverse side field App\Entity\User#headOfDepartementOf which does not exist.
App\Entity\Email No errors.
App\Entity\Attribution No errors.