Skip to content

imkalvin/Exia

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exia

A simple, light framework for mass code analysis and manipulation


How to build: ant or eclipse build

ant

How to run: java -jar exia-mt.jar [case-name] [paths...]

example: java -jar exia-mt.jar unused-import-delete /home/sorra/projects/a /home/sorra/projects/b


To learn how to use it, please see src/github/exia/samples/.

There are examples showing you:

  1. Detect the places you have forgotten to write "logger.isDebugEnabled()"
  2. Fix a type of misuse of logger.error() API
  3. Remove unused imports

There are two extension points: FileFilter & AstFunction. Implement them and call FileWalker to run your own operations.
(github.exia.provided.JavaSourceFileFilter is ready to use, filtering *.java files)

About

Exia: a light framework for massive code analysis and manipulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%