Lecture Notes for Advanced Programming II

7 December 2001 - Assignment 5 Code Review


Line Statistics - Newlines

300400500700
021
1011
201
30111
40
5013
6012
7011
8012
9011
Totals61061

Statistics derived from all files ending in .cc, .cpp, .CC, .C, and .h.


Line Statistics - Semicolons

100200300
02
10111
202
301
406
504
603
70
80
902
Totals1931

Statistics derived from all files ending in .cc, .cpp, .CC, .C, and .h.


Procedure Statistics

totalpages per procedure
procs12345678910111213
11
211
7232
871
10433
10631
1073
11821
13103
14104
14122
171511
18171
19181
20182
23203
25241
3131

Statistics derived from all files ending in .cc, .cpp, .CC, .C, and .h.


File Statistics

File
Counts
CountAverage
Lines/File
Avg Semicolons
per File
111438167
2124657
3414447
4112249
518229
638835
718222
80
90
100
1114814

Statistics derived from all files ending in .cc, .cpp, .CC, .C, and .h.


Design


An Alternative Design


Write Smart Code


Demonstrate Learning Behavior


General Tips


This page last modified on 14 December 2001.