Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
App\Http\Controllers\AI0%
App\Http\Controllers\Approvals0%
App\Http\Controllers\AuditLogsController0%
App\Http\Controllers\BusinessGoals0%
App\Http\Controllers\Companies0%
App\Http\Controllers\Configurations0%
App\Http\Controllers\DigitalCampaignAnalytics0%
App\Http\Controllers\FacturasController0%
App\Http\Controllers\FinanceController0%
App\Http\Controllers\FreshdeskController0%
App\Http\Controllers\IncentivesController0%
App\Http\Controllers\Itv0%
App\Http\Controllers\Leave0%
App\Http\Controllers\Menus0%
App\Http\Controllers\Notifications0%
App\Http\Controllers\OngoingJobs0%
App\Http\Controllers\Pipelines0%
App\Http\Controllers\PresupuestosController0%
App\Http\Controllers\PricesController0%
App\Http\Controllers\Sepa0%
App\Http\Controllers\TestResults0%
App\Http\Controllers\UserActivityController0%
App\Http\Controllers\VipClients0%
App\Http\Middleware\Authenticate0%
App\Http\Middleware\RedirectIfAuthenticated0%
App\Http\Middleware\TrustHosts0%
App\Http\Middleware\VerifySendgridSignature0%
App\Http\Requests\StoreClientFileRequest0%
App\Http\Requests\UpdateAdministratorRequest0%
App\Http\Requests\UpdateClientRequest0%
App\Http\Resources\ClientResource0%
App\Http\Resources\ClientTicketResource0%
App\Http\Controllers\Concerns\AuthorizesClientAccess0%
App\Http\Controllers\Users4%
App\Http\Controllers\IfexController7%
App\Http\Controllers\Quotations7%
App\Http\Controllers\GestionaController11%
App\Http\Controllers\AdministratorsController12%
App\Http\Controllers\ClientFilesController18%
App\Http\Controllers\ClientTypesController40%
App\Http\Controllers\StrategyTypesController40%
App\Http\Controllers\ClientsController62%
App\Http\Controllers\Concerns\ChecksRole80%
App\Http\Middleware\GzipResponse88%

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
__construct0%
send_email0%
isEmailValid0%
isValidHtml0%
isValidEmailSubject0%
update_administrator0%
delete_administrator0%
__construct0%
get_approvals0%
update_approval0%
list_approvers0%
list_workflow_approvers0%
create_approver0%
create_approver_v20%
create_workflow_approver0%
delete_approver0%
delete_approver_v20%
delete_workflow_approver0%
list_approval_budget_types0%
create_approval_budget_type0%
delete_approval_budget_type0%
list0%
history0%
show0%
callerIsAdmin0%
__construct0%
list_business_goals0%
business_goals0%
update_business_goals0%
store0%
destroy0%
update_client0%
delete_client0%
__construct0%
create_company0%
list_companies0%
get_company0%
get_company_users0%
get_user_companies0%
update_company_users0%
update_company_selected0%
delete_company_users0%
update_company0%
update_company_blocked0%
upload_file0%
delete_company0%
update_company_users_selected0%
create_company_users0%
get_cc_bcc0%
delete_cc_bcc0%
update_cc_bcc0%
create_cc_bcc0%
isEmailValid0%
get_blocked_domains0%
delete_blocked_domain0%
update_blocked_domain0%
create_blocked_domain0%
list_project_types0%
get_project_types0%
update_project_types0%
update_project_types_benchmarks0%
delete_project_types0%
list_workflow_project_types0%
update_workflow_project_types0%
delete_workflow_project_types0%
list_workflow_customer_types0%
update_workflow_customer_types0%
delete_workflow_customer_types0%
list_workflow_questions0%
update_workflow_questions0%
get_company_executive0%
get_all_details0%
list_all_companies0%
update_company_permission0%
list_facility_settings0%
update_facility_settings0%
list_trade_alignment_settings0%
update_trade_alignment_settings0%
__construct0%
list_customer_types0%
list_segments0%
list_reasons0%
list_budget_types0%
list_budget_type_groups0%
list_visit_types0%
list_visit_type_groups0%
list_budget_status0%
list_source0%
list_reason_for_not_following_up0%
list_reason_for_rejection0%
customer_types0%
segments0%
reasons0%
budget_types0%
budget_type_groups0%
visit_types0%
visit_type_groups0%
budget_status0%
source0%
reason_for_not_following_up0%
reason_for_rejection0%
add_customer_types0%
add_segments0%
add_reasons0%
add_budget_types0%
add_budget_type_groups0%
add_visit_types0%
add_visit_type_groups0%
add_budget_status0%
add_source0%
add_reason_for_not_following_up0%
add_reason_for_rejection0%
update_customer_types0%
update_segments0%
update_reasons0%
update_budget_types0%
update_budget_type_groups0%
update_visit_types0%
update_visit_type_groups0%
update_budget_status0%
update_source0%
update_reason_for_not_following_up0%
update_reason_for_rejection0%
delete_customer_types0%
delete_segments0%
delete_reasons0%
delete_budget_types0%
delete_budget_type_groups0%
delete_visit_types0%
delete_visit_type_groups0%
delete_budget_status0%
delete_source0%
delete_reason_for_not_following_up0%
delete_reason_for_rejection0%
list_work_status0%
work_status0%
update_work_status0%
delete_work_status0%
add_work_status0%
__construct0%
list_campaign_channel_and_landing0%
list_orders_ia0%
list_lead_status0%
toCamelCase0%
list_time_between_status0%
list_g3w_order_status0%
get_sources_digital_campaign_analytics0%
update_final_summary0%
get_final_summary0%
get_main_kpis0%
list_type_of_order0%
getG3wTasksExecuted0%
list_performance_metrics0%
get_kpi_big_query0%
__construct0%
getInvoices0%
getAllInvoices0%
getAllInvoicesExceptions0%
setInvoiceReminderActive0%
getInvoiceReminderActive0%
addInvoiceReminderException0%
getInvoice0%
addInvoiceNextReminder0%
uploadToCyC0%
setAllMonthAdministratorsInvoices0%
sendAdministratorsInvoices0%
sendCallCenterInvoices0%
handleGoogleAuthCallback0%
downloadAllInvoices0%
downloadAllInvoicesExceptions0%
listCreditDaysOffered0%
__construct0%
getCompany0%
getCompanyIds0%
getZenitalSucursalesMap0%
zenitalIdToSedeId0%
sedeIdToZenitalId0%
isZenitalSede0%
getCompanyIdBySedeId0%
buildZenitalSedeMap0%
resolveZenitalSedeMap0%
ensureSedesExist0%
list_regions0%
list_sedes0%
list_budget0%
upsert_budget0%
bulk_upsert_budget0%
list_prevision0%
upsert_prevision0%
bulk_upsert_prevision0%
list_resumen0%
load_resumen0%
list_report_semanal0%
load_report_semanal0%
upsert_resumen_cell0%
upsert_report_semanal_cell0%
list_recipients0%
create_recipient0%
update_recipient0%
delete_recipient0%
send_report0%
test_report0%
import_from_drive0%
create_sede0%
delete_sede0%
list_month_config0%
update_month_config0%
webhook0%
updateApiCredentials0%
getApiDetails0%
getLastUpdate0%
getAcceptanceWarnings0%
getSyncStatus0%
getG3wActive0%
updateG3wActive0%
getMappings0%
setMappings0%
deleteMappings0%
getAllBudgetMonitor0%
syncAllBudgetMonitor0%
getDuplicatedValues0%
request0%
syncQuotations0%
createQuotation0%
updateQuotation0%
__construct0%
getCompanyIds0%
list_criteria0%
list_datos0%
list_parameters0%
update_parameter0%
list_parameters_log0%
callerIsAdmin0%
quarterRange0%
__construct0%
list_itv0%
get_dates0%
update_itv0%
create_itv0%
delete_itv0%
get_itv0%
human_filesize0%
get_itv_files0%
delete_itv_file0%
download_itv_file0%
isEmailValid0%
email_reminders0%
email_reminders_mileage0%
get_distincts0%
get_all_users0%
download_itv0%
__construct0%
list_leave0%
create_leave0%
update_leave0%
delete_leave0%
get_leave0%
get_dates0%
download_leave0%
__construct0%
list_menu0%
get_user_menu0%
menu0%
recursive_sub_items0%
update_user_menu0%
add_user_menu0%
__construct0%
list_notifications0%
update_notifications0%
send_follow_up_notification0%
send_request0%
send_g3w_warning0%
send_request_notification0%
get_cc_bcc0%
delete_cc_bcc0%
update_cc_bcc0%
create_cc_bcc0%
isEmailValid0%
delete_notifications0%
list_notification_logs0%
delete_notification_logs0%
get_cc_g3w0%
delete_cc_g3w0%
update_cc_g3w0%
create_cc_g3w0%
get_cc_bcc_request0%
delete_cc_bcc_request0%
update_cc_bcc_request0%
create_cc_bcc_request0%
send_executive0%
send_executive_report0%
get_executive_reports0%
currency0%
get_cc_bcc_executive0%
delete_cc_bcc_executive0%
update_cc_bcc_executive0%
create_cc_bcc_executive0%
update_notification_settings0%
get_notification_settings0%
send_report_logs0%
get_emails_acceptance_notifications0%
create_to_email_acceptance0%
delete_to_email_acceptance0%
update_to_email_acceptance0%
create_cc_email_acceptance0%
delete_cc_email_acceptance0%
update_cc_email_acceptance0%
list_last_follow_up_date0%
update_last_follow_up_date_working_days0%
update_last_follow_up_date0%
delete_last_follow_up_date0%
__construct0%
list_ongoing_jobs0%
approve_job0%
reject_job0%
move_to_ongoing_jobs0%
send_mail0%
bulk_update_ongoing_job0%
delete_ongoing_job0%
download_ongoing_jobs0%
update_ongoing_job0%
get_dates0%
get_job0%
list_job_analytics0%
get_years0%
list_margin_jobs_analytics0%
get_total_jobs_in_red0%
get_active_job_dates0%
update_ongoing_jobs_month_change0%
update_ongoing_jobs_month_change_manual0%
get_revenue_per_month0%
__construct0%
list_pipelines0%
create_pipeline0%
update_pipeline0%
delete_pipelines0%
get_dates0%
get_all_users0%
get_pipeline0%
get_distincts0%
get_past_added_pipelines0%
download_pipelines0%
__construct0%
syncByDate0%
syncErrorBudgets0%
syncBudgetsWorks0%
syncById0%
getCountFailedBudgets0%
syncByIds0%
listResyncRuns0%
getResyncSummary0%
downloadSyncBudgetsWorks0%
byPostalCode0%
listServices0%
buildMatch0%
normalizeRegion0%
create_quotation0%
currency0%
send_approval_notification0%
send_approval_margin_notification0%
approve_quotation0%
send_approved_notification0%
reject_quotation0%
send_rejected_notification0%
callDeleteQuotation0%
get_quotation0%
get_quotation_log0%
send_notification0%
validate_email0%
get_dates0%
list_quotation_analytics_by_source0%
list_quotation_analytics_send_budgets0%
list_quotation_analytics_track_budgets0%
list_quotation_analytics_types_budgets0%
download_quotations0%
download_quotations_csv0%
bulk_upload0%
list_bulk_upload0%
delete_number0%
get_years0%
human_filesize0%
get_files0%
download_file0%
delete_file0%
send_email_to_client0%
send_email_follow_ups0%
create_sender_identity0%
get_sender_identity0%
get_all_sender_identity0%
delete_sender_identity0%
create_template0%
get_email_files0%
download_email_template_file0%
delete_email_template_file0%
update_email_template_order0%
update_email_template0%
delete_template0%
get_email_template0%
update_sender_identity0%
resend_verification0%
list_quotation_analytics_by_performance0%
list_orders_update_logs0%
list_g3w_orders_update_logs0%
list_g3w_orders_failed0%
update_budget_status_rejected_manual0%
update_budget_status_rejected0%
bulk_update_quotation0%
move_budget_and_job0%
list_quotation_analytics_by_types_of_budgets_created_per_week0%
preview_file0%
get_past_added_quotation0%
send_acceptance_notification0%
get_total_quotations_by_budget_status0%
sendgrid_webhook_receiver0%
isEmailValid0%
list_email_status0%
list_quotation_analytics_commercial0%
clear_open_data0%
list_quotation_analytics_order_size0%
send_email_template_preview0%
list_quotation_analytics_by_types_of_budgets_company_per_week0%
request_permission_commercial0%
confirm_update_commercial0%
calculateEmailRequestSize0%
list_quotation_analytics_commercial_productivity0%
list_quotations_deleted0%
delete_sengrid0%
download_productivity_commercial0%
list_quotation_analytics_by_service_type0%
getIdsFromInternalQuoteIds0%
checkQuotationExistByInternalQuoteId0%
setSolicitudDuplicity0%
getQuoteIdOfDuplicityById0%
download_s3_files0%
getQuotationStatusByInternalId0%
findQuotationByInternalId0%
__construct0%
send_vefification_email0%
isEmailValid0%
__construct0%
list_test_results0%
record0%
timeline0%
resolveUserId0%
callerIsAdmin0%
create_users0%
get_users0%
get_user0%
getUserByName0%
getAllUserNames0%
add_company_user0%
delete_company_user0%
update_users0%
delete_users0%
get_roles0%
get_all_commercials0%
get_g3w_warning_fields0%
get_created_by0%
get_commercial_with_pendings0%
get_responsible_for_work0%
get_job_created_by0%
get_accepted_by0%
get_commercials0%
update_users_itv0%
list_roles0%
update_role0%
delete_role0%
__construct0%
list_vip_clients0%
create_vip_client0%
update_vip_client0%
delete_vip_client0%
redirectTo0%
handle0%
hosts0%
handle0%
authorize0%
rules0%
failedValidation0%
authorize0%
rules0%
failedValidation0%
authorize0%
rules0%
failedValidation0%
toArray0%
toArray0%
commercialOwnsClient0%
canDelete0%
create_client18%
create_administrator22%
list_quotations24%
list_client_types25%
list_strategy_types25%
update_quotation28%
download38%
list_administrators40%
index55%
get_user_by_email56%
__construct61%
__construct61%
isInvalidEmail70%
isBlacklistedEmail75%
get_client77%
get_number78%
list_clients85%
delete_quotation87%
handle88%

Project Risks

Method CRAP
update_quotation9518
send_email_follow_ups9506
list_leave7832
list_quotations7825
send_email_to_client7140
list_itv5700
list_pipelines4970
list_ongoing_jobs4830
list_quotation_analytics_order_size4422
list_quotation_analytics_commercial_productivity4422
list_quotation_analytics_by_types_of_budgets_created_per_week3782
list_quotation_analytics_by_types_of_budgets_company_per_week3782
list_quotation_analytics_commercial2970
get_kpi_big_query2756
download_productivity_commercial2450
list_report_semanal2070
create_company1980
get_files1892
list_quotation_analytics_by_source1722
list_margin_jobs_analytics1560
list_resumen1406
update_itv1332
list_quotation_analytics_track_budgets1332
list_type_of_order1260
list_quotation_analytics_by_service_type1260
send_mail1056
list_quotation_analytics_types_budgets1056
get_main_kpis992
create_itv870
send_approval_notification812
list_g3w_order_status600
list_job_analytics600
upsert_report_semanal_cell552
listCreditDaysOffered420
list_quotation_analytics_send_budgets380
list_campaign_channel_and_landing342
list_performance_metrics342
business_goals306
list_lead_status306
email_reminders306
update_parameter272
send_follow_up_notification272
send_request_notification272
send_approval_margin_notification272
send_email_template_preview272
update_users272
list_orders_ia240
send_executive_report240
downloadSyncBudgetsWorks240
approve_quotation240
reject_quotation240
load_report_semanal210
download_ongoing_jobs210
create_quotation210
sendgrid_webhook_receiver210
send_email182
upsert_resumen_cell182
getAllBudgetMonitor182
setMappings156
send_acceptance_notification156
load_resumen132
request132
record132
timeline132
list110
list_time_between_status110
list_criteria110
send_approved_notification110
send_rejected_notification110
update_budget_status_rejected110
getQuotationStatusByInternalId110
create_users110
update_facility_settings90
update_trade_alignment_settings90
get_final_summary90
update_ongoing_job90
getResyncSummary90
update_email_template90
get_total_quotations_by_budget_status90
send_vefification_email90
send_executive72
create_template72
request_permission_commercial72
checkQuotationExistByInternalQuoteId72
download_s3_files72
destroy56
email_reminders_mileage56
download_file56
create_sender_identity56
calculateEmailRequestSize56
resolveUserId56
handle56
update_business_goals42
store42
update_client42
get_user_companies42
create_company_users42
getAcceptanceWarnings42
getMappings42
syncAllBudgetMonitor42
list_datos42
update_user_menu42
add_user_menu42
approve_job42
reject_job42
move_to_ongoing_jobs42
getCountFailedBudgets42
listResyncRuns42
send_notification42
validate_email42
delete_users42
list_clients30
isValidEmailSubject30
history30
update_company30
upload_file30
list_project_types30
update_project_types30
update_customer_types30
update_segments30
update_reasons30
update_budget_types30
update_budget_type_groups30
update_visit_types30
update_visit_type_groups30
update_budget_status30
update_source30
update_reason_for_not_following_up30
update_reason_for_rejection30
update_work_status30
addInvoiceNextReminder30
isZenitalSede30
resolveZenitalSedeMap30
ensureSedesExist30
update_recipient30
deleteMappings30
syncQuotations30
createQuotation30
updateQuotation30
get_executive_reports30
update_to_email_acceptance30
update_cc_email_acceptance30
update_last_follow_up_date30
get_past_added_pipelines30
byPostalCode30
bulk_upload30
delete_file30
list_quotation_analytics_by_performance30
list_g3w_orders_failed30
bulk_update_quotation30
move_budget_and_job30
get_past_added_quotation30
list_email_status30
clear_open_data30
get_user30
add_company_user30
delete_administrator20
show20
delete_client20
__construct20
delete_company_users20
update_cc_bcc20
create_cc_bcc20
update_company_permission20
list_facility_settings20
list_trade_alignment_settings20
__construct20
getInvoices20
getAllInvoices20
uploadToCyC20
setAllMonthAdministratorsInvoices20
sendAdministratorsInvoices20
downloadAllInvoices20
getCompanyIds20
bulk_upsert_budget20
bulk_upsert_prevision20
create_recipient20
send_report20
test_report20
webhook20
getApiDetails20
getLastUpdate20
getCompanyIds20
__construct20
delete_itv20
get_itv_files20
download_itv_file20
__construct20
delete_leave20
list_menu20
menu20
recursive_sub_items20
__construct20
list_notifications20
update_cc_bcc20
create_cc_bcc20
update_cc_g3w20
create_cc_g3w20
update_cc_bcc_request20
create_cc_bcc_request20
update_cc_bcc_executive20
create_cc_bcc_executive20
create_to_email_acceptance20
create_cc_email_acceptance20
list_last_follow_up_date20
__construct20
bulk_update_ongoing_job20
delete_ongoing_job20
__construct20
delete_pipelines20
syncByDate20
syncErrorBudgets20
syncBudgetsWorks20
get_sender_identity20
delete_sender_identity20
get_email_files20
download_email_template_file20
update_sender_identity20
preview_file20
delete_sengrid20
setSolicitudDuplicity20
findQuotationByInternalId20
get_g3w_warning_fields20
get_created_by20
get_commercial_with_pendings20
get_responsible_for_work20
get_job_created_by20
get_accepted_by20
get_commercials20
update_users_itv20
handle20
download18
create_client12
get_number12
update_administrator12
create_approver12
create_approver_v212
create_workflow_approver12
callerIsAdmin12
get_company12
get_company_users12
delete_company12
update_company_users_selected12
get_blocked_domains12
update_blocked_domain12
create_blocked_domain12
get_project_types12
update_project_types_benchmarks12
delete_project_types12
update_workflow_project_types12
update_workflow_customer_types12
delete_customer_types12
delete_segments12
delete_reasons12
delete_budget_types12
delete_budget_type_groups12
delete_visit_types12
delete_visit_type_groups12
delete_budget_status12
delete_source12
delete_reason_for_not_following_up12
delete_reason_for_rejection12
delete_work_status12
toCamelCase12
getAllInvoicesExceptions12
setInvoiceReminderActive12
getInvoiceReminderActive12
getInvoice12
sendCallCenterInvoices12
sedeIdToZenitalId12
getCompanyIdBySedeId12
buildZenitalSedeMap12
upsert_budget12
upsert_prevision12
updateApiCredentials12
getSyncStatus12
getG3wActive12
updateG3wActive12
list_parameters_log12
callerIsAdmin12
delete_itv_file12
get_all_users12
get_dates12
update_notifications12
send_request12
send_g3w_warning12
list_notification_logs12
send_report_logs12
delete_last_follow_up_date12
get_dates12
get_years12
get_total_jobs_in_red12
get_active_job_dates12
update_ongoing_jobs_month_change_manual12
get_dates12
get_all_users12
get_distincts12
normalizeRegion12
get_dates12
list_bulk_upload12
get_years12
delete_email_template_file12
update_email_template_order12
get_email_template12
resend_verification12
list_orders_update_logs12
update_budget_status_rejected_manual12
confirm_update_commercial12
list_quotations_deleted12
getQuoteIdOfDuplicityById12
callerIsAdmin12
get_users12
getUserByName12
update_role12
get_user_by_email11
delete_quotation9
handle9
create_administrator7
isInvalidEmail6
isEmailValid6
get_approvals6
update_approval6
list_approvers6
list_workflow_approvers6
delete_approver6
delete_approver_v26
delete_workflow_approver6
list_approval_budget_types6
create_approval_budget_type6
delete_approval_budget_type6
list_business_goals6
list_companies6
update_company_users6
update_company_selected6
update_company_blocked6
get_cc_bcc6
delete_cc_bcc6
isEmailValid6
delete_blocked_domain6
list_workflow_project_types6
delete_workflow_project_types6
list_workflow_customer_types6
delete_workflow_customer_types6
list_workflow_questions6
update_workflow_questions6
get_company_executive6
get_all_details6
list_all_companies6
list_customer_types6
list_segments6
list_reasons6
list_budget_types6
list_budget_type_groups6
list_visit_types6
list_visit_type_groups6
list_budget_status6
list_source6
list_reason_for_not_following_up6
list_reason_for_rejection6
add_customer_types6
add_segments6
add_reasons6
add_budget_types6
add_budget_type_groups6
add_visit_types6
add_visit_type_groups6
add_budget_status6
add_source6
add_reason_for_not_following_up6
add_reason_for_rejection6
list_work_status6
add_work_status6
get_sources_digital_campaign_analytics6
update_final_summary6
getG3wTasksExecuted6
downloadAllInvoicesExceptions6
list_regions6
list_sedes6
list_budget6
list_prevision6
list_recipients6
delete_recipient6
import_from_drive6
create_sede6
delete_sede6
list_month_config6
update_month_config6
getDuplicatedValues6
list_parameters6
quarterRange6
get_dates6
get_itv6
isEmailValid6
get_distincts6
create_leave6
update_leave6
get_leave6
get_user_menu6
get_cc_bcc6
delete_cc_bcc6
isEmailValid6
delete_notifications6
delete_notification_logs6
get_cc_g3w6
delete_cc_g3w6
get_cc_bcc_request6
delete_cc_bcc_request6
currency6
get_cc_bcc_executive6
delete_cc_bcc_executive6
update_notification_settings6
get_notification_settings6
get_emails_acceptance_notifications6
delete_to_email_acceptance6
delete_cc_email_acceptance6
update_last_follow_up_date_working_days6
get_job6
get_revenue_per_month6
create_pipeline6
update_pipeline6
get_pipeline6
syncById6
syncByIds6
listServices6
buildMatch6
currency6
get_quotation6
delete_number6
get_all_sender_identity6
delete_template6
list_g3w_orders_update_logs6
isEmailValid6
isEmailValid6
list_test_results6
getAllUserNames6
delete_company_user6
get_roles6
get_all_commercials6
list_roles6
delete_role6
list_vip_clients6
create_vip_client6
update_vip_client6
delete_vip_client6
redirectTo6
index5
isBlacklistedEmail5
__construct4
__construct4
get_client4
list_client_types3
list_strategy_types3
list_administrators2