Using SourceMonitor xml command file, I'm trying to analyze a whole checked out repository from Git that I know for a fact that it has both C and C++ code in the same directory.
This a snippet of my XML command file.
<?xml version="1.0" encoding="utf-8"?>
<sourcemonitor_commands>
<command>
<project_file>testproj.smproj</project_file>
<checkpoint_name>Baseline</checkpoint_name>
<project_language>C++</project_language>
<source_directory>C:\Users\....</source_directory>
.......
</command>
In the GUI I added manually other type of extensions and it worked! I tried adding this line in the above xml file but this resulted in zero values for the metrics for the .C files:
<file_extensions>*.h,*.cpp,*.c,*.pdl</file_extensions>
What am I doing wrong? and is this even possible? I want to do it all in just one SourceMonitor project not more than that.