<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[attribute47的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/attribute47</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; attribute47]]></copyright><item><title><![CDATA[Defects4J 安装与使用（新手向 2023.12.3 可用）]]></title><link>https://blog.youkuaiyun.com/attribute47/article/details/117352449</link><guid>https://blog.youkuaiyun.com/attribute47/article/details/117352449</guid><author>attribute47</author><pubDate>Fri, 28 May 2021 10:39:50 +0800</pubDate><description><![CDATA[Defects4J 是软件工程研究中用于实现受控实验的真实故障数据库和实验基础设施。]]></description><category></category></item><item><title><![CDATA[动态切片工具 javaslicer【2】]]></title><link>https://blog.youkuaiyun.com/attribute47/article/details/111916694</link><guid>https://blog.youkuaiyun.com/attribute47/article/details/111916694</guid><author>attribute47</author><pubDate>Sat, 08 May 2021 20:20:20 +0800</pubDate><description><![CDATA[前文 简单介绍了项目，下面进行操作。
运行环境与说明一致：
&gt; ubuntu@VM-0-8-ubuntu:~$ javac -version
javac 1.6.0_20
&gt; ubuntu@VM-0-8-ubuntu:~$ mvn -version
Apache Maven 2.2.0 (r788681; 2009-06-26 21:04:01+0800)
Java version: 1.6.0_20

执行 assemble.sh，报错 Plugin requires Maven versio]]></description><category></category></item><item><title><![CDATA[Indri 建立索引及检索]]></title><link>https://blog.youkuaiyun.com/attribute47/article/details/116275619</link><guid>https://blog.youkuaiyun.com/attribute47/article/details/116275619</guid><author>attribute47</author><pubDate>Thu, 29 Apr 2021 22:34:53 +0800</pubDate><description><![CDATA[Indri 搜索引擎，为文本集合提供最先进文本搜索和丰富的结构化查询语言。


Lemur 项目 Wiki（重点！） 、官网


蒙特利尔大学 Jing He 的 PDF


1-Windows 版
安装完成后，启动根目录 lib 中的 IndexUI.jar 和 RetUI.jar，Help 中有相关说明。可参考 Youtube 的指南（西班牙语）。


2-Lunix 版
需要 Build-Essential 、g++（5.4 或更早版本）、make、zlib1g-dev，安装过程参考 文章
执行 bi]]></description><category></category></item><item><title><![CDATA[BugLocator 错误文件定位工具]]></title><link>https://blog.youkuaiyun.com/attribute47/article/details/115155204</link><guid>https://blog.youkuaiyun.com/attribute47/article/details/115155204</guid><author>attribute47</author><pubDate>Wed, 24 Mar 2021 01:34:35 +0800</pubDate><description><![CDATA[BugLocator（12年的） 下载地址、参考文献、 站内导读

Zhou J, Zhang H, Lo D. Where should the bugs be fixed? more accurate information retrieval-based bug localization based on bug reports[C]//2012 34th International Conference on Software Engineering (ICSE). IEEE, 2012: 14-2]]></description><category></category></item><item><title><![CDATA[fault-localization-data 框架]]></title><link>https://blog.youkuaiyun.com/attribute47/article/details/113526291</link><guid>https://blog.youkuaiyun.com/attribute47/article/details/113526291</guid><author>attribute47</author><pubDate>Tue, 02 Feb 2021 17:17:37 +0800</pubDate><description><![CDATA[腾讯云 Ubuntu 16.04.7 LTS (GNU/Linux 4.4.0-157-generic x86_64)




所需文件
下载地址（2021.2.1）




JDK 8
地址


Fault-localization-data
地址


Defects4j-2.0.0
地址


Defects4j-repos
直接下载


DBI-1.643
直接下载


搭建环境步骤：
tar -zxvf jdk-8u281-linux-x64.tar.gz
# 配置JDK环境变量
sudo vim /]]></description><category></category></item><item><title><![CDATA[关于 Source Lines of Code 源码行数]]></title><link>https://blog.youkuaiyun.com/attribute47/article/details/112912456</link><guid>https://blog.youkuaiyun.com/attribute47/article/details/112912456</guid><author>attribute47</author><pubDate>Thu, 21 Jan 2021 00:37:34 +0800</pubDate><description><![CDATA[Source Lines of Code SLOC 是常用于衡量软件项目大小和复杂程度的度量标准。分为 Physical 物理源码行数 和 Logical 逻辑源码行数 。

物理源码行数：文本的行数，包括注释，甚至空行等，更易获得
逻辑源码行数：可执行表达式的数量，但与编程语言、特殊定义相关，难获得

示例
for (i=0; i&lt;100; ++i) printf("%d bottles of beer on the wall\n");
//How many LOCs is here?

for (]]></description><category></category></item><item><title><![CDATA[Indir 配置与使用【1】]]></title><link>https://blog.youkuaiyun.com/attribute47/article/details/112851865</link><guid>https://blog.youkuaiyun.com/attribute47/article/details/112851865</guid><author>attribute47</author><pubDate>Wed, 20 Jan 2021 18:10:14 +0800</pubDate><description><![CDATA[This version of XXXX was built with gcc version 5.4.  GCC 7+ is not supported. We suggest creating a Docker container with a tested version of gcc for systems that do not support gcc versions lower than gcc 7.
We have tested using GCC 4.4.7 (CentOS 6.7 li.]]></description><category></category></item><item><title><![CDATA[Liunx JDK 7 安装配置【准备重写】]]></title><link>https://blog.youkuaiyun.com/attribute47/article/details/111870181</link><guid>https://blog.youkuaiyun.com/attribute47/article/details/111870181</guid><author>attribute47</author><pubDate>Mon, 28 Dec 2020 17:48:04 +0800</pubDate><description><![CDATA[Liunx 中使用指令 apt-get install openjdk-8-jdk 即可自行安装 JDK 8 或以上版本。
&gt; ubuntu@VM-0-8-ubuntu:~$ java -version
openjdk version "1.8.0_275" #2020年12月28日
OpenJDK Runtime Environment (build 1.8.0_275-8u275-b01-0ubuntu1~18.04-b01)
OpenJDK 64-Bit Server VM (build 25.]]></description><category></category></item><item><title><![CDATA[动态切片工具 javaslicer【1】]]></title><link>https://blog.youkuaiyun.com/attribute47/article/details/111654098</link><guid>https://blog.youkuaiyun.com/attribute47/article/details/111654098</guid><author>attribute47</author><pubDate>Sun, 27 Dec 2020 20:14:13 +0800</pubDate><description><![CDATA[优快云 中已有两篇文章 参考1、参考2，本文仅提供简单信息，不赘述太多内容。
JavaSlicer 是 Saarland 大学 Clemens Hammacher 开发的开源动态切片工具。官方站、Github
安装

JDK
Apache Maven

因为 JDK 1.8 引入了 JavaSlicer 无法处理的新特性，所以目前建议使用1.6和1.7。文档中给出的配置是：
javac 1.6.0_20
Apache Maven 2.2.0 (r788681; 2009-06-26 15:04:01+02]]></description><category></category></item><item><title><![CDATA[Gzoltar 工具【2021.6.11】]]></title><link>https://blog.youkuaiyun.com/attribute47/article/details/111300533</link><guid>https://blog.youkuaiyun.com/attribute47/article/details/111300533</guid><author>attribute47</author><pubDate>Mon, 21 Dec 2020 21:50:23 +0800</pubDate><description><![CDATA[GZoltar 命令行快速上手指南]]></description><category></category></item><item><title><![CDATA[Pitest 变异测试工具【1】]]></title><link>https://blog.youkuaiyun.com/attribute47/article/details/109801801</link><guid>https://blog.youkuaiyun.com/attribute47/article/details/109801801</guid><author>attribute47</author><pubDate>Thu, 19 Nov 2020 23:10:41 +0800</pubDate><description><![CDATA[PIT 是代表最高水平的变异测试系统，为 Java 和 JVM 提供 gold standard 测试覆盖。快速！可扩展性好！并且与测试和构建工具进行了集成。Github、Google小组
变异测试是什么？
代码种自动生成错误（变异），然后运行测试。如果测试失败了，那么变异被杀死，如果测试通过，变异幸存。测试用例的质量可以通过变异被杀死的百分比数量进行衡量。
换句话说，PIT 在程序代码的自动修改版本上运行单元测试。当程序代码被更改后，就会产生不同的结果，并导致先前的单元测试失败。如果单元测试没有失败，则测]]></description><category></category></item><item><title><![CDATA[Soot 初见【1】]]></title><link>https://blog.youkuaiyun.com/attribute47/article/details/109720852</link><guid>https://blog.youkuaiyun.com/attribute47/article/details/109720852</guid><author>attribute47</author><pubDate>Mon, 16 Nov 2020 20:45:00 +0800</pubDate><description><![CDATA[Soot 是一个分析和转换 Java 以及 Android 应用程序的框架，目前已支持 Java 9
Github 、MavenRepo、Paderborn大学源
提供了四种中间表示




Baf
Jimple
Shimple
Grimp




易于操作的字节码简化形式
适用于优化的三地址码形的中间表示
Jimple  的SSA变体
适用于反编译和代码检查的 Simple 整合版


如何开始使用 Soot ？
Soot 的 wiki、教程 以及 JavaDoc文档和命令行选项的参考
本文使用的是 So]]></description><category></category></item><item><title><![CDATA[python 的 javalang 库【2】]]></title><link>https://blog.youkuaiyun.com/attribute47/article/details/109683833</link><guid>https://blog.youkuaiyun.com/attribute47/article/details/109683833</guid><author>attribute47</author><pubDate>Sat, 14 Nov 2020 22:04:35 +0800</pubDate><description><![CDATA[在 前文 的基础上，继续分析以及 Demo 演示




ast.py




class MetaNode(type)


class Node(object)


def walk_tree(root)


def dump(ast, file)


def load(file)



Node 中包括













__ init__(self, **kwargs)

filter(self, pattern)
过滤器


__ equals__(self, other)
比较
child]]></description><category></category></item><item><title><![CDATA[python 的 javalang 库【1】]]></title><link>https://blog.youkuaiyun.com/attribute47/article/details/109675705</link><guid>https://blog.youkuaiyun.com/attribute47/article/details/109675705</guid><author>attribute47</author><pubDate>Fri, 13 Nov 2020 16:53:49 +0800</pubDate><description><![CDATA[javalang 是用于处理 Java 源码的纯 Python 库，目前提供了针对 Java 8 的词法分析器和解析器。PyPI | Github | Java8 语言规范
开始
import javalang
tree = javalang.parse.parse("package javalang.brewtab.com; class Test {}; class Test2 {}")

将返回一个 CompilationUnit 实例，它是树的根，可以通过遍历提取不同信息。
print(tree.pa]]></description><category></category></item></channel></rss>