HomeНаука и техникаRelated VideosMore From: Oracle Learning Library

Custom Static Code Analysis

2 ratings | 239 views
NetBeans 7.1 introduced a way to declaratively describe custom refactorings with a Java-like DSL. It can be used to improve large code bases quickly by replacing invocations of deprecated methods and antipatterns with up-to-date idioms. The same concepts can be used to achieve much more. A key component is a standalone runner of these custom refactorings. One particularly interesting possibility is to describe the project-specific code antipatterns with the language for custom refactorings and check the code in the continuous builder, on the command line, or in the IDE. This presentation shows how to describe the antipatterns and how to run the standalone checker on the continuous builder. Copyright © 2013 Oracle and/or its affiliates. Oracle® is a registered trademark of Oracle and/or its affiliates. All rights reserved. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the "Materials"). The Materials are provided "as is" without any warranty of any kind, either express or implied, including without limitation warranties of merchantability, fitness for a particular purpose, and non-infringement.
Html code for embedding videos on your blog
Text Comments (0)

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.