| Name | Total Lines | Lines of Code | Total Coverage | Code Coverage |
|---|---|---|---|---|
| app/models/admin.rb | 10 | 7 | 100.00%
|
100.00%
|
Code reported as executed by Ruby looks like this...and this: this line is also marked as covered.Lines considered as run by rcov, but not reported by Ruby, look like this,and this: these lines were inferred by rcov (using simple heuristics).Finally, here's a line marked as not executed.
1 # we need repository permission constants |
2 require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'repo', 'repository') |
3 class Admin < User |
4 SESSION_TIMEOUT = USER_ADMIN_SESSION_TIMEOUT |
5 |
6 after_create :grant_repository_permissions |
7 after_destroy :revoke_repository_permissions |
8 after_update :maintain_repository_permissions |
9 |
10 end |
Generated on Sun Feb 05 00:08:07 -0500 2012 with rcov 0.9.10