GET http://dev.liftapp.codlytech.it/api/extraordinary_jobs/statistics

Query Metrics

8 Database Queries
4 Different statements
3.67 ms Query time
5 Invalid entities
30 Managed entities

Queries

Group similar statements

# Time Info
1 0.44 ms
SELECT t0.created_at AS created_at_1, t0.updated_at AS updated_at_2, t0.deleted_at AS deleted_at_3, t0.id AS id_4, t0.email AS email_5, t0.roles AS roles_6, t0.username AS username_7, t0.password AS password_8, t0.last_access AS last_access_9 FROM sys_user t0 WHERE t0.id = ?
Parameters:
[
  2
]
2 0.47 ms
SELECT s0_.created_at AS created_at_0, s0_.updated_at AS updated_at_1, s0_.deleted_at AS deleted_at_2, s0_.id AS id_3, s0_.name AS name_4, s0_.road AS road_5, s0_.house_number AS house_number_6, s0_.city AS city_7, s0_.cap AS cap_8, s0_.province AS province_9, s0_.state AS state_10, s0_.country AS country_11, s0_.company_type AS company_type_12, s0_.phone AS phone_13, s0_.mail AS mail_14 FROM sys_company s0_ WHERE s0_.id = ?
Parameters:
[
  20
]
3 0.61 ms
SELECT j0_.created_at AS created_at_0, j0_.updated_at AS updated_at_1, j0_.deleted_at AS deleted_at_2, j0_.id AS id_3, j0_.expected_man_hours AS expected_man_hours_4, j0_.price_man_hour AS price_man_hour_5, j0_.job_total_price AS job_total_price_6, j0_.total_advanced_payment AS total_advanced_payment_7, j0_.job_offer_price AS job_offer_price_8, j0_.total_work_price AS total_work_price_9, j0_.name AS name_10, j0_.description AS description_11, j0_.status AS status_12, j0_.offer_number AS offer_number_13, j0_.offer_date AS offer_date_14, j0_.job_total_price_material AS job_total_price_material_15, j0_.priority AS priority_16, j0_.offer_acceptance_date AS offer_acceptance_date_17, j0_.relief_enabled AS relief_enabled_18, j0_.installation_enabled AS installation_enabled_19, j0_.material_enabled AS material_enabled_20, j0_.documentation_enabled AS documentation_enabled_21, j0_.documentation_ready AS documentation_ready_22, j0_.order_ref AS order_ref_23, j0_.type AS type_24, j0_.company_id AS company_id_25, j0_.implant_id AS implant_id_26 FROM job j0_ WHERE (j0_.company_id = ? AND j0_.deleted_at IS NULL) AND j0_.type IN (1)
Parameters:
[
  20
]
4 0.59 ms
SELECT t0.created_at AS created_at_1, t0.updated_at AS updated_at_2, t0.deleted_at AS deleted_at_3, t0.id AS id_4, t0.warehouse_quantity AS warehouse_quantity_5, t0.quantity AS quantity_6, t0.ordered_quantity AS ordered_quantity_7, t0.unit_cost AS unit_cost_8, t0.total_cost AS total_cost_9, t0.order_number AS order_number_10, t0.ddt AS ddt_11, t0.order_date AS order_date_12, t0.serial_number AS serial_number_13, t0.installation_date AS installation_date_14, t0.expiration_date AS expiration_date_15, t0.jobs_id AS jobs_id_16, t0.material_id AS material_id_17, t0.supplier_id AS supplier_id_18, t0.order_id AS order_id_19 FROM coll_job_material t0 WHERE t0.jobs_id = ?
Parameters:
[
  1
]
5 0.49 ms
SELECT t0.created_at AS created_at_1, t0.updated_at AS updated_at_2, t0.deleted_at AS deleted_at_3, t0.id AS id_4, t0.warehouse_quantity AS warehouse_quantity_5, t0.quantity AS quantity_6, t0.ordered_quantity AS ordered_quantity_7, t0.unit_cost AS unit_cost_8, t0.total_cost AS total_cost_9, t0.order_number AS order_number_10, t0.ddt AS ddt_11, t0.order_date AS order_date_12, t0.serial_number AS serial_number_13, t0.installation_date AS installation_date_14, t0.expiration_date AS expiration_date_15, t0.jobs_id AS jobs_id_16, t0.material_id AS material_id_17, t0.supplier_id AS supplier_id_18, t0.order_id AS order_id_19 FROM coll_job_material t0 WHERE t0.jobs_id = ?
Parameters:
[
  4
]
6 0.35 ms
SELECT t0.created_at AS created_at_1, t0.updated_at AS updated_at_2, t0.deleted_at AS deleted_at_3, t0.id AS id_4, t0.warehouse_quantity AS warehouse_quantity_5, t0.quantity AS quantity_6, t0.ordered_quantity AS ordered_quantity_7, t0.unit_cost AS unit_cost_8, t0.total_cost AS total_cost_9, t0.order_number AS order_number_10, t0.ddt AS ddt_11, t0.order_date AS order_date_12, t0.serial_number AS serial_number_13, t0.installation_date AS installation_date_14, t0.expiration_date AS expiration_date_15, t0.jobs_id AS jobs_id_16, t0.material_id AS material_id_17, t0.supplier_id AS supplier_id_18, t0.order_id AS order_id_19 FROM coll_job_material t0 WHERE t0.jobs_id = ?
Parameters:
[
  5
]
7 0.36 ms
SELECT t0.created_at AS created_at_1, t0.updated_at AS updated_at_2, t0.deleted_at AS deleted_at_3, t0.id AS id_4, t0.warehouse_quantity AS warehouse_quantity_5, t0.quantity AS quantity_6, t0.ordered_quantity AS ordered_quantity_7, t0.unit_cost AS unit_cost_8, t0.total_cost AS total_cost_9, t0.order_number AS order_number_10, t0.ddt AS ddt_11, t0.order_date AS order_date_12, t0.serial_number AS serial_number_13, t0.installation_date AS installation_date_14, t0.expiration_date AS expiration_date_15, t0.jobs_id AS jobs_id_16, t0.material_id AS material_id_17, t0.supplier_id AS supplier_id_18, t0.order_id AS order_id_19 FROM coll_job_material t0 WHERE t0.jobs_id = ?
Parameters:
[
  6
]
8 0.36 ms
SELECT t0.created_at AS created_at_1, t0.updated_at AS updated_at_2, t0.deleted_at AS deleted_at_3, t0.id AS id_4, t0.warehouse_quantity AS warehouse_quantity_5, t0.quantity AS quantity_6, t0.ordered_quantity AS ordered_quantity_7, t0.unit_cost AS unit_cost_8, t0.total_cost AS total_cost_9, t0.order_number AS order_number_10, t0.ddt AS ddt_11, t0.order_date AS order_date_12, t0.serial_number AS serial_number_13, t0.installation_date AS installation_date_14, t0.expiration_date AS expiration_date_15, t0.jobs_id AS jobs_id_16, t0.material_id AS material_id_17, t0.supplier_id AS supplier_id_18, t0.order_id AS order_id_19 FROM coll_job_material t0 WHERE t0.jobs_id = ?
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.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\CollJobMaterial 14
App\Entity\Job 5
App\Entity\Material 4
App\Entity\Implant 3
App\Entity\Registry 2
App\Entity\SysUser 1
App\Entity\SysCompany 1

Entities Mapping

Class Mapping errors
App\Entity\BaseEntity No errors.
App\Entity\SysUser
  • The mappings App\Entity\SysUser#sysRoles and App\Entity\CollSysUserSysCompany#user are inconsistent with each other.
App\Entity\CollSysUserSysCompany
  • The association App\Entity\CollSysUserSysCompany#user refers to the inverse side field App\Entity\SysUser#roles which is not defined as association.
  • The association App\Entity\CollSysUserSysCompany#user refers to the inverse side field App\Entity\SysUser#roles which does not exist.
App\Entity\Files No errors.
App\Entity\Job No errors.
App\Entity\ExtraordinaryJob No errors.
App\Entity\SysCompany No errors.
App\Entity\Registry No errors.
App\Entity\SysCompanyAddresses No errors.
App\Entity\Implant
  • The field App\Entity\Implant#jobs is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Job#implant does not contain the required 'inversedBy: "jobs"' attribute.
App\Entity\WorkOrder No errors.
App\Entity\OnSiteJob No errors.
App\Entity\Relief No errors.
App\Entity\CollJobMaterial No errors.
App\Entity\CollJobPayment No errors.
App\Entity\Material No errors.
App\Entity\Supplier
  • The field App\Entity\Supplier#jobMaterials is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\CollJobMaterial#supplier does not contain the required 'inversedBy: "jobMaterials"' attribute.
  • The field App\Entity\Supplier#orders is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Order#supplier does not contain the required 'inversedBy: "orders"' attribute.
App\Entity\Order
  • The field 'App\Entity\Order#totalAmount' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
  • The field App\Entity\Order#jobMaterials is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\CollJobMaterial#order does not contain the required 'inversedBy: "jobMaterials"' attribute.