diff options
Diffstat (limited to 'it/it-projects/batch/xoo-multi-languages')
5 files changed, 48 insertions, 0 deletions
diff --git a/it/it-projects/batch/xoo-multi-languages/sonar-project.properties b/it/it-projects/batch/xoo-multi-languages/sonar-project.properties new file mode 100644 index 00000000000..a2941788c41 --- /dev/null +++ b/it/it-projects/batch/xoo-multi-languages/sonar-project.properties @@ -0,0 +1,4 @@ +sonar.projectKey=multi-language-sample +sonar.projectName=Multi-Language Sample +sonar.projectVersion=1.0-SNAPSHOT +sonar.sources=src diff --git a/it/it-projects/batch/xoo-multi-languages/src/sample/Sample.xoo b/it/it-projects/batch/xoo-multi-languages/src/sample/Sample.xoo new file mode 100644 index 00000000000..b1210973dd9 --- /dev/null +++ b/it/it-projects/batch/xoo-multi-languages/src/sample/Sample.xoo @@ -0,0 +1,12 @@ +package sample; + +public class Sample { + + public Sample(int i) { + int j = i++; + } + + private String myMethod() { + return "hello"; + } +} diff --git a/it/it-projects/batch/xoo-multi-languages/src/sample/Sample.xoo.measures b/it/it-projects/batch/xoo-multi-languages/src/sample/Sample.xoo.measures new file mode 100644 index 00000000000..ab1671431fc --- /dev/null +++ b/it/it-projects/batch/xoo-multi-languages/src/sample/Sample.xoo.measures @@ -0,0 +1,10 @@ +ncloc:13 +#Used by dashboard/widgets tests +complexity_in_classes:3 +classes:1 +comment_lines:3 +public_api:5 +public_undocumented_api:2 +duplicated_files:1 +duplicated_blocks:2 +duplicated_lines:3 diff --git a/it/it-projects/batch/xoo-multi-languages/src/sample/Sample.xoo2 b/it/it-projects/batch/xoo-multi-languages/src/sample/Sample.xoo2 new file mode 100644 index 00000000000..b1210973dd9 --- /dev/null +++ b/it/it-projects/batch/xoo-multi-languages/src/sample/Sample.xoo2 @@ -0,0 +1,12 @@ +package sample; + +public class Sample { + + public Sample(int i) { + int j = i++; + } + + private String myMethod() { + return "hello"; + } +} diff --git a/it/it-projects/batch/xoo-multi-languages/src/sample/Sample.xoo2.measures b/it/it-projects/batch/xoo-multi-languages/src/sample/Sample.xoo2.measures new file mode 100644 index 00000000000..ab1671431fc --- /dev/null +++ b/it/it-projects/batch/xoo-multi-languages/src/sample/Sample.xoo2.measures @@ -0,0 +1,10 @@ +ncloc:13 +#Used by dashboard/widgets tests +complexity_in_classes:3 +classes:1 +comment_lines:3 +public_api:5 +public_undocumented_api:2 +duplicated_files:1 +duplicated_blocks:2 +duplicated_lines:3 |