Query Metrics

13 Database Queries
9 Different statements
8.59 ms Query time
3 Invalid entities
16 Managed entities

Grouped Statements

Show all queries

Time Count Info
1.88 ms
(21.93%)
3
SELECT t0.parameter_id AS parameter_id_1, t0.created_at AS created_at_2, t0.deleted_at AS deleted_at_3, t0.name AS name_4, t0.key AS key_5, t0.parameter_type_id AS parameter_type_id_6, t0.unit_id AS unit_id_7, t0.formula_id AS formula_id_8, t0.calculate_parameter_id AS calculate_parameter_id_9 FROM statement_parameters t0 WHERE t0.parameter_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  6
]
1.82 ms
(21.22%)
3
SELECT t0.project_item_parameter_value_id AS project_item_parameter_value_id_1, t0.created_at AS created_at_2, t0.deleted_at AS deleted_at_3, t0.string AS string_4, t0.integer AS integer_5, t0.float AS float_6, t0.boolean AS boolean_7, t0.project_item_parameter_id AS project_item_parameter_id_8, t0.value_id AS value_id_9, t0.enum_value_id AS enum_value_id_10 FROM project_items_parameters_values t0 WHERE t0.project_item_parameter_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  40
]
1.20 ms
(14.02%)
1
SELECT p0_.project_item_id AS project_item_id_0, p0_.name AS name_1, p0_.level AS level_2, p0_.created_at AS created_at_3, p0_.deleted_at AS deleted_at_4, p0_.key AS key_5, p0_.project_id AS project_id_6, p0_.item_id AS item_id_7, p0_.parent_id AS parent_id_8 FROM project_projects_items p0_ WHERE (p0_.project_item_id IN (?)) AND (p0_.deleted_at IS NULL)
Parameters:
[
  "8"
]
1.12 ms
(13.01%)
1
SELECT p0_.project_id AS project_id_0, p0_.name AS name_1 FROM project_projects p0_ WHERE (p0_.deleted_at IS NULL)
Parameters:
[]
0.99 ms
(11.48%)
1
SELECT DISTINCT p0_.project_item_parameter_id AS project_item_parameter_id_0 FROM project_projects_items_parameters p0_ WHERE (p0_.project_item_id = (?)) AND (p0_.deleted_at IS NULL) LIMIT 20
Parameters:
[
  8
]
0.63 ms
(7.34%)
1
SELECT t0.item_id AS item_id_1, t0.created_at AS created_at_2, t0.deleted_at AS deleted_at_3, t0.name AS name_4, t0.key AS key_5 FROM statement_items t0 WHERE t0.item_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  16
]
0.42 ms
(4.94%)
1
SELECT p0_.project_item_parameter_id AS project_item_parameter_id_0, p0_.created_at AS created_at_1, p0_.deleted_at AS deleted_at_2, p0_.project_item_id AS project_item_id_3, p0_.parameter_id AS parameter_id_4 FROM project_projects_items_parameters p0_ WHERE (p0_.project_item_id = (?) AND p0_.project_item_parameter_id IN (?, ?, ?)) AND (p0_.deleted_at IS NULL)
Parameters:
[
  8
  40
  41
  42
]
0.28 ms
(3.26%)
1
SELECT count(*) AS sclr_0 FROM project_projects_items_parameters p0_ WHERE (p0_.project_item_id = (?)) AND (p0_.deleted_at IS NULL)
Parameters:
[
  8
]
0.24 ms
(2.80%)
1
SELECT t0.project_id AS project_id_1, t0.created_at AS created_at_2, t0.deleted_at AS deleted_at_3, t0.name AS name_4, t0.key AS key_5, t0.updated_at AS updated_at_6 FROM project_projects t0 WHERE t0.project_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  1
]

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.

Managed Entities

default entity manager

Class Amount of managed objects
Project\Entity\ProjectItemParameter 3
Statement\Entity\Parameter 3
Project\Entity\ProjectItem 2
Shared\Entity\Unit 2
Project\Entity\Project 1
Statement\Entity\Item 1
Statement\Entity\ParameterType 1
Statement\Entity\Formula 1
Project\Entity\ProjectItemParameterValue 1
Statement\Entity\Value 1

Entities Mapping

Class Mapping errors
Project\Entity\ProjectItemParameter No errors.
Project\Entity\Project No errors.
Project\Entity\ProjectItemTree No errors.
Project\Entity\ProjectItem No errors.
Statement\Entity\Parameter
  • The association Statement\Entity\Parameter#type refers to the inverse side field Statement\Entity\ParameterType#parameters which does not exist.
  • The association Statement\Entity\Parameter#items refers to the owning side field Statement\Entity\ItemParameter#parametr which does not exist.
  • The association Statement\Entity\Parameter#workParameters refers to the owning side field Work\Entity\ItemParameter#parametr which does not exist.
Statement\Entity\Item No errors.
Project\Entity\ProjectItemParameterValue No errors.
Statement\Entity\Prop No errors.
Statement\Entity\ItemParameter
  • The mappings Statement\Entity\ItemParameter#parameter and Statement\Entity\Parameter#items are inconsistent with each other.
  • The association Statement\Entity\ItemParameter#values refers to the owning side field Statement\Entity\ItemParameterValue#itemParametr which does not exist.
Statement\Entity\ParameterType No errors.
Shared\Entity\Unit No errors.
Statement\Entity\Formula
  • The field Statement\Entity\Formula#parameters is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Statement\Entity\FormulaParameter#formula does not contain the required 'inversedBy: "parameters"' attribute.
Work\Entity\ItemParameter No errors.
Statement\Entity\Value No errors.
Statement\Entity\EnumValue No errors.