Presentation

Download Report

Transcript Presentation

The Attribute Gatherers Team



Team Leader: Suvendu Kumar Dash
Developers:
 Adrijan Radikovic
 Shari Naik
 Wang Xue
Tester: Hogil Kim
Achievements



First Team to complete all the
functionalities by March 31st
Started with the Timesheets idea to
track the project development
Given the suggestions for changes in
the Database Schema (Thanks to
Adrijan)
System Architecture
Rational Tools
C
A
L
MS SQL
Server
Database
Attribute
Gatherers
Application
Parser
Rational
Clearcase
Hogil Kim: Tasks

Implementation of AG GUI(Attribute gather GUI) program

Interface with CAL sub module and Parser sub module

Interface with Pampa_d Database

Attributes gathering and Saving them into DB

Function test

User Manual documentation
Views for AGGUI

My Views for the AGGUI




Suggestion


Intermediate program between CAL sub module and Parser sub
module
User Interface for Attribute gather
It works properly.
Build the wider system environment
Future work

Need to be upgraded for WEB-based program
Adrijan: Tasks
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
Check in resume
Connect to ClearCase server and get some data from it
Get a full listing of all available elements for a project
Rebase stream
Prepare the list of attributes that you can gather from clearcase
Get the size of the file from clearcase
Prepare a unit test plan for your sub-module
CleaerCase drive mapping of complete version tree
Complete version information based on activities after a given date
Integrate programs and fine-tune the output fields
Demo 1
Obtain DB information and import data to correct tables in correct way
Demo 2
Modify tables in the DB
Get projects and tasks from DB and make corresponding associations
CAL Module
perl ClearCaseData.pl view=M:\<your integration view>
out=<filename> since=<date>
Instructions:
The user must have ClearCase and access to the desired project(s).
User needs to specify the following:
view – His integration view name preceded with the main
ClearCase drive (usually M:)
out – output filename
since – date after which the modifications were made
Example:
Perl ClearCaseData.pl view=M:\asr3744_PAMPA_integration
out=out.txt since=24-Apr-2003
ClearCase
Date of change
User
Event
Extended path
File type
Event Branch
File version
Rework
Lines added
Lines deleted
Lines changed
GUI/ Integration
Friend Class AttGather
Main GUI class with all the code
Public Function Run_CCScript(ByVal view As
String, ByVal outfile As String, ByVal
since As String) As Integer
CAL interface call
Private Sub adddb_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs)
Handles adddb.Click
- database import
Private Sub Parse_data()
Parser interface call
Public Sub Load_File(ByVal filename As String)
output file import
Private Sub loadtask_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs)
Handles loadtask.Click
task db query
Private Sub loadproject_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs)
Handles loadproject.Click
- project db query
Public Class results
- represents a file version with its software
metrics
Public Class task
- represents a task obtained from the DB
Public Class project
- represents a project obtained from the DB
Wang Xue: Parser Sub-Module
for Java, C, C++ file








Tasks: Parse the java, c, c++ files and gather the attributes
that were not gathered by the CAL sub module.
Get
Get
Get
Get
Get
Get
Get
the
the
the
the
the
the
the
volume of the source code in bytes
number of lines of source code
number of comments
number of blank lines
number of functions
number of Compiler directives
number of data declarations
Hello.c Test Results








Size of file = 764 bytes
Number of code line = 38 lines
There are 2 comment lines in the file
There are 2 comment blocks in the file
There are 1 function in the file
There are 6 blank lines in the file
There are 4 compiler directives in the file
There are 14 variables in the file
Shari: Parser


Parse source files (for C, Cpp and Java) and gather information
related to file size
Tasks




Prepare List of chunks and plan to get those chunks
Retrieve Various Size attributes
Communication between VB application and parser(Java)
Module testing and Preparation of test cases
Architecture
• Language used – Java
• Software – jdk 1.3
Module Structure
• Classes
-
Parser - finds the type of file to be parsed and invoke the respective parsers
ReaderWriter - Read lines from input file, after retrieving file’s attributes,
saved information to output file.
Cparser - parses C file and retrieve attribute information
CppParser - parses C++ file and retrieve attribute information
JavaParser - parses Java file and retrieve attribute information