# PHP Profile Perspective

The PHP Profile Perspective can be launched automatically when a profile session is run. It allows you to view all the information relevant to scripts that you profile.

#### Note:

To configure whether the PHP Profile Perspective is launched automatically when a profile session is run, go to Window | Preferences | PHP | Profile and select Always, Never or Prompt in the 'Open associated perspective on receiving session data' category.

As a default, the PHP Profile Perspective contains the following views:

- Profiling Monitor View - displays a list of previously run profiling sessions.
- Profiler Information View - provides general information about profiling sessions such as: duration, date, number of files constructing the requested URL and more.
- Execution Statistics View - displays the list of files that were called during the profiling process and detailed information on processing times for elements within the files.
- Execution Flow View - shows the flow of the execution process and summarizes percentages and times spent on each function.

There are also additional views that can be opened by the appropriate action on profile session data items:

- Code Coverage Summary View - summary of how many lines of code were covered during the profiling process.
- Code Coverage View - shows the graphical presentation of code coverage for chosen PHP script.
- Function Invocation Statistics View - displays statistics about the selected function, the functions it was invoked by and functions that it invoked.

#### Related Links:

- Profiling
- Profiling Monitor View
- Profiler Information View
- Execution Statistics View
- Execution Flow View
- Code Coverage Summary View
- Code Coverage View
- Function Invocation Statistics View