pboling/sanitize_email

View on GitHub
.rubocop_gradual.lock

Summary

Maintainability
Test Coverage
{
  "init.rb:3429808413": [
    [3, 9, 16, "Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.", 29970817]
  ],
  "lib/sanitize_email.rb:1050465130": [
    [57, 5, 29, "ThreadSafety/ClassAndModuleAttributes: Avoid mutating class and module attributes.", 1399760671]
  ],
  "lib/sanitize_email/config.rb:393256477": [
    [13, 7, 21, "ThreadSafety/ClassAndModuleAttributes: Avoid mutating class and module attributes.", 622027168],
    [64, 5, 781, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 2938516222],
    [65, 13, 7, "ThreadSafety/InstanceVariableInClassMethod: Avoid instance variables in class methods.", 651502127],
    [70, 10, 7, "ThreadSafety/InstanceVariableInClassMethod: Avoid instance variables in class methods.", 651502127],
    [71, 9, 7, "ThreadSafety/InstanceVariableInClassMethod: Avoid instance variables in class methods.", 651502127],
    [75, 10, 7, "ThreadSafety/InstanceVariableInClassMethod: Avoid instance variables in class methods.", 651502127],
    [80, 9, 7, "ThreadSafety/InstanceVariableInClassMethod: Avoid instance variables in class methods.", 651502127],
    [80, 34, 7, "ThreadSafety/InstanceVariableInClassMethod: Avoid instance variables in class methods.", 651502127],
    [85, 5, 499, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 1704626160],
    [86, 17, 7, "ThreadSafety/InstanceVariableInClassMethod: Avoid instance variables in class methods.", 651502127],
    [94, 38, 7, "ThreadSafety/InstanceVariableInClassMethod: Avoid instance variables in class methods.", 651502127],
    [98, 5, 87, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 453471793],
    [99, 7, 7, "ThreadSafety/InstanceVariableInClassMethod: Avoid instance variables in class methods.", 651502127]
  ],
  "lib/sanitize_email/deprecation.rb:3676790890": [
    [11, 7, 35, "ThreadSafety/ClassAndModuleAttributes: Avoid mutating class and module attributes.", 3751377571]
  ],
  "lib/sanitize_email/mail_header_tools.rb:2279089378": [
    [9, 5, 525, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 2330016495],
    [24, 5, 87, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 2021386992],
    [28, 5, 256, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 4291940776],
    [36, 5, 156, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 1946428270],
    [41, 5, 877, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 2308558961],
    [65, 5, 233, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 2880787383],
    [73, 5, 386, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 1085137330]
  ],
  "spec/rails_spec.rb:4154426561": [
    [26, 7, 16, "RSpec/MultipleExpectations: Example has too many expectations [8/1].", 3524538235],
    [37, 7, 23, "RSpec/NestedGroups: Maximum example group nesting exceeded [4/3].", 1651527717],
    [57, 9, 16, "RSpec/MultipleExpectations: Example has too many expectations [8/1].", 3524538235]
  ],
  "spec/sanitize_email_spec.rb:1544212409": [
    [19, 11, 16, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 4266815955],
    [22, 16, 13, "RSpec/DescribedClass: Use `described_class` instead of `SanitizeEmail`.", 3134934046],
    [26, 18, 13, "RSpec/DescribedClass: Use `described_class` instead of `SanitizeEmail`.", 3134934046],
    [30, 16, 13, "RSpec/DescribedClass: Use `described_class` instead of `SanitizeEmail`.", 3134934046],
    [30, 40, 2, "RSpec/BeEq: Prefer `be` over `eq`.", 5860785],
    [36, 16, 13, "RSpec/DescribedClass: Use `described_class` instead of `SanitizeEmail`.", 3134934046],
    [40, 18, 13, "RSpec/DescribedClass: Use `described_class` instead of `SanitizeEmail`.", 3134934046],
    [44, 16, 13, "RSpec/DescribedClass: Use `described_class` instead of `SanitizeEmail`.", 3134934046],
    [44, 45, 2, "RSpec/BeEq: Prefer `be` over `eq`.", 5860785],
    [50, 18, 13, "RSpec/DescribedClass: Use `described_class` instead of `SanitizeEmail`.", 3134934046],
    [56, 18, 13, "RSpec/DescribedClass: Use `described_class` instead of `SanitizeEmail`.", 3134934046],
    [60, 13, 12, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 491923605],
    [66, 7, 44, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 1308784480],
    [72, 7, 31, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3964658991],
    [81, 7, 19, "RSpec/MultipleExpectations: Example has too many expectations [9/1].", 2796689240],
    [96, 18, 13, "RSpec/DescribedClass: Use `described_class` instead of `SanitizeEmail`.", 3134934046],
    [100, 13, 10, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 3244891982],
    [106, 7, 44, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 1308784480],
    [112, 7, 31, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3964658991],
    [121, 7, 14, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 2630471583],
    [127, 7, 17, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 514323045],
    [142, 7, 42, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3776510226],
    [152, 13, 35, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 2433405780],
    [158, 7, 44, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 1308784480],
    [164, 7, 31, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3964658991],
    [171, 7, 14, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 2630471583],
    [177, 7, 46, "RSpec/MultipleExpectations: Example has too many expectations [5/1].", 1591700420],
    [200, 7, 46, "RSpec/MultipleExpectations: Example has too many expectations [5/1].", 1177358143],
    [223, 7, 55, "RSpec/MultipleExpectations: Example has too many expectations [5/1].", 3522215174],
    [246, 7, 42, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3776510226],
    [256, 13, 28, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 964539113],
    [273, 7, 44, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 1308784480],
    [279, 7, 31, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3964658991],
    [291, 7, 57, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3903999862],
    [296, 7, 30, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3853297158],
    [314, 7, 38, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 55284112],
    [330, 7, 42, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3776510226],
    [370, 7, 44, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 1308784480],
    [379, 7, 57, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3903999862],
    [387, 13, 50, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 3488997509],
    [404, 7, 44, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 1308784480],
    [418, 7, 57, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3903999862],
    [423, 7, 30, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3853297158],
    [434, 7, 170, "RSpec/RepeatedExample: Don't repeat examples within an example group.", 982775935],
    [441, 7, 234, "RSpec/RepeatedExample: Don't repeat examples within an example group.", 4222897050],
    [449, 7, 42, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3776510226],
    [470, 7, 19, "RSpec/MultipleExpectations: Example has too many expectations [8/1].", 3032080240],
    [484, 7, 22, "RSpec/MultipleExpectations: Example has too many expectations [8/1].", 3267814569],
    [503, 7, 60, "RSpec/NestedGroups: Maximum example group nesting exceeded [4/3].", 2965285760],
    [504, 9, 22, "RSpec/MultipleExpectations: Example has too many expectations [8/1].", 3267814569],
    [526, 7, 17, "RSpec/MultipleExpectations: Example has too many expectations [15/1].", 2729217909],
    [586, 7, 14, "RSpec/MultipleExpectations: Example has too many expectations [9/1].", 3862108402],
    [601, 7, 59, "RSpec/NestedGroups: Maximum example group nesting exceeded [4/3].", 2662855125],
    [602, 9, 14, "RSpec/MultipleExpectations: Example has too many expectations [9/1].", 3862108402],
    [625, 13, 16, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 1978044688],
    [626, 7, 14, "RSpec/NestedGroups: Maximum example group nesting exceeded [4/3].", 3059896108],
    [626, 15, 6, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 3149302003],
    [634, 9, 44, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 1308784480],
    [640, 9, 14, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 2630471583],
    [646, 9, 17, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 514323045],
    [662, 7, 15, "RSpec/NestedGroups: Maximum example group nesting exceeded [4/3].", 2727260359],
    [662, 15, 7, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 312814392],
    [670, 9, 44, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 1308784480],
    [676, 9, 49, "RSpec/MultipleExpectations: Example has too many expectations [6/1].", 2703328868],
    [695, 7, 13, "RSpec/NestedGroups: Maximum example group nesting exceeded [4/3].", 2695947121],
    [695, 15, 5, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 95220878],
    [696, 9, 33, "RSpec/NestedGroups: Maximum example group nesting exceeded [5/3].", 3220495026],
    [696, 17, 25, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 992293837],
    [704, 11, 44, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 1308784480],
    [710, 11, 14, "RSpec/MultipleExpectations: Example has too many expectations [6/1].", 2630471583],
    [729, 9, 34, "RSpec/NestedGroups: Maximum example group nesting exceeded [5/3].", 3483761479],
    [729, 17, 26, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 2491245272],
    [737, 11, 44, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 1308784480],
    [743, 11, 49, "RSpec/MultipleExpectations: Example has too many expectations [6/1].", 2703328868],
    [765, 11, 16, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 3540094847],
    [766, 13, 46, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 3417301734],
    [767, 7, 14, "RSpec/NestedGroups: Maximum example group nesting exceeded [4/3].", 3059896108],
    [767, 15, 6, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 3149302003],
    [782, 9, 44, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 1308784480],
    [788, 9, 31, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3964658991],
    [798, 7, 15, "RSpec/NestedGroups: Maximum example group nesting exceeded [4/3].", 2727260359],
    [798, 15, 7, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 312814392],
    [807, 9, 33, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 1561266956],
    [814, 9, 44, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 1308784480],
    [820, 9, 31, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3964658991],
    [831, 13, 40, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 3350133791],
    [832, 7, 14, "RSpec/NestedGroups: Maximum example group nesting exceeded [4/3].", 3059896108],
    [832, 15, 6, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 3149302003],
    [837, 9, 32, "RSpec/NestedGroups: Maximum example group nesting exceeded [5/3].", 2446127739],
    [837, 17, 24, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 1251280420],
    [848, 11, 44, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 1308784480],
    [854, 11, 31, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3964658991],
    [864, 9, 36, "RSpec/NestedGroups: Maximum example group nesting exceeded [5/3].", 2654417422],
    [864, 17, 28, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 3158470033],
    [875, 11, 44, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 1308784480],
    [881, 11, 31, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3964658991],
    [892, 7, 15, "RSpec/NestedGroups: Maximum example group nesting exceeded [4/3].", 2727260359],
    [892, 15, 7, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 312814392],
    [904, 9, 44, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 1308784480],
    [910, 9, 31, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3964658991],
    [921, 13, 42, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 2088625065],
    [922, 7, 14, "RSpec/NestedGroups: Maximum example group nesting exceeded [4/3].", 3059896108],
    [922, 15, 6, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 3149302003],
    [942, 9, 44, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 1308784480],
    [948, 9, 31, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3964658991],
    [958, 7, 15, "RSpec/NestedGroups: Maximum example group nesting exceeded [4/3].", 2727260359],
    [958, 15, 7, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 312814392],
    [972, 9, 44, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 1308784480],
    [978, 9, 31, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3964658991],
    [989, 13, 9, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 2402616528],
    [990, 7, 17, "RSpec/NestedGroups: Maximum example group nesting exceeded [4/3].", 1968335926],
    [990, 15, 9, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 1548243657],
    [1002, 9, 44, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 1308784480],
    [1008, 9, 23, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 564765716],
    [1013, 9, 41, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3449400223],
    [1018, 9, 24, "RSpec/NestedGroups: Maximum example group nesting exceeded [5/3].", 1252366319],
    [1031, 11, 25, "RSpec/MultipleExpectations: Example has too many expectations [9/1].", 2034890136],
    [1054, 9, 23, "RSpec/NestedGroups: Maximum example group nesting exceeded [5/3].", 3239195755],
    [1068, 11, 25, "RSpec/MultipleExpectations: Example has too many expectations [9/1].", 2034890136],
    [1091, 7, 18, "RSpec/NestedGroups: Maximum example group nesting exceeded [4/3].", 2670365],
    [1091, 15, 10, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 80617602],
    [1103, 9, 44, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 1308784480],
    [1109, 9, 31, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3964658991],
    [1114, 9, 49, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 2703328868],
    [1121, 13, 12, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 1788285844],
    [1125, 7, 29, "RSpec/NestedGroups: Maximum example group nesting exceeded [4/3].", 2484467444],
    [1125, 15, 21, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 2487855435],
    [1126, 9, 18, "RSpec/NestedGroups: Maximum example group nesting exceeded [5/3].", 2756695113],
    [1126, 17, 10, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 1621560150],
    [1132, 11, 44, "RSpec/MultipleExpectations: Example has too many expectations [4/1].", 1308784480],
    [1133, 63, 2, "RSpec/BeEq: Prefer `be` over `eq`.", 5860785],
    [1139, 11, 50, "RSpec/MultipleExpectations: Example has too many expectations [4/1].", 630326736],
    [1140, 63, 2, "RSpec/BeEq: Prefer `be` over `eq`.", 5860785],
    [1147, 9, 22, "RSpec/NestedGroups: Maximum example group nesting exceeded [5/3].", 4030819019],
    [1147, 17, 14, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 4209408980],
    [1155, 11, 44, "RSpec/MultipleExpectations: Example has too many expectations [4/1].", 1308784480],
    [1156, 63, 2, "RSpec/BeEq: Prefer `be` over `eq`.", 5860785],
    [1162, 11, 54, "RSpec/MultipleExpectations: Example has too many expectations [4/1].", 1338695762],
    [1163, 63, 2, "RSpec/BeEq: Prefer `be` over `eq`.", 5860785],
    [1171, 7, 31, "RSpec/NestedGroups: Maximum example group nesting exceeded [4/3].", 3799412900],
    [1171, 15, 23, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 512643995],
    [1180, 18, 13, "RSpec/DescribedClass: Use `described_class` instead of `SanitizeEmail`.", 3134934046],
    [1184, 18, 13, "RSpec/DescribedClass: Use `described_class` instead of `SanitizeEmail`.", 3134934046],
    [1184, 52, 13, "RSpec/DescribedClass: Use `described_class` instead of `SanitizeEmail`.", 3134934046],
    [1187, 9, 44, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 1308784480],
    [1198, 7, 25, "RSpec/NestedGroups: Maximum example group nesting exceeded [4/3].", 1049421877],
    [1198, 15, 17, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 1293766410],
    [1208, 9, 44, "RSpec/MultipleExpectations: Example has too many expectations [3/1].", 1308784480]
  ]
}