Refactor: break down DeploySmartContract into smaller methods to improve readability #3448
74.38% of diff hit (within 100.00% threshold of 90.72%)
View this Pull Request on Codecov
74.38% of diff hit (within 100.00% threshold of 90.72%)
Annotations
Check warning on line 324 in contract/AElf.Contracts.Genesis/BasicContractZero.cs
codecov / codecov/patch
contract/AElf.Contracts.Genesis/BasicContractZero.cs#L322-L324
Added lines #L322 - L324 were not covered by tests
Check warning on line 504 in contract/AElf.Contracts.Genesis/BasicContractZero.cs
codecov / codecov/patch
contract/AElf.Contracts.Genesis/BasicContractZero.cs#L499-L504
Added lines #L499 - L504 were not covered by tests
Check warning on line 58 in contract/AElf.Contracts.Genesis/BasicContractZero_Helper.cs
codecov / codecov/patch
contract/AElf.Contracts.Genesis/BasicContractZero_Helper.cs#L56-L58
Added lines #L56 - L58 were not covered by tests
Check warning on line 25 in contract/AElf.Contracts.Genesis/Extensions.cs
codecov / codecov/patch
contract/AElf.Contracts.Genesis/Extensions.cs#L22-L25
Added lines #L22 - L25 were not covered by tests
Check warning on line 31 in contract/AElf.Contracts.Genesis/Extensions.cs
codecov / codecov/patch
contract/AElf.Contracts.Genesis/Extensions.cs#L28-L31
Added lines #L28 - L31 were not covered by tests
Check warning on line 93 in contract/AElf.Contracts.Genesis/Extensions.cs
codecov / codecov/patch
contract/AElf.Contracts.Genesis/Extensions.cs#L90-L93
Added lines #L90 - L93 were not covered by tests
Check warning on line 110 in contract/AElf.Contracts.Genesis/Extensions.cs
codecov / codecov/patch
contract/AElf.Contracts.Genesis/Extensions.cs#L109-L110
Added lines #L109 - L110 were not covered by tests
Check warning on line 113 in contract/AElf.Contracts.Genesis/Extensions.cs
codecov / codecov/patch
contract/AElf.Contracts.Genesis/Extensions.cs#L113
Added line #L113 was not covered by tests