@@ -2,15 +2,94 @@ activeRecordModelClasses
2
2
| ActiveRecord.rb:1:1:3:3 | UserGroup |
3
3
| ActiveRecord.rb:5:1:15:3 | User |
4
4
| ActiveRecord.rb:17:1:21:3 | Admin |
5
+ | associations.rb:1:1:3:3 | Author |
6
+ | associations.rb:5:1:9:3 | Post |
7
+ | associations.rb:11:1:13:3 | Tag |
8
+ | associations.rb:15:1:17:3 | Comment |
5
9
activeRecordInstances
6
10
| ActiveRecord.rb:9:5:9:68 | call to find |
7
11
| ActiveRecord.rb:13:5:13:40 | call to find_by |
12
+ | ActiveRecord.rb:13:5:13:46 | call to users |
8
13
| ActiveRecord.rb:36:5:36:30 | call to find_by_name |
9
14
| ActiveRecord.rb:55:5:57:7 | if ... |
10
15
| ActiveRecord.rb:55:43:56:40 | then ... |
11
16
| ActiveRecord.rb:56:7:56:40 | call to find_by |
12
17
| ActiveRecord.rb:60:5:60:33 | call to find_by |
13
18
| ActiveRecord.rb:62:5:62:34 | call to find |
19
+ | associations.rb:19:1:19:20 | ... = ... |
20
+ | associations.rb:19:1:19:20 | ... = ... |
21
+ | associations.rb:19:11:19:20 | call to new |
22
+ | associations.rb:21:1:21:28 | ... = ... |
23
+ | associations.rb:21:1:21:28 | ... = ... |
24
+ | associations.rb:21:9:21:15 | author1 |
25
+ | associations.rb:21:9:21:21 | call to posts |
26
+ | associations.rb:21:9:21:28 | call to create |
27
+ | associations.rb:23:1:23:32 | ... = ... |
28
+ | associations.rb:23:12:23:16 | post1 |
29
+ | associations.rb:23:12:23:25 | call to comments |
30
+ | associations.rb:23:12:23:32 | call to create |
31
+ | associations.rb:25:1:25:22 | ... = ... |
32
+ | associations.rb:25:1:25:22 | ... = ... |
33
+ | associations.rb:25:11:25:15 | post1 |
34
+ | associations.rb:25:11:25:22 | call to author |
35
+ | associations.rb:27:1:27:28 | ... = ... |
36
+ | associations.rb:27:1:27:28 | ... = ... |
37
+ | associations.rb:27:9:27:15 | author2 |
38
+ | associations.rb:27:9:27:21 | call to posts |
39
+ | associations.rb:27:9:27:28 | call to create |
40
+ | associations.rb:29:1:29:7 | author2 |
41
+ | associations.rb:29:1:29:13 | call to posts |
42
+ | associations.rb:29:18:29:22 | post2 |
43
+ | associations.rb:33:1:33:5 | post2 |
44
+ | associations.rb:33:1:33:14 | call to comments |
45
+ | associations.rb:33:1:33:21 | call to create |
46
+ | associations.rb:35:1:35:7 | author1 |
47
+ | associations.rb:35:1:35:13 | call to posts |
48
+ | associations.rb:35:1:35:20 | call to reload |
49
+ | associations.rb:35:1:35:27 | call to create |
50
+ | associations.rb:37:1:37:5 | post1 |
51
+ | associations.rb:38:1:38:5 | post1 |
52
+ | associations.rb:40:1:40:7 | author1 |
53
+ | associations.rb:40:1:40:13 | call to posts |
54
+ | associations.rb:40:1:40:25 | call to push |
55
+ | associations.rb:40:20:40:24 | post2 |
56
+ | associations.rb:41:1:41:7 | author1 |
57
+ | associations.rb:41:1:41:13 | call to posts |
58
+ | associations.rb:41:1:41:27 | call to concat |
59
+ | associations.rb:41:22:41:26 | post2 |
60
+ | associations.rb:42:1:42:7 | author1 |
61
+ | associations.rb:42:1:42:13 | call to posts |
62
+ | associations.rb:42:1:42:19 | call to build |
63
+ | associations.rb:43:1:43:7 | author1 |
64
+ | associations.rb:43:1:43:13 | call to posts |
65
+ | associations.rb:43:1:43:20 | call to create |
66
+ | associations.rb:44:1:44:7 | author1 |
67
+ | associations.rb:44:1:44:13 | call to posts |
68
+ | associations.rb:44:1:44:21 | call to create! |
69
+ | associations.rb:45:1:45:7 | author1 |
70
+ | associations.rb:45:1:45:13 | call to posts |
71
+ | associations.rb:45:1:45:20 | call to delete |
72
+ | associations.rb:46:1:46:7 | author1 |
73
+ | associations.rb:46:1:46:13 | call to posts |
74
+ | associations.rb:46:1:46:24 | call to delete_all |
75
+ | associations.rb:47:1:47:7 | author1 |
76
+ | associations.rb:47:1:47:13 | call to posts |
77
+ | associations.rb:47:1:47:21 | call to destroy |
78
+ | associations.rb:48:1:48:7 | author1 |
79
+ | associations.rb:48:1:48:13 | call to posts |
80
+ | associations.rb:48:1:48:25 | call to destroy_all |
81
+ | associations.rb:49:1:49:7 | author1 |
82
+ | associations.rb:49:1:49:13 | call to posts |
83
+ | associations.rb:49:1:49:22 | call to distinct |
84
+ | associations.rb:49:1:49:36 | call to find |
85
+ | associations.rb:50:1:50:7 | author1 |
86
+ | associations.rb:50:1:50:13 | call to posts |
87
+ | associations.rb:50:1:50:19 | call to reset |
88
+ | associations.rb:50:1:50:33 | call to find |
89
+ | associations.rb:51:1:51:7 | author1 |
90
+ | associations.rb:51:1:51:13 | call to posts |
91
+ | associations.rb:51:1:51:20 | call to reload |
92
+ | associations.rb:51:1:51:34 | call to find |
14
93
activeRecordSqlExecutionRanges
15
94
| ActiveRecord.rb:9:33:9:67 | "name='#{...}' and pass='#{...}'" |
16
95
| ActiveRecord.rb:19:16:19:24 | condition |
@@ -53,6 +132,13 @@ activeRecordModelClassMethodCalls
53
132
| ActiveRecord.rb:92:5:92:71 | call to update |
54
133
| ActiveRecord.rb:98:13:98:54 | call to annotate |
55
134
| ActiveRecord.rb:102:13:102:77 | call to annotate |
135
+ | associations.rb:2:3:2:17 | call to has_many |
136
+ | associations.rb:6:3:6:20 | call to belongs_to |
137
+ | associations.rb:7:3:7:20 | call to has_many |
138
+ | associations.rb:8:3:8:31 | call to has_and_belongs_to_many |
139
+ | associations.rb:12:3:12:32 | call to has_and_belongs_to_many |
140
+ | associations.rb:16:3:16:18 | call to belongs_to |
141
+ | associations.rb:19:11:19:20 | call to new |
56
142
potentiallyUnsafeSqlExecutingMethodCall
57
143
| ActiveRecord.rb:9:5:9:68 | call to find |
58
144
| ActiveRecord.rb:19:5:19:25 | call to destroy_by |
@@ -68,10 +154,48 @@ potentiallyUnsafeSqlExecutingMethodCall
68
154
activeRecordModelInstantiations
69
155
| ActiveRecord.rb:9:5:9:68 | call to find | ActiveRecord.rb:5:1:15:3 | User |
70
156
| ActiveRecord.rb:13:5:13:40 | call to find_by | ActiveRecord.rb:1:1:3:3 | UserGroup |
157
+ | ActiveRecord.rb:13:5:13:46 | call to users | ActiveRecord.rb:5:1:15:3 | User |
71
158
| ActiveRecord.rb:36:5:36:30 | call to find_by_name | ActiveRecord.rb:5:1:15:3 | User |
72
159
| ActiveRecord.rb:56:7:56:40 | call to find_by | ActiveRecord.rb:5:1:15:3 | User |
73
160
| ActiveRecord.rb:60:5:60:33 | call to find_by | ActiveRecord.rb:5:1:15:3 | User |
74
161
| ActiveRecord.rb:62:5:62:34 | call to find | ActiveRecord.rb:5:1:15:3 | User |
162
+ | associations.rb:19:11:19:20 | call to new | associations.rb:1:1:3:3 | Author |
163
+ | associations.rb:21:9:21:21 | call to posts | associations.rb:5:1:9:3 | Post |
164
+ | associations.rb:21:9:21:28 | call to create | associations.rb:5:1:9:3 | Post |
165
+ | associations.rb:23:12:23:25 | call to comments | associations.rb:15:1:17:3 | Comment |
166
+ | associations.rb:23:12:23:32 | call to create | associations.rb:15:1:17:3 | Comment |
167
+ | associations.rb:25:11:25:22 | call to author | associations.rb:1:1:3:3 | Author |
168
+ | associations.rb:27:9:27:21 | call to posts | associations.rb:5:1:9:3 | Post |
169
+ | associations.rb:27:9:27:28 | call to create | associations.rb:5:1:9:3 | Post |
170
+ | associations.rb:29:1:29:13 | call to posts | associations.rb:5:1:9:3 | Post |
171
+ | associations.rb:33:1:33:14 | call to comments | associations.rb:15:1:17:3 | Comment |
172
+ | associations.rb:33:1:33:21 | call to create | associations.rb:15:1:17:3 | Comment |
173
+ | associations.rb:35:1:35:13 | call to posts | associations.rb:5:1:9:3 | Post |
174
+ | associations.rb:35:1:35:20 | call to reload | associations.rb:5:1:9:3 | Post |
175
+ | associations.rb:40:1:40:13 | call to posts | associations.rb:5:1:9:3 | Post |
176
+ | associations.rb:40:1:40:25 | call to push | associations.rb:5:1:9:3 | Post |
177
+ | associations.rb:41:1:41:13 | call to posts | associations.rb:5:1:9:3 | Post |
178
+ | associations.rb:41:1:41:27 | call to concat | associations.rb:5:1:9:3 | Post |
179
+ | associations.rb:42:1:42:13 | call to posts | associations.rb:5:1:9:3 | Post |
180
+ | associations.rb:42:1:42:19 | call to build | associations.rb:5:1:9:3 | Post |
181
+ | associations.rb:43:1:43:13 | call to posts | associations.rb:5:1:9:3 | Post |
182
+ | associations.rb:43:1:43:20 | call to create | associations.rb:5:1:9:3 | Post |
183
+ | associations.rb:44:1:44:13 | call to posts | associations.rb:5:1:9:3 | Post |
184
+ | associations.rb:44:1:44:21 | call to create! | associations.rb:5:1:9:3 | Post |
185
+ | associations.rb:45:1:45:13 | call to posts | associations.rb:5:1:9:3 | Post |
186
+ | associations.rb:45:1:45:20 | call to delete | associations.rb:5:1:9:3 | Post |
187
+ | associations.rb:46:1:46:13 | call to posts | associations.rb:5:1:9:3 | Post |
188
+ | associations.rb:46:1:46:24 | call to delete_all | associations.rb:5:1:9:3 | Post |
189
+ | associations.rb:47:1:47:13 | call to posts | associations.rb:5:1:9:3 | Post |
190
+ | associations.rb:47:1:47:21 | call to destroy | associations.rb:5:1:9:3 | Post |
191
+ | associations.rb:48:1:48:13 | call to posts | associations.rb:5:1:9:3 | Post |
192
+ | associations.rb:48:1:48:25 | call to destroy_all | associations.rb:5:1:9:3 | Post |
193
+ | associations.rb:49:1:49:13 | call to posts | associations.rb:5:1:9:3 | Post |
194
+ | associations.rb:49:1:49:22 | call to distinct | associations.rb:5:1:9:3 | Post |
195
+ | associations.rb:50:1:50:13 | call to posts | associations.rb:5:1:9:3 | Post |
196
+ | associations.rb:50:1:50:19 | call to reset | associations.rb:5:1:9:3 | Post |
197
+ | associations.rb:51:1:51:13 | call to posts | associations.rb:5:1:9:3 | Post |
198
+ | associations.rb:51:1:51:20 | call to reload | associations.rb:5:1:9:3 | Post |
75
199
persistentWriteAccesses
76
200
| ActiveRecord.rb:72:5:72:24 | call to create | ActiveRecord.rb:72:18:72:23 | call to params |
77
201
| ActiveRecord.rb:76:5:76:66 | call to create | ActiveRecord.rb:76:24:76:36 | ...[...] |
0 commit comments