# SourceMonitor Analysis

Designed for use with SourceMonitor and Ant.

## Metric M0 - Lines

# | File | Value
--- | --- | ---
1 | About.java | 92
2 | ConfirmationForm.java | 147
3 | CurrencyList.java | 113
4 | EditCanvas.java | 289
5 | SplashScreen.java | 144
6 | Stock.java | 911
7 | StockCanvas.java | 1,149
8 | StockMIDlet.java | 945
9 | StockTableModel.java | 844
10 | StockTest.java | 76

## Metric M1 - Statements

# | File | Value
--- | --- | ---
1 | About.java | 20
2 | ConfirmationForm.java | 46
3 | CurrencyList.java | 29
4 | EditCanvas.java | 95
5 | SplashScreen.java | 54
6 | Stock.java | 280
7 | StockCanvas.java | 509
8 | StockMIDlet.java | 358
9 | StockTableModel.java | 284
10 | StockTest.java | 17

## Metric M2 - Percent Branch Statements

# | File | Value
--- | --- | ---
1 | About.java | 15.0
2 | ConfirmationForm.java | 6.5
3 | CurrencyList.java | 17.2
4 | EditCanvas.java | 28.4
5 | SplashScreen.java | 13.0
6 | Stock.java | 24.6
7 | StockCanvas.java | 27.9
8 | StockMIDlet.java | 27.4
9 | StockTableModel.java | 34.5
10 | StockTest.java | 0.0

## Metric M3 - Method Call Statements

# | File | Value
--- | --- | ---
1 | About.java | 10
2 | ConfirmationForm.java | 27
3 | CurrencyList.java | 7
4 | EditCanvas.java | 64
5 | SplashScreen.java | 24
6 | Stock.java | 107
7 | StockCanvas.java | 300
8 | StockMIDlet.java | 231
9 | StockTableModel.java | 143
10 | StockTest.java | 68

## Metric M4 - Percent Lines with Comments

# | File | Value
--- | --- | ---
1 | About.java | 55.4
2 | ConfirmationForm.java | 48.3
3 | CurrencyList.java | 54.9
4 | EditCanvas.java | 38.1
5 | SplashScreen.java | 23.6
6 | Stock.java | 49.6
7 | StockCanvas.java | 28.3
8 | StockMIDlet.java | 38.9
9 | StockTableModel.java | 36.0
10 | StockTest.java | 23.7

## Metric M5 - Classes and Interfaces

# | File | Value
--- | --- | ---
1 | About.java | 1
2 | ConfirmationForm.java | 1
3 | CurrencyList.java | 1
4 | EditCanvas.java | 1
5 | SplashScreen.java | 2
6 | Stock.java | 1
7 | StockCanvas.java | 1
8 | StockMIDlet.java | 1
9 | StockTableModel.java | 1
10 | StockTest.java | 1

## Metric M6 - Methods per Class

# | File | Value
--- | --- | ---
1 | About.java | 2.00
2 | ConfirmationForm.java | 3.00
3 | CurrencyList.java | 6.00
4 | EditCanvas.java | 6.00
5 | SplashScreen.java | 3.00
6 | Stock.java | 25.00
7 | StockCanvas.java | 15.00
8 | StockMIDlet.java | 14.00
9 | StockTableModel.java | 21.00
10 | StockTest.java | 3.00

## Metric M7 - Average Statements per Method

# | File | Value
--- | --- | ---
1 | About.java | 7.00
2 | ConfirmationForm.java | 11.00
3 | CurrencyList.java | 3.00
4 | EditCanvas.java | 14.17
5 | SplashScreen.java | 6.50
6 | Stock.java | 9.44
7 | StockCanvas.java | 31.93
8 | StockMIDlet.java | 23.29
9 | StockTableModel.java | 13.29
10 | StockTest.java | 3.67

## Metric M8 - Name of Biggest Method

# | File | Value
--- | --- | ---
1 | About.java | About.showAbout()
2 | ConfirmationForm.java | ConfirmationForm.paint()
3 | CurrencyList.java | CurrencyList.setDefault()
4 | EditCanvas.java | EditCanvas.keyPressed()
5 | SplashScreen.java | SplashScreen.paint()
6 | Stock.java | Stock.setValue()
7 | StockCanvas.java | StockCanvas.keyPressed()
8 | StockMIDlet.java | StockMIDlet.commandAction()
9 | StockTableModel.java | StockTableModel.getNumberAt()
10 | StockTest.java | StockTest.setUp()

## Metric M9 - Line Number of Biggest Method

# | File | Value
--- | --- | ---
1 | About.java | 46
2 | ConfirmationForm.java | 77
3 | CurrencyList.java | 47
4 | EditCanvas.java | 138
5 | SplashScreen.java | 91
6 | Stock.java | 466
7 | StockCanvas.java | 321
8 | StockMIDlet.java | 692
9 | StockTableModel.java | 424
10 | StockTest.java | 16

## Metric M10 - Statements in Biggest Method

# | File | Value
--- | --- | ---
1 | About.java | 14
2 | ConfirmationForm.java | 18
3 | CurrencyList.java | 5
4 | EditCanvas.java | 33
5 | SplashScreen.java | 23
6 | Stock.java | 43
7 | StockCanvas.java | 121
8 | StockMIDlet.java | 119
9 | StockTableModel.java | 87
10 | StockTest.java | 1

## Metric M11 - Line Number of Deepest Block

# | File | Value
--- | --- | ---
1 | About.java | 56
2 | ConfirmationForm.java | 102
3 | CurrencyList.java | 34
4 | EditCanvas.java | 170
5 | SplashScreen.java | 73
6 | Stock.java | 506
7 | StockCanvas.java | 436
8 | StockMIDlet.java | 887
9 | StockTableModel.java | 346
10 | StockTest.java | 13

## Metric M12 - Maximum Block Depth

# | File | Value
--- | --- | ---
1 | About.java | 4
2 | ConfirmationForm.java | 3
3 | CurrencyList.java | 3
4 | EditCanvas.java | 6
5 | SplashScreen.java | 5
6 | Stock.java | 6
7 | StockCanvas.java | 8
8 | StockMIDlet.java | 8
9 | StockTableModel.java | 6
10 | StockTest.java | 2

## Metric M13 - Average Block Depth

# | File | Value
--- | --- | ---
1 | About.java | 1.90
2 | ConfirmationForm.java | 1.79
3 | CurrencyList.java | 1.77
4 | EditCanvas.java | 2.41
5 | SplashScreen.java | 1.95
6 | Stock.java | 2.48
7 | StockCanvas.java | 3.15
8 | StockMIDlet.java | 3.06
9 | StockTableModel.java | 3.21
10 | StockTest.java | 1.68