mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Ruby: Add more call graph tests for protected methods
This commit is contained in:
@@ -49,56 +49,62 @@ calls.rb:
|
||||
# 105| Module
|
||||
#-----| super -> Object
|
||||
|
||||
# 112| Object
|
||||
# 115| Object
|
||||
#-----| super -> BasicObject
|
||||
#-----| include -> Kernel
|
||||
#-----| prepend -> A
|
||||
|
||||
# 117| Hash
|
||||
# 120| Hash
|
||||
#-----| super -> Object
|
||||
|
||||
# 122| Array
|
||||
# 125| Array
|
||||
#-----| super -> Object
|
||||
|
||||
# 162| S
|
||||
# 165| S
|
||||
#-----| super -> Object
|
||||
|
||||
# 168| A
|
||||
# 171| A
|
||||
#-----| super -> S
|
||||
#-----| super -> B
|
||||
#-----| prepend -> A::B
|
||||
|
||||
# 173| B
|
||||
# 176| B
|
||||
#-----| super -> S
|
||||
|
||||
# 187| Singletons
|
||||
# 190| Singletons
|
||||
#-----| super -> Object
|
||||
|
||||
# 307| SelfNew
|
||||
# 310| SelfNew
|
||||
#-----| super -> Object
|
||||
|
||||
# 322| C1
|
||||
# 325| C1
|
||||
#-----| super -> Object
|
||||
|
||||
# 328| C2
|
||||
# 331| C2
|
||||
#-----| super -> C1
|
||||
|
||||
# 334| C3
|
||||
# 337| C3
|
||||
#-----| super -> C2
|
||||
|
||||
# 374| SingletonOverride1
|
||||
# 377| SingletonOverride1
|
||||
#-----| super -> Object
|
||||
|
||||
# 399| SingletonOverride2
|
||||
# 402| SingletonOverride2
|
||||
#-----| super -> SingletonOverride1
|
||||
|
||||
# 414| ConditionalInstanceMethods
|
||||
# 417| ConditionalInstanceMethods
|
||||
#-----| super -> Object
|
||||
|
||||
# 477| ExtendSingletonMethod
|
||||
# 480| ExtendSingletonMethod
|
||||
|
||||
# 487| ProtectedMethods
|
||||
# 490| ProtectedMethodInModule
|
||||
|
||||
# 496| ProtectedMethods
|
||||
#-----| super -> Object
|
||||
#-----| include -> ProtectedMethodInModule
|
||||
|
||||
# 515| ProtectedMethodsSub
|
||||
#-----| super -> ProtectedMethods
|
||||
|
||||
hello.rb:
|
||||
# 1| EnglishWords
|
||||
|
||||
@@ -12,185 +12,197 @@ getTarget
|
||||
| calls.rb:32:5:32:15 | call to singleton_m | calls.rb:25:5:27:7 | singleton_m |
|
||||
| calls.rb:33:5:33:20 | call to singleton_m | calls.rb:25:5:27:7 | singleton_m |
|
||||
| calls.rb:37:1:37:13 | call to singleton_m | calls.rb:25:5:27:7 | singleton_m |
|
||||
| calls.rb:44:5:44:13 | call to include | calls.rb:107:5:107:20 | include |
|
||||
| calls.rb:44:5:44:13 | call to include | calls.rb:108:5:110:7 | include |
|
||||
| calls.rb:52:9:52:18 | call to instance_m | calls.rb:22:5:24:7 | instance_m |
|
||||
| calls.rb:53:9:53:23 | call to instance_m | calls.rb:22:5:24:7 | instance_m |
|
||||
| calls.rb:60:5:60:9 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:60:5:60:9 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:61:1:61:5 | call to baz | calls.rb:51:5:57:7 | baz |
|
||||
| calls.rb:63:1:63:12 | call to instance_m | calls.rb:22:5:24:7 | instance_m |
|
||||
| calls.rb:67:9:67:13 | call to super | calls.rb:51:5:57:7 | baz |
|
||||
| calls.rb:71:5:71:9 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:71:5:71:9 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:72:1:72:5 | call to baz | calls.rb:66:5:68:7 | baz |
|
||||
| calls.rb:74:1:74:12 | call to instance_m | calls.rb:22:5:24:7 | instance_m |
|
||||
| calls.rb:77:5:77:16 | call to bit_length | calls.rb:92:5:92:23 | bit_length |
|
||||
| calls.rb:78:5:78:16 | call to bit_length | calls.rb:92:5:92:23 | bit_length |
|
||||
| calls.rb:82:5:82:11 | yield ... | calls.rb:88:16:88:29 | { ... } |
|
||||
| calls.rb:82:5:82:11 | yield ... | calls.rb:159:10:159:28 | { ... } |
|
||||
| calls.rb:86:11:86:18 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:87:5:87:10 | ...[...] | calls.rb:119:5:119:31 | [] |
|
||||
| calls.rb:82:5:82:11 | yield ... | calls.rb:162:10:162:28 | { ... } |
|
||||
| calls.rb:86:11:86:18 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:87:5:87:10 | ...[...] | calls.rb:122:5:122:31 | [] |
|
||||
| calls.rb:88:5:88:29 | call to call_block | calls.rb:81:1:83:3 | call_block |
|
||||
| calls.rb:88:22:88:27 | ...[...] | calls.rb:119:5:119:31 | [] |
|
||||
| calls.rb:113:5:113:18 | call to include | calls.rb:107:5:107:20 | include |
|
||||
| calls.rb:130:15:130:25 | call to length | calls.rb:126:3:126:17 | length |
|
||||
| calls.rb:131:9:131:24 | yield ... | calls.rb:147:23:147:62 | { ... } |
|
||||
| calls.rb:131:9:131:24 | yield ... | calls.rb:149:17:149:35 | { ... } |
|
||||
| calls.rb:131:9:131:24 | yield ... | calls.rb:151:17:151:40 | { ... } |
|
||||
| calls.rb:131:9:131:24 | yield ... | calls.rb:153:18:153:37 | { ... } |
|
||||
| calls.rb:131:18:131:24 | ...[...] | calls.rb:124:3:124:29 | [] |
|
||||
| calls.rb:138:5:138:20 | yield ... | calls.rb:141:7:141:30 | { ... } |
|
||||
| calls.rb:141:1:141:30 | call to funny | calls.rb:137:1:139:3 | funny |
|
||||
| calls.rb:141:13:141:29 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:141:18:141:29 | call to capitalize | calls.rb:97:5:97:23 | capitalize |
|
||||
| calls.rb:143:1:143:14 | call to capitalize | calls.rb:97:5:97:23 | capitalize |
|
||||
| calls.rb:144:1:144:12 | call to bit_length | calls.rb:92:5:92:23 | bit_length |
|
||||
| calls.rb:145:1:145:5 | call to abs | calls.rb:93:5:93:16 | abs |
|
||||
| calls.rb:147:1:147:62 | call to foreach | calls.rb:128:3:134:5 | foreach |
|
||||
| calls.rb:147:32:147:61 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:149:1:149:35 | call to foreach | calls.rb:128:3:134:5 | foreach |
|
||||
| calls.rb:149:23:149:34 | call to bit_length | calls.rb:92:5:92:23 | bit_length |
|
||||
| calls.rb:151:1:151:40 | call to foreach | calls.rb:128:3:134:5 | foreach |
|
||||
| calls.rb:151:23:151:39 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:153:1:153:37 | call to foreach | calls.rb:128:3:134:5 | foreach |
|
||||
| calls.rb:153:27:153:36 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:156:5:156:17 | call to call_block | calls.rb:81:1:83:3 | call_block |
|
||||
| calls.rb:159:1:159:28 | call to indirect | calls.rb:155:1:157:3 | indirect |
|
||||
| calls.rb:159:16:159:27 | call to bit_length | calls.rb:92:5:92:23 | bit_length |
|
||||
| calls.rb:164:9:164:17 | call to to_s | calls.rb:169:5:170:7 | to_s |
|
||||
| calls.rb:164:9:164:17 | call to to_s | calls.rb:174:5:175:7 | to_s |
|
||||
| calls.rb:178:1:178:5 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:178:1:178:14 | call to s_method | calls.rb:163:5:165:7 | s_method |
|
||||
| calls.rb:179:1:179:5 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:179:1:179:14 | call to s_method | calls.rb:163:5:165:7 | s_method |
|
||||
| calls.rb:180:1:180:5 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:180:1:180:14 | call to s_method | calls.rb:163:5:165:7 | s_method |
|
||||
| calls.rb:185:1:185:15 | call to private_on_main | calls.rb:182:1:183:3 | private_on_main |
|
||||
| calls.rb:189:9:189:26 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:190:9:190:24 | call to singleton_b | calls.rb:193:5:196:7 | singleton_b |
|
||||
| calls.rb:194:9:194:26 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:195:9:195:24 | call to singleton_c | calls.rb:198:5:200:7 | singleton_c |
|
||||
| calls.rb:199:9:199:26 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:203:9:203:26 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:204:9:204:24 | call to singleton_a | calls.rb:188:5:191:7 | singleton_a |
|
||||
| calls.rb:209:13:209:30 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:211:9:211:19 | call to singleton_e | calls.rb:208:9:210:11 | singleton_e |
|
||||
| calls.rb:216:13:216:30 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:221:9:221:24 | call to singleton_g | calls.rb:233:1:235:3 | singleton_g |
|
||||
| calls.rb:221:9:221:24 | call to singleton_g | calls.rb:240:1:242:3 | singleton_g |
|
||||
| calls.rb:221:9:221:24 | call to singleton_g | calls.rb:248:5:250:7 | singleton_g |
|
||||
| calls.rb:221:9:221:24 | call to singleton_g | calls.rb:264:1:266:3 | singleton_g |
|
||||
| calls.rb:225:1:225:22 | call to singleton_a | calls.rb:188:5:191:7 | singleton_a |
|
||||
| calls.rb:226:1:226:22 | call to singleton_f | calls.rb:215:9:217:11 | singleton_f |
|
||||
| calls.rb:228:6:228:19 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:230:1:230:11 | call to instance | calls.rb:207:5:212:7 | instance |
|
||||
| calls.rb:231:1:231:14 | call to singleton_e | calls.rb:208:9:210:11 | singleton_e |
|
||||
| calls.rb:234:5:234:24 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:237:1:237:14 | call to singleton_g | calls.rb:233:1:235:3 | singleton_g |
|
||||
| calls.rb:238:1:238:19 | call to call_singleton_g | calls.rb:220:5:222:7 | call_singleton_g |
|
||||
| calls.rb:241:5:241:24 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:244:1:244:14 | call to singleton_g | calls.rb:240:1:242:3 | singleton_g |
|
||||
| calls.rb:245:1:245:19 | call to call_singleton_g | calls.rb:220:5:222:7 | call_singleton_g |
|
||||
| calls.rb:249:9:249:28 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:253:1:253:14 | call to singleton_g | calls.rb:248:5:250:7 | singleton_g |
|
||||
| calls.rb:254:1:254:19 | call to call_singleton_g | calls.rb:220:5:222:7 | call_singleton_g |
|
||||
| calls.rb:256:6:256:19 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:260:1:260:8 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:262:1:262:16 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:265:5:265:22 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:268:1:268:22 | call to singleton_g | calls.rb:264:1:266:3 | singleton_g |
|
||||
| calls.rb:269:1:269:14 | call to singleton_g | calls.rb:248:5:250:7 | singleton_g |
|
||||
| calls.rb:270:1:270:19 | call to call_singleton_g | calls.rb:220:5:222:7 | call_singleton_g |
|
||||
| calls.rb:272:6:272:19 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:276:5:276:12 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:276:5:276:21 | call to instance | calls.rb:207:5:212:7 | instance |
|
||||
| calls.rb:279:9:279:26 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:282:5:282:20 | call to singleton_h | calls.rb:278:5:280:7 | singleton_h |
|
||||
| calls.rb:285:1:285:17 | call to create | calls.rb:275:1:283:3 | create |
|
||||
| calls.rb:286:1:286:22 | call to singleton_h | calls.rb:278:5:280:7 | singleton_h |
|
||||
| calls.rb:292:9:292:26 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:296:1:296:13 | call to singleton_i | calls.rb:291:5:293:7 | singleton_i |
|
||||
| calls.rb:297:1:297:22 | call to singleton_i | calls.rb:291:5:293:7 | singleton_i |
|
||||
| calls.rb:301:9:301:26 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:305:1:305:22 | call to singleton_j | calls.rb:300:5:302:7 | singleton_j |
|
||||
| calls.rb:309:9:309:31 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:310:9:310:11 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:314:9:314:11 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:314:9:314:20 | call to instance | calls.rb:308:5:311:7 | instance |
|
||||
| calls.rb:317:5:317:7 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:317:5:317:16 | call to instance | calls.rb:308:5:311:7 | instance |
|
||||
| calls.rb:320:1:320:17 | call to singleton | calls.rb:313:5:315:7 | singleton |
|
||||
| calls.rb:324:9:324:26 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:330:9:330:26 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:336:9:336:26 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:343:9:343:18 | call to instance | calls.rb:335:5:337:7 | instance |
|
||||
| calls.rb:345:9:345:18 | call to instance | calls.rb:329:5:331:7 | instance |
|
||||
| calls.rb:345:9:345:18 | call to instance | calls.rb:335:5:337:7 | instance |
|
||||
| calls.rb:347:9:347:18 | call to instance | calls.rb:323:5:325:7 | instance |
|
||||
| calls.rb:347:9:347:18 | call to instance | calls.rb:329:5:331:7 | instance |
|
||||
| calls.rb:347:9:347:18 | call to instance | calls.rb:335:5:337:7 | instance |
|
||||
| calls.rb:352:20:352:29 | call to instance | calls.rb:335:5:337:7 | instance |
|
||||
| calls.rb:353:26:353:36 | call to instance | calls.rb:329:5:331:7 | instance |
|
||||
| calls.rb:353:26:353:36 | call to instance | calls.rb:335:5:337:7 | instance |
|
||||
| calls.rb:354:26:354:36 | call to instance | calls.rb:323:5:325:7 | instance |
|
||||
| calls.rb:354:26:354:36 | call to instance | calls.rb:329:5:331:7 | instance |
|
||||
| calls.rb:354:26:354:36 | call to instance | calls.rb:335:5:337:7 | instance |
|
||||
| calls.rb:358:6:358:11 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:359:1:359:11 | call to instance | calls.rb:323:5:325:7 | instance |
|
||||
| calls.rb:360:1:360:25 | call to pattern_dispatch | calls.rb:340:1:356:3 | pattern_dispatch |
|
||||
| calls.rb:360:19:360:24 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:361:1:361:25 | call to pattern_dispatch | calls.rb:340:1:356:3 | pattern_dispatch |
|
||||
| calls.rb:361:19:361:24 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:362:1:362:25 | call to pattern_dispatch | calls.rb:340:1:356:3 | pattern_dispatch |
|
||||
| calls.rb:362:19:362:24 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:366:9:366:28 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:370:6:370:11 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:371:1:371:16 | call to add_singleton | calls.rb:364:1:368:3 | add_singleton |
|
||||
| calls.rb:372:1:372:11 | call to instance | calls.rb:323:5:325:7 | instance |
|
||||
| calls.rb:372:1:372:11 | call to instance | calls.rb:365:5:367:7 | instance |
|
||||
| calls.rb:377:13:377:48 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:381:13:381:22 | call to singleton1 | calls.rb:376:9:378:11 | singleton1 |
|
||||
| calls.rb:381:13:381:22 | call to singleton1 | calls.rb:401:9:403:11 | singleton1 |
|
||||
| calls.rb:386:9:386:44 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:390:9:390:18 | call to singleton2 | calls.rb:385:5:387:7 | singleton2 |
|
||||
| calls.rb:390:9:390:18 | call to singleton2 | calls.rb:406:5:408:7 | singleton2 |
|
||||
| calls.rb:393:5:393:14 | call to singleton2 | calls.rb:385:5:387:7 | singleton2 |
|
||||
| calls.rb:396:1:396:34 | call to call_singleton1 | calls.rb:380:9:382:11 | call_singleton1 |
|
||||
| calls.rb:397:1:397:34 | call to call_singleton2 | calls.rb:389:5:391:7 | call_singleton2 |
|
||||
| calls.rb:402:13:402:48 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:407:9:407:44 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:417:13:417:48 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:422:9:422:44 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:425:13:425:48 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:428:17:428:52 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:436:9:440:11 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:436:9:440:15 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:438:17:438:40 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:444:1:444:30 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:444:1:444:33 | call to m1 | calls.rb:416:9:418:11 | m1 |
|
||||
| calls.rb:445:1:445:30 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:446:1:446:30 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:446:1:446:33 | call to m2 | calls.rb:421:5:433:7 | m2 |
|
||||
| calls.rb:447:1:447:30 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:448:1:448:30 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:449:1:449:30 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:451:27:469:3 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:454:13:454:22 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:458:5:462:7 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:458:5:462:11 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:460:13:460:22 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:466:13:466:27 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:471:1:471:27 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:472:1:472:27 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:473:1:473:27 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:474:1:474:27 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:475:1:475:27 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:489:9:489:35 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:493:9:493:11 | call to foo | calls.rb:488:15:490:7 | foo |
|
||||
| calls.rb:494:9:494:28 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:494:9:494:32 | call to foo | calls.rb:488:15:490:7 | foo |
|
||||
| calls.rb:498:1:498:20 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:499:1:499:20 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:499:1:499:24 | call to bar | calls.rb:492:5:495:7 | bar |
|
||||
| hello.rb:12:5:12:24 | call to include | calls.rb:107:5:107:20 | include |
|
||||
| calls.rb:88:22:88:27 | ...[...] | calls.rb:122:5:122:31 | [] |
|
||||
| calls.rb:116:5:116:18 | call to include | calls.rb:108:5:110:7 | include |
|
||||
| calls.rb:133:15:133:25 | call to length | calls.rb:129:3:129:17 | length |
|
||||
| calls.rb:134:9:134:24 | yield ... | calls.rb:150:23:150:62 | { ... } |
|
||||
| calls.rb:134:9:134:24 | yield ... | calls.rb:152:17:152:35 | { ... } |
|
||||
| calls.rb:134:9:134:24 | yield ... | calls.rb:154:17:154:40 | { ... } |
|
||||
| calls.rb:134:9:134:24 | yield ... | calls.rb:156:18:156:37 | { ... } |
|
||||
| calls.rb:134:18:134:24 | ...[...] | calls.rb:127:3:127:29 | [] |
|
||||
| calls.rb:141:5:141:20 | yield ... | calls.rb:144:7:144:30 | { ... } |
|
||||
| calls.rb:144:1:144:30 | call to funny | calls.rb:140:1:142:3 | funny |
|
||||
| calls.rb:144:13:144:29 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:144:18:144:29 | call to capitalize | calls.rb:97:5:97:23 | capitalize |
|
||||
| calls.rb:146:1:146:14 | call to capitalize | calls.rb:97:5:97:23 | capitalize |
|
||||
| calls.rb:147:1:147:12 | call to bit_length | calls.rb:92:5:92:23 | bit_length |
|
||||
| calls.rb:148:1:148:5 | call to abs | calls.rb:93:5:93:16 | abs |
|
||||
| calls.rb:150:1:150:62 | call to foreach | calls.rb:131:3:137:5 | foreach |
|
||||
| calls.rb:150:32:150:61 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:152:1:152:35 | call to foreach | calls.rb:131:3:137:5 | foreach |
|
||||
| calls.rb:152:23:152:34 | call to bit_length | calls.rb:92:5:92:23 | bit_length |
|
||||
| calls.rb:154:1:154:40 | call to foreach | calls.rb:131:3:137:5 | foreach |
|
||||
| calls.rb:154:23:154:39 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:156:1:156:37 | call to foreach | calls.rb:131:3:137:5 | foreach |
|
||||
| calls.rb:156:27:156:36 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:159:5:159:17 | call to call_block | calls.rb:81:1:83:3 | call_block |
|
||||
| calls.rb:162:1:162:28 | call to indirect | calls.rb:158:1:160:3 | indirect |
|
||||
| calls.rb:162:16:162:27 | call to bit_length | calls.rb:92:5:92:23 | bit_length |
|
||||
| calls.rb:167:9:167:17 | call to to_s | calls.rb:172:5:173:7 | to_s |
|
||||
| calls.rb:167:9:167:17 | call to to_s | calls.rb:177:5:178:7 | to_s |
|
||||
| calls.rb:181:1:181:5 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:181:1:181:14 | call to s_method | calls.rb:166:5:168:7 | s_method |
|
||||
| calls.rb:182:1:182:5 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:182:1:182:14 | call to s_method | calls.rb:166:5:168:7 | s_method |
|
||||
| calls.rb:183:1:183:5 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:183:1:183:14 | call to s_method | calls.rb:166:5:168:7 | s_method |
|
||||
| calls.rb:188:1:188:15 | call to private_on_main | calls.rb:185:1:186:3 | private_on_main |
|
||||
| calls.rb:192:9:192:26 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:193:9:193:24 | call to singleton_b | calls.rb:196:5:199:7 | singleton_b |
|
||||
| calls.rb:197:9:197:26 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:198:9:198:24 | call to singleton_c | calls.rb:201:5:203:7 | singleton_c |
|
||||
| calls.rb:202:9:202:26 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:206:9:206:26 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:207:9:207:24 | call to singleton_a | calls.rb:191:5:194:7 | singleton_a |
|
||||
| calls.rb:212:13:212:30 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:214:9:214:19 | call to singleton_e | calls.rb:211:9:213:11 | singleton_e |
|
||||
| calls.rb:219:13:219:30 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:224:9:224:24 | call to singleton_g | calls.rb:236:1:238:3 | singleton_g |
|
||||
| calls.rb:224:9:224:24 | call to singleton_g | calls.rb:243:1:245:3 | singleton_g |
|
||||
| calls.rb:224:9:224:24 | call to singleton_g | calls.rb:251:5:253:7 | singleton_g |
|
||||
| calls.rb:224:9:224:24 | call to singleton_g | calls.rb:267:1:269:3 | singleton_g |
|
||||
| calls.rb:228:1:228:22 | call to singleton_a | calls.rb:191:5:194:7 | singleton_a |
|
||||
| calls.rb:229:1:229:22 | call to singleton_f | calls.rb:218:9:220:11 | singleton_f |
|
||||
| calls.rb:231:6:231:19 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:233:1:233:11 | call to instance | calls.rb:210:5:215:7 | instance |
|
||||
| calls.rb:234:1:234:14 | call to singleton_e | calls.rb:211:9:213:11 | singleton_e |
|
||||
| calls.rb:237:5:237:24 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:240:1:240:14 | call to singleton_g | calls.rb:236:1:238:3 | singleton_g |
|
||||
| calls.rb:241:1:241:19 | call to call_singleton_g | calls.rb:223:5:225:7 | call_singleton_g |
|
||||
| calls.rb:244:5:244:24 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:247:1:247:14 | call to singleton_g | calls.rb:243:1:245:3 | singleton_g |
|
||||
| calls.rb:248:1:248:19 | call to call_singleton_g | calls.rb:223:5:225:7 | call_singleton_g |
|
||||
| calls.rb:252:9:252:28 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:256:1:256:14 | call to singleton_g | calls.rb:251:5:253:7 | singleton_g |
|
||||
| calls.rb:257:1:257:19 | call to call_singleton_g | calls.rb:223:5:225:7 | call_singleton_g |
|
||||
| calls.rb:259:6:259:19 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:263:1:263:8 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:265:1:265:16 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:268:5:268:22 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:271:1:271:22 | call to singleton_g | calls.rb:267:1:269:3 | singleton_g |
|
||||
| calls.rb:272:1:272:14 | call to singleton_g | calls.rb:251:5:253:7 | singleton_g |
|
||||
| calls.rb:273:1:273:19 | call to call_singleton_g | calls.rb:223:5:225:7 | call_singleton_g |
|
||||
| calls.rb:275:6:275:19 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:279:5:279:12 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:279:5:279:21 | call to instance | calls.rb:210:5:215:7 | instance |
|
||||
| calls.rb:282:9:282:26 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:285:5:285:20 | call to singleton_h | calls.rb:281:5:283:7 | singleton_h |
|
||||
| calls.rb:288:1:288:17 | call to create | calls.rb:278:1:286:3 | create |
|
||||
| calls.rb:289:1:289:22 | call to singleton_h | calls.rb:281:5:283:7 | singleton_h |
|
||||
| calls.rb:295:9:295:26 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:299:1:299:13 | call to singleton_i | calls.rb:294:5:296:7 | singleton_i |
|
||||
| calls.rb:300:1:300:22 | call to singleton_i | calls.rb:294:5:296:7 | singleton_i |
|
||||
| calls.rb:304:9:304:26 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:308:1:308:22 | call to singleton_j | calls.rb:303:5:305:7 | singleton_j |
|
||||
| calls.rb:312:9:312:31 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:313:9:313:11 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:317:9:317:11 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:317:9:317:20 | call to instance | calls.rb:311:5:314:7 | instance |
|
||||
| calls.rb:320:5:320:7 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:320:5:320:16 | call to instance | calls.rb:311:5:314:7 | instance |
|
||||
| calls.rb:323:1:323:17 | call to singleton | calls.rb:316:5:318:7 | singleton |
|
||||
| calls.rb:327:9:327:26 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:333:9:333:26 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:339:9:339:26 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:346:9:346:18 | call to instance | calls.rb:338:5:340:7 | instance |
|
||||
| calls.rb:348:9:348:18 | call to instance | calls.rb:332:5:334:7 | instance |
|
||||
| calls.rb:348:9:348:18 | call to instance | calls.rb:338:5:340:7 | instance |
|
||||
| calls.rb:350:9:350:18 | call to instance | calls.rb:326:5:328:7 | instance |
|
||||
| calls.rb:350:9:350:18 | call to instance | calls.rb:332:5:334:7 | instance |
|
||||
| calls.rb:350:9:350:18 | call to instance | calls.rb:338:5:340:7 | instance |
|
||||
| calls.rb:355:20:355:29 | call to instance | calls.rb:338:5:340:7 | instance |
|
||||
| calls.rb:356:26:356:36 | call to instance | calls.rb:332:5:334:7 | instance |
|
||||
| calls.rb:356:26:356:36 | call to instance | calls.rb:338:5:340:7 | instance |
|
||||
| calls.rb:357:26:357:36 | call to instance | calls.rb:326:5:328:7 | instance |
|
||||
| calls.rb:357:26:357:36 | call to instance | calls.rb:332:5:334:7 | instance |
|
||||
| calls.rb:357:26:357:36 | call to instance | calls.rb:338:5:340:7 | instance |
|
||||
| calls.rb:361:6:361:11 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:362:1:362:11 | call to instance | calls.rb:326:5:328:7 | instance |
|
||||
| calls.rb:363:1:363:25 | call to pattern_dispatch | calls.rb:343:1:359:3 | pattern_dispatch |
|
||||
| calls.rb:363:19:363:24 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:364:1:364:25 | call to pattern_dispatch | calls.rb:343:1:359:3 | pattern_dispatch |
|
||||
| calls.rb:364:19:364:24 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:365:1:365:25 | call to pattern_dispatch | calls.rb:343:1:359:3 | pattern_dispatch |
|
||||
| calls.rb:365:19:365:24 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:369:9:369:28 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:373:6:373:11 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:374:1:374:16 | call to add_singleton | calls.rb:367:1:371:3 | add_singleton |
|
||||
| calls.rb:375:1:375:11 | call to instance | calls.rb:326:5:328:7 | instance |
|
||||
| calls.rb:375:1:375:11 | call to instance | calls.rb:368:5:370:7 | instance |
|
||||
| calls.rb:380:13:380:48 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:384:13:384:22 | call to singleton1 | calls.rb:379:9:381:11 | singleton1 |
|
||||
| calls.rb:384:13:384:22 | call to singleton1 | calls.rb:404:9:406:11 | singleton1 |
|
||||
| calls.rb:389:9:389:44 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:393:9:393:18 | call to singleton2 | calls.rb:388:5:390:7 | singleton2 |
|
||||
| calls.rb:393:9:393:18 | call to singleton2 | calls.rb:409:5:411:7 | singleton2 |
|
||||
| calls.rb:396:5:396:14 | call to singleton2 | calls.rb:388:5:390:7 | singleton2 |
|
||||
| calls.rb:399:1:399:34 | call to call_singleton1 | calls.rb:383:9:385:11 | call_singleton1 |
|
||||
| calls.rb:400:1:400:34 | call to call_singleton2 | calls.rb:392:5:394:7 | call_singleton2 |
|
||||
| calls.rb:405:13:405:48 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:410:9:410:44 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:420:13:420:48 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:425:9:425:44 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:428:13:428:48 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:431:17:431:52 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:439:9:443:11 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:439:9:443:15 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:441:17:441:40 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:447:1:447:30 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:447:1:447:33 | call to m1 | calls.rb:419:9:421:11 | m1 |
|
||||
| calls.rb:448:1:448:30 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:449:1:449:30 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:449:1:449:33 | call to m2 | calls.rb:424:5:436:7 | m2 |
|
||||
| calls.rb:450:1:450:30 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:451:1:451:30 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:452:1:452:30 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:454:27:472:3 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:457:13:457:22 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:461:5:465:7 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:461:5:465:11 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:463:13:463:22 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:469:13:469:27 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:474:1:474:27 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:475:1:475:27 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:476:1:476:27 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:477:1:477:27 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:478:1:478:27 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:497:5:497:35 | call to include | calls.rb:108:5:110:7 | include |
|
||||
| calls.rb:500:9:500:35 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:504:9:504:11 | call to foo | calls.rb:491:15:493:7 | foo |
|
||||
| calls.rb:505:9:505:11 | call to bar | calls.rb:499:15:501:7 | bar |
|
||||
| calls.rb:506:9:506:28 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:506:9:506:32 | call to foo | calls.rb:491:15:493:7 | foo |
|
||||
| calls.rb:507:9:507:28 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:507:9:507:32 | call to bar | calls.rb:499:15:501:7 | bar |
|
||||
| calls.rb:511:1:511:20 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:512:1:512:20 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:513:1:513:20 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:513:1:513:24 | call to baz | calls.rb:503:5:508:7 | baz |
|
||||
| calls.rb:517:9:517:11 | call to foo | calls.rb:491:15:493:7 | foo |
|
||||
| calls.rb:518:9:518:31 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:518:9:518:35 | call to foo | calls.rb:491:15:493:7 | foo |
|
||||
| calls.rb:522:1:522:23 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:523:1:523:23 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:524:1:524:23 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:524:1:524:27 | call to baz | calls.rb:516:5:519:7 | baz |
|
||||
| hello.rb:12:5:12:24 | call to include | calls.rb:108:5:110:7 | include |
|
||||
| hello.rb:14:16:14:20 | call to hello | hello.rb:2:5:4:7 | hello |
|
||||
| hello.rb:20:16:20:20 | call to super | hello.rb:13:5:15:7 | message |
|
||||
| hello.rb:20:30:20:34 | call to world | hello.rb:5:5:7:7 | world |
|
||||
@@ -199,41 +211,41 @@ getTarget
|
||||
| modules.rb:33:3:33:25 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| modules.rb:44:3:44:19 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| modules.rb:55:3:55:30 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| modules.rb:89:3:89:16 | call to include | calls.rb:107:5:107:20 | include |
|
||||
| modules.rb:90:3:90:38 | call to module_eval | calls.rb:106:5:106:24 | module_eval |
|
||||
| modules.rb:90:24:90:36 | call to prepend | calls.rb:108:5:108:20 | prepend |
|
||||
| modules.rb:96:3:96:14 | call to include | calls.rb:107:5:107:20 | include |
|
||||
| modules.rb:102:3:102:16 | call to prepend | calls.rb:108:5:108:20 | prepend |
|
||||
| modules.rb:126:6:126:11 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| modules_rec.rb:8:3:8:11 | call to prepend | calls.rb:108:5:108:20 | prepend |
|
||||
| private.rb:2:3:3:5 | call to private | calls.rb:109:5:109:20 | private |
|
||||
| private.rb:10:3:10:19 | call to private | calls.rb:109:5:109:20 | private |
|
||||
| private.rb:12:3:12:9 | call to private | calls.rb:109:5:109:20 | private |
|
||||
| private.rb:43:3:43:19 | call to private | calls.rb:109:5:109:20 | private |
|
||||
| private.rb:45:3:45:9 | call to private | calls.rb:109:5:109:20 | private |
|
||||
| private.rb:54:1:54:5 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| private.rb:55:1:55:5 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| private.rb:56:1:56:5 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| private.rb:57:1:57:5 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| private.rb:58:1:58:5 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| modules.rb:89:3:89:16 | call to include | calls.rb:108:5:110:7 | include |
|
||||
| modules.rb:90:3:90:38 | call to module_eval | calls.rb:107:5:107:24 | module_eval |
|
||||
| modules.rb:90:24:90:36 | call to prepend | calls.rb:111:5:111:20 | prepend |
|
||||
| modules.rb:96:3:96:14 | call to include | calls.rb:108:5:110:7 | include |
|
||||
| modules.rb:102:3:102:16 | call to prepend | calls.rb:111:5:111:20 | prepend |
|
||||
| modules.rb:126:6:126:11 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| modules_rec.rb:8:3:8:11 | call to prepend | calls.rb:111:5:111:20 | prepend |
|
||||
| private.rb:2:3:3:5 | call to private | calls.rb:112:5:112:20 | private |
|
||||
| private.rb:10:3:10:19 | call to private | calls.rb:112:5:112:20 | private |
|
||||
| private.rb:12:3:12:9 | call to private | calls.rb:112:5:112:20 | private |
|
||||
| private.rb:43:3:43:19 | call to private | calls.rb:112:5:112:20 | private |
|
||||
| private.rb:45:3:45:9 | call to private | calls.rb:112:5:112:20 | private |
|
||||
| private.rb:54:1:54:5 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| private.rb:55:1:55:5 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| private.rb:56:1:56:5 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| private.rb:57:1:57:5 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| private.rb:58:1:58:5 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| private.rb:58:1:58:12 | call to public | private.rb:5:3:6:5 | public |
|
||||
| private.rb:60:1:60:15 | call to private_on_main | private.rb:51:1:52:3 | private_on_main |
|
||||
| private.rb:63:3:64:5 | call to private | calls.rb:109:5:109:20 | private |
|
||||
| private.rb:71:3:71:19 | call to private | calls.rb:109:5:109:20 | private |
|
||||
| private.rb:73:3:73:9 | call to private | calls.rb:109:5:109:20 | private |
|
||||
| private.rb:83:3:85:5 | call to private | calls.rb:109:5:109:20 | private |
|
||||
| private.rb:63:3:64:5 | call to private | calls.rb:112:5:112:20 | private |
|
||||
| private.rb:71:3:71:19 | call to private | calls.rb:112:5:112:20 | private |
|
||||
| private.rb:73:3:73:9 | call to private | calls.rb:112:5:112:20 | private |
|
||||
| private.rb:83:3:85:5 | call to private | calls.rb:112:5:112:20 | private |
|
||||
| private.rb:84:7:84:32 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| private.rb:87:3:89:5 | call to private | calls.rb:109:5:109:20 | private |
|
||||
| private.rb:87:3:89:5 | call to private | calls.rb:112:5:112:20 | private |
|
||||
| private.rb:88:7:88:32 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| private.rb:92:7:92:8 | call to m1 | private.rb:83:11:85:5 | m1 |
|
||||
| private.rb:92:7:92:8 | call to m1 | private.rb:97:11:101:5 | m1 |
|
||||
| private.rb:97:3:101:5 | call to private | calls.rb:109:5:109:20 | private |
|
||||
| private.rb:97:3:101:5 | call to private | calls.rb:112:5:112:20 | private |
|
||||
| private.rb:98:7:98:32 | call to puts | calls.rb:102:5:102:30 | puts |
|
||||
| private.rb:99:7:99:8 | call to m2 | private.rb:87:11:89:5 | m2 |
|
||||
| private.rb:100:7:100:26 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| private.rb:104:1:104:20 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| private.rb:100:7:100:26 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| private.rb:104:1:104:20 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| private.rb:104:1:104:28 | call to call_m1 | private.rb:91:3:93:5 | call_m1 |
|
||||
| private.rb:105:1:105:20 | call to new | calls.rb:114:5:114:16 | new |
|
||||
| private.rb:105:1:105:20 | call to new | calls.rb:117:5:117:16 | new |
|
||||
unresolvedCall
|
||||
| calls.rb:26:9:26:18 | call to instance_m |
|
||||
| calls.rb:29:5:29:14 | call to instance_m |
|
||||
@@ -249,51 +261,57 @@ unresolvedCall
|
||||
| calls.rb:62:1:62:13 | call to singleton_m |
|
||||
| calls.rb:73:1:73:13 | call to singleton_m |
|
||||
| calls.rb:102:17:102:26 | call to old_puts |
|
||||
| calls.rb:119:15:119:27 | call to old_lookup |
|
||||
| calls.rb:124:13:124:25 | call to old_lookup |
|
||||
| calls.rb:130:11:130:25 | ... < ... |
|
||||
| calls.rb:132:11:132:12 | ... + ... |
|
||||
| calls.rb:147:1:147:13 | call to [] |
|
||||
| calls.rb:147:48:147:59 | call to capitalize |
|
||||
| calls.rb:149:1:149:7 | call to [] |
|
||||
| calls.rb:151:1:151:7 | call to [] |
|
||||
| calls.rb:151:28:151:39 | call to capitalize |
|
||||
| calls.rb:153:1:153:8 | call to [] |
|
||||
| calls.rb:153:4:153:5 | - ... |
|
||||
| calls.rb:153:32:153:36 | call to abs |
|
||||
| calls.rb:257:1:257:14 | call to singleton_e |
|
||||
| calls.rb:258:1:258:14 | call to singleton_g |
|
||||
| calls.rb:271:1:271:14 | call to singleton_g |
|
||||
| calls.rb:273:1:273:14 | call to singleton_g |
|
||||
| calls.rb:310:9:310:20 | call to instance |
|
||||
| calls.rb:411:1:411:34 | call to call_singleton1 |
|
||||
| calls.rb:412:1:412:34 | call to call_singleton2 |
|
||||
| calls.rb:415:8:415:13 | call to rand |
|
||||
| calls.rb:415:8:415:17 | ... > ... |
|
||||
| calls.rb:432:9:432:10 | call to m3 |
|
||||
| calls.rb:435:8:435:13 | call to rand |
|
||||
| calls.rb:435:8:435:17 | ... > ... |
|
||||
| calls.rb:436:9:440:18 | call to m5 |
|
||||
| calls.rb:445:1:445:33 | call to m3 |
|
||||
| calls.rb:447:1:447:33 | call to m3 |
|
||||
| calls.rb:448:1:448:33 | call to m4 |
|
||||
| calls.rb:449:1:449:33 | call to m5 |
|
||||
| calls.rb:452:5:452:11 | call to [] |
|
||||
| calls.rb:452:5:456:7 | call to each |
|
||||
| calls.rb:458:5:462:15 | call to bar |
|
||||
| calls.rb:464:5:464:11 | call to [] |
|
||||
| calls.rb:464:5:468:7 | call to each |
|
||||
| calls.rb:465:9:467:11 | call to define_method |
|
||||
| calls.rb:471:1:471:31 | call to foo |
|
||||
| calls.rb:472:1:472:31 | call to bar |
|
||||
| calls.rb:473:1:473:33 | call to baz_0 |
|
||||
| calls.rb:474:1:474:33 | call to baz_1 |
|
||||
| calls.rb:475:1:475:33 | call to baz_2 |
|
||||
| calls.rb:479:9:479:46 | call to puts |
|
||||
| calls.rb:482:5:482:15 | call to extend |
|
||||
| calls.rb:485:1:485:31 | call to singleton |
|
||||
| calls.rb:488:5:490:7 | call to protected |
|
||||
| calls.rb:498:1:498:24 | call to foo |
|
||||
| calls.rb:109:9:109:21 | call to old_include |
|
||||
| calls.rb:122:15:122:27 | call to old_lookup |
|
||||
| calls.rb:127:13:127:25 | call to old_lookup |
|
||||
| calls.rb:133:11:133:25 | ... < ... |
|
||||
| calls.rb:135:11:135:12 | ... + ... |
|
||||
| calls.rb:150:1:150:13 | call to [] |
|
||||
| calls.rb:150:48:150:59 | call to capitalize |
|
||||
| calls.rb:152:1:152:7 | call to [] |
|
||||
| calls.rb:154:1:154:7 | call to [] |
|
||||
| calls.rb:154:28:154:39 | call to capitalize |
|
||||
| calls.rb:156:1:156:8 | call to [] |
|
||||
| calls.rb:156:4:156:5 | - ... |
|
||||
| calls.rb:156:32:156:36 | call to abs |
|
||||
| calls.rb:260:1:260:14 | call to singleton_e |
|
||||
| calls.rb:261:1:261:14 | call to singleton_g |
|
||||
| calls.rb:274:1:274:14 | call to singleton_g |
|
||||
| calls.rb:276:1:276:14 | call to singleton_g |
|
||||
| calls.rb:313:9:313:20 | call to instance |
|
||||
| calls.rb:414:1:414:34 | call to call_singleton1 |
|
||||
| calls.rb:415:1:415:34 | call to call_singleton2 |
|
||||
| calls.rb:418:8:418:13 | call to rand |
|
||||
| calls.rb:418:8:418:17 | ... > ... |
|
||||
| calls.rb:435:9:435:10 | call to m3 |
|
||||
| calls.rb:438:8:438:13 | call to rand |
|
||||
| calls.rb:438:8:438:17 | ... > ... |
|
||||
| calls.rb:439:9:443:18 | call to m5 |
|
||||
| calls.rb:448:1:448:33 | call to m3 |
|
||||
| calls.rb:450:1:450:33 | call to m3 |
|
||||
| calls.rb:451:1:451:33 | call to m4 |
|
||||
| calls.rb:452:1:452:33 | call to m5 |
|
||||
| calls.rb:455:5:455:11 | call to [] |
|
||||
| calls.rb:455:5:459:7 | call to each |
|
||||
| calls.rb:461:5:465:15 | call to bar |
|
||||
| calls.rb:467:5:467:11 | call to [] |
|
||||
| calls.rb:467:5:471:7 | call to each |
|
||||
| calls.rb:468:9:470:11 | call to define_method |
|
||||
| calls.rb:474:1:474:31 | call to foo |
|
||||
| calls.rb:475:1:475:31 | call to bar |
|
||||
| calls.rb:476:1:476:33 | call to baz_0 |
|
||||
| calls.rb:477:1:477:33 | call to baz_1 |
|
||||
| calls.rb:478:1:478:33 | call to baz_2 |
|
||||
| calls.rb:482:9:482:46 | call to puts |
|
||||
| calls.rb:485:5:485:15 | call to extend |
|
||||
| calls.rb:488:1:488:31 | call to singleton |
|
||||
| calls.rb:491:5:493:7 | call to protected |
|
||||
| calls.rb:492:9:492:42 | call to puts |
|
||||
| calls.rb:499:5:501:7 | call to protected |
|
||||
| calls.rb:511:1:511:24 | call to foo |
|
||||
| calls.rb:512:1:512:24 | call to bar |
|
||||
| calls.rb:522:1:522:27 | call to foo |
|
||||
| calls.rb:523:1:523:27 | call to bar |
|
||||
| hello.rb:20:16:20:26 | ... + ... |
|
||||
| hello.rb:20:16:20:34 | ... + ... |
|
||||
| hello.rb:20:16:20:40 | ... + ... |
|
||||
@@ -313,14 +331,14 @@ privateMethod
|
||||
| calls.rb:76:1:79:3 | optional_arg |
|
||||
| calls.rb:81:1:83:3 | call_block |
|
||||
| calls.rb:85:1:89:3 | foo |
|
||||
| calls.rb:137:1:139:3 | funny |
|
||||
| calls.rb:155:1:157:3 | indirect |
|
||||
| calls.rb:182:1:183:3 | private_on_main |
|
||||
| calls.rb:275:1:283:3 | create |
|
||||
| calls.rb:340:1:356:3 | pattern_dispatch |
|
||||
| calls.rb:364:1:368:3 | add_singleton |
|
||||
| calls.rb:453:9:455:11 | foo |
|
||||
| calls.rb:459:9:461:11 | bar |
|
||||
| calls.rb:140:1:142:3 | funny |
|
||||
| calls.rb:158:1:160:3 | indirect |
|
||||
| calls.rb:185:1:186:3 | private_on_main |
|
||||
| calls.rb:278:1:286:3 | create |
|
||||
| calls.rb:343:1:359:3 | pattern_dispatch |
|
||||
| calls.rb:367:1:371:3 | add_singleton |
|
||||
| calls.rb:456:9:458:11 | foo |
|
||||
| calls.rb:462:9:464:11 | bar |
|
||||
| private.rb:2:11:3:5 | private1 |
|
||||
| private.rb:8:3:9:5 | private2 |
|
||||
| private.rb:14:3:15:5 | private3 |
|
||||
@@ -348,52 +366,53 @@ publicMethod
|
||||
| calls.rb:93:5:93:16 | abs |
|
||||
| calls.rb:97:5:97:23 | capitalize |
|
||||
| calls.rb:102:5:102:30 | puts |
|
||||
| calls.rb:106:5:106:24 | module_eval |
|
||||
| calls.rb:107:5:107:20 | include |
|
||||
| calls.rb:108:5:108:20 | prepend |
|
||||
| calls.rb:109:5:109:20 | private |
|
||||
| calls.rb:114:5:114:16 | new |
|
||||
| calls.rb:119:5:119:31 | [] |
|
||||
| calls.rb:124:3:124:29 | [] |
|
||||
| calls.rb:126:3:126:17 | length |
|
||||
| calls.rb:128:3:134:5 | foreach |
|
||||
| calls.rb:163:5:165:7 | s_method |
|
||||
| calls.rb:169:5:170:7 | to_s |
|
||||
| calls.rb:174:5:175:7 | to_s |
|
||||
| calls.rb:188:5:191:7 | singleton_a |
|
||||
| calls.rb:193:5:196:7 | singleton_b |
|
||||
| calls.rb:198:5:200:7 | singleton_c |
|
||||
| calls.rb:202:5:205:7 | singleton_d |
|
||||
| calls.rb:207:5:212:7 | instance |
|
||||
| calls.rb:208:9:210:11 | singleton_e |
|
||||
| calls.rb:215:9:217:11 | singleton_f |
|
||||
| calls.rb:220:5:222:7 | call_singleton_g |
|
||||
| calls.rb:233:1:235:3 | singleton_g |
|
||||
| calls.rb:240:1:242:3 | singleton_g |
|
||||
| calls.rb:248:5:250:7 | singleton_g |
|
||||
| calls.rb:264:1:266:3 | singleton_g |
|
||||
| calls.rb:278:5:280:7 | singleton_h |
|
||||
| calls.rb:291:5:293:7 | singleton_i |
|
||||
| calls.rb:300:5:302:7 | singleton_j |
|
||||
| calls.rb:308:5:311:7 | instance |
|
||||
| calls.rb:313:5:315:7 | singleton |
|
||||
| calls.rb:323:5:325:7 | instance |
|
||||
| calls.rb:329:5:331:7 | instance |
|
||||
| calls.rb:335:5:337:7 | instance |
|
||||
| calls.rb:365:5:367:7 | instance |
|
||||
| calls.rb:376:9:378:11 | singleton1 |
|
||||
| calls.rb:380:9:382:11 | call_singleton1 |
|
||||
| calls.rb:385:5:387:7 | singleton2 |
|
||||
| calls.rb:389:5:391:7 | call_singleton2 |
|
||||
| calls.rb:401:9:403:11 | singleton1 |
|
||||
| calls.rb:406:5:408:7 | singleton2 |
|
||||
| calls.rb:416:9:418:11 | m1 |
|
||||
| calls.rb:421:5:433:7 | m2 |
|
||||
| calls.rb:424:9:430:11 | m3 |
|
||||
| calls.rb:427:13:429:15 | m4 |
|
||||
| calls.rb:437:13:439:15 | m5 |
|
||||
| calls.rb:478:5:480:7 | singleton |
|
||||
| calls.rb:492:5:495:7 | bar |
|
||||
| calls.rb:107:5:107:24 | module_eval |
|
||||
| calls.rb:108:5:110:7 | include |
|
||||
| calls.rb:111:5:111:20 | prepend |
|
||||
| calls.rb:112:5:112:20 | private |
|
||||
| calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:122:5:122:31 | [] |
|
||||
| calls.rb:127:3:127:29 | [] |
|
||||
| calls.rb:129:3:129:17 | length |
|
||||
| calls.rb:131:3:137:5 | foreach |
|
||||
| calls.rb:166:5:168:7 | s_method |
|
||||
| calls.rb:172:5:173:7 | to_s |
|
||||
| calls.rb:177:5:178:7 | to_s |
|
||||
| calls.rb:191:5:194:7 | singleton_a |
|
||||
| calls.rb:196:5:199:7 | singleton_b |
|
||||
| calls.rb:201:5:203:7 | singleton_c |
|
||||
| calls.rb:205:5:208:7 | singleton_d |
|
||||
| calls.rb:210:5:215:7 | instance |
|
||||
| calls.rb:211:9:213:11 | singleton_e |
|
||||
| calls.rb:218:9:220:11 | singleton_f |
|
||||
| calls.rb:223:5:225:7 | call_singleton_g |
|
||||
| calls.rb:236:1:238:3 | singleton_g |
|
||||
| calls.rb:243:1:245:3 | singleton_g |
|
||||
| calls.rb:251:5:253:7 | singleton_g |
|
||||
| calls.rb:267:1:269:3 | singleton_g |
|
||||
| calls.rb:281:5:283:7 | singleton_h |
|
||||
| calls.rb:294:5:296:7 | singleton_i |
|
||||
| calls.rb:303:5:305:7 | singleton_j |
|
||||
| calls.rb:311:5:314:7 | instance |
|
||||
| calls.rb:316:5:318:7 | singleton |
|
||||
| calls.rb:326:5:328:7 | instance |
|
||||
| calls.rb:332:5:334:7 | instance |
|
||||
| calls.rb:338:5:340:7 | instance |
|
||||
| calls.rb:368:5:370:7 | instance |
|
||||
| calls.rb:379:9:381:11 | singleton1 |
|
||||
| calls.rb:383:9:385:11 | call_singleton1 |
|
||||
| calls.rb:388:5:390:7 | singleton2 |
|
||||
| calls.rb:392:5:394:7 | call_singleton2 |
|
||||
| calls.rb:404:9:406:11 | singleton1 |
|
||||
| calls.rb:409:5:411:7 | singleton2 |
|
||||
| calls.rb:419:9:421:11 | m1 |
|
||||
| calls.rb:424:5:436:7 | m2 |
|
||||
| calls.rb:427:9:433:11 | m3 |
|
||||
| calls.rb:430:13:432:15 | m4 |
|
||||
| calls.rb:440:13:442:15 | m5 |
|
||||
| calls.rb:481:5:483:7 | singleton |
|
||||
| calls.rb:503:5:508:7 | baz |
|
||||
| calls.rb:516:5:519:7 | baz |
|
||||
| hello.rb:2:5:4:7 | hello |
|
||||
| hello.rb:5:5:7:7 | world |
|
||||
| hello.rb:13:5:15:7 | message |
|
||||
@@ -410,6 +429,7 @@ publicMethod
|
||||
| private.rb:66:3:67:5 | public |
|
||||
| private.rb:91:3:93:5 | call_m1 |
|
||||
protectedMethod
|
||||
| calls.rb:488:15:490:7 | foo |
|
||||
| calls.rb:491:15:493:7 | foo |
|
||||
| calls.rb:499:15:501:7 | bar |
|
||||
| private.rb:32:3:33:5 | protected1 |
|
||||
| private.rb:35:3:36:5 | protected2 |
|
||||
|
||||
@@ -103,8 +103,11 @@ module Kernel
|
||||
end
|
||||
|
||||
class Module
|
||||
alias :old_include :include
|
||||
def module_eval; end
|
||||
def include; end
|
||||
def include x
|
||||
old_include x
|
||||
end
|
||||
def prepend; end
|
||||
def private; end
|
||||
end
|
||||
@@ -484,16 +487,38 @@ end
|
||||
|
||||
ExtendSingletonMethod.singleton # currently unable to resolve
|
||||
|
||||
class ProtectedMethods
|
||||
module ProtectedMethodInModule
|
||||
protected def foo
|
||||
puts "ProtectedMethods#foo"
|
||||
puts "ProtectedMethodInModule#foo"
|
||||
end
|
||||
end
|
||||
|
||||
class ProtectedMethods
|
||||
include ProtectedMethodInModule
|
||||
|
||||
protected def bar
|
||||
puts "ProtectedMethods#bar"
|
||||
end
|
||||
|
||||
def bar
|
||||
def baz
|
||||
foo
|
||||
bar
|
||||
ProtectedMethods.new.foo
|
||||
ProtectedMethods.new.bar
|
||||
end
|
||||
end
|
||||
|
||||
ProtectedMethods.new.foo # NoMethodError
|
||||
ProtectedMethods.new.bar
|
||||
ProtectedMethods.new.bar # NoMethodError
|
||||
ProtectedMethods.new.baz
|
||||
|
||||
class ProtectedMethodsSub < ProtectedMethods
|
||||
def baz
|
||||
foo
|
||||
ProtectedMethodsSub.new.foo
|
||||
end
|
||||
end
|
||||
|
||||
ProtectedMethodsSub.new.foo # NoMethodError
|
||||
ProtectedMethodsSub.new.bar # NoMethodError
|
||||
ProtectedMethodsSub.new.baz
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -48,54 +48,59 @@ calls.rb:
|
||||
# 105| Module
|
||||
#-----| -> Object
|
||||
|
||||
# 112| Object
|
||||
# 115| Object
|
||||
#-----| -> BasicObject
|
||||
|
||||
# 117| Hash
|
||||
# 120| Hash
|
||||
#-----| -> Object
|
||||
|
||||
# 122| Array
|
||||
# 125| Array
|
||||
#-----| -> Object
|
||||
|
||||
# 162| S
|
||||
# 165| S
|
||||
#-----| -> Object
|
||||
|
||||
# 168| A
|
||||
# 171| A
|
||||
#-----| -> B
|
||||
#-----| -> S
|
||||
|
||||
# 173| B
|
||||
# 176| B
|
||||
#-----| -> S
|
||||
|
||||
# 187| Singletons
|
||||
# 190| Singletons
|
||||
#-----| -> Object
|
||||
|
||||
# 307| SelfNew
|
||||
# 310| SelfNew
|
||||
#-----| -> Object
|
||||
|
||||
# 322| C1
|
||||
# 325| C1
|
||||
#-----| -> Object
|
||||
|
||||
# 328| C2
|
||||
# 331| C2
|
||||
#-----| -> C1
|
||||
|
||||
# 334| C3
|
||||
# 337| C3
|
||||
#-----| -> C2
|
||||
|
||||
# 374| SingletonOverride1
|
||||
# 377| SingletonOverride1
|
||||
#-----| -> Object
|
||||
|
||||
# 399| SingletonOverride2
|
||||
# 402| SingletonOverride2
|
||||
#-----| -> SingletonOverride1
|
||||
|
||||
# 414| ConditionalInstanceMethods
|
||||
# 417| ConditionalInstanceMethods
|
||||
#-----| -> Object
|
||||
|
||||
# 477| ExtendSingletonMethod
|
||||
# 480| ExtendSingletonMethod
|
||||
|
||||
# 487| ProtectedMethods
|
||||
# 490| ProtectedMethodInModule
|
||||
|
||||
# 496| ProtectedMethods
|
||||
#-----| -> Object
|
||||
|
||||
# 515| ProtectedMethodsSub
|
||||
#-----| -> ProtectedMethods
|
||||
|
||||
hello.rb:
|
||||
# 1| EnglishWords
|
||||
|
||||
|
||||
Reference in New Issue
Block a user