如何为非编码人员生成差异报告?
我使用过许多列出的 diff 工具 此处。我还没有找到一个具有良好报告工具的工具。我们的软件基线的变更将由变更控制委员会进行审查。我正在寻找一个 diff 工具,它可以生成一份差异报告,审核团队可以使用通用文件格式(pdf/word/html/etc)查看该报告。我想要一份与我使用 WinMerge 或 BeyondCompare 等可视化工具时看到的报告类似的报告。标准差异输出似乎让我的经理感到困惑。
我想看到这样的东西(无需生成屏幕截图):
不是这个:
9c3
< #define A(h,c)h[c&7]+=c,h[3]|=c;
---
> #define A(h,c)h[c&7]+=c,h[3]|=c
19,20c13,14
< if(v=v&v*4&v<<4&v<<6&v<<8){t+=4;a=v&=~(v/4);}
< else if(t)for(i=(h[i]&63)/(i?i:8);i-->5;)v=a&=a-1;
---
> if(v=v&v<<2&v<<4&v<<6&v<<8){t+=4;a=v&=~(v/2);}
> else if(t)for(i=(h[i]&63)/(i?i:8),v=a;i-->5;)a&=a-1;
I've used many of the diff tools listed here. What I haven't found is one that has good reporting tools. The changes to our software baseline that will be reviewed at a change control board. I am looking for a diff tool that will produce a report of differences that can be viewed by the review team using a common file format (pdf/word/html/etc). I'd like a report that looks similar to what I see when I use a visual tool like WinMerge or BeyondCompare. The standard diff output just seems to confuse my manager.
I'd like to see something like this (without having to generate a screenshot):
Not this:
9c3
< #define A(h,c)h[c&7]+=c,h[3]|=c;
---
> #define A(h,c)h[c&7]+=c,h[3]|=c
19,20c13,14
< if(v=v&v*4&v<<4&v<<6&v<<8){t+=4;a=v&=~(v/4);}
< else if(t)for(i=(h[i]&63)/(i?i:8);i-->5;)v=a&=a-1;
---
> if(v=v&v<<2&v<<4&v<<6&v<<8){t+=4;a=v&=~(v/2);}
> else if(t)for(i=(h[i]&63)/(i?i:8),v=a;i-->5;)a&=a-1;
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
BeyondCompare - 我会给任何人的唯一推荐。而且它的视觉效果比尖括号直观得多。
他们有一个很好的报告功能 - 将当前差异视图导出为 HTML。请参阅本页末尾: HTML 报告的布局
(来源:scootersoftware.com)
BeyondCompare - the only recommendation I will give to anyone. And it's visual is much intuitive than having angular brackets.
They have one nice feature of Reports - export to HTML the current difference view. Refer at the end of this page: layout of HTML report
(source: scootersoftware.com)
查看此链接。我创建此文件的唯一目的是在 2 个文件夹之间创建差异,并为增量生成一些 PMD 报告。
http://diffreport.sourceforge.net/
Checkout this link. This is something that I created for the sole purpose of creating diff between 2 folders and also generate some PMD reports for the delta.
http://diffreport.sourceforge.net/