Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
D
F
G
H
I
L
M
N
P
S
T
W
A
add(Info)
- Method in class
InfoLinkedList
Add a new Info object to the end of the list.
D
data
- Variable in class
Node
F
f
- Variable in class
Info
file
- Static variable in class
Tester
FileInfo
- Class in
<Unnamed>
FileInfo(File, int, int)
- Constructor for class
FileInfo
fileInfoList
- Variable in class
ProjectInfo
FileProcessor
- Class in
<Unnamed>
FileProcessor()
- Constructor for class
FileProcessor
G
get(int)
- Method in class
InfoLinkedList
return the Info object at position index.
getData()
- Method in class
Node
getLineCountNoComments()
- Method in class
FileInfo
returns the number of lines in this file excluding comment lines
getLineCountTotal()
- Method in class
FileInfo
returns the total number of lines in this file
getName()
- Method in class
Info
returns the absolute path name of the file, project directory, or workspace directory
getNext()
- Method in class
Node
getNumClasses()
- Method in class
ProjectInfo
return the number of classes in this project.
H
head
- Variable in class
InfoLinkedList
I
Info
- Class in
<Unnamed>
Base class for all Info objects, including FileInfo, ProjectInfo, and WorkspaceInfo
Info(File)
- Constructor for class
Info
InfoLinkedList
- Class in
<Unnamed>
A LinkedList containing Info objects as data
InfoLinkedList()
- Constructor for class
InfoLinkedList
L
lineCountNoComments
- Variable in class
FileInfo
lineCountTotal
- Variable in class
FileInfo
M
main(String[])
- Static method in class
Tester
main(String[])
- Static method in class
WorkspaceStatsDriver
N
next
- Variable in class
Node
Node
- Class in
<Unnamed>
Node(Info, Node)
- Constructor for class
Node
Node(Info)
- Constructor for class
Node
P
printAll()
- Method in class
InfoLinkedList
for debugging.
printStatistics()
- Method in class
FileInfo
displays statistics about this file
format: Class: name_of_class Total Lines: total_lines Lines Excluding Comments: lines_without_comments
printStatistics()
- Method in class
Info
Abstract method implemented by all subclasses to calculate and display statistics.
printStatistics()
- Method in class
ProjectInfo
prints the statistics for this project.
printStatistics()
- Method in class
WorkspaceInfo
Calculates and displays statistics for the entire workspace.
processFile(File)
- Method in class
FileProcessor
Method to process a single java file.
processProject(File)
- Method in class
ProjectProcessor
Method to process all src files in a project represented by File f.
processProjectSrc(File, InfoLinkedList)
- Method in class
ProjectProcessor
Helper method for recursive traversal of the src directory.
processWorkspace(File)
- Method in class
WorkspaceProcessor
process the entire workspace and return a WorkspaceInfo object representing the workspace.
project
- Static variable in class
Tester
ProjectInfo
- Class in
<Unnamed>
ProjectInfo(File, InfoLinkedList)
- Constructor for class
ProjectInfo
ProjectProcessor
- Class in
<Unnamed>
ProjectProcessor()
- Constructor for class
ProjectProcessor
S
setData(Info)
- Method in class
Node
setNext(Node)
- Method in class
Node
size
- Variable in class
InfoLinkedList
size()
- Method in class
InfoLinkedList
returns the size of this list
T
tail
- Variable in class
InfoLinkedList
test1()
- Static method in class
Tester
test2()
- Static method in class
Tester
test3()
- Static method in class
Tester
test4()
- Static method in class
Tester
Tester
- Class in
<Unnamed>
Tester()
- Constructor for class
Tester
W
workspace
- Static variable in class
Tester
WorkspaceInfo
- Class in
<Unnamed>
WorkspaceInfo(File, InfoLinkedList)
- Constructor for class
WorkspaceInfo
workspaceInfo
- Variable in class
WorkspaceInfo
WorkspaceProcessor
- Class in
<Unnamed>
WorkspaceProcessor()
- Constructor for class
WorkspaceProcessor
WorkspaceStatsDriver
- Class in
<Unnamed>
WorkspaceStatsDriver()
- Constructor for class
WorkspaceStatsDriver
A
D
F
G
H
I
L
M
N
P
S
T
W
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes