Name | Total Lines | Lines of Code | Total Coverage | Code Coverage |
---|---|---|---|---|
app/models/user_role.rb | 21 | 4 | 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 # This file is part of Branston. |
2 # |
3 # Branston is free software: you can redistribute it and/or modify |
4 # it under the terms of the GNU Affero General Public License as published by |
5 # the Free Software Foundation. |
6 # |
7 # Branston is distributed in the hope that it will be useful, |
8 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
10 # GNU Affero General Public License for more details. |
11 # |
12 # You should have received a copy of the GNU Affero General Public License |
13 # along with Branston. If not, see <http://www.gnu.org/licenses/>. |
14 |
15 class UserRole < ActiveRecord::Base |
16 |
17 validates_presence_of :name |
18 belongs_to :story |
19 |
20 end |
21 |
Generated on Thu Jan 07 15:27:03 +0000 2010 with rcov 0.9.6