Choosing Problems
During analysis, the
Intel Inspector
displays problems in the order detected in the
Problems
pane.
After analysis is complete, the
Intel Inspector
:
- Groups problems detected during analysis into problem sets(but still provides visibility into individual problems and problem occurrences).
- Prioritizes the items in theProblemspane.
- Offers filtering to help you focus on those items that require your attention. For example, you can temporarily limit the items displayed in theProblemspane by:
About Prioritization
Intel Inspector
assigns problems a
severity level:
Critical
(
Error
(
Warning
(
Problem sets inherit the severity of the problems
they contain. The
Intel Inspector
prioritizes problem sets first by severity and then by number of code
locations. Problem sets containing more code locations precede those containing
fewer.
Think of this prioritized list of items on the
Problems
pane as a
to-do
list. Start at the top and work down.
About Filtering by Inclusion
Use the
Intel Inspector
filtering function to temporarily limit the items in the
Problems
pane
to only those problem sets containing problems that meet specific criteria.
For example, you can filter the list to show only
those problem sets containing problems...
- WithInvestigated=Not investigatedto show only problem sets with a state ofNew,Not fixed, orRegression(that is, hide the problem sets you have already investigated)
- Or withState=Not fixedandSeverity=Error
- Or withState=Not fixedandSeverity=ErrorandType=Data Race
- Or in a specific file
About Filtering by Exclusion
Use the
Intel Inspector
filtering function to temporarily set aside occurrences of the same, possibly
false positive, items en masse in the
Problems
pane. For example:
- In theInvestigatedcategory in theFilterspane on theSummarywindow, chooseNot investigatedto display only problems with a state ofNew,Not fixed, orRegression.If this is the first result of this analysis type, or if you chose theDo not get problem states from another resultoption on theState Managementpage of the productOptionsdialog box during startup, all problems have a state ofNew.
- Click theSortdrop-down list in theFilterspane and chooseSort by Item Countto sort remaining problems by count in descending numerical order.
- In theTypecategory in theFilterspane, choose the problem type with the highest item count to display only those problems in theProblemspane.
- Click on any problem in theProblemspane, then press Ctrl+A to select all problems.
- Right-click any of the selected problems to display a context menu, then chooseto change the state of all selected problems.
- In theTypecategory, click theAllbutton to deselect problem criteria.
- Repeat steps 3 - 6 for each problem type with many occurrences.
- Start working the remaining problems.
Be aware that when you temporarily set aside
problems en masse, you may inadvertently set aside a problem of interest. For
example, if you are not responsible for problems in source file A and you:
- Use the filtering function to select all problems in source file A.
- Set the state for all problems in source file A toNot a problem.
Some of these problems may touch more than one
source file. When you filter on a source file, you filter on all problems
intersecting that source file. The fact that a problem has some intersection
with a file for which you are not responsible does not mean the problem does
not concern you.
However if you are responsible for source files A,
B, and C, you can filter first to source file A, then to source file B, then to
source file C. You may see some problems more than once, but you will
ultimately investigate all problems in files for which you are responsible.
About Filtering by a Set of Source Files
Use the
Intel Inspector
filtering function to temporarily limit the items in the
Problems
pane
to those from a set of source files.