
E:\SMA\SUBMIS~1\TVPATE~1>rem === run.bat === 

E:\SMA\SUBMIS~1\TVPATE~1>"./ConsoleApplication1/bin/debug/tvpatel02.exe" *.cs 

  C# code Style Analyzer  
 ============================


 no of arguments: 1
 and the argument is *.cs
path: ./
  pattern: *.cs
 now all files in given directory 





 ================================================
                     Grammar.cs

 size: 29445
 last modified: 6/19/2006 7:01:13 PM
 ================================================

  Analyzing file Grammar.cs
 ----------------------------------

 prologue related info
 ----------------------- 
* Prologue info present, some brief extracts:

   Language:    C#, Visual Studio 8.0, .Net Framework 2.0             
   Platform:    Dell inspiron 630m, Windows XP, SP 2                  
   Application: C# code style analyzer, CSE681, Summer 06             

* Manual Information present
* Maintainanace Information present


 Function name,      lines,  complexity
 ---------------------------------------
 CGrammar             4      1     
 newSemi              6      1     
 find                 7      3     
 findLast             7      3     
 complement           14     1     
 forwardClosure       20     7     
 reverseClosure       20     7     
 specialKey           13     1     
 match                38     8     
 name                 4      1     
 initialize           7      1     
 doOperation          40     7     
 calNL                28     7     
 match                29     6     
 populateArray        30     10    
 returnIndex          20     6     
 doOperation          39     8     
 match                8      2     
 doProSearch          38     9     
 otherSearch          16     5     
 reset                5      1     
 retScopes            4      1     
 checker              33     5     
 scan                 21     4     
 Main                 44     5     

 functions related summary
 ----------------------------
 total no of functions: 25
 largest function is Main and size is 44 lines
 most complex function is populateArray and complexity is 10 lines

 some other useful information
 ------------------------------
 no of unique variable names: 45
 no of identifier names: 155
 total lines in file: 734
 total comments: 82
 total expressions: 152
 number of lexical scopes: 82
 
 





 ================================================
                      oracle.cs

 size: 22636
 last modified: 6/19/2006 9:42:01 PM
 ================================================

  Analyzing file oracle.cs
 ----------------------------------

 prologue related info
 ----------------------- 
* Prologue info present, some brief extracts:

   Language:    C#, Visual Studio 8.0, .Net Framework 2.0             
   Platform:    Dell inspiron 630m, Windows XP, SP 2                  
   Application: C# code style analyzer, CSE681, Summer 06             

* Manual Information present
* Maintainanace Information present


 Function name,      lines,  complexity
 ---------------------------------------
 flush                15     1     
 showIdentifiers      4      1     
 lineList             4      1     
 dispOverLimit        11     3     
 insert               4      1     
 manInfo              7      3     
 insert               12     2     
 insertIdentifier     7      2     
 insertVariables      7      2     
 bracketDepth         5      1     
 display              46     8     
 display              17     1     
 funcSummary          31     10    
 fileWrite            41     1     
 allSummary           38     3     
 writeFuncSummary     42     10    
 funcWriter           15     2     
 prologueWriter       40     5     
 checkIdent           29     1     
 Main                 48     5     

 functions related summary
 ----------------------------
 total no of functions: 20
 largest function is Main and size is 48 lines
 most complex function is funcSummary and complexity is 10 lines
 most complex function is writeFuncSummary and complexity is 10 lines

 some other useful information
 ------------------------------
 no of unique variable names: 37
 no of identifier names: 159
 total lines in file: 533
 total comments: 40
 total expressions: 214
 number of lexical scopes: 48
 
 





 ================================================
                        Semi.cs

 size: 13676
 last modified: 6/19/2006 6:01:21 PM
 ================================================

  Analyzing file Semi.cs
 ----------------------------------

 prologue related info
 ----------------------- 
* Prologue info present, some brief extracts:

   Language:    C#, Visual Studio 8.0, .Net Framework 2.0             
   Platform:    Dell inspiron 630m, Windows XP, SP 2                  
   Application: C# code style analyzer, CSE681, Summer 06             

* Manual Information present
* Maintainanace Information present


 Function name,      lines,  complexity
 ---------------------------------------
 CSemiExp             5      1     
 Equals               10     4     
 GetHashCode          4      1     
 lines                4      1     
 open                 4      1     
 close                4      1     
 isTerminator         10     1     
 get                  8      2     
 IsPunc               4      1     
 IsOperatorPair       16     3     
 getSemi              13     4     
 insert               9      2     
 Add                  5      1     
 Add                  5      2     
 initialize           7      2     
 flush                4      1     
 isComment            8      4     
 display              7      3     
 retComment           11     3     
 displayStr           9      3     
 Main                 36     5     

 functions related summary
 ----------------------------
 total no of functions: 21
 largest function is Main and size is 36 lines
 most complex function is Main and complexity is 5 lines

 some other useful information
 ------------------------------
 no of unique variable names: 11
 no of identifier names: 104
 total lines in file: 381
 total comments: 32
 total expressions: 73
 number of lexical scopes: 41
 
 





 ================================================
                    stylyzer.cs

 size: 9671
 last modified: 6/19/2006 9:29:09 PM
 ================================================

  Analyzing file stylyzer.cs
 ----------------------------------

 prologue related info
 ----------------------- 
* Prologue info present, some brief extracts:

   Language:    C#, Visual Studio 8.0, .Net Framework 2.0             
   Platform:    Dell inspiron 630m, Windows XP, SP 2                  
   Application: C# code style analyzer, CSE681, Summer 06             

* Manual Information present
* Maintainanace Information present


 Function name,      lines,  complexity
 ---------------------------------------
 Main                 87     10    
 processArg           44     9     
 display              8      1     
 display              7      1     

 functions related summary
 ----------------------------
 total no of functions: 4
 largest function is Main and size is 87 lines
 most complex function is Main and complexity is 10 lines

 some other useful information
 ------------------------------
 no of unique variable names: 25
 no of identifier names: 114
 total lines in file: 214
 total comments: 22
 total expressions: 66
 number of lexical scopes: 18
 
 





 ================================================
                       Toker.cs

 size: 18665
 last modified: 6/19/2006 5:58:10 PM
 ================================================

  Analyzing file Toker.cs
 ----------------------------------

 prologue related info
 ----------------------- 
* Prologue info present, some brief extracts:

   Language:    C#, Visual Studio 8.0, .Net Framework 2.0             
   Platform:    Dell inspiron 630m, Windows XP, SP 2                  
   Application: C# code style analyzer, CSE681, Summer 06             

* Manual Information present
* Maintainanace Information present


 Function name,      lines,  complexity
 ---------------------------------------
 CToker               4      1     
 returnLines          4      1     
 openFile             15     2     
 openString           13     1     
 close                4      1     
 readLine             20     5     
 getLine              30     4     
 extract              34     8     
 extractDQuote        30     5     
 extractSQuote        30     5     
 extractComment       47     6     
 eatCComment          28     5     
 eatAscii             15     3     
 eatPunctuationChar   6      1     
 fillBuffer           28     6     
 getTok               7      2     
 peekNextTok          8      3     
 pushBack             4      1     
 Main                 47     5     

 functions related summary
 ----------------------------
 total no of functions: 19
 largest function is extractComment and size is 47 lines
 largest function is Main and size is 47 lines
 most complex function is extract and complexity is 8 lines

 some other useful information
 ------------------------------
 no of unique variable names: 22
 no of identifier names: 124
 total lines in file: 521
 total comments: 37
 total expressions: 133
 number of lexical scopes: 68
 
 


function exceeding limit (cc>10 or lines>50)
================================================
Main         87   10

