-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrubocop.html
3866 lines (2763 loc) · 149 KB
/
rubocop.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html>
<head>
<meta charset='UTF-8' />
<title>RuboCop Inspection Report</title>
<style>
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body, html {
font-size: 62.5%;
}
body {
background-color: #ecedf0;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
margin: 0;
}
code {
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 85%;
}
#header {
background: #f9f9f9;
color: #333;
border-bottom: 3px solid #ccc;
height: 50px;
padding: 0;
}
#header .logo {
float: left;
margin: 5px 12px 7px 20px;
width: 38px;
height: 38px;
}
#header .title {
display: inline-block;
float: left;
height: 50px;
font-size: 2.4rem;
letter-spacing: normal;
line-height: 50px;
margin: 0;
}
.information, #offenses {
width: 100%;
padding: 20px;
color: #333;
}
#offenses {
padding: 0 20px;
}
.information .infobox {
border-left: 3px solid;
border-radius: 4px;
background-color: #fff;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
padding: 15px;
border-color: #0088cc;
font-size: 1.4rem;
}
.information .infobox .info-title {
font-size: 1.8rem;
line-height: 2.2rem;
margin: 0 0 0.5em;
}
.information .infobox ul {
list-style: none;
margin: 0;
padding: 0;
}
.information .infobox ul li {
line-height: 1.8rem
}
#offenses .offense-box {
border-radius: 4px;
margin-bottom: 20px;
background-color: #fff;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}
#offenses .offense-box .box-title h3 {
color: #33353f;
background-color: #f6f6f6;
font-size: 2rem;
line-height: 2rem;
display: block;
padding: 15px;
border-radius: 5px;
margin: 0;
}
#offenses .offense-box .offense-reports {
padding: 0 15px;
}
#offenses .offense-box .offense-reports .report {
border-bottom: 1px dotted #ddd;
padding: 15px 0px;
position: relative;
font-size: 1.3rem;
}
#offenses .offense-box .offense-reports .report:last-child {
border-bottom: none;
}
#offenses .offense-box .offense-reports .report pre code {
display: block;
background: #000;
color: #fff;
padding: 10px 15px;
border-radius: 5px;
line-height: 1.6rem;
}
#offenses .offense-box .offense-reports .report .location {
font-weight: bold;
}
#offenses .offense-box .offense-reports .report .message code {
padding: 0.3em;
background-color: rgba(0,0,0,0.07);
border-radius: 3px;
}
.severity {
text-transform: capitalize;
font-weight: bold;
}
.highlight {
padding: 2px;
border-radius: 2px;
font-weight: bold;
}
.severity.refactor {
color: rgba(237, 156, 40, 1.0);
}
.highlight.refactor {
background-color: rgba(237, 156, 40, 0.6);
border: 1px solid rgba(237, 156, 40, 0.4);
}
.severity.convention {
color: rgba(237, 156, 40, 1.0);
}
.highlight.convention {
background-color: rgba(237, 156, 40, 0.6);
border: 1px solid rgba(237, 156, 40, 0.4);
}
.severity.warning {
color: rgba(150, 40, 239, 1.0);
}
.highlight.warning {
background-color: rgba(150, 40, 239, 0.6);
border: 1px solid rgba(150, 40, 239, 0.4);
}
.severity.error {
color: rgba(210, 50, 45, 1.0);
}
.highlight.error {
background-color: rgba(210, 50, 45, 0.6);
border: 1px solid rgba(210, 50, 45, 0.4);
}
.severity.fatal {
color: rgba(210, 50, 45, 1.0);
}
.highlight.fatal {
background-color: rgba(210, 50, 45, 0.6);
border: 1px solid rgba(210, 50, 45, 0.4);
}
footer {
margin-bottom: 20px;
margin-right: 20px;
font-size: 1.3rem;
color: #777;
text-align: right;
}
</style>
</head>
<body>
<div id="header">
<img class="logo" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEwAAABMCAYAAADHl1ErAAAKQWlDQ1BJQ0Mg
UHJvZmlsZQAASA2dlndUU9kWh8+9N73QEiIgJfQaegkg0jtIFQRRiUmAUAKG
hCZ2RAVGFBEpVmRUwAFHhyJjRRQLg4Ji1wnyEFDGwVFEReXdjGsJ7601896a
/cdZ39nnt9fZZ+9917oAUPyCBMJ0WAGANKFYFO7rwVwSE8vE9wIYEAEOWAHA
4WZmB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dz4sUaUdUJ492YhCL
mMSOAppMv/zGA17ajqQFawhj+YSvWI19PltixFmKqRYsyyXZKEZaS4fZnVas
hjbnNo+ChUVtVMP1omvWUaCfxW/EUuFqqTX9m21W7es8nTyl/oxrPhfaXtOX
MT5AkykHHvDSdgwpw1+iyRgfjeLiHnU8I5ri2NoYw9i4QJMpHh7w0nZw7zYm
mkS8GTP7SvX7JSKGKW64jbHEiIO96hQez3s8ZHYf+nKECKb+NtEGzpvviyYT
Pm3EcJ2D0WJajuTBQ2bYqEz8wMpkcErtu8TLxTC4X3pJNI1L0kYs0z0YudGA
FlNctOPBG64rU1RARH4kborqoPZj4mGx8cUCuVaJG8Q0cVDB/hQpDKiJ/C/K
tmQ/1f7NovNXdeqTGu5SJB6RmI5gkdvQjPZc8KyyFrk4Jm1ozhXPKTvPzE3i
itSGRrQWAo9LxR9ikQrUrAVtaCwUOMm+KB4Vm8Xm+RotaLJdALQ7Xwwq/b3i
TvFXMeuCkZPcaEBLqvgPBhCuiZo8+sAAAAAASUVORK5CYII=
" alt="">
<h1 class="title">RuboCop Inspection Report</h1>
</div>
<div class="information">
<div class="infobox">
82 files inspected,
265 offenses detected
</div>
</div>
<div id="offenses">
<div class="offense-box">
<div class="box-title"><h3>bin/nixon-pi - 5 offenses</h3></div>
<div class="offense-reports">
<div class="report">
<div class="meta">
<span class="location">Line #1</span> –
<span class="severity convention">convention:</span>
<span class="message">Use snake_case for source file names.</span>
</div>
<pre><code><span class="highlight convention">#</span>!/usr/bin/env ruby</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #3</span> –
<span class="severity convention">convention:</span>
<span class="message">Do not introduce global variables.</span>
</div>
<pre><code><span class="highlight convention">$environment</span> = ENV['RACK_ENV'] # default value if nothing else is set</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #4</span> –
<span class="severity convention">convention:</span>
<span class="message">Do not introduce global variables.</span>
</div>
<pre><code><span class="highlight convention">$force_mock_client</span> = false</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #10</span> –
<span class="severity convention">convention:</span>
<span class="message">Do not introduce global variables.</span>
</div>
<pre><code> <span class="highlight convention">$environment</span> = val</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #12</span> –
<span class="severity convention">convention:</span>
<span class="message">Do not introduce global variables.</span>
</div>
<pre><code> op.on('-m', 'force the usage of the telnet mock interface') { <span class="highlight convention">$force_mock_client</span> = true }</code></pre>
</div>
</div>
</div>
<div class="offense-box">
<div class="box-title"><h3>db/migrate/20121212215028_create_tables.rb - 1 offense</h3></div>
<div class="offense-reports">
<div class="report">
<div class="meta">
<span class="location">Line #1</span> –
<span class="severity convention">convention:</span>
<span class="message">Missing top-level class documentation comment.</span>
</div>
<pre><code><span class="highlight convention">class</span> CreateTables < ActiveRecord::Migration</code></pre>
</div>
</div>
</div>
<div class="offense-box">
<div class="box-title"><h3>db/migrate/20130111221133_add_schedules_table.rb - 2 offenses</h3></div>
<div class="offense-reports">
<div class="report">
<div class="meta">
<span class="location">Line #1</span> –
<span class="severity convention">convention:</span>
<span class="message">Missing top-level class documentation comment.</span>
</div>
<pre><code><span class="highlight convention">class</span> AddSchedulesTable < ActiveRecord::Migration</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #11</span> –
<span class="severity warning">warning:</span>
<span class="message"><code>end</code> at 11, 3 is not aligned with <code>def</code> at 2, 2</span>
</div>
<pre><code> <span class="highlight warning">end</span></code></pre>
</div>
</div>
</div>
<div class="offense-box">
<div class="box-title"><h3>db/migrate/20130116090700_rename_schedule_attributes.rb - 1 offense</h3></div>
<div class="offense-reports">
<div class="report">
<div class="meta">
<span class="location">Line #1</span> –
<span class="severity convention">convention:</span>
<span class="message">Missing top-level class documentation comment.</span>
</div>
<pre><code><span class="highlight convention">class</span> RenameScheduleAttributes < ActiveRecord::Migration</code></pre>
</div>
</div>
</div>
<div class="offense-box">
<div class="box-title"><h3>db/migrate/20130116091808_remove_unused_from_schedules.rb - 1 offense</h3></div>
<div class="offense-reports">
<div class="report">
<div class="meta">
<span class="location">Line #1</span> –
<span class="severity convention">convention:</span>
<span class="message">Missing top-level class documentation comment.</span>
</div>
<pre><code><span class="highlight convention">class</span> RemoveUnusedFromSchedules < ActiveRecord::Migration</code></pre>
</div>
</div>
</div>
<div class="offense-box">
<div class="box-title"><h3>db/migrate/20130116094701_add_timing_to_schedule.rb - 1 offense</h3></div>
<div class="offense-reports">
<div class="report">
<div class="meta">
<span class="location">Line #1</span> –
<span class="severity convention">convention:</span>
<span class="message">Missing top-level class documentation comment.</span>
</div>
<pre><code><span class="highlight convention">class</span> AddTimingToSchedule < ActiveRecord::Migration</code></pre>
</div>
</div>
</div>
<div class="offense-box">
<div class="box-title"><h3>db/migrate/20130116100619_rename_column_type.rb - 1 offense</h3></div>
<div class="offense-reports">
<div class="report">
<div class="meta">
<span class="location">Line #1</span> –
<span class="severity convention">convention:</span>
<span class="message">Missing top-level class documentation comment.</span>
</div>
<pre><code><span class="highlight convention">class</span> RenameColumnType < ActiveRecord::Migration</code></pre>
</div>
</div>
</div>
<div class="offense-box">
<div class="box-title"><h3>db/migrate/20130121173731_remove_initial_column.rb - 1 offense</h3></div>
<div class="offense-reports">
<div class="report">
<div class="meta">
<span class="location">Line #1</span> –
<span class="severity convention">convention:</span>
<span class="message">Missing top-level class documentation comment.</span>
</div>
<pre><code><span class="highlight convention">class</span> RemoveInitialColumn < ActiveRecord::Migration</code></pre>
</div>
</div>
</div>
<div class="offense-box">
<div class="box-title"><h3>db/migrate/20130426092338_rename_state_machine_column_to_target.rb - 1 offense</h3></div>
<div class="offense-reports">
<div class="report">
<div class="meta">
<span class="location">Line #1</span> –
<span class="severity convention">convention:</span>
<span class="message">Missing top-level class documentation comment.</span>
</div>
<pre><code><span class="highlight convention">class</span> RenameStateMachineColumnToTarget < ActiveRecord::Migration</code></pre>
</div>
</div>
</div>
<div class="offense-box">
<div class="box-title"><h3>db/models.rb - 5 offenses</h3></div>
<div class="offense-reports">
<div class="report">
<div class="meta">
<span class="location">Line #10</span> –
<span class="severity convention">convention:</span>
<span class="message">Missing top-level class documentation comment.</span>
</div>
<pre><code><span class="highlight convention">class</span> Command < ActiveRecord::Base</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #30</span> –
<span class="severity convention">convention:</span>
<span class="message">Missing top-level class documentation comment.</span>
</div>
<pre><code><span class="highlight convention">class</span> Schedule < ActiveRecord::Base</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #42</span> –
<span class="severity convention">convention:</span>
<span class="message">Assignment Branch Condition size for valid_schedule? is too high. [27.09/15]</span>
</div>
<pre><code> <span class="highlight convention">def</span> valid_schedule?</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #42</span> –
<span class="severity convention">convention:</span>
<span class="message">Cyclomatic complexity for valid_schedule? is too high. [8/6]</span>
</div>
<pre><code> <span class="highlight convention">def</span> valid_schedule?</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #42</span> –
<span class="severity convention">convention:</span>
<span class="message">Method has too many lines. [19/10]</span>
</div>
<pre><code> <span class="highlight convention">def</span> valid_schedule?</code></pre>
</div>
</div>
</div>
<div class="offense-box">
<div class="box-title"><h3>db/validators/command_validator.rb - 13 offenses</h3></div>
<div class="offense-reports">
<div class="report">
<div class="meta">
<span class="location">Line #4</span> –
<span class="severity convention">convention:</span>
<span class="message">Missing top-level class documentation comment.</span>
</div>
<pre><code><span class="highlight convention">class</span> CommandValidator < ActiveModel::Validator</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #5</span> –
<span class="severity convention">convention:</span>
<span class="message">Assignment Branch Condition size for validate is too high. [35.85/15]</span>
</div>
<pre><code> <span class="highlight convention">def</span> validate(record)</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #5</span> –
<span class="severity convention">convention:</span>
<span class="message">Cyclomatic complexity for validate is too high. [15/6]</span>
</div>
<pre><code> <span class="highlight convention">def</span> validate(record)</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #5</span> –
<span class="severity convention">convention:</span>
<span class="message">Method has too many lines. [24/10]</span>
</div>
<pre><code> <span class="highlight convention">def</span> validate(record)</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #5</span> –
<span class="severity convention">convention:</span>
<span class="message">Perceived complexity for validate is too high. [9/7]</span>
</div>
<pre><code> <span class="highlight convention">def</span> validate(record)</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #35</span> –
<span class="severity convention">convention:</span>
<span class="message">Assignment Branch Condition size for validate_tubes is too high. [32.89/15]</span>
</div>
<pre><code> <span class="highlight convention">def</span> validate_tubes(record)</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #35</span> –
<span class="severity convention">convention:</span>
<span class="message">Cyclomatic complexity for validate_tubes is too high. [12/6]</span>
</div>
<pre><code> <span class="highlight convention">def</span> validate_tubes(record)</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #35</span> –
<span class="severity convention">convention:</span>
<span class="message">Method has too many lines. [15/10]</span>
</div>
<pre><code> <span class="highlight convention">def</span> validate_tubes(record)</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #35</span> –
<span class="severity convention">convention:</span>
<span class="message">Perceived complexity for validate_tubes is too high. [9/7]</span>
</div>
<pre><code> <span class="highlight convention">def</span> validate_tubes(record)</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #39</span> –
<span class="severity convention">convention:</span>
<span class="message">Line is too long. [172/160]</span>
</div>
<pre><code> record.errors.add(:value, "length exceeds number of tubes (#{NixonPi::Settings.in12a_tubes.count})") unless record.value.size <= NixonPi::Settings.in12a<span class="highlight convention">_tubes.count</span></code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #65</span> –
<span class="severity convention">convention:</span>
<span class="message">Assignment Branch Condition size for validate_animation is too high. [36.15/15]</span>
</div>
<pre><code> <span class="highlight convention">def</span> validate_animation(record)</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #65</span> –
<span class="severity convention">convention:</span>
<span class="message">Cyclomatic complexity for validate_animation is too high. [10/6]</span>
</div>
<pre><code> <span class="highlight convention">def</span> validate_animation(record)</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #65</span> –
<span class="severity convention">convention:</span>
<span class="message">Perceived complexity for validate_animation is too high. [10/7]</span>
</div>
<pre><code> <span class="highlight convention">def</span> validate_animation(record)</code></pre>
</div>
</div>
</div>
<div class="offense-box">
<div class="box-title"><h3>lib/blank_monkeypatch.rb - 1 offense</h3></div>
<div class="offense-reports">
<div class="report">
<div class="meta">
<span class="location">Line #1</span> –
<span class="severity convention">convention:</span>
<span class="message">Missing top-level class documentation comment.</span>
</div>
<pre><code><span class="highlight convention">class</span> Object</code></pre>
</div>
</div>
</div>
<div class="offense-box">
<div class="box-title"><h3>lib/dependency.rb - 7 offenses</h3></div>
<div class="offense-reports">
<div class="report">
<div class="meta">
<span class="location">Line #1</span> –
<span class="severity convention">convention:</span>
<span class="message">Replace class var @@class_registry with a class instance var.</span>
</div>
<pre><code><span class="highlight convention">@@class_registry</span> = {}</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #36</span> –
<span class="severity convention">convention:</span>
<span class="message">Assignment Branch Condition size for get_injected is too high. [42.87/15]</span>
</div>
<pre><code><span class="highlight convention">def</span> get_injected(type, new_instance = false, args = {})</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #36</span> –
<span class="severity convention">convention:</span>
<span class="message">Cyclomatic complexity for get_injected is too high. [12/6]</span>
</div>
<pre><code><span class="highlight convention">def</span> get_injected(type, new_instance = false, args = {})</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #36</span> –
<span class="severity convention">convention:</span>
<span class="message">Method has too many lines. [28/10]</span>
</div>
<pre><code><span class="highlight convention">def</span> get_injected(type, new_instance = false, args = {})</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #36</span> –
<span class="severity convention">convention:</span>
<span class="message">Perceived complexity for get_injected is too high. [14/7]</span>
</div>
<pre><code><span class="highlight convention">def</span> get_injected(type, new_instance = false, args = {})</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #48</span> –
<span class="severity warning">warning:</span>
<span class="message">Avoid rescuing the <code>Exception</code> class. Perhaps you meant to rescue <code>StandardError</code>?</span>
</div>
<pre><code> <span class="highlight warning">rescue Exception => e</span></code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #62</span> –
<span class="severity convention">convention:</span>
<span class="message">Avoid multi-line ?: (the ternary operator); use <code>if</code>/<code>unless</code> instead.</span>
</div>
<pre><code> klass = <span class="highlight convention">reg_entry[:klass].instance_method(:initialize).parameters.empty? ?</span></code></pre>
</div>
</div>
</div>
<div class="offense-box">
<div class="box-title"><h3>lib/nixonpi/animations/animation.rb - 5 offenses</h3></div>
<div class="offense-reports">
<div class="report">
<div class="meta">
<span class="location">Line #12</span> –
<span class="severity convention">convention:</span>
<span class="message">Missing top-level class documentation comment.</span>
</div>
<pre><code> <span class="highlight convention">class</span> Animation</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #34</span> –
<span class="severity convention">convention:</span>
<span class="message">Assignment Branch Condition size for handle_output_on_tick is too high. [18.36/15]</span>
</div>
<pre><code> <span class="highlight convention">def</span> handle_output_on_tick(value)</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #34</span> –
<span class="severity convention">convention:</span>
<span class="message">Method has too many lines. [15/10]</span>
</div>
<pre><code> <span class="highlight convention">def</span> handle_output_on_tick(value)</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #68</span> –
<span class="severity convention">convention:</span>
<span class="message">Method has too many lines. [15/10]</span>
</div>
<pre><code> <span class="highlight convention">def</span> self.defaults</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #78</span> –
<span class="severity convention">convention:</span>
<span class="message">Redundant <code>else</code>-clause.</span>
</div>
<pre><code> <span class="highlight convention">else</span></code></pre>
</div>
</div>
</div>
<div class="offense-box">
<div class="box-title"><h3>lib/nixonpi/animations/bar/ramp_up_down_animation.rb - 2 offenses</h3></div>
<div class="offense-reports">
<div class="report">
<div class="meta">
<span class="location">Line #8</span> –
<span class="severity convention">convention:</span>
<span class="message">Missing top-level class documentation comment.</span>
</div>
<pre><code> <span class="highlight convention">class</span> RampUpDownAnimation < Animation</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #35</span> –
<span class="severity convention">convention:</span>
<span class="message">Do not prefix reader method names with <code>get_</code>.</span>
</div>
<pre><code> def <span class="highlight convention">get_current_value</span></code></pre>
</div>
</div>
</div>
<div class="offense-box">
<div class="box-title"><h3>lib/nixonpi/animations/easing.rb - 8 offenses</h3></div>
<div class="offense-reports">
<div class="report">
<div class="meta">
<span class="location">Line #9</span> –
<span class="severity convention">convention:</span>
<span class="message">Module definition is too long. [187/100]</span>
</div>
<pre><code> <span class="highlight convention">module</span> Easing</code></pre>
</div>
<div class="report">
<div class="meta">
<span class="location">Line #9</span> –
<span class="severity convention">convention:</span>
<span class="message">Missing top-level module documentation comment.</span>
</div>