chen3feng / stl4go

Generic Container and Algorithm Library for Go
Apache License 2.0
313 stars 49 forks source link

improve the code robustness of slist #115

Closed wjiec closed 1 year ago

wjiec commented 1 year ago
  1. use explicit panic instead of runtime errors such as null pointers
  2. add test cases for SList.Front and SList.Back
  3. sListIterator uniformly uses the same type of receiver(Go recommended)
sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 3923059014

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Totals Coverage Status
Change from base Build 3890411830: 0.0%
Covered Lines: 1782
Relevant Lines: 1782

💛 - Coveralls
chen3feng commented 1 year ago

Many thanks for your contributions.