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.
我正在使用 apache 使用 Devel::Cover 生成一些 .pm 和 mason 文件的覆盖率但是对于 mason 文件,分支和条件的覆盖率显示为 n/a 而对于相同的 mason 文件语句覆盖率将达到 100%。请帮忙。
您的梅森文件中是否有任何分支和条件?如果没有,您将看到 n/a。
我假设您正在查看 pm 文件的分支和条件,但还要检查您是否没有关闭分支和条件覆盖。它们默认开启。