Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Viewing source code

There are currently 3 ways you can drill down to source code in Sonar:

  1. Through Measures drill down
  2. Through Violations drill down
  3. Through the classes clouds

Though the last one is slightly different in the way it appears (through tabs), the functionality is exactly the same in the three cases.

At the top, some information about the class.

In the middle, 3 tabs representing 3 different views on the code source. At the bottom, the code source contextualized, depending on the chosen tab.

The Sources tab

This tab shows the source code as is, without any comment.

The code coverage tab

The code coverage tab shows the source code annotated with extra informations and colors showing the code coverage.

  • No labels