Analyze source code trends
Track source code changes and review their impact.
-
Open the Source Code page.
-
All source code information on the page is specific to the options selected at the top of the screen.
- Make sure the correct release is selected, and then select a time period within the release.
- Depending on the report you are viewing, filter information by application, team, and SCM branch as needed.
-
Review the overall Development Effort. This is expressed by the number of changed lines of code, broken down by their association with user stories, defects, or neither.
-
Analyze the source code using the following views:
Change Impact
Displays the user stories and defects impacted by code changes. The associated change sets are grouped under each user story and defect.
- Select whether to display code changes associated with user stories or defects.
- Filter the user stories and defects by application, team, and SCM branch.
- Expand the change sets below each user story or defect.
- Click a column header to sort the grid by that column.
Browse Code
- Displays a heatmap of the code repository, representing metrics such as defect density and code churn per folder.
- Enables you to explore and examine the repository at each folder level.
For more details, see Browse the source code library.
Change Log
Lists the change sets chronologically.
- Filter the change sets by team and SCM branch.
- To view only builds of a specific build configuration, select Include Builds, and then select the type of builds you want to view.
-
Select Show unassigned changes only to list only changes that are not associated with user stories or defects.
-
Click the path link to open the contents of the file in a separate tab.
- Click [Diff] to display a side-by-side comparison of the current file version with the previous version.
- Click Show details to display details of the change on the Source Code page.
- Click
to display the Search box, and search the Change Log for items with specific keywords.the Search box to
Search the Change Log
Search for items that contains specific keywords in the commit message, names of files changed, or committer name. Search for names by SCM username, or the user's login name (email address).
To search, click
to display the Search box, and enter the keyword you want to search for.
Note:
The search is performed by default in change sets from the last 31 days. To search older change sets, click Search for Older Change Sets in the search results.
Searches are only supported when the Include builds option is cleared.