h2oai / h2o4gpu

H2Oai GPU Edition
Apache License 2.0
458 stars 96 forks source link

Look into static code analysis tools #92

Open mdymczyk opened 6 years ago

mdymczyk commented 6 years ago

Something like SonarQube might be very useful to catch potential bugs (especially memory leaks, deadlocks etc.) and vulnerabilities.

pseudotensor commented 6 years ago

Ya, the more checks the better. For non-static checks, should also have tests that run valgrind and cuda-memcheck . This is very easy, just have Makefile with "make test" that has these in front instead of only pytest, and check how many issues pop up (if any)