net.sf.statsvn.input |
This package is responsible for parsing SVN logs and working copy and
creating a StatSVN model from them. The central class is net.sf.statcvs.input.Builder.
Its output is a net.sf.statcvs.model.Repository instance which
provides access to all data in the repository. The other classes in this
package support Builder.
|
Java Source File Name | Type | Comment |
AllTests.java | Class | JUnit tests for logfile parsing. |
Builder.java | Class |
Helps building the
net.sf.statsvn.model.Repository from a SVN log. |
BuilderTest.java | Class | Test cases for
Builder . |
CacheBuilder.java | Class |
CVS log files include lines modified for each commit and binary status of a
file while SVN log files do not offer this additional information.
StatSVN must query the Subversion repository for line counts using svn diff.
However, this is very costly, performance-wise. |
CacheConfiguration.java | Class | Class for storing all constants required for reading the cache xml file. |
CommitListBuilderTest.java | Class | |
DummyBuilder.java | Class | Test dummy of
Builder for use in
FileBuilderTest . |
DummyRepositoryFileManager.java | Class | |
FileBuilder.java | Class |
Builds a
VersionedFile with
Revision s from logging data.
This class is responsible for deciding if a file or revisions will be
included in the report, for translating from CVS logfile data structures to
the data structures in the net.sf.statsvn.model package, and for
calculating the LOC history for the file.
A main goal of this class is to delay the creation of the
VersionedFile object until all revisions of the file have been
collected from the log. |
FileBuilderTest.java | Class | |
LinesOfCodeTest.java | Class | Test cases for
Builder , covering LOC calculations. |
MockLogBuilder.java | Class | |
ParserTest.java | Class | Tests for
SvnLogfileParser and
FileBlockParser . |
RepositoriesBuilder.java | Class |
This class receives information from the (@link net.sf.statsvn.input.SvnXmlRepositoriesFileHandler)
to build a DOM-based XML structure containing the names of all repositories and associated line counts xml files. |
RepositoryFileManager.java | Class | Manages a checked-out repository and provides access to line number counts
for repository files.
New in StatSVN: Also provides a central point of access to abstract out calls
to the server. |
RevisionData.java | Class | Container for all information contained in one SVN revision. |
SvnLogBuilder.java | Interface |
Interface for defining a Builder that constructs a data structure from a SVM
logfile. |
SvnLogfileParser.java | Class | Parses a Subversion logfile and does post-parse processing. |
SvnLogfileParserTest.java | Class | High-level scenarios to verify parsing without actually needing a server. |
SvnXmlCacheFileHandler.java | Class | This is the SAX parser for the our line count persistence mechanism. |
SvnXmlLogFileHandler.java | Class | This is the SAX parser for the svn log in xml format. |
SvnXmlRepositoriesFileHandler.java | Class | This is the SAX parser for the repositories xml file. |