Software engineering practice winter operations (2/2)
This work belongs courses | Spring 2020 | W class |
---|---|
Where the job requires | Winter operations (2/2) operational requirements |
The target job | github Use Code Specification epidemic statistical procedures written blog |
Text of the job | Winter operations (2/2) |
Other references |
Github repository address
Regional problems can not upload github
PSP table
PSP2.1 | Personal Software Process Stages | Estimated time consuming (minutes) | The actual time-consuming (minutes) |
---|---|---|---|
Planning | plan | 30 | 20 |
Estimate | Estimate how much time this task requires | 1200 | 1020 |
Development | Develop | 800 | 720 |
Analysis | Needs analysis (including learning new technologies) | 60 | 50 |
Design Spec | Generate design documents | 60 | 40 |
Design Review | Design Review | 30 | 20 |
Coding Standard | Code specifications (development of appropriate norms for the current development) | 20 | 20 |
Design | Specific design | 60 | 30 |
Coding | Specific coding | 420 | 450 |
Code Review | Code Review | 30 | 20 |
Test | Test (self-test, modify the code, submit modifications) | 30 | 30 |
Reporting | report | 60 | 50 |
Test Report | testing report | 30 | 20 |
Size Measurement | Computing workload | 10 | 10 |
Postmortem & Process Improvement Plan | Later summarized, and process improvement plan | 40 | 30 |
total | 2880 | 2550 |
Third, the analysis and design
ideas described
determines the data structure, determining the command line parameters.
The completion of the corresponding function command line parameters.
Log achieve read and modify the log.
Confirm log parameters are correct.
Fourth, the design and implementation process
to read the log and determine the correct format of the log
data to the log in accordance with a suitable data structure stored
read command line parameters
to complete the change log in accordance with a command line parameter
V. code shows
Class constructor
Class configuration command
According to the command-line parameters to achieve the function
Interpretation of command-line parameters are correct
Sixth, test shots.
Seven, unit test coverage
八、代码规范
地域问题无法上传GitHub
九、心路历程和收获
在往常的开发中习惯了拿网上或者自己开发过的源代码基础上修改,但这次作业确实给我带了很多的不方便。因为地域问题GitHub无法正常的上传和下载导致无法参考其他人,同时网上的相关资料也缺失。就这个问题我希望后面我能有所改观。
这个作业属于哪个课程 | 2020春|W班 |
---|---|
这个作业要求在哪里 | 寒假作业(2/2)作业要求 |
这个作业的目标 | github使用 代码规范制定 疫情统计程序 博客撰写 |
作业正文 | 寒假作业(2/2) |
其他参考文献 |
Github仓库地址
地域问题github无法上传
PSP表格
PSP2.1 | Personal Software Process Stages | 预估耗时(分钟) | 实际耗时(分钟) |
---|---|---|---|
Planning | 计划 | 30 | 20 |
Estimate | 估计这个任务需要多少时间 | 1200 | 1020 |
Development | 开发 | 800 | 720 |
Analysis | 需求分析 (包括学习新技术) | 60 | 50 |
Design Spec | 生成设计文档 | 60 | 40 |
Design Review | 设计复审 | 30 | 20 |
Coding Standard | 代码规范 (为目前的开发制定合适的规范) | 20 | 20 |
Design | 具体设计 | 60 | 30 |
Coding | 具体编码 | 420 | 450 |
Code Review | 代码复审 | 30 | 20 |
Test | 测试(自我测试,修改代码,提交修改) | 30 | 30 |
Reporting | 报告 | 60 | 50 |
Test Report | 测试报告 | 30 | 20 |
Size Measurement | 计算工作量 | 10 | 10 |
Postmortem & Process Improvement Plan | 事后总结, 并提出过程改进计划 | 40 | 30 |
合计 | 2880 | 2550 |
三、分析与设计
思路描述
确定数据结构,判断命令行参数。
根据命令行参数完成相应功能。
实现日志读取和日志修改。
确认日志、参数正确。
四、设计实现过程
读取日志并判断日志格式正确
将日志中的数据按照合适的数据结构存储
读取命令行参数
根据命令行参数完成日志的修改
五、代码展示
构造方法类
构造命令类
根据命令行参数实现功能
判读命令行参数是否正确
六、测试截图
七、单元测试覆盖率
八、代码规范
地域问题无法上传GitHub
九、心路历程和收获
在往常的开发中习惯了拿网上或者自己开发过的源代码基础上修改,但这次作业确实给我带了很多的不方便。因为地域问题GitHub无法正常的上传和下载导致无法参考其他人,同时网上的相关资料也缺失。就这个问题我希望后面我能有所改观。