第一次个人项目作业
| 这个作业属于那个课程 | https://edu.cnblogs.com/campus/gdgy/InformationSecurity1912-Softwareengineering |
|---|---|
| 这个作业要求在哪里 | https://edu.cnblogs.com/campus/gdgy/InformationSecurity1912-Softwareengineering/homework/12146 |
| 这个作业的目标 | 实现论文查重算法设计+学习psp表格+Jprofiler性能分析+git管理 |
PSP表格
| PSP2.1 | Personal Software Process Stages | 预估耗时(分钟) | 实际耗时(分钟) |
|---|---|---|---|
| Planning | 计划 | 30 | 40 |
| · Estimate | · 估计这个任务需要多少时间 | 40 | 50 |
| Development | 开发 | 360 | 420 |
| · Analysis | · 需求分析 (包括学习新技术) | 30 | 40 |
| · Design Spec | · 生成设计文档 | 40 | 40 |
| · Design Review | · 设计复审 | 20 | 20 |
| · Coding Standard | · 代码规范 (为目前的开发制定合适的规范) | 10 | 20 |
| · Design | · 具体设计 | 60 | 60 |
| · Coding | · 具体编码 | 300 | 360 |
| · Code Review | · 代码复审 | 30 | 30 |
| · Test | · 测试(自我测试,修改代码,提交修改) | 90 | 120 |
| Reporting | 报告 | 40 | 60 |
| · Test Repor | · 测试报告 | 20 | 20 |
| · Size Measurement | · 计算工作量 | 10 | 10 |
| · Postmortem & Process Improvement Plan | · 事后总结, 并提出过程改进计划 | 10 | 20 |
| · 合计 | 1090 | 1310 |
Github地址:https://github.com/VONVINRUI/3119005416
模块接口的设计:
mainclass:main方法所在类
readtxt、wirtetxt:读写txt文件类
File方法创建file类对象
FileInputStream、FileOutputStream创建输入输出流对象
simhash类包含:
1、simhash方法:传入String计算simhansh
2、BigInteger simHash方法:进行分词,得到数字指纹并测试
关键算法流程:

模块接口部分性能分析:
Jprofiler性能分析:

内容分析:
模块代码测试及部分代码展示:

测试结果:


模块异常处理说明

输入路径错误或文件不存在

浙公网安备 33010602011771号