|
|
|
|
|
Activity:
Write Code (CMMI Level 3 : TS 3.1 )
|
|
Participating Roles
Responsible:
Developer
Consult:
Architect |
To write code for a development task, identify the area where the change should occur, then write unit tests to validate the code, review and fix the written code, and finally integrate the code into the main source under version control. Additional steps may include debugging, refactoring, and shelving the code. After the code is written, reviews are necessary to ensure the quality of the code conforms to established practices and requirements. The code must not cause harmful side effects to other parts of the application.
Entry Criteria
- A development task derived from a scenario or quality of service requirement is identified, scheduled, and costed.
- If test driven development is used, a unit test for the development task is created.
Sub-Activities
|
1 |
Get Code Project |
- If a code project or solution (such as a Visual Studio solution) exists in which the new code will be created, check out the necessary files to write the new code.
- If a code project does not exist for the new code, create one.
|
2 |
Create New Classes or Methods |
- Consult the design or application diagram. Determine if you must create any additional classes or methods to implement the development task.
- Create any additional classes or methods in the code project. Consider using the Class Designer and class diagram to make the changes.
- Update the class diagram to reflect all changes made to the classes.
|
3 |
Implement Functionality |
- Write code to implement the functionality as designated by the development task and application diagram.
- If the new code requires changes to the application diagram, inform the architect.
|
Exit Criteria
|
The code for the development task is complete. |
|
Any new methods are consistent with the classes that they populate. | |
|
|
|
|
(C) 2005 Microsoft Corporation. All rights reserved.
MSF for CMMI Process Improvement: Build 050707 |
|