GET https://admin-symfony-review.kube-dev.ugol.click/project-item-parameter?page=2

Query Metrics

53 Database Queries
8 Different statements
19.28 ms Query time
3 Invalid entities
81 Managed entities

Grouped Statements

Show all queries

Time Count Info
6.24 ms
(32.34%)
20
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:
[
  3
]
4.36 ms
(22.62%)
13
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:
[
  13
]
3.00 ms
(15.55%)
9
SELECT t0.project_item_id AS project_item_id_1, t0.name AS name_2, t0.level AS level_3, t0.created_at AS created_at_4, t0.deleted_at AS deleted_at_5, t0.key AS key_6, t0.project_id AS project_id_7, t0.item_id AS item_id_8, t0.parent_id AS parent_id_9 FROM project_projects_items t0 WHERE t0.project_item_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  1
]
2.17 ms
(11.28%)
7
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:
[
  1
]
1.97 ms
(10.22%)
1
SELECT DISTINCT p0_.project_item_parameter_id AS project_item_parameter_id_0 FROM project_projects_items_parameters p0_ WHERE (p0_.deleted_at IS NULL) LIMIT 20 OFFSET 20
Parameters:
[]
0.61 ms
(3.17%)
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
]
0.52 ms
(2.68%)
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_parameter_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) AND (p0_.deleted_at IS NULL)
Parameters:
[
  6
  48
  26
  12
  39
  57
  24
  19
  36
  25
  31
  30
  50
  21
  49
  47
  14
  3
  17
  37
]
0.41 ms
(2.14%)
1
SELECT count(*) AS sclr_0 FROM project_projects_items_parameters p0_ WHERE (p0_.deleted_at IS NULL)
Parameters:
[]

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 20
Project\Entity\ProjectItemParameterValue 17
Statement\Entity\Parameter 14
Project\Entity\ProjectItem 10
Statement\Entity\Item 7
Statement\Entity\Formula 5
Shared\Entity\Unit 3
Statement\Entity\ParameterType 2
Statement\Entity\Value 2
Project\Entity\Project 1

Entities Mapping

Class Mapping errors
Project\Entity\ProjectItemParameter 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.
Project\Entity\ProjectItemParameterValue No errors.
Project\Entity\Project No errors.
Statement\Entity\Item 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.