Code Analysis Tools and Inter-Type-Declarations

前端 未结 5 1736
挽巷
挽巷 2021-02-19 04:02

I have a maven project generated by Spring Roo and use several tools (checkstyle, pmd etc.) to collect information about my project. (namely I am using codehaus\' sonar for this

5条回答
  •  天命终不由人
    2021-02-19 04:53

    Both FindBugs and Cobertura do NOT work on the source level, but on the bytecode level. So, you should wave in your aspects statically (that would also improve application start time) at the compile time (e.g. using maven's AspectJ plugin) and not at the load time and then run static analysis tools on the result bytecode.

提交回复
热议问题