How to: Create a Work Item Based on Code Metric Results

You can create a Team Foundation work item that is based on results in the Code Metric Results window. When the work item is created, Visual Studio automatically enters a title in the Title field and code metrics data under the History tab.

For more information about how to create work items, see How to: Create Work Items.

Note

This feature is only available if you are using Team Foundation Server.

To create a work item based on a result

  1. Right-click the result.

  2. Point to Create Work Item, and then click the type of work item you want to create (Bug, Task, and so forth).

  3. Complete the work item form by filling in all required fields.

  4. On the File menu, click Save All to save the work item.

To create a bug based on a result

  1. Click the result to select it.

  2. Click the Create Work Item button.

  3. Complete the work item form by filling in all required fields.

  4. On the File menu, click Save All to save the work item.

See Also

Other Resources

Measuring Complexity and Maintainability of Managed Code