samples/checkstyle.xml
<?xml version='1.0'?>
<checkstyle>
<file name='samples/smelly_source/smelly.rb'>
<error column='0' line='4' message='has the name 'x'' severity='warning' source='UncommunicativeMethodName'/>
<error column='0' line='5' message='has the variable name 'y'' severity='warning' source='UncommunicativeVariableName'/>
</file>
</checkstyle>