Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
reserach:nlpa:caseycas:instuctrions:commitmessagegeneratorscripts:deltadocpreprocessing [2013/01/15 19:25]
caseycas created
reserach:nlpa:caseycas:instuctrions:commitmessagegeneratorscripts:deltadocpreprocessing [2013/01/18 10:35] (current)
caseycas
Line 1: Line 1:
-Source Code:+**Why is there a preprocessor?​** 
 +\\ While trying to run DeltaDoc, we found that there were several Java constructs that it was unable to handle, moreover, after running tests and contacting Raymond Buse, we found that the algorithm as presented in the paper was not handled correctly by the code as is.  Therefore, in order to get DeltaDoc to run properly, we comment out constructs that DeltaDoc is unable to handle. 
 + 
 +**Source Code:** 
 +\\ **Bold=Runnable** 
 Any Test*.java is another test file.  Anything ending in Clean.java is a Java file that has been run through the script. Any Test*.java is another test file.  Anything ending in Clean.java is a Java file that has been run through the script.
  
 Line.java – This java file does most of the work in terms of dividing up a full line of Java code and parsing out/​changing any lines of code that DeltaDoc is unequiped to handle. Line.java – This java file does most of the work in terms of dividing up a full line of Java code and parsing out/​changing any lines of code that DeltaDoc is unequiped to handle.
  
-JavaFileIO.java – Main running file for the preprocessing scripts. ​ This file takes one command line argument, a Java source file.  It then is parsed and cleaned out of any Java structures that DeltaDoc is unable to handle.+**JavaFileIO.java** – Main running file for the preprocessing scripts. ​ This file takes one command line argument, a Java source file.  It then is parsed and cleaned out of any Java structures that DeltaDoc is unable to handle.
  
 JavaConstructParser.java – Class that utilizes line.java and handles the parsing of the whole java file.  It determines what a full Java line is (in case of multiple lines), and currently converts all lines claimed to be invalid by Line.java to block comments. JavaConstructParser.java – Class that utilizes line.java and handles the parsing of the whole java file.  It determines what a full Java line is (in case of multiple lines), and currently converts all lines claimed to be invalid by Line.java to block comments.
  
-Testing:+JavaFileFilter.java - This is implementation of the FileFilter class that obtains Java files.
  
-JavaConstructParserTest.java – Junit tests for JavaConstructParser.+**Testing:​** 
 +\\ JavaConstructParserTest.java – Junit tests for JavaConstructParser.
  
 TestLine.java – Junit test for line.java methods. TestLine.java – Junit test for line.java methods.
 +
 +JavaFileFilterTest.java - Tests that the JavaFileFIlter class actually filters Java files.
  
 TestClass.java and TestierClass.java - these files are intended to act as test source code files for the code modifiers. TestClass.java and TestierClass.java - these files are intended to act as test source code files for the code modifiers.
reserach/nlpa/caseycas/instuctrions/commitmessagegeneratorscripts/deltadocpreprocessing.1358295952.txt.gz · Last modified: 2013/01/15 19:25 by caseycas
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0