d4x1 commented on issue #7765: URL: https://github.com/apache/incubator-devlake/issues/7765#issuecomment-2247133685
@martynvdijke Thanks for your issue. How to process Code Quality is a difficult question. I cannot answer your question at once, but here are some information and my ideas I can provide. We have only one datasource SonarQube, that belongs to `DOMAIN_TYPE_CODE_QUALITY` at present, and the domain layer tables which as be found https://github.com/apache/incubator-devlake/tree/main/backend/core/models/domainlayer/codequality are mapped from SonarQube's data models directly. As for your questions, 1. "I am not sure if you are thinking about adding a generic webook data model, so that special use cases can or extra data can be added ?" You can describe it in detail, adding a webhook is easy, but what do you mean by `adding a GENRIC webhook data model`? 2. "Fine tune the number of tests vs times" You can a. try to build a relation: incident -> line of code -> test, tests with a high incident rate should be run as much as possible. b. calculate the overlap of tests, and mark some tests are more efficient. We haven't received enough feedbacks about code quality, so you can give us some advice on it. We can explore it together. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
