neustar-ws_get_data 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,969 @@
1
+ ---
2
+ :cane:
3
+ :total_violations: 2
4
+ :violations:
5
+ :line_style:
6
+ - :line: spec/lib/neustar-ws_get_data/elements/phone_attributes_spec.rb:9
7
+ :description: Line is >80 characters (85)
8
+ - :line: spec/lib/neustar-ws_get_data/elements/phone_attributes_spec.rb:26
9
+ :description: Line is >80 characters (92)
10
+ :churn:
11
+ :changes: []
12
+ :class_churn: []
13
+ :method_churn: []
14
+ :changed_files: []
15
+ :changed_classes: []
16
+ :changed_methods: []
17
+ :flay:
18
+ :total_score: '0'
19
+ :matches: []
20
+ :flog:
21
+ :total: 79.39375354174884
22
+ :average: 4.670220796573461
23
+ :method_containers:
24
+ - :name: Neustar::WsGetData::PhoneAttributes
25
+ :path: lib/neustar-ws_get_data/elements/phone_attributes.rb
26
+ :total_score: 30.12820176750361
27
+ :highest_score: 14.160155366379284
28
+ :average_score: 6.025640353500722
29
+ :methods:
30
+ Neustar::WsGetData::PhoneAttributes#process_response:
31
+ :operators:
32
+ :branch: 4.9
33
+ :[]: 6.7
34
+ :==: 1.0
35
+ :raise: 1.1
36
+ :assignment: 3.900000000000001
37
+ :each: 1.2000000000000002
38
+ :detect: 1.3000000000000003
39
+ :index: 1.4000000000000004
40
+ :score: 14.160155366379284
41
+ :path: lib/neustar-ws_get_data/elements/phone_attributes.rb:137
42
+ Neustar::WsGetData::PhoneAttributes#parse_indicators:
43
+ :operators:
44
+ :assignment: 1.0
45
+ :branch: 1.0
46
+ :empty?: 1.0
47
+ :values: 1.1
48
+ :values_at: 1.1
49
+ :join: 1.0
50
+ :score: 4.431703961232068
51
+ :path: lib/neustar-ws_get_data/elements/phone_attributes.rb:158
52
+ Neustar::WsGetData::PhoneAttributes#query:
53
+ :operators:
54
+ :assignment: 3.0
55
+ :parse_indicators: 1.0
56
+ :execute_request: 1.2
57
+ :process_response: 1.0
58
+ :score: 4.386342439892262
59
+ :path: lib/neustar-ws_get_data/elements/phone_attributes.rb:90
60
+ Neustar::WsGetData::PhoneAttributes#none:
61
+ :operators:
62
+ :extend: 2.0
63
+ :lit_fixnum: 1.75
64
+ :score: 3.75
65
+ :path:
66
+ Neustar::WsGetData::PhoneAttributes#execute_request:
67
+ :operators:
68
+ :[]: 2.4
69
+ :query: 1.0
70
+ :score: 3.4
71
+ :path: lib/neustar-ws_get_data/elements/phone_attributes.rb:109
72
+ - :name: main
73
+ :path: ''
74
+ :total_score: 11.802965729002182
75
+ :highest_score: 11.802965729002182
76
+ :average_score: 11.802965729002182
77
+ :methods:
78
+ main#none:
79
+ :operators:
80
+ :require: 5.6000000000000005
81
+ :expand_path: 3.7
82
+ :assignment: 1.1
83
+ :branch: 1.1
84
+ :[]: 1.3
85
+ :each: 1.1
86
+ :score: 11.802965729002182
87
+ :path:
88
+ - :name: Neustar::WsGetData::Client
89
+ :path: lib/neustar-ws_get_data/client.rb
90
+ :total_score: 37.46258604524305
91
+ :highest_score: 11.521284650593442
92
+ :average_score: 3.405689640476641
93
+ :methods:
94
+ Neustar::WsGetData::Client#call:
95
+ :operators:
96
+ :assignment: 4.300000000000001
97
+ :branch: 2.0
98
+ :fetch: 1.0
99
+ :build_transaction_id: 1.1
100
+ :origination_params: 1.4
101
+ :merge: 2.2
102
+ :call: 1.2000000000000002
103
+ :process_response: 1.2000000000000002
104
+ :extract_fault_message: 1.3
105
+ :raise: 1.1
106
+ :score: 11.521284650593442
107
+ :path: lib/neustar-ws_get_data/client.rb:47
108
+ Neustar::WsGetData::Client#initialize:
109
+ :operators:
110
+ :assignment: 5.300000000000001
111
+ :client: 1.0
112
+ :branch: 3.0
113
+ :[]: 3.3000000000000003
114
+ :raise: 3.3000000000000003
115
+ :score: 9.739096467332072
116
+ :path: lib/neustar-ws_get_data/client.rb:10
117
+ Neustar::WsGetData::Client#extract_fault_message:
118
+ :operators:
119
+ :assignment: 3.2
120
+ :to_hash: 1.0
121
+ :branch: 2.0
122
+ :[]: 2.2
123
+ :score: 4.947726750741193
124
+ :path: lib/neustar-ws_get_data/client.rb:105
125
+ Neustar::WsGetData::Client#process_response:
126
+ :operators:
127
+ :assignment: 1.0
128
+ :body: 1.2
129
+ :[]: 2.1
130
+ :branch: 1.0
131
+ :score: 3.590264614203248
132
+ :path: lib/neustar-ws_get_data/client.rb:68
133
+ Neustar::WsGetData::Client#phone_attributes:
134
+ :operators:
135
+ :assignment: 1.0
136
+ :query: 1.0
137
+ :score: 1.4142135623730951
138
+ :path: lib/neustar-ws_get_data/client.rb:78
139
+ Neustar::WsGetData::Client#none:
140
+ :operators:
141
+ :lit_fixnum: 0.25
142
+ :private: 1.0
143
+ :score: 1.25
144
+ :path:
145
+ Neustar::WsGetData::Client#operations:
146
+ :operators:
147
+ :operations: 1.0
148
+ :score: 1.0
149
+ :path: lib/neustar-ws_get_data/client.rb:23
150
+ Neustar::WsGetData::Client#build_transaction_id:
151
+ :operators:
152
+ :random_number: 1.0
153
+ :score: 1.0
154
+ :path: lib/neustar-ws_get_data/client.rb:97
155
+ Neustar::WsGetData::Client#origination_params:
156
+ :operators:
157
+ :to_s: 1.0
158
+ :score: 1.0
159
+ :path: lib/neustar-ws_get_data/client.rb:85
160
+ Neustar::WsGetData::Client#query:
161
+ :operators:
162
+ :call: 1.0
163
+ :score: 1.0
164
+ :path: lib/neustar-ws_get_data/client.rb:31
165
+ Neustar::WsGetData::Client#batch_query:
166
+ :operators:
167
+ :call: 1.0
168
+ :score: 1.0
169
+ :path: lib/neustar-ws_get_data/client.rb:39
170
+ :saikuro:
171
+ :files:
172
+ - :classes:
173
+ - :class_name: ''
174
+ :complexity: 0
175
+ :lines: 1
176
+ :methods: []
177
+ - :class_name: Neustar
178
+ :complexity: 13
179
+ :lines: 113
180
+ :methods:
181
+ - :name: Neustar#call
182
+ :complexity: 3
183
+ :lines: 13
184
+ - :name: Neustar#extract_fault_message
185
+ :complexity: 2
186
+ :lines: 8
187
+ - :name: Neustar#process_response
188
+ :complexity: 1
189
+ :lines: 3
190
+ - :name: Neustar#phone_attributes
191
+ :complexity: 1
192
+ :lines: 2
193
+ - :name: Neustar#origination_params
194
+ :complexity: 1
195
+ :lines: 7
196
+ - :name: Neustar#build_transaction_id
197
+ :complexity: 1
198
+ :lines: 2
199
+ - :name: Neustar#batch_query
200
+ :complexity: 1
201
+ :lines: 2
202
+ - :name: Neustar#query
203
+ :complexity: 1
204
+ :lines: 2
205
+ - :name: Neustar#operations
206
+ :complexity: 1
207
+ :lines: 2
208
+ - :name: Neustar#initialize
209
+ :complexity: 1
210
+ :lines: 8
211
+ :filename: lib/neustar-ws_get_data/client.rb
212
+ - :classes:
213
+ - :class_name: ''
214
+ :complexity: 0
215
+ :lines: 1
216
+ :methods: []
217
+ - :class_name: Neustar
218
+ :complexity: 9
219
+ :lines: 161
220
+ :methods:
221
+ - :name: Neustar#process_response
222
+ :complexity: 5
223
+ :lines: 15
224
+ - :name: Neustar#parse_indicators
225
+ :complexity: 2
226
+ :lines: 9
227
+ - :name: Neustar#execute_request
228
+ :complexity: 1
229
+ :lines: 16
230
+ - :name: Neustar#query
231
+ :complexity: 1
232
+ :lines: 9
233
+ - :class_name: Neustar::OutOfDomainError
234
+ :complexity: 0
235
+ :lines: 0
236
+ :methods: []
237
+ :filename: lib/neustar-ws_get_data/elements/phone_attributes.rb
238
+ - :classes:
239
+ - :class_name: ''
240
+ :complexity: 1
241
+ :lines: 0
242
+ :methods: []
243
+ - :class_name: Neustar
244
+ :complexity: 0
245
+ :lines: 9
246
+ :methods: []
247
+ - :class_name: Neustar::WsGetData
248
+ :complexity: 0
249
+ :lines: 3
250
+ :methods: []
251
+ - :class_name: Neustar::Error
252
+ :complexity: 0
253
+ :lines: 1
254
+ :methods: []
255
+ - :class_name: Neustar::ConfigurationError
256
+ :complexity: 0
257
+ :lines: 1
258
+ :methods: []
259
+ :filename: lib/neustar-ws_get_data.rb
260
+ - :classes:
261
+ - :class_name: Neustar
262
+ :complexity: 0
263
+ :lines: 3
264
+ :methods: []
265
+ :filename: lib/neustar-ws_get_data/version.rb
266
+ :classes:
267
+ - :name: Neustar
268
+ :complexity: 13
269
+ :lines: 113
270
+ :defs:
271
+ - :name: Neustar#initialize
272
+ :complexity: 1
273
+ :lines: 8
274
+ - :name: Neustar#operations
275
+ :complexity: 1
276
+ :lines: 2
277
+ - :name: Neustar#query
278
+ :complexity: 1
279
+ :lines: 2
280
+ - :name: Neustar#batch_query
281
+ :complexity: 1
282
+ :lines: 2
283
+ - :name: Neustar#call
284
+ :complexity: 3
285
+ :lines: 13
286
+ - :name: Neustar#process_response
287
+ :complexity: 1
288
+ :lines: 3
289
+ - :name: Neustar#phone_attributes
290
+ :complexity: 1
291
+ :lines: 2
292
+ - :name: Neustar#origination_params
293
+ :complexity: 1
294
+ :lines: 7
295
+ - :name: Neustar#build_transaction_id
296
+ :complexity: 1
297
+ :lines: 2
298
+ - :name: Neustar#extract_fault_message
299
+ :complexity: 2
300
+ :lines: 8
301
+ - :name: Neustar
302
+ :complexity: 9
303
+ :lines: 161
304
+ :defs:
305
+ - :name: Neustar#query
306
+ :complexity: 1
307
+ :lines: 9
308
+ - :name: Neustar#execute_request
309
+ :complexity: 1
310
+ :lines: 16
311
+ - :name: Neustar#process_response
312
+ :complexity: 5
313
+ :lines: 15
314
+ - :name: Neustar#parse_indicators
315
+ :complexity: 2
316
+ :lines: 9
317
+ - :name: ''
318
+ :complexity: 1
319
+ :lines: 0
320
+ - :name: Neustar
321
+ :complexity: 0
322
+ :lines: 3
323
+ - :name: Neustar
324
+ :complexity: 0
325
+ :lines: 9
326
+ - :name: Neustar::WsGetData
327
+ :complexity: 0
328
+ :lines: 3
329
+ - :name: Neustar::OutOfDomainError
330
+ :complexity: 0
331
+ :lines: 0
332
+ - :name: Neustar::Error
333
+ :complexity: 0
334
+ :lines: 1
335
+ - :name: ''
336
+ :complexity: 0
337
+ :lines: 1
338
+ - :name: Neustar::ConfigurationError
339
+ :complexity: 0
340
+ :lines: 1
341
+ - :name: ''
342
+ :complexity: 0
343
+ :lines: 1
344
+ :methods:
345
+ - :name: Neustar#process_response
346
+ :complexity: 5
347
+ :lines: 15
348
+ - :name: Neustar#call
349
+ :complexity: 3
350
+ :lines: 13
351
+ - :name: Neustar#parse_indicators
352
+ :complexity: 2
353
+ :lines: 9
354
+ - :name: Neustar#extract_fault_message
355
+ :complexity: 2
356
+ :lines: 8
357
+ - :name: Neustar#origination_params
358
+ :complexity: 1
359
+ :lines: 7
360
+ - :name: Neustar#build_transaction_id
361
+ :complexity: 1
362
+ :lines: 2
363
+ - :name: Neustar#query
364
+ :complexity: 1
365
+ :lines: 9
366
+ - :name: Neustar#phone_attributes
367
+ :complexity: 1
368
+ :lines: 2
369
+ - :name: Neustar#process_response
370
+ :complexity: 1
371
+ :lines: 3
372
+ - :name: Neustar#execute_request
373
+ :complexity: 1
374
+ :lines: 16
375
+ - :name: Neustar#batch_query
376
+ :complexity: 1
377
+ :lines: 2
378
+ - :name: Neustar#query
379
+ :complexity: 1
380
+ :lines: 2
381
+ - :name: Neustar#operations
382
+ :complexity: 1
383
+ :lines: 2
384
+ - :name: Neustar#initialize
385
+ :complexity: 1
386
+ :lines: 8
387
+ :reek:
388
+ :matches:
389
+ - :file_path: lib/neustar-ws_get_data.rb
390
+ :code_smells: []
391
+ - :file_path: lib/neustar-ws_get_data/client.rb
392
+ :code_smells:
393
+ - :method: '[105]:Neustar::WsGetData::Client#extract_fault_message'
394
+ :message: doesn't depend on instance state
395
+ :type: UtilityFunction
396
+ - :method: '[105]:Neustar::WsGetData::Client#extract_fault_message'
397
+ :message: refers to data more than self
398
+ :type: FeatureEnvy
399
+ - :method: '[105]:Neustar::WsGetData::Client#extract_fault_message'
400
+ :message: refers to error more than self
401
+ :type: FeatureEnvy
402
+ - :method: '[105]:Neustar::WsGetData::Client#extract_fault_message'
403
+ :message: refers to fault more than self
404
+ :type: FeatureEnvy
405
+ - :method: '[68]:Neustar::WsGetData::Client#process_response'
406
+ :message: doesn't depend on instance state
407
+ :type: UtilityFunction
408
+ - :method: '[68]:Neustar::WsGetData::Client#process_response'
409
+ :message: refers to response more than self
410
+ :type: FeatureEnvy
411
+ - :method: '[68]:Neustar::WsGetData::Client#process_response'
412
+ :message: refers to response_wrapper more than self
413
+ :type: FeatureEnvy
414
+ - :file_path: lib/neustar-ws_get_data/elements/phone_attributes.rb
415
+ :code_smells:
416
+ - :method: '[109]:Neustar::WsGetData::PhoneAttributes#execute_request'
417
+ :message: doesn't depend on instance state
418
+ :type: UtilityFunction
419
+ - :method: '[109]:Neustar::WsGetData::PhoneAttributes#execute_request'
420
+ :message: refers to params more than self
421
+ :type: FeatureEnvy
422
+ - :method: '[158]:Neustar::WsGetData::PhoneAttributes#parse_indicators'
423
+ :message: doesn't depend on instance state
424
+ :type: UtilityFunction
425
+ - :method: '[158]:Neustar::WsGetData::PhoneAttributes#parse_indicators'
426
+ :message: refers to indicators more than self
427
+ :type: FeatureEnvy
428
+ - :method: '[158]:Neustar::WsGetData::PhoneAttributes#parse_indicators'
429
+ :message: refers to vals more than self
430
+ :type: FeatureEnvy
431
+ - :method: '[145]:Neustar::WsGetData::PhoneAttributes#process_response'
432
+ :message: contains iterators nested 2 deep
433
+ :type: NestedIterators
434
+ - :method: '[137]:Neustar::WsGetData::PhoneAttributes#process_response'
435
+ :message: refers to response more than self
436
+ :type: FeatureEnvy
437
+ - :file_path: lib/neustar-ws_get_data/version.rb
438
+ :code_smells: []
439
+ :roodi:
440
+ :total:
441
+ - Found 0 errors.
442
+ :problems: []
443
+ :stats:
444
+ :codeLOC: 178
445
+ :testLOC: 279
446
+ :code_to_test_ratio: 1.6
447
+ :lines:
448
+ - :name: Libraries
449
+ :lines: 312
450
+ :loc: 178
451
+ :classes: 4
452
+ :methods: 14
453
+ :methods_per_class: 3
454
+ :loc_per_method: 10
455
+ - :name: Neustar-ws_get_data specs
456
+ :lines: 224
457
+ :loc: 194
458
+ :classes: 0
459
+ :methods: 0
460
+ :methods_per_class: 0
461
+ :loc_per_method: 0
462
+ - :name: Elements specs
463
+ :lines: 96
464
+ :loc: 85
465
+ :classes: 0
466
+ :methods: 0
467
+ :methods_per_class: 0
468
+ :loc_per_method: 0
469
+ - :name: Total
470
+ :lines: 632
471
+ :loc: 457
472
+ :classes: 4
473
+ :methods: 14
474
+ :methods_per_class: 3
475
+ :loc_per_method: 30
476
+ :hotspots:
477
+ files:
478
+ - location:
479
+ class_name:
480
+ method_name:
481
+ file_path: lib/neustar-ws_get_data/elements/phone_attributes.rb:137
482
+ file_name: lib/neustar-ws_get_data/elements/phone_attributes.rb
483
+ line_number: '137'
484
+ hash_key: '["lib/neustar-ws_get_data/elements/phone_attributes.rb:137", nil,
485
+ nil]'
486
+ details:
487
+ flog: complexity is 14.2
488
+ saikuro: average complexity is 2.2
489
+ - location:
490
+ class_name:
491
+ method_name:
492
+ file_path: lib/neustar-ws_get_data/client.rb:47
493
+ file_name: lib/neustar-ws_get_data/client.rb
494
+ line_number: '47'
495
+ hash_key: '["lib/neustar-ws_get_data/client.rb:47", nil, nil]'
496
+ details:
497
+ flog: complexity is 11.5
498
+ saikuro: average complexity is 1.3
499
+ - location:
500
+ class_name:
501
+ method_name:
502
+ file_path: lib/neustar-ws_get_data/client.rb:10
503
+ file_name: lib/neustar-ws_get_data/client.rb
504
+ line_number: '10'
505
+ hash_key: '["lib/neustar-ws_get_data/client.rb:10", nil, nil]'
506
+ details:
507
+ flog: complexity is 9.7
508
+ - location:
509
+ class_name:
510
+ method_name:
511
+ file_path: lib/neustar-ws_get_data/client.rb:105
512
+ file_name: lib/neustar-ws_get_data/client.rb
513
+ line_number: '105'
514
+ hash_key: '["lib/neustar-ws_get_data/client.rb:105", nil, nil]'
515
+ details:
516
+ flog: complexity is 4.9
517
+ - location:
518
+ class_name:
519
+ method_name:
520
+ file_path: lib/neustar-ws_get_data/elements/phone_attributes.rb:158
521
+ file_name: lib/neustar-ws_get_data/elements/phone_attributes.rb
522
+ line_number: '158'
523
+ hash_key: '["lib/neustar-ws_get_data/elements/phone_attributes.rb:158", nil,
524
+ nil]'
525
+ details:
526
+ flog: complexity is 4.4
527
+ - location:
528
+ class_name:
529
+ method_name:
530
+ file_path: lib/neustar-ws_get_data/elements/phone_attributes.rb:90
531
+ file_name: lib/neustar-ws_get_data/elements/phone_attributes.rb
532
+ line_number: '90'
533
+ hash_key: '["lib/neustar-ws_get_data/elements/phone_attributes.rb:90", nil,
534
+ nil]'
535
+ details:
536
+ flog: complexity is 4.4
537
+ - location:
538
+ class_name:
539
+ method_name:
540
+ file_path: lib/neustar-ws_get_data/client.rb:68
541
+ file_name: lib/neustar-ws_get_data/client.rb
542
+ line_number: '68'
543
+ hash_key: '["lib/neustar-ws_get_data/client.rb:68", nil, nil]'
544
+ details:
545
+ flog: complexity is 3.6
546
+ - location:
547
+ class_name:
548
+ method_name:
549
+ file_path: lib/neustar-ws_get_data/elements/phone_attributes.rb:109
550
+ file_name: lib/neustar-ws_get_data/elements/phone_attributes.rb
551
+ line_number: '109'
552
+ hash_key: '["lib/neustar-ws_get_data/elements/phone_attributes.rb:109", nil,
553
+ nil]'
554
+ details:
555
+ flog: complexity is 3.4
556
+ - location:
557
+ class_name:
558
+ method_name:
559
+ file_path: lib/neustar-ws_get_data/client.rb:78
560
+ file_name: lib/neustar-ws_get_data/client.rb
561
+ line_number: '78'
562
+ hash_key: '["lib/neustar-ws_get_data/client.rb:78", nil, nil]'
563
+ details:
564
+ flog: complexity is 1.4
565
+ - location:
566
+ class_name:
567
+ method_name:
568
+ file_path: lib/neustar-ws_get_data/client.rb:23
569
+ file_name: lib/neustar-ws_get_data/client.rb
570
+ line_number: '23'
571
+ hash_key: '["lib/neustar-ws_get_data/client.rb:23", nil, nil]'
572
+ details:
573
+ flog: complexity is 1.0
574
+ - location:
575
+ class_name:
576
+ method_name:
577
+ file_path: lib/neustar-ws_get_data/client.rb:97
578
+ file_name: lib/neustar-ws_get_data/client.rb
579
+ line_number: '97'
580
+ hash_key: '["lib/neustar-ws_get_data/client.rb:97", nil, nil]'
581
+ details:
582
+ flog: complexity is 1.0
583
+ - location:
584
+ class_name:
585
+ method_name:
586
+ file_path: lib/neustar-ws_get_data/client.rb:85
587
+ file_name: lib/neustar-ws_get_data/client.rb
588
+ line_number: '85'
589
+ hash_key: '["lib/neustar-ws_get_data/client.rb:85", nil, nil]'
590
+ details:
591
+ flog: complexity is 1.0
592
+ - location:
593
+ class_name:
594
+ method_name:
595
+ file_path: lib/neustar-ws_get_data/client.rb:39
596
+ file_name: lib/neustar-ws_get_data/client.rb
597
+ line_number: '39'
598
+ hash_key: '["lib/neustar-ws_get_data/client.rb:39", nil, nil]'
599
+ details:
600
+ flog: complexity is 1.0
601
+ - location:
602
+ class_name:
603
+ method_name:
604
+ file_path: lib/neustar-ws_get_data/client.rb:31
605
+ file_name: lib/neustar-ws_get_data/client.rb
606
+ line_number: '31'
607
+ hash_key: '["lib/neustar-ws_get_data/client.rb:31", nil, nil]'
608
+ details:
609
+ flog: complexity is 1.0
610
+ - location:
611
+ class_name:
612
+ method_name:
613
+ file_path: lib/neustar-ws_get_data/client.rb
614
+ file_name: lib/neustar-ws_get_data/client.rb
615
+ line_number:
616
+ hash_key: '["lib/neustar-ws_get_data/client.rb", nil, nil]'
617
+ details:
618
+ reek: found 7 code smells
619
+ - location:
620
+ class_name:
621
+ method_name:
622
+ file_path: lib/neustar-ws_get_data/elements/phone_attributes.rb
623
+ file_name: lib/neustar-ws_get_data/elements/phone_attributes.rb
624
+ line_number:
625
+ hash_key: '["lib/neustar-ws_get_data/elements/phone_attributes.rb", nil, nil]'
626
+ details:
627
+ reek: found 7 code smells
628
+ classes:
629
+ - location:
630
+ class_name: main
631
+ method_name:
632
+ file_path:
633
+ file_name:
634
+ line_number:
635
+ hash_key: '[nil, "main", nil]'
636
+ details:
637
+ flog: complexity is 11.8
638
+ - location:
639
+ class_name: PhoneAttributes
640
+ method_name:
641
+ file_path: lib/neustar-ws_get_data/elements/phone_attributes.rb:137
642
+ file_name: lib/neustar-ws_get_data/elements/phone_attributes.rb
643
+ line_number: '137'
644
+ hash_key: '["lib/neustar-ws_get_data/elements/phone_attributes.rb:137", "PhoneAttributes",
645
+ nil]'
646
+ details:
647
+ flog: average complexity is 6.0
648
+ reek: found 7 code smells
649
+ - location:
650
+ class_name: Client
651
+ method_name:
652
+ file_path: lib/neustar-ws_get_data/client.rb:47
653
+ file_name: lib/neustar-ws_get_data/client.rb
654
+ line_number: '47'
655
+ hash_key: '["lib/neustar-ws_get_data/client.rb:47", "Client", nil]'
656
+ details:
657
+ flog: average complexity is 3.4
658
+ reek: found 7 code smells
659
+ - location:
660
+ class_name: Neustar
661
+ method_name:
662
+ file_path: lib/neustar-ws_get_data/client.rb:47
663
+ file_name: lib/neustar-ws_get_data/client.rb
664
+ line_number: '47'
665
+ hash_key: '["lib/neustar-ws_get_data/client.rb:47", "Neustar", nil]'
666
+ details:
667
+ saikuro: average complexity is 1.6
668
+ methods:
669
+ - location:
670
+ class_name: PhoneAttributes
671
+ method_name: PhoneAttributes#process_response
672
+ file_path: lib/neustar-ws_get_data/elements/phone_attributes.rb:137
673
+ file_name: lib/neustar-ws_get_data/elements/phone_attributes.rb
674
+ line_number: '137'
675
+ hash_key: '["lib/neustar-ws_get_data/elements/phone_attributes.rb:137", "PhoneAttributes",
676
+ "PhoneAttributes#process_response"]'
677
+ simple_method_name: '#process_response'
678
+ details:
679
+ flog: complexity is 14.2
680
+ reek: found 2 code smells
681
+ - location:
682
+ class_name: main
683
+ method_name: main#none
684
+ file_path:
685
+ file_name:
686
+ line_number:
687
+ hash_key: '[nil, "main", "main#none"]'
688
+ simple_method_name: '#none'
689
+ details:
690
+ flog: complexity is 11.8
691
+ - location:
692
+ class_name: Client
693
+ method_name: Client#call
694
+ file_path: lib/neustar-ws_get_data/client.rb:47
695
+ file_name: lib/neustar-ws_get_data/client.rb
696
+ line_number: '47'
697
+ hash_key: '["lib/neustar-ws_get_data/client.rb:47", "Client", "Client#call"]'
698
+ simple_method_name: '#call'
699
+ details:
700
+ flog: complexity is 11.5
701
+ - location:
702
+ class_name: Client
703
+ method_name: Client#initialize
704
+ file_path: lib/neustar-ws_get_data/client.rb:10
705
+ file_name: lib/neustar-ws_get_data/client.rb
706
+ line_number: '10'
707
+ hash_key: '["lib/neustar-ws_get_data/client.rb:10", "Client", "Client#initialize"]'
708
+ simple_method_name: '#initialize'
709
+ details:
710
+ flog: complexity is 9.7
711
+ - location:
712
+ class_name: Client
713
+ method_name: Client#extract_fault_message
714
+ file_path: lib/neustar-ws_get_data/client.rb:105
715
+ file_name: lib/neustar-ws_get_data/client.rb
716
+ line_number: '105'
717
+ hash_key: '["lib/neustar-ws_get_data/client.rb:105", "Client", "Client#extract_fault_message"]'
718
+ simple_method_name: '#extract_fault_message'
719
+ details:
720
+ flog: complexity is 4.9
721
+ reek: found 4 code smells
722
+ - location:
723
+ class_name: PhoneAttributes
724
+ method_name: PhoneAttributes#parse_indicators
725
+ file_path: lib/neustar-ws_get_data/elements/phone_attributes.rb:158
726
+ file_name: lib/neustar-ws_get_data/elements/phone_attributes.rb
727
+ line_number: '158'
728
+ hash_key: '["lib/neustar-ws_get_data/elements/phone_attributes.rb:158", "PhoneAttributes",
729
+ "PhoneAttributes#parse_indicators"]'
730
+ simple_method_name: '#parse_indicators'
731
+ details:
732
+ flog: complexity is 4.4
733
+ reek: found 3 code smells
734
+ - location:
735
+ class_name: PhoneAttributes
736
+ method_name: PhoneAttributes#query
737
+ file_path: lib/neustar-ws_get_data/elements/phone_attributes.rb:90
738
+ file_name: lib/neustar-ws_get_data/elements/phone_attributes.rb
739
+ line_number: '90'
740
+ hash_key: '["lib/neustar-ws_get_data/elements/phone_attributes.rb:90", "PhoneAttributes",
741
+ "PhoneAttributes#query"]'
742
+ simple_method_name: '#query'
743
+ details:
744
+ flog: complexity is 4.4
745
+ - location:
746
+ class_name: Client
747
+ method_name: Client#process_response
748
+ file_path: lib/neustar-ws_get_data/client.rb:68
749
+ file_name: lib/neustar-ws_get_data/client.rb
750
+ line_number: '68'
751
+ hash_key: '["lib/neustar-ws_get_data/client.rb:68", "Client", "Client#process_response"]'
752
+ simple_method_name: '#process_response'
753
+ details:
754
+ flog: complexity is 3.6
755
+ reek: found 3 code smells
756
+ - location:
757
+ class_name: PhoneAttributes
758
+ method_name: PhoneAttributes#none
759
+ file_path:
760
+ file_name:
761
+ line_number:
762
+ hash_key: '[nil, "PhoneAttributes", "PhoneAttributes#none"]'
763
+ simple_method_name: '#none'
764
+ details:
765
+ flog: complexity is 3.8
766
+ - location:
767
+ class_name: PhoneAttributes
768
+ method_name: PhoneAttributes#execute_request
769
+ file_path: lib/neustar-ws_get_data/elements/phone_attributes.rb:109
770
+ file_name: lib/neustar-ws_get_data/elements/phone_attributes.rb
771
+ line_number: '109'
772
+ hash_key: '["lib/neustar-ws_get_data/elements/phone_attributes.rb:109", "PhoneAttributes",
773
+ "PhoneAttributes#execute_request"]'
774
+ simple_method_name: '#execute_request'
775
+ details:
776
+ flog: complexity is 3.4
777
+ reek: found 2 code smells
778
+ - location:
779
+ class_name: Neustar
780
+ method_name: Neustar#process_response
781
+ file_path: lib/neustar-ws_get_data/client.rb:47
782
+ file_name: lib/neustar-ws_get_data/client.rb
783
+ line_number: '47'
784
+ hash_key: '["lib/neustar-ws_get_data/client.rb:47", "Neustar", "Neustar#process_response"]'
785
+ simple_method_name: '#process_response'
786
+ details:
787
+ saikuro: average complexity is 3.0
788
+ - location:
789
+ class_name: Neustar
790
+ method_name: Neustar#call
791
+ file_path: lib/neustar-ws_get_data/client.rb:47
792
+ file_name: lib/neustar-ws_get_data/client.rb
793
+ line_number: '47'
794
+ hash_key: '["lib/neustar-ws_get_data/client.rb:47", "Neustar", "Neustar#call"]'
795
+ simple_method_name: '#call'
796
+ details:
797
+ saikuro: complexity is 3.0
798
+ - location:
799
+ class_name: Neustar
800
+ method_name: Neustar#parse_indicators
801
+ file_path: lib/neustar-ws_get_data/elements/phone_attributes.rb:137
802
+ file_name: lib/neustar-ws_get_data/elements/phone_attributes.rb
803
+ line_number: '137'
804
+ hash_key: '["lib/neustar-ws_get_data/elements/phone_attributes.rb:137", "Neustar",
805
+ "Neustar#parse_indicators"]'
806
+ simple_method_name: '#parse_indicators'
807
+ details:
808
+ saikuro: complexity is 2.0
809
+ - location:
810
+ class_name: Neustar
811
+ method_name: Neustar#extract_fault_message
812
+ file_path: lib/neustar-ws_get_data/client.rb:47
813
+ file_name: lib/neustar-ws_get_data/client.rb
814
+ line_number: '47'
815
+ hash_key: '["lib/neustar-ws_get_data/client.rb:47", "Neustar", "Neustar#extract_fault_message"]'
816
+ simple_method_name: '#extract_fault_message'
817
+ details:
818
+ saikuro: complexity is 2.0
819
+ - location:
820
+ class_name: Client
821
+ method_name: Client#phone_attributes
822
+ file_path: lib/neustar-ws_get_data/client.rb:78
823
+ file_name: lib/neustar-ws_get_data/client.rb
824
+ line_number: '78'
825
+ hash_key: '["lib/neustar-ws_get_data/client.rb:78", "Client", "Client#phone_attributes"]'
826
+ simple_method_name: '#phone_attributes'
827
+ details:
828
+ flog: complexity is 1.4
829
+ - location:
830
+ class_name: Client
831
+ method_name: Client#none
832
+ file_path:
833
+ file_name:
834
+ line_number:
835
+ hash_key: '[nil, "Client", "Client#none"]'
836
+ simple_method_name: '#none'
837
+ details:
838
+ flog: complexity is 1.2
839
+ - location:
840
+ class_name: Client
841
+ method_name: Client#origination_params
842
+ file_path: lib/neustar-ws_get_data/client.rb:85
843
+ file_name: lib/neustar-ws_get_data/client.rb
844
+ line_number: '85'
845
+ hash_key: '["lib/neustar-ws_get_data/client.rb:85", "Client", "Client#origination_params"]'
846
+ simple_method_name: '#origination_params'
847
+ details:
848
+ flog: complexity is 1.0
849
+ - location:
850
+ class_name: Client
851
+ method_name: Client#query
852
+ file_path: lib/neustar-ws_get_data/client.rb:31
853
+ file_name: lib/neustar-ws_get_data/client.rb
854
+ line_number: '31'
855
+ hash_key: '["lib/neustar-ws_get_data/client.rb:31", "Client", "Client#query"]'
856
+ simple_method_name: '#query'
857
+ details:
858
+ flog: complexity is 1.0
859
+ - location:
860
+ class_name: Client
861
+ method_name: Client#batch_query
862
+ file_path: lib/neustar-ws_get_data/client.rb:39
863
+ file_name: lib/neustar-ws_get_data/client.rb
864
+ line_number: '39'
865
+ hash_key: '["lib/neustar-ws_get_data/client.rb:39", "Client", "Client#batch_query"]'
866
+ simple_method_name: '#batch_query'
867
+ details:
868
+ flog: complexity is 1.0
869
+ - location:
870
+ class_name: Client
871
+ method_name: Client#build_transaction_id
872
+ file_path: lib/neustar-ws_get_data/client.rb:97
873
+ file_name: lib/neustar-ws_get_data/client.rb
874
+ line_number: '97'
875
+ hash_key: '["lib/neustar-ws_get_data/client.rb:97", "Client", "Client#build_transaction_id"]'
876
+ simple_method_name: '#build_transaction_id'
877
+ details:
878
+ flog: complexity is 1.0
879
+ - location:
880
+ class_name: Neustar
881
+ method_name: Neustar#phone_attributes
882
+ file_path: lib/neustar-ws_get_data/client.rb:47
883
+ file_name: lib/neustar-ws_get_data/client.rb
884
+ line_number: '47'
885
+ hash_key: '["lib/neustar-ws_get_data/client.rb:47", "Neustar", "Neustar#phone_attributes"]'
886
+ simple_method_name: '#phone_attributes'
887
+ details:
888
+ saikuro: complexity is 1.0
889
+ - location:
890
+ class_name: Neustar
891
+ method_name: Neustar#origination_params
892
+ file_path: lib/neustar-ws_get_data/client.rb:47
893
+ file_name: lib/neustar-ws_get_data/client.rb
894
+ line_number: '47'
895
+ hash_key: '["lib/neustar-ws_get_data/client.rb:47", "Neustar", "Neustar#origination_params"]'
896
+ simple_method_name: '#origination_params'
897
+ details:
898
+ saikuro: complexity is 1.0
899
+ - location:
900
+ class_name: Neustar
901
+ method_name: Neustar#build_transaction_id
902
+ file_path: lib/neustar-ws_get_data/client.rb:47
903
+ file_name: lib/neustar-ws_get_data/client.rb
904
+ line_number: '47'
905
+ hash_key: '["lib/neustar-ws_get_data/client.rb:47", "Neustar", "Neustar#build_transaction_id"]'
906
+ simple_method_name: '#build_transaction_id'
907
+ details:
908
+ saikuro: complexity is 1.0
909
+ - location:
910
+ class_name: Neustar
911
+ method_name: Neustar#batch_query
912
+ file_path: lib/neustar-ws_get_data/client.rb:47
913
+ file_name: lib/neustar-ws_get_data/client.rb
914
+ line_number: '47'
915
+ hash_key: '["lib/neustar-ws_get_data/client.rb:47", "Neustar", "Neustar#batch_query"]'
916
+ simple_method_name: '#batch_query'
917
+ details:
918
+ saikuro: complexity is 1.0
919
+ - location:
920
+ class_name: Neustar
921
+ method_name: Neustar#query
922
+ file_path: lib/neustar-ws_get_data/client.rb:47
923
+ file_name: lib/neustar-ws_get_data/client.rb
924
+ line_number: '47'
925
+ hash_key: '["lib/neustar-ws_get_data/client.rb:47", "Neustar", "Neustar#query"]'
926
+ simple_method_name: '#query'
927
+ details:
928
+ saikuro: average complexity is 1.0
929
+ - location:
930
+ class_name: Neustar
931
+ method_name: Neustar#operations
932
+ file_path: lib/neustar-ws_get_data/client.rb:47
933
+ file_name: lib/neustar-ws_get_data/client.rb
934
+ line_number: '47'
935
+ hash_key: '["lib/neustar-ws_get_data/client.rb:47", "Neustar", "Neustar#operations"]'
936
+ simple_method_name: '#operations'
937
+ details:
938
+ saikuro: complexity is 1.0
939
+ - location:
940
+ class_name: Neustar
941
+ method_name: Neustar#initialize
942
+ file_path: lib/neustar-ws_get_data/client.rb:47
943
+ file_name: lib/neustar-ws_get_data/client.rb
944
+ line_number: '47'
945
+ hash_key: '["lib/neustar-ws_get_data/client.rb:47", "Neustar", "Neustar#initialize"]'
946
+ simple_method_name: '#initialize'
947
+ details:
948
+ saikuro: complexity is 1.0
949
+ - location:
950
+ class_name: Client
951
+ method_name: Client#operations
952
+ file_path: lib/neustar-ws_get_data/client.rb:23
953
+ file_name: lib/neustar-ws_get_data/client.rb
954
+ line_number: '23'
955
+ hash_key: '["lib/neustar-ws_get_data/client.rb:23", "Client", "Client#operations"]'
956
+ simple_method_name: '#operations'
957
+ details:
958
+ flog: complexity is 1.0
959
+ - location:
960
+ class_name: Neustar
961
+ method_name: Neustar#execute_request
962
+ file_path: lib/neustar-ws_get_data/elements/phone_attributes.rb:137
963
+ file_name: lib/neustar-ws_get_data/elements/phone_attributes.rb
964
+ line_number: '137'
965
+ hash_key: '["lib/neustar-ws_get_data/elements/phone_attributes.rb:137", "Neustar",
966
+ "Neustar#execute_request"]'
967
+ simple_method_name: '#execute_request'
968
+ details:
969
+ saikuro: complexity is 1.0