Fabrice BELLINGARD | SonarSource SonarQube Platform Product Manager http://sonarsource.com |
- Staging Documentation: http://docs.sonarqube.org/display/SONARNEXT/Documentation
Quick feedback:
1. Having added new lines to the main dashboard and new small squares, it became quite difficult to read. Example, where should my eyes focus on this page :
2. I don't get why you're using "your own" quality model instead of using ISO 25010. http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=35733 I would say that reinventing the wheel is a bad practice ;-)
3. Plenty of issues that you put in the "code smells" category aren't code smells, but a lack of respect for conventions... (using a tab instead of a space isn't one, not complying with a naming convention isn't one either.)
According to Martin Fowler, "a code smell is a surface indication that usually corresponds to a deeper problem in the system".
4. Measures part : nice (I'll be able to remove custom dashboards with the same charts), however, from a usability perspective the "General" tab should be first, after the "all" tab, and in each section the "rating" line should come first.
5. Measures -> issues : the table is difficult to read, it would be better to have a 1st table with two columns "total" and "new" for each type, and a 2nd with "open", "reopened" ...
6. Measures -> all "tabs" : visual glitch such as the following (you should round the number to two digits)
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/8125d1f9-e472-4d7f-a79a-969fb3d5fe9f%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
Checking that the database is in UTF-8 is nice, however there is a small problem with MySQL as I can see (well, I use PostgreSQL so I'm not affected): from logs that I could see the charset used is utf8; however this will fail to store characters outside of the BMP correctly; for this you need utf8mb4.
I take it you can't upgrade the charset of a MySQL database like that, can you?
Regards,
2. I don't get why you're using "your own" quality model instead of using ISO 25010. http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=35733 I would say that reinventing the wheel is a bad practice ;-)
3. Plenty of issues that you put in the "code smells" category aren't code smells, but a lack of respect for conventions... (using a tab instead of a space isn't one, not complying with a naming convention isn't one either.)
According to Martin Fowler, "a code smell is a surface indication that usually corresponds to a deeper problem in the system".
4. Measures part : nice (I'll be able to remove custom dashboards with the same charts),
however, from a usability perspective the "General" tab should be first, after the "all" tab, and in each section the "rating" line should come first.
5. Measures -> issues : the table is difficult to read, it would be better to have a 1st table with two columns "total" and "new" for each type, and a 2nd with "open", "reopened" ...
6. Measures -> all "tabs" : visual glitch such as the following (you should round the number to two digits)
--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/c609bd0b-53af-4c6a-8d51-78749a2d372e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The idea of "bugs" and "vulnerabilities" is a sound one, but "code smells" is not properly named for the maintainability characteristic and not all "other issues" are maintainability issues. I can't stress this enough. For example, if I enable issue reporting for cyclomatic complexity of methods, this is not a code smell but still an "issue" that effects maintainability and testability. In addition, only some convention-oriented rules are code smells, but not all of them.
What about performance issues? Performance is an efficiency problem and not a reliability, security, or maintainability problem.
I think the 9 classifications in the technical debt pyramid are a much better way of categorizing issues.
Eye tracking on the measures page is an issue even for me, despite row highlighting with mouse-over.
The drilldown views of the measures is a good improvement. Overall, I find the initial Measures page to be of little value. I much preferred the dashboard breakdowns seen in 5.4 because it offers a better way of visualizing problem areas. I don't like it just because the graphs are pretty, but because the graphs are effective. The current view just throws a bunch of numbers in your face and does a horrible job of showing me that there's a problem whatsoever. It's more like a stat sheet that you'd send to a manager or copy into excel.
--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/c05d8caa-fc49-4331-b997-c3c306c6905c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The most important piece of information is the one not displayed in the provided screenshot : the quality gate status at the top of the page :)
I don't think that the new "Bugs & Vulnerabilities" section highly impacts by itself the readability of this page but indeed the new small squares might. We did several trials and unhappily we don't have a better one for the time-being.
2. I don't get why you're using "your own" quality model instead of using ISO 25010. http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=35733 I would say that reinventing the wheel is a bad practice ;-)
I would not say that we've reinventing the wheel. We've just improved the old quality model by fixing its known limitations :
- Before 5.5: all issues were taken into account to compute the SQALE Rating -> but this rating was mainly designed to estimate the maintainability level of an application/piece of code (technical debt metaphor). What's the point to take into account in this SQALE Rating, the cost to fix some bugs or security vulnerabilities ? Moreover, it was possible to have a "A" SQALE rating with ton of blocker bugs -> Houston, we've a problem !
- After 5.5: issues that are considered as operational risks are either Bugs or Vulnerabilites and they are not anymore taken into account to compute the SQALE rating.
- Before 5.5: it was possible to split the technical debt by characteristics and sub-characteristics ? This feature was not so widely used so we've decided to drop it -> Less is More. The tagging mechanism is far more flexible to classify/group issues.
- If you manage to find the pages in the ISO 25010 standard explaining how to implement this quality model and make it very actionable for developers, I'll invite you to the restaurant Michel :)
3. Plenty of issues that you put in the "code smells" category aren't code smells, but a lack of respect for conventions... (using a tab instead of a space isn't one, not complying with a naming convention isn't one either.)
According to Martin Fowler, "a code smell is a surface indication that usually corresponds to a deeper problem in the system".
If you would have said : "Some of issues that you put in the 'code smells' category aren't code smells" I would have agreed, but "Plenty", I disagree. We needed a name to group/classify all the "maintainability" issues. The issues that impact the ability to inject some changes in a piece of code. And "Code Smells" is the most suitable term. If you have a look to https://en.wikipedia.org/wiki/Code_smell, naming conventions are also listed.
Thanks for your feedback Michel !Freddy
Freddy,
Thanks for the reply.
While there is not an official definition of what constitutes a code smell, I have a hard time seeing how Javadoc or comment violations could be considered code smells. They aren't code.
Regards,
Matt
We get http 400 errors when we try to add metrics that start with "New ..." on a quality gate. The other types of metrics work fine.
Other possible quality gate improvements:- It would be nice to have the option to restore the built-in quality gate, like it is possible to do with quality profiles. Someone deleted the default one on our server.
- For a large enterprise, it is not ideal to have to give global permissions to administer gates and profiles. Most teams want their own profile and we have 100k employees, ie. a lot of teams. One possible improvement would be to give on-demand "time-limited" permission to users; that permission could expire after 20 minutes or 1 hour. I think Jira does something like that. SonarQube could also keep an audit trail of who requested permission.
Creating, importing or changing the parent of quality profiles are still extremely slow operations in 5.5. I've seen simple cases take up to 30 minutes. Anything we could do there? Elasticsearch seems to timeout a lot. Is there a way to increase its timeout? Our storage might not be the fastest but our data/es index is only 1GB.
On another note, we like the new bugs and vulnerability metrics.
We also have an issue with the new "Code smell" name though. Would something like "Technical issues" be a better name? It could fit well with the related "Technical debt".
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/531b7e96-c86a-403f-ab68-fa95c4228376%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.