[
[
{
"elements" : [
{
"type" : "struct" ,
"name" : "test" ,
"source_mapping" : {
"start" : 229 ,
"length" : 35 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
14 ,
15 ,
16
] ,
"starting_column" : 5 ,
"ending_column" : 6
} ,
"type_specific_fields" : {
"parent" : {
"type" : "contract" ,
"name" : "naming" ,
"source_mapping" : {
"start" : 28 ,
"length" : 642 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
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
] ,
"starting_column" : 1 ,
"ending_column" : 2
}
}
} ,
"additional_fields" : {
"target" : "structure" ,
"convention" : "CapWords"
}
}
] ,
"description" : "Struct naming.test (tests/detectors/naming-convention/0.6.11/naming_convention.sol#14-16) is not in CapWords\n" ,
"markdown" : "Struct [naming.test](tests/detectors/naming-convention/0.6.11/naming_convention.sol#L14-L16) is not in CapWords\n" ,
"first_markdown_element" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol#L14-L16" ,
"id" : "0ef3ea412cb30b1f0df5fa2af4a7a06e2bf0373fae0770fd9e301aed12c209cf" ,
"check" : "naming-convention" ,
"impact" : "Informational" ,
"confidence" : "High"
} ,
{
"elements" : [
{
"type" : "variable" ,
"name" : "I" ,
"source_mapping" : {
"start" : 932 ,
"length" : 10 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
69
] ,
"starting_column" : 5 ,
"ending_column" : 15
} ,
"type_specific_fields" : {
"parent" : {
"type" : "contract" ,
"name" : "T" ,
"source_mapping" : {
"start" : 692 ,
"length" : 253 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
54 ,
55 ,
56 ,
57 ,
58 ,
59 ,
60 ,
61 ,
62 ,
63 ,
64 ,
65 ,
66 ,
67 ,
68 ,
69 ,
70
] ,
"starting_column" : 1 ,
"ending_column" : 2
}
}
} ,
"additional_fields" : {
"target" : "variable" ,
"convention" : "mixedCase"
}
}
] ,
"description" : "Variable T.I (tests/detectors/naming-convention/0.6.11/naming_convention.sol#69) is not in mixedCase\n" ,
"markdown" : "Variable [T.I](tests/detectors/naming-convention/0.6.11/naming_convention.sol#L69) is not in mixedCase\n" ,
"first_markdown_element" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol#L69" ,
"id" : "12df12bbda2059673d356e5c32ec4e8a037a3821c9fa42b831a9144437cb79f9" ,
"check" : "naming-convention" ,
"impact" : "Informational" ,
"confidence" : "High"
} ,
{
"elements" : [
{
"type" : "variable" ,
"name" : "I" ,
"source_mapping" : {
"start" : 932 ,
"length" : 10 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
69
] ,
"starting_column" : 5 ,
"ending_column" : 15
} ,
"type_specific_fields" : {
"parent" : {
"type" : "contract" ,
"name" : "T" ,
"source_mapping" : {
"start" : 692 ,
"length" : 253 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
54 ,
55 ,
56 ,
57 ,
58 ,
59 ,
60 ,
61 ,
62 ,
63 ,
64 ,
65 ,
66 ,
67 ,
68 ,
69 ,
70
] ,
"starting_column" : 1 ,
"ending_column" : 2
}
}
} ,
"additional_fields" : {
"target" : "variable" ,
"convention" : "l_O_I_should_not_be_used"
}
}
] ,
"description" : "Variable T.I (tests/detectors/naming-convention/0.6.11/naming_convention.sol#69) is single letter l, O, or I, which should not be used\n" ,
"markdown" : "Variable [T.I](tests/detectors/naming-convention/0.6.11/naming_convention.sol#L69) is single letter l, O, or I, which should not be used\n" ,
"first_markdown_element" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol#L69" ,
"id" : "2ac65aa5bb560436d64f16e164aaab90dbbf38d683bfdfdfb42eeb225fc51759" ,
"check" : "naming-convention" ,
"impact" : "Informational" ,
"confidence" : "High"
} ,
{
"elements" : [
{
"type" : "variable" ,
"name" : "O" ,
"source_mapping" : {
"start" : 916 ,
"length" : 10 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
68
] ,
"starting_column" : 5 ,
"ending_column" : 15
} ,
"type_specific_fields" : {
"parent" : {
"type" : "contract" ,
"name" : "T" ,
"source_mapping" : {
"start" : 692 ,
"length" : 253 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
54 ,
55 ,
56 ,
57 ,
58 ,
59 ,
60 ,
61 ,
62 ,
63 ,
64 ,
65 ,
66 ,
67 ,
68 ,
69 ,
70
] ,
"starting_column" : 1 ,
"ending_column" : 2
}
}
} ,
"additional_fields" : {
"target" : "variable" ,
"convention" : "mixedCase"
}
}
] ,
"description" : "Variable T.O (tests/detectors/naming-convention/0.6.11/naming_convention.sol#68) is not in mixedCase\n" ,
"markdown" : "Variable [T.O](tests/detectors/naming-convention/0.6.11/naming_convention.sol#L68) is not in mixedCase\n" ,
"first_markdown_element" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol#L68" ,
"id" : "2de986dda91f7c7e3a51470aa43abfa2c6fd363b742d1bbd38d5287ae179b83a" ,
"check" : "naming-convention" ,
"impact" : "Informational" ,
"confidence" : "High"
} ,
{
"elements" : [
{
"type" : "variable" ,
"name" : "Var_One" ,
"source_mapping" : {
"start" : 185 ,
"length" : 16 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
11
] ,
"starting_column" : 5 ,
"ending_column" : 21
} ,
"type_specific_fields" : {
"parent" : {
"type" : "contract" ,
"name" : "naming" ,
"source_mapping" : {
"start" : 28 ,
"length" : 642 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
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
] ,
"starting_column" : 1 ,
"ending_column" : 2
}
}
} ,
"additional_fields" : {
"target" : "variable" ,
"convention" : "mixedCase"
}
}
] ,
"description" : "Variable naming.Var_One (tests/detectors/naming-convention/0.6.11/naming_convention.sol#11) is not in mixedCase\n" ,
"markdown" : "Variable [naming.Var_One](tests/detectors/naming-convention/0.6.11/naming_convention.sol#L11) is not in mixedCase\n" ,
"first_markdown_element" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol#L11" ,
"id" : "34b7c817201b3f3086fc3541f140898d9e9aabe999b1c0a6ef8639ec04351f26" ,
"check" : "naming-convention" ,
"impact" : "Informational" ,
"confidence" : "High"
} ,
{
"elements" : [
{
"type" : "variable" ,
"name" : "MY_other_CONSTANT" ,
"source_mapping" : {
"start" : 143 ,
"length" : 35 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
9
] ,
"starting_column" : 5 ,
"ending_column" : 40
} ,
"type_specific_fields" : {
"parent" : {
"type" : "contract" ,
"name" : "naming" ,
"source_mapping" : {
"start" : 28 ,
"length" : 642 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
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
] ,
"starting_column" : 1 ,
"ending_column" : 2
}
}
} ,
"additional_fields" : {
"target" : "variable_constant" ,
"convention" : "UPPER_CASE_WITH_UNDERSCORES"
}
}
] ,
"description" : "Constant naming.MY_other_CONSTANT (tests/detectors/naming-convention/0.6.11/naming_convention.sol#9) is not in UPPER_CASE_WITH_UNDERSCORES\n" ,
"markdown" : "Constant [naming.MY_other_CONSTANT](tests/detectors/naming-convention/0.6.11/naming_convention.sol#L9) is not in UPPER_CASE_WITH_UNDERSCORES\n" ,
"first_markdown_element" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol#L9" ,
"id" : "596c2e8064f8f2df55cd5c878eb59c0a74ac7f20719c420d8af307f2431a1a90" ,
"check" : "naming-convention" ,
"impact" : "Informational" ,
"confidence" : "High"
} ,
{
"elements" : [
{
"type" : "contract" ,
"name" : "naming" ,
"source_mapping" : {
"start" : 28 ,
"length" : 642 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
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
] ,
"starting_column" : 1 ,
"ending_column" : 2
} ,
"additional_fields" : {
"target" : "contract" ,
"convention" : "CapWords"
}
}
] ,
"description" : "Contract naming (tests/detectors/naming-convention/0.6.11/naming_convention.sol#3-48) is not in CapWords\n" ,
"markdown" : "Contract [naming](tests/detectors/naming-convention/0.6.11/naming_convention.sol#L3-L48) is not in CapWords\n" ,
"first_markdown_element" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol#L3-L48" ,
"id" : "7247d550fb327e3aeb21c82714137e5b45a7e9eeaa6a1bc878102c8081033f85" ,
"check" : "naming-convention" ,
"impact" : "Informational" ,
"confidence" : "High"
} ,
{
"elements" : [
{
"type" : "enum" ,
"name" : "numbers" ,
"source_mapping" : {
"start" : 79 ,
"length" : 23 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
6
] ,
"starting_column" : 5 ,
"ending_column" : 28
} ,
"type_specific_fields" : {
"parent" : {
"type" : "contract" ,
"name" : "naming" ,
"source_mapping" : {
"start" : 28 ,
"length" : 642 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
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
] ,
"starting_column" : 1 ,
"ending_column" : 2
}
}
} ,
"additional_fields" : {
"target" : "enum" ,
"convention" : "CapWords"
}
}
] ,
"description" : "Enum naming.numbers (tests/detectors/naming-convention/0.6.11/naming_convention.sol#6) is not in CapWords\n" ,
"markdown" : "Enum [naming.numbers](tests/detectors/naming-convention/0.6.11/naming_convention.sol#L6) is not in CapWords\n" ,
"first_markdown_element" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol#L6" ,
"id" : "7c87b076ea2865060182cf11d155caadb1dcea415ccce0ca8563a74a01611fc2" ,
"check" : "naming-convention" ,
"impact" : "Informational" ,
"confidence" : "High"
} ,
{
"elements" : [
{
"type" : "variable" ,
"name" : "_used" ,
"source_mapping" : {
"start" : 794 ,
"length" : 10 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
59
] ,
"starting_column" : 33 ,
"ending_column" : 43
} ,
"type_specific_fields" : {
"parent" : {
"type" : "function" ,
"name" : "test" ,
"source_mapping" : {
"start" : 766 ,
"length" : 84 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
59 ,
60
] ,
"starting_column" : 5 ,
"ending_column" : 23
} ,
"type_specific_fields" : {
"parent" : {
"type" : "contract" ,
"name" : "T" ,
"source_mapping" : {
"start" : 692 ,
"length" : 253 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
54 ,
55 ,
56 ,
57 ,
58 ,
59 ,
60 ,
61 ,
62 ,
63 ,
64 ,
65 ,
66 ,
67 ,
68 ,
69 ,
70
] ,
"starting_column" : 1 ,
"ending_column" : 2
}
} ,
"signature" : "test(uint256,uint256)"
}
}
} ,
"additional_fields" : {
"target" : "parameter" ,
"convention" : "mixedCase"
}
}
] ,
"description" : "Parameter T.test(uint256,uint256)._used (tests/detectors/naming-convention/0.6.11/naming_convention.sol#59) is not in mixedCase\n" ,
"markdown" : "Parameter [T.test(uint256,uint256)._used](tests/detectors/naming-convention/0.6.11/naming_convention.sol#L59) is not in mixedCase\n" ,
"first_markdown_element" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol#L59" ,
"id" : "818962ad9f50f13eb87b5c7deade22666431945fb60055f572b38246cfbf311e" ,
"check" : "naming-convention" ,
"impact" : "Informational" ,
"confidence" : "High"
} ,
{
"elements" : [
{
"type" : "variable" ,
"name" : "_myPublicVar" ,
"source_mapping" : {
"start" : 741 ,
"length" : 17 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
56
] ,
"starting_column" : 5 ,
"ending_column" : 22
} ,
"type_specific_fields" : {
"parent" : {
"type" : "contract" ,
"name" : "T" ,
"source_mapping" : {
"start" : 692 ,
"length" : 253 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
54 ,
55 ,
56 ,
57 ,
58 ,
59 ,
60 ,
61 ,
62 ,
63 ,
64 ,
65 ,
66 ,
67 ,
68 ,
69 ,
70
] ,
"starting_column" : 1 ,
"ending_column" : 2
}
}
} ,
"additional_fields" : {
"target" : "variable" ,
"convention" : "mixedCase"
}
}
] ,
"description" : "Variable T._myPublicVar (tests/detectors/naming-convention/0.6.11/naming_convention.sol#56) is not in mixedCase\n" ,
"markdown" : "Variable [T._myPublicVar](tests/detectors/naming-convention/0.6.11/naming_convention.sol#L56) is not in mixedCase\n" ,
"first_markdown_element" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol#L56" ,
"id" : "8acd53815786acad5b92b51366daf79182a67ab438daa41a6e1ec8a9601fa9a3" ,
"check" : "naming-convention" ,
"impact" : "Informational" ,
"confidence" : "High"
} ,
{
"elements" : [
{
"type" : "event" ,
"name" : "event_" ,
"source_mapping" : {
"start" : 335 ,
"length" : 19 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
23
] ,
"starting_column" : 5 ,
"ending_column" : 24
} ,
"type_specific_fields" : {
"parent" : {
"type" : "contract" ,
"name" : "naming" ,
"source_mapping" : {
"start" : 28 ,
"length" : 642 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
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
] ,
"starting_column" : 1 ,
"ending_column" : 2
}
} ,
"signature" : "event_(uint256)"
} ,
"additional_fields" : {
"target" : "event" ,
"convention" : "CapWords"
}
}
] ,
"description" : "Event namingevent_(uint256) (tests/detectors/naming-convention/0.6.11/naming_convention.sol#23) is not in CapWords\n" ,
"markdown" : "Event [namingevent_(uint256)](tests/detectors/naming-convention/0.6.11/naming_convention.sol#L23) is not in CapWords\n" ,
"first_markdown_element" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol#L23" ,
"id" : "978ecf4a2c8b96d947e60f6601cf60d0e25e07ebe80ebbc37a7e7f279afd1405" ,
"check" : "naming-convention" ,
"impact" : "Informational" ,
"confidence" : "High"
} ,
{
"elements" : [
{
"type" : "variable" ,
"name" : "O" ,
"source_mapping" : {
"start" : 916 ,
"length" : 10 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
68
] ,
"starting_column" : 5 ,
"ending_column" : 15
} ,
"type_specific_fields" : {
"parent" : {
"type" : "contract" ,
"name" : "T" ,
"source_mapping" : {
"start" : 692 ,
"length" : 253 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
54 ,
55 ,
56 ,
57 ,
58 ,
59 ,
60 ,
61 ,
62 ,
63 ,
64 ,
65 ,
66 ,
67 ,
68 ,
69 ,
70
] ,
"starting_column" : 1 ,
"ending_column" : 2
}
}
} ,
"additional_fields" : {
"target" : "variable" ,
"convention" : "l_O_I_should_not_be_used"
}
}
] ,
"description" : "Variable T.O (tests/detectors/naming-convention/0.6.11/naming_convention.sol#68) is single letter l, O, or I, which should not be used\n" ,
"markdown" : "Variable [T.O](tests/detectors/naming-convention/0.6.11/naming_convention.sol#L68) is single letter l, O, or I, which should not be used\n" ,
"first_markdown_element" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol#L68" ,
"id" : "b341001642225c62eae76fef9879c80003b3134b3bc627d9b1912ebcd190304b" ,
"check" : "naming-convention" ,
"impact" : "Informational" ,
"confidence" : "High"
} ,
{
"elements" : [
{
"type" : "function" ,
"name" : "CantDo" ,
"source_mapping" : {
"start" : 591 ,
"length" : 36 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
41 ,
42 ,
43
] ,
"starting_column" : 5 ,
"ending_column" : 6
} ,
"type_specific_fields" : {
"parent" : {
"type" : "contract" ,
"name" : "naming" ,
"source_mapping" : {
"start" : 28 ,
"length" : 642 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
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
] ,
"starting_column" : 1 ,
"ending_column" : 2
}
} ,
"signature" : "CantDo()"
} ,
"additional_fields" : {
"target" : "modifier" ,
"convention" : "mixedCase"
}
}
] ,
"description" : "Modifier naming.CantDo() (tests/detectors/naming-convention/0.6.11/naming_convention.sol#41-43) is not in mixedCase\n" ,
"markdown" : "Modifier [naming.CantDo()](tests/detectors/naming-convention/0.6.11/naming_convention.sol#L41-L43) is not in mixedCase\n" ,
"first_markdown_element" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol#L41-L43" ,
"id" : "b8a754a01bd47127f00032cdedd0ade3e27e6543631d8f5bc9e44365ab732895" ,
"check" : "naming-convention" ,
"impact" : "Informational" ,
"confidence" : "High"
} ,
{
"elements" : [
{
"type" : "function" ,
"name" : "GetOne" ,
"source_mapping" : {
"start" : 440 ,
"length" : 75 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
30 ,
31 ,
32 ,
33
] ,
"starting_column" : 5 ,
"ending_column" : 6
} ,
"type_specific_fields" : {
"parent" : {
"type" : "contract" ,
"name" : "naming" ,
"source_mapping" : {
"start" : 28 ,
"length" : 642 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
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
] ,
"starting_column" : 1 ,
"ending_column" : 2
}
} ,
"signature" : "GetOne()"
} ,
"additional_fields" : {
"target" : "function" ,
"convention" : "mixedCase"
}
}
] ,
"description" : "Function naming.GetOne() (tests/detectors/naming-convention/0.6.11/naming_convention.sol#30-33) is not in mixedCase\n" ,
"markdown" : "Function [naming.GetOne()](tests/detectors/naming-convention/0.6.11/naming_convention.sol#L30-L33) is not in mixedCase\n" ,
"first_markdown_element" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol#L30-L33" ,
"id" : "bf6f97d6a82b84284efdade52d01bd6112007426e2e88d1568190d63c5c4a049" ,
"check" : "naming-convention" ,
"impact" : "Informational" ,
"confidence" : "High"
} ,
{
"elements" : [
{
"type" : "variable" ,
"name" : "l" ,
"source_mapping" : {
"start" : 900 ,
"length" : 10 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
67
] ,
"starting_column" : 5 ,
"ending_column" : 15
} ,
"type_specific_fields" : {
"parent" : {
"type" : "contract" ,
"name" : "T" ,
"source_mapping" : {
"start" : 692 ,
"length" : 253 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
54 ,
55 ,
56 ,
57 ,
58 ,
59 ,
60 ,
61 ,
62 ,
63 ,
64 ,
65 ,
66 ,
67 ,
68 ,
69 ,
70
] ,
"starting_column" : 1 ,
"ending_column" : 2
}
}
} ,
"additional_fields" : {
"target" : "variable" ,
"convention" : "l_O_I_should_not_be_used"
}
}
] ,
"description" : "Variable T.l (tests/detectors/naming-convention/0.6.11/naming_convention.sol#67) is single letter l, O, or I, which should not be used\n" ,
"markdown" : "Variable [T.l](tests/detectors/naming-convention/0.6.11/naming_convention.sol#L67) is single letter l, O, or I, which should not be used\n" ,
"first_markdown_element" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol#L67" ,
"id" : "cb8668afe6ed1284c935ac95f8f9cb1407f96226fe741e7310d104d5f10a0fc6" ,
"check" : "naming-convention" ,
"impact" : "Informational" ,
"confidence" : "High"
} ,
{
"elements" : [
{
"type" : "variable" ,
"name" : "Number2" ,
"source_mapping" : {
"start" : 551 ,
"length" : 12 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
35
] ,
"starting_column" : 35 ,
"ending_column" : 47
} ,
"type_specific_fields" : {
"parent" : {
"type" : "function" ,
"name" : "setInt" ,
"source_mapping" : {
"start" : 521 ,
"length" : 63 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
35 ,
36 ,
37 ,
38
] ,
"starting_column" : 5 ,
"ending_column" : 6
} ,
"type_specific_fields" : {
"parent" : {
"type" : "contract" ,
"name" : "naming" ,
"source_mapping" : {
"start" : 28 ,
"length" : 642 ,
"filename_relative" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"filename_absolute" : "/GENERIC_PATH" ,
"filename_short" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol" ,
"is_dependency" : false ,
"lines" : [
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
] ,
"starting_column" : 1 ,
"ending_column" : 2
}
} ,
"signature" : "setInt(uint256,uint256)"
}
}
} ,
"additional_fields" : {
"target" : "parameter" ,
"convention" : "mixedCase"
}
}
] ,
"description" : "Parameter naming.setInt(uint256,uint256).Number2 (tests/detectors/naming-convention/0.6.11/naming_convention.sol#35) is not in mixedCase\n" ,
"markdown" : "Parameter [naming.setInt(uint256,uint256).Number2](tests/detectors/naming-convention/0.6.11/naming_convention.sol#L35) is not in mixedCase\n" ,
"first_markdown_element" : "tests/detectors/naming-convention/0.6.11/naming_convention.sol#L35" ,
"id" : "f03bff0b488524254e19ff7d688d34211cd2f29934e22417c9f1fa43fc4a08ad" ,
"check" : "naming-convention" ,
"impact" : "Informational" ,
"confidence" : "High"
}
]
]