Contenu connexe Similaire à Software Measurement: Lecture 1. Measures and Metrics (20) Software Measurement: Lecture 1. Measures and Metrics8. What is a “measure”? “ Way of associating a number with some attribute of a physical object ” height -> meters temperature -> degrees Celsius 9. What is “measure”? One-to-one mapping between physical objects and formal objects (e.g numbers) 15. Jobs and Ballmer can cooperate and put their apples together to have a larger pile 16. We defined a “ complete transition ” from “ real world ” into “ formal world ” 18. B be a relational system of formal objects ( e.g. numbers) 19. m be a measure from A to B then 30. Anton : Yesterday was warmer than today 33. Statement is meaningful when it gives same result on all similar scales 34. Scales are similar when there is a transformation from one scale to another that retains all defined relations and operations 39. All Ordinal Scales Are Nominal Nominal Ordinal Gender T-shirt Numbering Top 100 Grading 42. Interval Scales Are Ordinal Nominal Ordinal Interval Gender T-shirt Numbering Top 100 Grading Temperature 45. Ratio Scales Are Interval Nominal Ordinal Interval Ratio Gender T-shirt Numbering Top 100 Grading Temperature Length Height 48. Absolute Scales Are Ratio Nominal Ordinal Interval Ratio Absolute Scales Gender T-shirt Numbering Top 100 Grading Temperature Length Height Team Size 54. Software Metric is a measure of anything directly related to software or its production 95. Can we divide dependencies into “ good ” and “ bad ”? Dependencies Between Classes 104. Example - Coupling Package One Package Two Package Three Ca(Package One) = 1, Ce(Package One) = 2 109. Why a stable category needs to be extensible ? How? 112. Is there a relationship between Instability and Abstractness ? 122. Churned LOC – number of added, modified and deleted lines of code 145. Unique: 2 / 5 -> 40% Shared: 1 / 5 -> 20% Unique: 1 / 5 -> 20% Shared: 1 / 5 -> 20%