cam
cam copied to clipboard
Add number of metrics analyzer
@yegor256 In this PR, I added:
- Complex Java class to check number of metrics
- Check that number is equivalent with number of metrics of simple Java class Foo
Now the result of sudo make test TEST=tests/steps/test-measure-file.sh
steps/test-measure-file.sh:
๐๐ป Single file measured correctly
๐๐ป Broken syntax measured and error log created
๐๐ป Complex file measured correctly
๐๐ป Number of metrics matches for simple and complex Java files: 62 metrics