Download presentation
Presentation is loading. Please wait.
1
Code Counter Suite - Difftool Overview
Michael Lee - The Aerospace Corporation Lori Vaughan - Northrop Grumman
2
Agenda USC CSSE CodeCount Suite Overview
Team, Release Status and Goals Difftool Overview Difftool Timeline Difftool example Conclusion
3
CodeCount Overview CodeCount is one of the most popular SLOC counting tools publicly available About 20+ downloads per day Many CSSE Affiliates use CodeCount as the standard SLOC counting tool SLOC counting rules are well-defined Latest Releases are only available to Affiliates members CodeCount toolset is the only tool that supports counting logical SLOC for many languages (17+) CodeCount development and maintenance efforts are supported by CSSE Affiliates Show of hands YOU
4
CodeCount Team University of Southern California
Dr. Barry Boehm: USC CSSE Director A Winsor Brown: USC CSSE Asst. Director Jim Alstad: CodeCount usage expert, also from Boeing Vu Nguyen: CodeCount Team Lead & Configuration Manager CS and EE directed research students NRO Cost Group The Aerospace Corporation Marilee Wheaton: Industry Facilitator Michael Lee: Software Engineer Northrop Grumman Mission Systems Lori Vaughan: Industry Stakeholder Local and Remote: 13 teams (weekly) Teams – project Individual presentations and questions Looking for Help Succession planning
5
CodeCount Suite Releases
July 2007 December 2007 CodeCount CodeCount Ada, Assembly, SQL, July Fortran, Pascal, PL1, JSP, ASP, Python C/C++, Java, C#, Unified CodeCount. SQL, MUL, HTML, VB, Counting Standards JavaScript, VBScript, New User Documents Affiliates Webpage improvement CountSloc Script explanation Compiles all counters Make file reads all input files and call respective counter No need to separate input files by language output txt, csv an xml output Python issue code within HTML Perl, Jovial. Difftool Counting Standards July Difftool Ada, SQL, JSP, ASP C/C++, Java, C# HTML, VB GUI with the Count
6
CodeCount Goals Develop and enhance CodeCount tools
Maintain and enhance existing counters supporting 17 languages Future inclusion of ASP, PHP, Python Unify existing counters into one application Documentation and support Incorporate and enhance SLOC differencing tool “Difftool” into CodeCount suite Uesrname and Password
7
Difftool Overview Quantification of Reuse code has led NRO Cost Group in conjunction with Aerospace Corp. and USC CSSE to develop Diff concept and tool Source code differencing tool utilizing existing USC CodeCounters. Allows collection and comparison of physical and logical source lines of code. Captures: New, Deleted, Modified Ever elusive ESLOC …. Requirement: Same names Definition: Threshold explanation
8
Difftool Timeline http://csse.usc.edu/research/CODECOUNT
Yesterday Today Tomorrow Diff Tool code Development starts Yesterday + Today + C/C++ The Count GUI integration C# SQL, VB Physical code differential Java HTML, Perl, Cobol Logical Code differential Performance Enhancements Beta release Q2 2007 Unified Diff Tool ** Last updated Q1 2006 ** Ongoing Development USC Center for Systems and Software Engineering (CSSE) DiffTool™ will be continually enhanced to support more languages paralleling the CodeCount™ development effort.
9
Demo Physical changes Logical changes Old code New code int main () {
int number, guess; int a; number = (rand() % 100) + 1; printf ("Guess:"); scanf ("%d", &guess); if (guess < number) printf ("\nYour number is small."); } else if (guess > number) printf ("\nYour number is high."); number = number + rand() % ; if (number < 100) return number; return (0); int a, b, c; printf("Guess:"); scanf("%d",&guess); printf("\nThis is a new line.\ Continue the previous line."); else if (guess > number || guess == 0) return (1); 1 modified unchanged 1 added 1 deleted 2 deleted
10
Demo - outfile_diff_results.txt
11
Demo - outfile_cmplx.txt
12
Demo - The Count (Boeing) GUI
13
Demo - The Count (Boeing) GUI
14
Conclusion USC DiffTool being developed and enhanced with industry collaborative efforts NRO Cost Group Redesign of Code Count and DiffTool to unify support for multiple languages into common applications promoting ease of scalability and maintenance. Standards and CodeCount tool for new programming languages continuing Encourage Industry usage and involvement USC CSSE affiliate support well directed Dedication and Progress due to Vu Nguyen and Mike Lee Successs by participating ….letting needs known Using, testing and improving Aerospace: Mike Lee and New interested party: Marilyn Sperka
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.