SourceMonitor Analysis

Designed for use with SourceMonitor and Ant.


File About.java

IDMetricValue
M0Lines92
M1Statements20
M2Percent Branch Statements15.0
M3Method Call Statements10
M4Percent Lines with Comments55.4
M5Classes and Interfaces1
M6Methods per Class2.00
M7Average Statements per Method7.00
M8Name of Biggest MethodAbout.showAbout()
M9Line Number of Biggest Method46
M10Statements in Biggest Method14
M11Line Number of Deepest Block56
M12Maximum Block Depth4
M13Average Block Depth1.90

File ConfirmationForm.java

IDMetricValue
M0Lines147
M1Statements46
M2Percent Branch Statements6.5
M3Method Call Statements27
M4Percent Lines with Comments48.3
M5Classes and Interfaces1
M6Methods per Class3.00
M7Average Statements per Method11.00
M8Name of Biggest MethodConfirmationForm.paint()
M9Line Number of Biggest Method77
M10Statements in Biggest Method18
M11Line Number of Deepest Block102
M12Maximum Block Depth3
M13Average Block Depth1.79

File CurrencyList.java

IDMetricValue
M0Lines113
M1Statements29
M2Percent Branch Statements17.2
M3Method Call Statements7
M4Percent Lines with Comments54.9
M5Classes and Interfaces1
M6Methods per Class6.00
M7Average Statements per Method3.00
M8Name of Biggest MethodCurrencyList.setDefault()
M9Line Number of Biggest Method47
M10Statements in Biggest Method5
M11Line Number of Deepest Block34
M12Maximum Block Depth3
M13Average Block Depth1.77

File EditCanvas.java

IDMetricValue
M0Lines289
M1Statements95
M2Percent Branch Statements28.4
M3Method Call Statements64
M4Percent Lines with Comments38.1
M5Classes and Interfaces1
M6Methods per Class6.00
M7Average Statements per Method14.17
M8Name of Biggest MethodEditCanvas.keyPressed()
M9Line Number of Biggest Method138
M10Statements in Biggest Method33
M11Line Number of Deepest Block170
M12Maximum Block Depth6
M13Average Block Depth2.41

File SplashScreen.java

IDMetricValue
M0Lines144
M1Statements54
M2Percent Branch Statements13.0
M3Method Call Statements24
M4Percent Lines with Comments23.6
M5Classes and Interfaces2
M6Methods per Class3.00
M7Average Statements per Method6.50
M8Name of Biggest MethodSplashScreen.paint()
M9Line Number of Biggest Method91
M10Statements in Biggest Method23
M11Line Number of Deepest Block73
M12Maximum Block Depth5
M13Average Block Depth1.95

File Stock.java

IDMetricValue
M0Lines911
M1Statements280
M2Percent Branch Statements24.6
M3Method Call Statements107
M4Percent Lines with Comments49.6
M5Classes and Interfaces1
M6Methods per Class25.00
M7Average Statements per Method9.44
M8Name of Biggest MethodStock.setValue()
M9Line Number of Biggest Method466
M10Statements in Biggest Method43
M11Line Number of Deepest Block506
M12Maximum Block Depth6
M13Average Block Depth2.48

File StockCanvas.java

IDMetricValue
M0Lines1,149
M1Statements509
M2Percent Branch Statements27.9
M3Method Call Statements300
M4Percent Lines with Comments28.3
M5Classes and Interfaces1
M6Methods per Class15.00
M7Average Statements per Method31.93
M8Name of Biggest MethodStockCanvas.keyPressed()
M9Line Number of Biggest Method321
M10Statements in Biggest Method121
M11Line Number of Deepest Block436
M12Maximum Block Depth8
M13Average Block Depth3.15

File StockMIDlet.java

IDMetricValue
M0Lines945
M1Statements358
M2Percent Branch Statements27.4
M3Method Call Statements231
M4Percent Lines with Comments38.9
M5Classes and Interfaces1
M6Methods per Class14.00
M7Average Statements per Method23.29
M8Name of Biggest MethodStockMIDlet.commandAction()
M9Line Number of Biggest Method692
M10Statements in Biggest Method119
M11Line Number of Deepest Block887
M12Maximum Block Depth8
M13Average Block Depth3.06

File StockTableModel.java

IDMetricValue
M0Lines844
M1Statements284
M2Percent Branch Statements34.5
M3Method Call Statements143
M4Percent Lines with Comments36.0
M5Classes and Interfaces1
M6Methods per Class21.00
M7Average Statements per Method13.29
M8Name of Biggest MethodStockTableModel.getNumberAt()
M9Line Number of Biggest Method424
M10Statements in Biggest Method87
M11Line Number of Deepest Block346
M12Maximum Block Depth6
M13Average Block Depth3.21

File StockTest.java

IDMetricValue
M0Lines76
M1Statements17
M2Percent Branch Statements0.0
M3Method Call Statements68
M4Percent Lines with Comments23.7
M5Classes and Interfaces1
M6Methods per Class3.00
M7Average Statements per Method3.67
M8Name of Biggest MethodStockTest.setUp()
M9Line Number of Biggest Method16
M10Statements in Biggest Method1
M11Line Number of Deepest Block13
M12Maximum Block Depth2
M13Average Block Depth1.68