It is possible to check compliance with coding standards on both source code and unit tests code.
To monitor the compliance with coding standards, add the Issues and Technical Debt widget to your dashboard:
The Technical Debt is the effort in days to fix all the issues. The technical debt can be broken down by characteristic (Technical Debt Pyramid widget).
Use the differential views to monitor new issues.
You can set your coding standards (active coding rules, severity, etc.) through the Quality Profiles administration page.