Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 EclEmma 插件来检查 maven 项目的测试覆盖率。它可以工作,但它会根据测试类中的所有功能给出覆盖结果。由于那里有一些 getter、setter 和私有函数,我想将它们排除在计算测试覆盖率之外。有什么办法吗?