(Japanese | English)
I made these tools for Java programmers and C++ programmers, but all tools are written in Ruby. I'm happy if you enjoy these small tools.
JavaClassAnalyzerV1.9.3-20020602.lzh
I used this tool to remove unnecessary codes before maintenance of a complex
unfamiliar application.
> ruby memberCheck.rb rootPath targetPath outputPath
rootPath
targetPath
outputPath
The results are hints of your further analysis. This tool does not care polymorphism and reflections. And assumes that one file includes only one class definition.
You have to check the results by your self.
JavaFormatterV2.2-20041107.lzh
This is a simple line oriented source code formatter. It will be easy
to customize this program by your self.
> ruby format.rb [OPTIONS] sourcePath
Format the source file to mach the JDK cording standards.
The formatted file suffix is ".new" and the change information file
suffix is ".diff".
sourcePath
-f
-F
-r, -R
You have to check the results by your self.
cppunit-autoV1.5-20071123.zip
I changed
the testSuite generator for CppUnit-x by SHIBUKAWA Yoshiki
to support CppUnit 1.6.2.
I referred
the program by FUKUDA (episteme) Fumiki
before I wrote this program.
> ruby makeTestSuite.rb [prefix]
Parse all files which name ends with "Test.h" in the current directory,
and list up all methods which matches "void testXXX()". And makes a TestSuite
class files and Tester.cpp.
But if the class has a suite() method, the TestSuite class call the suite() method.
prefix