This document discusses various software metrics that can be used to analyze Ruby on Rails code quality, including lines of code, test coverage, code complexity, and cyclomatic complexity. It provides examples of metrics for two sample Rails applications called Mephisto and Typo and notes that tracking metrics over time is more useful than a single snapshot for understanding code quality issues.