Want to try Caliper with your private GitHub repository? Sign up for our beta

Ruby Community Statistics (for 2250 projects)

In order to give insight into the practices of the Ruby community, we've analyzed and graphed the metrics of all projects on Caliper. You can use these stats to better understand how the metrics of your project compares to other projects.

This page is a work in progress. Please help us out by suggesting other graphs and by adding your project to Caliper. Additionally, you can see if any two metrics have any correlation using our scatter plotter. Finally, you can analyze the raw data using the Caliper API.

View graphs for:   Flog     Saikuro     Reek     Roodi     Stats     Flay    


Flog measures code complexity

Method score: Measures a project's average code complexity per method.

Top 5 Flog : Method score
Mean Standard deviation Median Minimum Maximum
10.1 3.9 9.7 1 21.6

Saikuro analyzes cyclomatic complexity

Average Method Complexity: Measures the average cyclomatic complexity of a project's methods.

Top 5 Saikuro : Average Method Complexity
Mean Standard deviation Median Minimum Maximum
2.2 0.6 2.1 1 3.9

Reek detects common code smells

Smells:LOC: Compares the number of code smells to the total code size. For example, "1:5" means one code smell for every five lines of code.

Top 5 Reek : Smells:LOC
Mean Standard deviation Median Minimum Maximum
1:9.6 1:17.4 1:9.5 0 1:3.9

Roodi identifies possible design problems

Problems:LOC: Compares the number of design problems to the total code size. For example, "1:5" means there is one design problem for every five lines of code.

Top 5 Roodi : Problems:LOC
Mean Standard deviation Median Minimum Maximum
1:79.5 1:81.3 1:104 0 1:19.2

Stats counts lines of code

Code:Test Ratio: Measures the ratio of application code to test code. For example, "2:1" means there are two lines of application code for every line of test code. N/A means there are no tests.

Top 5 Stats : Code:Test Ratio
Mean Standard deviation Median Minimum Maximum
1:1.1 1:1.1 1:1.4 0 1:0.3

Flay detects code duplication

Duplications:LOC: Compares the number of duplications to the total code size. For example, "1:5" means there is a duplication for every five lines of code.

Top 5 Flay : Duplications:LOC
Mean Standard deviation Median Minimum Maximum
1:205.1 1:189.7 1:282.5 0 1:47