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

Query Metrics

54 Database Queries
8 Different statements
29.77 ms Query time
3 Invalid entities
80 Managed entities

Grouped Statements

Show all queries

Time Count Info
9.53 ms
(32.02%)
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:
[
  4
]
6.43 ms
(21.61%)
12
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:
[
  3
]
4.99 ms
(16.77%)
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
]
4.30 ms
(14.43%)
9
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
]
2.38 ms
(7.99%)
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
Parameters:
[]
1.05 ms
(3.53%)
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.63 ms
(2.12%)
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:
[
  42
  54
  29
  4
  34
  51
  41
  46
  40
  52
  43
  53
  32
  10
  9
  7
  35
  45
  38
  15
]
0.45 ms
(1.52%)
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 18
Statement\Entity\Parameter 12
Project\Entity\ProjectItem 9
Statement\Entity\Item 9
Statement\Entity\Formula 4
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.