简体   繁体   English

用于JSF / Grails应用程序的静态分析工具

[英]Static analysis tools for JSF/Grails application

In the context of software development, code maintenance might introduce errors in the system since there are share code elements - such as variables and methods. 在软件开发的上下文中,由于存在共享的代码元素(例如变量和方法),因此代码维护可能会在系统中引入错误。 I know that there exist several tools for analyzing codes statically (eg PMD, WALA, SOOT, etc.). 我知道有几种静态分析代码的工具(例如PMD,WALA,SOOT等)。

But, my question is: Is there any eclipse plugin/tool which analyzes the relationship between the JSP/GSP pages and controllers/domains classes? 但是,我的问题是:是否有任何Eclipse插件/工具可以分析JSP / GSP页面与控制器/域类之间的关系? I mean, is there any tool to detect unmatched variable dependencies between pages and classes for a given web application? 我的意思是,对于给定的Web应用程序,是否有任何工具可以检测页面和类之间无与伦比的变量依赖性?

Its not quite the same as static analysis, but its better imho. 它与静态分析不完全相同,但更好的恕我直言。 Using intellij (ultimate) you get intellitext for available attributes (and the controller name) : 使用intellij(最终版本),您将获得可用文本(和控制器名称)的文本:

jsp中模型属性的智能文本

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM