diff --git a/reports/report.json b/reports/report.json index dc2a2534e..a0cd94a4c 100644 --- a/reports/report.json +++ b/reports/report.json @@ -1,7 +1,7 @@ { "files_summary": { "total_source_units": 74, - "total_sloc": 2089 + "total_sloc": 2094 }, "files_details": { "files_details": [ @@ -163,7 +163,7 @@ }, { "file_path": "src/StateVariablesWritten.sol", - "n_sloc": 93 + "n_sloc": 98 }, { "file_path": "src/StorageConditionals.sol", @@ -2140,9 +2140,9 @@ }, { "contract_path": "src/StateVariablesWritten.sol", - "line_no": 58, - "src": "1706:22", - "src_char": "1706:22" + "line_no": 59, + "src": "1733:22", + "src_char": "1733:22" }, { "contract_path": "src/ZeroAddressCheck.sol", @@ -2231,15 +2231,15 @@ }, { "contract_path": "src/StateVariablesWritten.sol", - "line_no": 32, - "src": "931:8", - "src_char": "931:8" + "line_no": 33, + "src": "958:8", + "src_char": "958:8" }, { "contract_path": "src/StateVariablesWritten.sol", - "line_no": 47, - "src": "1387:12", - "src_char": "1387:12" + "line_no": 48, + "src": "1414:12", + "src_char": "1414:12" }, { "contract_path": "src/UninitializedStateVariable.sol", diff --git a/reports/report.md b/reports/report.md index 56e894669..ef795c423 100644 --- a/reports/report.md +++ b/reports/report.md @@ -75,7 +75,7 @@ This report was generated by [Aderyn](https://github.com/Cyfrin/aderyn), a stati | Key | Value | | --- | --- | | .sol Files | 74 | -| Total nSLOC | 2089 | +| Total nSLOC | 2094 | ## Files Details @@ -121,7 +121,7 @@ This report was generated by [Aderyn](https://github.com/Cyfrin/aderyn), a stati | src/SendEtherNoChecks.sol | 58 | | src/StateShadowing.sol | 17 | | src/StateVariables.sol | 58 | -| src/StateVariablesWritten.sol | 93 | +| src/StateVariablesWritten.sol | 98 | | src/StorageConditionals.sol | 59 | | src/StorageParameters.sol | 16 | | src/T11sTranferer.sol | 8 | @@ -156,7 +156,7 @@ This report was generated by [Aderyn](https://github.com/Cyfrin/aderyn), a stati | src/reused_contract_name/ContractB.sol | 7 | | src/uniswap/UniswapV2Swapper.sol | 50 | | src/uniswap/UniswapV3Swapper.sol | 150 | -| **Total** | **2089** | +| **Total** | **2094** | ## Issue Summary @@ -2155,7 +2155,7 @@ Check for `address(0)` when assigning values to address state variables. addr = newAddr; ``` -- Found in src/StateVariablesWritten.sol [Line: 58](../tests/contract-playground/src/StateVariablesWritten.sol#L58) +- Found in src/StateVariablesWritten.sol [Line: 59](../tests/contract-playground/src/StateVariablesWritten.sol#L59) ```solidity simpleAddress = _value; @@ -2250,13 +2250,13 @@ Instead of marking a function as `public`, consider marking it as `external` if function setNonEmptyAlteredNumbers( ``` -- Found in src/StateVariablesWritten.sol [Line: 32](../tests/contract-playground/src/StateVariablesWritten.sol#L32) +- Found in src/StateVariablesWritten.sol [Line: 33](../tests/contract-playground/src/StateVariablesWritten.sol#L33) ```solidity function addValue(address _user, uint256 _id, int64 _value) public { ``` -- Found in src/StateVariablesWritten.sol [Line: 47](../tests/contract-playground/src/StateVariablesWritten.sol#L47) +- Found in src/StateVariablesWritten.sol [Line: 48](../tests/contract-playground/src/StateVariablesWritten.sol#L48) ```solidity function deleteValues(address _user, uint256 _id) public { diff --git a/reports/report.sarif b/reports/report.sarif index 2452bf8ed..c9de6ea11 100644 --- a/reports/report.sarif +++ b/reports/report.sarif @@ -3205,7 +3205,7 @@ }, "region": { "byteLength": 22, - "byteOffset": 1706 + "byteOffset": 1733 } } }, @@ -3368,7 +3368,7 @@ }, "region": { "byteLength": 8, - "byteOffset": 931 + "byteOffset": 958 } } }, @@ -3379,7 +3379,7 @@ }, "region": { "byteLength": 12, - "byteOffset": 1387 + "byteOffset": 1414 } } },