遗留项目,遗留代码处理步骤
To-Do List
1. Create a place in your bug tracker for issue
在缺陷跟踪管理工具中创建相应跟踪目录
2. Organize the source code into your standard src, test, docs, etcs., directories.
依照现有你自己的系统的标准测试及文档等规范整理遗留代码
3. Wirte a build script
写Build脚本
4. Put the code in your repository
把代码放到你的代码库中
5. Integrate the code into your CI configuration
集成代码到项目的配置项中(代码库基本上已经是配置项了)
6. Write test simulating how you need to use the software
准备开始测试驱动开发
在上述过程中发现的问题
7. File bugs for issues you find
记录bug,我们有缺陷管理工具就ok了,登录到里面,指定负责人开始走流程
Optional To-Do List
1. Figure out what dependencies this code has and if it has any impact on Orion's Orbits' code
2. Figure out how to package the complied version to include in Orion's Orbits
3. Document the code
4. Run a coverage report to see how much code you need to fix
5. Get a line count of the code and estimate how long it will take to fix
6. Do a security audit on the code
7. Use a UML to reverse-engineer the code and create class diagrams