├── .github └── CODEOWNERS ├── .gitignore ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── SECURITY.md ├── angular ├── README.md ├── angular.json ├── build.sh ├── karma.conf.js ├── package-lock.json ├── package.json ├── sonar-project.properties ├── src │ ├── app │ │ ├── app.component.html │ │ ├── app.component.scss │ │ ├── app.component.spec.ts │ │ ├── app.component.ts │ │ ├── app.config.ts │ │ └── app.routes.ts │ ├── assets │ │ ├── .gitkeep │ │ └── sonar-logo-horizontal.svg │ ├── favicon.ico │ ├── index.html │ ├── main.ts │ └── styles.scss ├── tsconfig.app.json ├── tsconfig.json └── tsconfig.spec.json ├── branches ├── README.md ├── analyze-branches.sh ├── sonar-project.properties └── src │ └── helloworld │ ├── HelloWorld.java │ └── HelloWorld.java.orig ├── complexity ├── README.md ├── sonar-project.properties └── src │ └── Complexity.java ├── coverage-metrics ├── .gitignore ├── README.md ├── build.sh ├── pom.xml └── src │ ├── frontend │ └── person.js │ ├── main │ └── java │ │ └── coverage_metrics │ │ └── CoverageMetrics.java │ └── test │ └── java │ └── coverage_metrics │ ├── CoverageMetricsTest.java │ ├── CoverageMetricsTest.java.ut1 │ └── CoverageMetricsTest.java.ut2 ├── cpp-scan ├── .gitignore ├── README.md ├── build.sh ├── clang-tidy-to-sonar.py ├── convert-compile-commands.py ├── download-build-wrapper.sh ├── makefile ├── sonar-project.properties └── src │ ├── BiggestUnInt.cc │ ├── HelloWorld.cc │ └── SimpleClass.cc ├── external-issues ├── .gitignore ├── README.md ├── compensation.lint ├── issues.json ├── linters │ ├── checkstyle-8.16-all.jar │ └── detekt-cli-1.0.0-RC12-all.jar ├── run-external-linters.sh ├── sonar-project.properties └── src │ ├── employee.js │ ├── go │ ├── HelloWorld.go │ ├── HelloWorld2.go │ ├── HelloWorldShebang.go │ ├── RoundRobinSchedulingAlgorithm.go │ ├── ackermann.go │ ├── args.go │ ├── array.go │ ├── cat.go │ ├── deleteFromSlice.go │ ├── di │ │ ├── dependency_injection.go │ │ └── dependency_injection_test.go │ ├── dir.go │ ├── environment_var.go │ ├── euklid.go │ ├── fibonacci.go │ ├── file.go │ ├── fileserver.go │ ├── fizzbuzz.go │ ├── flag.go │ ├── for.go │ ├── foreach.go │ ├── function.go │ ├── functionvariadic.go │ ├── hashing.go │ ├── http.go │ ├── if.go │ ├── if2.go │ ├── input.go │ ├── interfaces.go │ ├── math.go │ ├── modulo.go │ ├── printf.go │ ├── random.go │ ├── return.go │ ├── scan.go │ ├── shell.go │ ├── slice.go │ ├── sortingInGo.go │ ├── split.go │ ├── sum_of_digits.go │ ├── time.go │ └── var.go │ ├── java │ └── HelloWorld.java │ ├── kt │ └── android-dagger │ │ ├── LICENSE.txt │ │ └── app │ │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── dagger │ │ │ └── kotlin │ │ │ ├── AndroidModule.kt │ │ │ ├── ApplicationComponent.kt │ │ │ ├── BaseApplication.kt │ │ │ ├── DemoActivity.kt │ │ │ ├── DemoApplication.kt │ │ │ ├── ForApplication.kt │ │ │ └── ui │ │ │ └── HomeActivity.kt │ │ └── res │ │ ├── layout │ │ └── activity_main.xml │ │ └── values │ │ ├── strings.xml │ │ └── styles.xml │ └── python │ └── sonarqube │ ├── __init__.py │ ├── components.py │ ├── env.py │ ├── issues.py │ ├── measures.py │ ├── metrics.py │ ├── projects.py │ └── sqobject.py ├── file-renaming ├── README.md ├── analyze.sh ├── rename.sh ├── sonar-project.properties └── src │ └── helloworld │ └── HelloWorld.java ├── metrics-without-scm ├── README.md ├── copybooks │ ├── Attr.cpy │ ├── Custmas.cpy │ ├── Errparm.cpy │ └── MNTSET2.CPY ├── demo.sh ├── sonar-project.properties └── src │ ├── OpenCobol │ ├── Conditions │ │ ├── ClassCondition.cbl │ │ ├── CombinedConditions.cbl │ │ ├── ConditionNameCondition.cbl │ │ ├── ConditionStatement.cbl │ │ ├── EvaluteVerb.cbl │ │ ├── NegatedCondition.cbl │ │ ├── RelationCondition.cbl │ │ └── SignCondition.cbl │ ├── Database │ │ ├── OpenFileRecordKey.cbl │ │ ├── OpenFileSequential.cbl │ │ ├── SequentialRead.cbl │ │ ├── StatusCode.cbl │ │ ├── data.dat │ │ ├── data.txt │ │ └── database.dat │ ├── Date │ │ └── DateAndTime.cbl │ ├── HelloWorld.cbl │ ├── Loops │ │ ├── ForLoop.cbl │ │ └── While.cbl │ ├── Memory │ │ ├── Address.cbl │ │ └── Pointer.cbl │ ├── Random │ │ ├── RandomBingo.cbl │ │ └── RandomNumbers.cbl │ ├── SQLite │ │ ├── Hello_SQLITE.cbl │ │ └── test.db │ ├── Sort │ │ ├── BubbleSort.cbl │ │ ├── InsertSort.cbl │ │ └── SelectSort.cbl │ └── String │ │ └── String.cbl │ ├── custmgt.cbl │ └── custmgt.cbl.2.cbl ├── portfolios ├── README.md ├── bank1 │ ├── build.sh │ ├── sonar-project.properties │ └── src │ │ ├── ComplexMethod.java │ │ └── HelloWorld.java ├── bank2 │ ├── build.sh │ ├── sonar-project.properties │ └── src │ │ ├── complexmethod │ │ └── ComplexMethod.java │ │ └── helloworld │ │ ├── HelloWorld.java │ │ └── HelloWorld2.java ├── bank3 │ ├── build.sh │ ├── sonar-project.properties │ └── src │ │ ├── complexmethod │ │ └── ComplexMethod.java │ │ └── helloworld │ │ └── HelloWorld.java ├── bank4 │ ├── build.sh │ ├── sonar-project.properties │ └── src │ │ ├── complex │ │ └── complexmethod │ │ │ └── ComplexMethod.java │ │ └── hello │ │ └── helloworld │ │ └── HelloWorld.java ├── bank5 │ ├── build.sh │ ├── sonar-project.properties │ └── src │ │ ├── complexmethod │ │ └── ComplexMethod.java │ │ └── helloworld │ │ └── HelloWorld.java ├── bank6 │ ├── build.sh │ ├── sonar-project.properties │ └── src │ │ ├── ComplexMethod.java │ │ └── HelloWorld.java ├── bank7 │ ├── build.sh │ ├── sonar-project.properties │ └── src │ │ ├── ComplexMethod.java │ │ └── HelloWorld.java ├── bank8 │ ├── build.sh │ ├── sonar-project.properties │ └── src │ │ ├── complex │ │ └── complexmethod │ │ │ └── ComplexMethod.java │ │ └── hello │ │ └── helloworld │ │ └── HelloWorld.java ├── bank9 │ ├── LICENSE.txt │ ├── NOTICE.txt │ ├── build.sh │ ├── pom.xml │ ├── server │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── org │ │ │ └── sonarsource │ │ │ └── ldap │ │ │ └── server │ │ │ ├── ApacheDS.java │ │ │ └── package-info.java │ └── sonar-ldap-plugin │ │ ├── pom.xml │ │ └── src │ │ └── main │ │ └── java │ │ └── org │ │ └── sonar │ │ └── plugins │ │ └── ldap │ │ ├── CallbackHandlerImpl.java │ │ ├── ContextHelper.java │ │ ├── Krb5LoginConfiguration.java │ │ ├── LdapAuthenticator.java │ │ ├── LdapAutodiscovery.java │ │ ├── LdapContextFactory.java │ │ ├── LdapException.java │ │ ├── LdapGroupMapping.java │ │ ├── LdapGroupsProvider.java │ │ ├── LdapPlugin.java │ │ ├── LdapRealm.java │ │ ├── LdapSearch.java │ │ ├── LdapSettingsManager.java │ │ ├── LdapUserMapping.java │ │ ├── LdapUsersProvider.java │ │ └── package-info.java ├── create-portfolios.sh ├── delete-portfolios.sh ├── insurance1 │ ├── build.sh │ ├── sonar-project.properties │ └── src │ │ ├── __init__.py │ │ ├── badfortune.py │ │ ├── directory │ │ └── file_in_directory.py │ │ ├── package │ │ ├── __init__.py │ │ └── file_in_package.py │ │ └── samples │ │ ├── __init__.py │ │ ├── fortune.py │ │ ├── letters.py │ │ └── strfile.py ├── insurance2 │ ├── build.sh │ ├── sonar-project.properties │ └── src │ │ └── DeadCode.java ├── portfolios-def.txt ├── scanAllProjects.sh ├── tagAllProjects.sh ├── tier1-web-front-end │ ├── build.sh │ ├── sonar-project.properties │ └── src │ │ ├── ComplexMethod.java │ │ └── HelloWorld.java ├── tier2-biz-logic │ ├── README.md │ ├── build.sh │ └── sonar-ldap │ │ ├── LICENSE.txt │ │ ├── NOTICE.txt │ │ ├── README.md │ │ ├── cix.sh │ │ ├── docker-compose.yml │ │ ├── docker │ │ ├── .gitignore │ │ ├── Dockerfile.ldap │ │ ├── Dockerfile.sonarqube │ │ ├── gen-certs.sh │ │ ├── sonar.properties │ │ └── tester.ldif │ │ ├── it │ │ ├── pom.xml │ │ └── src │ │ │ └── test │ │ │ ├── java │ │ │ └── org │ │ │ │ └── sonarsource │ │ │ │ └── ldap │ │ │ │ └── it │ │ │ │ ├── LdapTest.java │ │ │ │ ├── MultipleLdapTest.java │ │ │ │ ├── ReferralLdapTest.java │ │ │ │ └── utils │ │ │ │ ├── Groups.java │ │ │ │ ├── ItUtils.java │ │ │ │ ├── UserRule.java │ │ │ │ └── Users.java │ │ │ └── resources │ │ │ ├── ldif │ │ │ ├── add-user-without-password.ldif │ │ │ ├── add-user.ldif │ │ │ ├── change-details.ldif │ │ │ ├── change-password.ldif │ │ │ ├── init.ldif │ │ │ ├── ref-base.ldif │ │ │ ├── ref-remote.ldif │ │ │ ├── users.example.org.ldif │ │ │ └── users.infosupport.com.ldif │ │ │ └── logback-test.xml │ │ ├── pom.xml │ │ ├── run-integration-tests.sh │ │ ├── scanner.log │ │ ├── server │ │ ├── pom.xml │ │ └── src │ │ │ ├── main │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── sonarsource │ │ │ │ └── ldap │ │ │ │ └── server │ │ │ │ ├── ApacheDS.java │ │ │ │ └── package-info.java │ │ │ └── test │ │ │ ├── java │ │ │ └── org │ │ │ │ └── sonarsource │ │ │ │ └── ldap │ │ │ │ └── server │ │ │ │ └── ApacheDSTest.java │ │ │ └── resources │ │ │ ├── change.ldif │ │ │ ├── delete.ldif │ │ │ ├── init.ldif │ │ │ └── logback-test.xml │ │ ├── sonar-ldap-plugin │ │ ├── pom.xml │ │ └── src │ │ │ ├── main │ │ │ └── java │ │ │ │ └── org │ │ │ │ ├── pom.xml │ │ │ │ └── sonar │ │ │ │ └── plugins │ │ │ │ └── ldap │ │ │ │ ├── CallbackHandlerImpl.java │ │ │ │ ├── ContextHelper.java │ │ │ │ ├── Krb5LoginConfiguration.java │ │ │ │ ├── LdapAuthenticator.java │ │ │ │ ├── LdapAutodiscovery.java │ │ │ │ ├── LdapContextFactory.java │ │ │ │ ├── LdapException.java │ │ │ │ ├── LdapGroupMapping.java │ │ │ │ ├── LdapGroupsProvider.java │ │ │ │ ├── LdapPlugin.java │ │ │ │ ├── LdapRealm.java │ │ │ │ ├── LdapSearch.java │ │ │ │ ├── LdapSettingsManager.java │ │ │ │ ├── LdapUserMapping.java │ │ │ │ ├── LdapUsersProvider.java │ │ │ │ └── package-info.java │ │ │ └── test │ │ │ ├── java │ │ │ └── org │ │ │ │ └── sonar │ │ │ │ └── plugins │ │ │ │ └── ldap │ │ │ │ ├── CallbackHandlerImplTest.java │ │ │ │ ├── ContextHelperTest.java │ │ │ │ ├── KerberosTest.java │ │ │ │ ├── LdapAuthenticatorTest.java │ │ │ │ ├── LdapAutoDiscoveryWarningLogTest.java │ │ │ │ ├── LdapAutodiscoveryTest.java │ │ │ │ ├── LdapGroupMappingTest.java │ │ │ │ ├── LdapGroupsProviderTest.java │ │ │ │ ├── LdapPluginTest.java │ │ │ │ ├── LdapRealmTest.java │ │ │ │ ├── LdapReferralsTest.java │ │ │ │ ├── LdapSearchTest.java │ │ │ │ ├── LdapSettingsFactory.java │ │ │ │ ├── LdapSettingsManagerTest.java │ │ │ │ ├── LdapUserMappingTest.java │ │ │ │ ├── LdapUsersProviderTest.java │ │ │ │ └── server │ │ │ │ ├── LdapServer.java │ │ │ │ └── Main.java │ │ │ └── resources │ │ │ ├── conf │ │ │ ├── krb5.conf │ │ │ └── sasl_mech.properties │ │ │ ├── krb.ldif │ │ │ ├── logback-test.xml │ │ │ ├── static-groups.example.org.ldif │ │ │ ├── users-apacheds.ldif │ │ │ ├── users.example.org.ldif │ │ │ └── users.infosupport.com.ldif │ │ ├── tags.txt │ │ ├── third-party-licenses.sh │ │ └── travis.sh └── tier3-db-layer │ ├── build.sh │ ├── sonar-project.properties │ └── src │ └── DeadCode.java ├── pull-request ├── README.md ├── scan-pr.sh ├── setup.sh ├── sonar-project.properties └── src │ ├── app.js │ └── person.js ├── security-cs ├── My_API │ ├── Controllers │ │ ├── ValuesController.cs │ │ ├── ValuesController.cs.newCode │ │ └── ValuesDao.cs.newCode │ ├── My_API.csproj │ ├── My_API.sln │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Startup.cs │ ├── appsettings.Development.json │ └── appsettings.json ├── README.md ├── run.bat └── run.sh ├── security ├── .gitignore ├── README.md ├── pom.xml ├── run.sh ├── s3649JavaSqlInjectionConfig.json └── src │ └── main │ └── java │ └── training │ └── security │ └── Insecure.java ├── size-metrics ├── README.md ├── build.sh ├── pom.xml └── src │ ├── main │ └── java │ │ └── size_metrics │ │ └── SizeMetrics.java │ └── test │ └── java │ └── size_metrics │ └── SizeMetricsTest.java └── sqlib.sh /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | .github/CODEOWNERS @sonarsource/solutions-engineering 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/SECURITY.md -------------------------------------------------------------------------------- /angular/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/angular/README.md -------------------------------------------------------------------------------- /angular/angular.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/angular/angular.json -------------------------------------------------------------------------------- /angular/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/angular/build.sh -------------------------------------------------------------------------------- /angular/karma.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/angular/karma.conf.js -------------------------------------------------------------------------------- /angular/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/angular/package-lock.json -------------------------------------------------------------------------------- /angular/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/angular/package.json -------------------------------------------------------------------------------- /angular/sonar-project.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/angular/sonar-project.properties -------------------------------------------------------------------------------- /angular/src/app/app.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/angular/src/app/app.component.html -------------------------------------------------------------------------------- /angular/src/app/app.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/angular/src/app/app.component.scss -------------------------------------------------------------------------------- /angular/src/app/app.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/angular/src/app/app.component.spec.ts -------------------------------------------------------------------------------- /angular/src/app/app.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/angular/src/app/app.component.ts -------------------------------------------------------------------------------- /angular/src/app/app.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/angular/src/app/app.config.ts -------------------------------------------------------------------------------- /angular/src/app/app.routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/angular/src/app/app.routes.ts -------------------------------------------------------------------------------- /angular/src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /angular/src/assets/sonar-logo-horizontal.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/angular/src/assets/sonar-logo-horizontal.svg -------------------------------------------------------------------------------- /angular/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/angular/src/favicon.ico -------------------------------------------------------------------------------- /angular/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/angular/src/index.html -------------------------------------------------------------------------------- /angular/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/angular/src/main.ts -------------------------------------------------------------------------------- /angular/src/styles.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/angular/src/styles.scss -------------------------------------------------------------------------------- /angular/tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/angular/tsconfig.app.json -------------------------------------------------------------------------------- /angular/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/angular/tsconfig.json -------------------------------------------------------------------------------- /angular/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/angular/tsconfig.spec.json -------------------------------------------------------------------------------- /branches/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/branches/README.md -------------------------------------------------------------------------------- /branches/analyze-branches.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/branches/analyze-branches.sh -------------------------------------------------------------------------------- /branches/sonar-project.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/branches/sonar-project.properties -------------------------------------------------------------------------------- /branches/src/helloworld/HelloWorld.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/branches/src/helloworld/HelloWorld.java -------------------------------------------------------------------------------- /branches/src/helloworld/HelloWorld.java.orig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/branches/src/helloworld/HelloWorld.java.orig -------------------------------------------------------------------------------- /complexity/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/complexity/README.md -------------------------------------------------------------------------------- /complexity/sonar-project.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/complexity/sonar-project.properties -------------------------------------------------------------------------------- /complexity/src/Complexity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/complexity/src/Complexity.java -------------------------------------------------------------------------------- /coverage-metrics/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /coverage-metrics/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/coverage-metrics/README.md -------------------------------------------------------------------------------- /coverage-metrics/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/coverage-metrics/build.sh -------------------------------------------------------------------------------- /coverage-metrics/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/coverage-metrics/pom.xml -------------------------------------------------------------------------------- /coverage-metrics/src/frontend/person.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/coverage-metrics/src/frontend/person.js -------------------------------------------------------------------------------- /coverage-metrics/src/main/java/coverage_metrics/CoverageMetrics.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/coverage-metrics/src/main/java/coverage_metrics/CoverageMetrics.java -------------------------------------------------------------------------------- /coverage-metrics/src/test/java/coverage_metrics/CoverageMetricsTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/coverage-metrics/src/test/java/coverage_metrics/CoverageMetricsTest.java -------------------------------------------------------------------------------- /coverage-metrics/src/test/java/coverage_metrics/CoverageMetricsTest.java.ut1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/coverage-metrics/src/test/java/coverage_metrics/CoverageMetricsTest.java.ut1 -------------------------------------------------------------------------------- /coverage-metrics/src/test/java/coverage_metrics/CoverageMetricsTest.java.ut2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/coverage-metrics/src/test/java/coverage_metrics/CoverageMetricsTest.java.ut2 -------------------------------------------------------------------------------- /cpp-scan/.gitignore: -------------------------------------------------------------------------------- 1 | /build/ 2 | /bw-output/ 3 | -------------------------------------------------------------------------------- /cpp-scan/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/cpp-scan/README.md -------------------------------------------------------------------------------- /cpp-scan/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/cpp-scan/build.sh -------------------------------------------------------------------------------- /cpp-scan/clang-tidy-to-sonar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/cpp-scan/clang-tidy-to-sonar.py -------------------------------------------------------------------------------- /cpp-scan/convert-compile-commands.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/cpp-scan/convert-compile-commands.py -------------------------------------------------------------------------------- /cpp-scan/download-build-wrapper.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/cpp-scan/download-build-wrapper.sh -------------------------------------------------------------------------------- /cpp-scan/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/cpp-scan/makefile -------------------------------------------------------------------------------- /cpp-scan/sonar-project.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/cpp-scan/sonar-project.properties -------------------------------------------------------------------------------- /cpp-scan/src/BiggestUnInt.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/cpp-scan/src/BiggestUnInt.cc -------------------------------------------------------------------------------- /cpp-scan/src/HelloWorld.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/cpp-scan/src/HelloWorld.cc -------------------------------------------------------------------------------- /cpp-scan/src/SimpleClass.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/cpp-scan/src/SimpleClass.cc -------------------------------------------------------------------------------- /external-issues/.gitignore: -------------------------------------------------------------------------------- 1 | reports/ -------------------------------------------------------------------------------- /external-issues/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/README.md -------------------------------------------------------------------------------- /external-issues/compensation.lint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/compensation.lint -------------------------------------------------------------------------------- /external-issues/issues.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/issues.json -------------------------------------------------------------------------------- /external-issues/linters/checkstyle-8.16-all.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/linters/checkstyle-8.16-all.jar -------------------------------------------------------------------------------- /external-issues/linters/detekt-cli-1.0.0-RC12-all.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/linters/detekt-cli-1.0.0-RC12-all.jar -------------------------------------------------------------------------------- /external-issues/run-external-linters.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/run-external-linters.sh -------------------------------------------------------------------------------- /external-issues/sonar-project.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/sonar-project.properties -------------------------------------------------------------------------------- /external-issues/src/employee.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/employee.js -------------------------------------------------------------------------------- /external-issues/src/go/HelloWorld.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/HelloWorld.go -------------------------------------------------------------------------------- /external-issues/src/go/HelloWorld2.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/HelloWorld2.go -------------------------------------------------------------------------------- /external-issues/src/go/HelloWorldShebang.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/HelloWorldShebang.go -------------------------------------------------------------------------------- /external-issues/src/go/RoundRobinSchedulingAlgorithm.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/RoundRobinSchedulingAlgorithm.go -------------------------------------------------------------------------------- /external-issues/src/go/ackermann.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/ackermann.go -------------------------------------------------------------------------------- /external-issues/src/go/args.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/args.go -------------------------------------------------------------------------------- /external-issues/src/go/array.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/array.go -------------------------------------------------------------------------------- /external-issues/src/go/cat.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/cat.go -------------------------------------------------------------------------------- /external-issues/src/go/deleteFromSlice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/deleteFromSlice.go -------------------------------------------------------------------------------- /external-issues/src/go/di/dependency_injection.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/di/dependency_injection.go -------------------------------------------------------------------------------- /external-issues/src/go/di/dependency_injection_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/di/dependency_injection_test.go -------------------------------------------------------------------------------- /external-issues/src/go/dir.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/dir.go -------------------------------------------------------------------------------- /external-issues/src/go/environment_var.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/environment_var.go -------------------------------------------------------------------------------- /external-issues/src/go/euklid.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/euklid.go -------------------------------------------------------------------------------- /external-issues/src/go/fibonacci.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/fibonacci.go -------------------------------------------------------------------------------- /external-issues/src/go/file.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/file.go -------------------------------------------------------------------------------- /external-issues/src/go/fileserver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/fileserver.go -------------------------------------------------------------------------------- /external-issues/src/go/fizzbuzz.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/fizzbuzz.go -------------------------------------------------------------------------------- /external-issues/src/go/flag.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/flag.go -------------------------------------------------------------------------------- /external-issues/src/go/for.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/for.go -------------------------------------------------------------------------------- /external-issues/src/go/foreach.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/foreach.go -------------------------------------------------------------------------------- /external-issues/src/go/function.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/function.go -------------------------------------------------------------------------------- /external-issues/src/go/functionvariadic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/functionvariadic.go -------------------------------------------------------------------------------- /external-issues/src/go/hashing.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/hashing.go -------------------------------------------------------------------------------- /external-issues/src/go/http.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/http.go -------------------------------------------------------------------------------- /external-issues/src/go/if.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/if.go -------------------------------------------------------------------------------- /external-issues/src/go/if2.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/if2.go -------------------------------------------------------------------------------- /external-issues/src/go/input.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/input.go -------------------------------------------------------------------------------- /external-issues/src/go/interfaces.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/interfaces.go -------------------------------------------------------------------------------- /external-issues/src/go/math.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/math.go -------------------------------------------------------------------------------- /external-issues/src/go/modulo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/modulo.go -------------------------------------------------------------------------------- /external-issues/src/go/printf.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/printf.go -------------------------------------------------------------------------------- /external-issues/src/go/random.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/random.go -------------------------------------------------------------------------------- /external-issues/src/go/return.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/return.go -------------------------------------------------------------------------------- /external-issues/src/go/scan.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/scan.go -------------------------------------------------------------------------------- /external-issues/src/go/shell.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/shell.go -------------------------------------------------------------------------------- /external-issues/src/go/slice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/slice.go -------------------------------------------------------------------------------- /external-issues/src/go/sortingInGo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/sortingInGo.go -------------------------------------------------------------------------------- /external-issues/src/go/split.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/split.go -------------------------------------------------------------------------------- /external-issues/src/go/sum_of_digits.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/sum_of_digits.go -------------------------------------------------------------------------------- /external-issues/src/go/time.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/time.go -------------------------------------------------------------------------------- /external-issues/src/go/var.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/go/var.go -------------------------------------------------------------------------------- /external-issues/src/java/HelloWorld.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/java/HelloWorld.java -------------------------------------------------------------------------------- /external-issues/src/kt/android-dagger/LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/kt/android-dagger/LICENSE.txt -------------------------------------------------------------------------------- /external-issues/src/kt/android-dagger/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/kt/android-dagger/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /external-issues/src/kt/android-dagger/app/src/main/java/com/example/dagger/kotlin/AndroidModule.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/kt/android-dagger/app/src/main/java/com/example/dagger/kotlin/AndroidModule.kt -------------------------------------------------------------------------------- /external-issues/src/kt/android-dagger/app/src/main/java/com/example/dagger/kotlin/ApplicationComponent.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/kt/android-dagger/app/src/main/java/com/example/dagger/kotlin/ApplicationComponent.kt -------------------------------------------------------------------------------- /external-issues/src/kt/android-dagger/app/src/main/java/com/example/dagger/kotlin/BaseApplication.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/kt/android-dagger/app/src/main/java/com/example/dagger/kotlin/BaseApplication.kt -------------------------------------------------------------------------------- /external-issues/src/kt/android-dagger/app/src/main/java/com/example/dagger/kotlin/DemoActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/kt/android-dagger/app/src/main/java/com/example/dagger/kotlin/DemoActivity.kt -------------------------------------------------------------------------------- /external-issues/src/kt/android-dagger/app/src/main/java/com/example/dagger/kotlin/DemoApplication.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/kt/android-dagger/app/src/main/java/com/example/dagger/kotlin/DemoApplication.kt -------------------------------------------------------------------------------- /external-issues/src/kt/android-dagger/app/src/main/java/com/example/dagger/kotlin/ForApplication.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/kt/android-dagger/app/src/main/java/com/example/dagger/kotlin/ForApplication.kt -------------------------------------------------------------------------------- /external-issues/src/kt/android-dagger/app/src/main/java/com/example/dagger/kotlin/ui/HomeActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/kt/android-dagger/app/src/main/java/com/example/dagger/kotlin/ui/HomeActivity.kt -------------------------------------------------------------------------------- /external-issues/src/kt/android-dagger/app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/kt/android-dagger/app/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /external-issues/src/kt/android-dagger/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/kt/android-dagger/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /external-issues/src/kt/android-dagger/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/kt/android-dagger/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /external-issues/src/python/sonarqube/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /external-issues/src/python/sonarqube/components.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/python/sonarqube/components.py -------------------------------------------------------------------------------- /external-issues/src/python/sonarqube/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/python/sonarqube/env.py -------------------------------------------------------------------------------- /external-issues/src/python/sonarqube/issues.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/python/sonarqube/issues.py -------------------------------------------------------------------------------- /external-issues/src/python/sonarqube/measures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/python/sonarqube/measures.py -------------------------------------------------------------------------------- /external-issues/src/python/sonarqube/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/python/sonarqube/metrics.py -------------------------------------------------------------------------------- /external-issues/src/python/sonarqube/projects.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/python/sonarqube/projects.py -------------------------------------------------------------------------------- /external-issues/src/python/sonarqube/sqobject.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/external-issues/src/python/sonarqube/sqobject.py -------------------------------------------------------------------------------- /file-renaming/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/file-renaming/README.md -------------------------------------------------------------------------------- /file-renaming/analyze.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/file-renaming/analyze.sh -------------------------------------------------------------------------------- /file-renaming/rename.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/file-renaming/rename.sh -------------------------------------------------------------------------------- /file-renaming/sonar-project.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/file-renaming/sonar-project.properties -------------------------------------------------------------------------------- /file-renaming/src/helloworld/HelloWorld.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/file-renaming/src/helloworld/HelloWorld.java -------------------------------------------------------------------------------- /metrics-without-scm/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/README.md -------------------------------------------------------------------------------- /metrics-without-scm/copybooks/Attr.cpy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/copybooks/Attr.cpy -------------------------------------------------------------------------------- /metrics-without-scm/copybooks/Custmas.cpy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/copybooks/Custmas.cpy -------------------------------------------------------------------------------- /metrics-without-scm/copybooks/Errparm.cpy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/copybooks/Errparm.cpy -------------------------------------------------------------------------------- /metrics-without-scm/copybooks/MNTSET2.CPY: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/copybooks/MNTSET2.CPY -------------------------------------------------------------------------------- /metrics-without-scm/demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/demo.sh -------------------------------------------------------------------------------- /metrics-without-scm/sonar-project.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/sonar-project.properties -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Conditions/ClassCondition.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Conditions/ClassCondition.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Conditions/CombinedConditions.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Conditions/CombinedConditions.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Conditions/ConditionNameCondition.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Conditions/ConditionNameCondition.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Conditions/ConditionStatement.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Conditions/ConditionStatement.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Conditions/EvaluteVerb.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Conditions/EvaluteVerb.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Conditions/NegatedCondition.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Conditions/NegatedCondition.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Conditions/RelationCondition.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Conditions/RelationCondition.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Conditions/SignCondition.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Conditions/SignCondition.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Database/OpenFileRecordKey.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Database/OpenFileRecordKey.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Database/OpenFileSequential.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Database/OpenFileSequential.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Database/SequentialRead.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Database/SequentialRead.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Database/StatusCode.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Database/StatusCode.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Database/data.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Database/data.dat -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Database/data.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Database/data.txt -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Database/database.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Database/database.dat -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Date/DateAndTime.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Date/DateAndTime.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/HelloWorld.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/HelloWorld.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Loops/ForLoop.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Loops/ForLoop.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Loops/While.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Loops/While.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Memory/Address.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Memory/Address.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Memory/Pointer.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Memory/Pointer.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Random/RandomBingo.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Random/RandomBingo.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Random/RandomNumbers.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Random/RandomNumbers.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/SQLite/Hello_SQLITE.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/SQLite/Hello_SQLITE.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/SQLite/test.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/SQLite/test.db -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Sort/BubbleSort.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Sort/BubbleSort.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Sort/InsertSort.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Sort/InsertSort.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/Sort/SelectSort.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/Sort/SelectSort.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/OpenCobol/String/String.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/OpenCobol/String/String.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/custmgt.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/custmgt.cbl -------------------------------------------------------------------------------- /metrics-without-scm/src/custmgt.cbl.2.cbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/metrics-without-scm/src/custmgt.cbl.2.cbl -------------------------------------------------------------------------------- /portfolios/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/README.md -------------------------------------------------------------------------------- /portfolios/bank1/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank1/build.sh -------------------------------------------------------------------------------- /portfolios/bank1/sonar-project.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank1/sonar-project.properties -------------------------------------------------------------------------------- /portfolios/bank1/src/ComplexMethod.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank1/src/ComplexMethod.java -------------------------------------------------------------------------------- /portfolios/bank1/src/HelloWorld.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank1/src/HelloWorld.java -------------------------------------------------------------------------------- /portfolios/bank2/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank2/build.sh -------------------------------------------------------------------------------- /portfolios/bank2/sonar-project.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank2/sonar-project.properties -------------------------------------------------------------------------------- /portfolios/bank2/src/complexmethod/ComplexMethod.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank2/src/complexmethod/ComplexMethod.java -------------------------------------------------------------------------------- /portfolios/bank2/src/helloworld/HelloWorld.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank2/src/helloworld/HelloWorld.java -------------------------------------------------------------------------------- /portfolios/bank2/src/helloworld/HelloWorld2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank2/src/helloworld/HelloWorld2.java -------------------------------------------------------------------------------- /portfolios/bank3/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank3/build.sh -------------------------------------------------------------------------------- /portfolios/bank3/sonar-project.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank3/sonar-project.properties -------------------------------------------------------------------------------- /portfolios/bank3/src/complexmethod/ComplexMethod.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank3/src/complexmethod/ComplexMethod.java -------------------------------------------------------------------------------- /portfolios/bank3/src/helloworld/HelloWorld.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank3/src/helloworld/HelloWorld.java -------------------------------------------------------------------------------- /portfolios/bank4/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank4/build.sh -------------------------------------------------------------------------------- /portfolios/bank4/sonar-project.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank4/sonar-project.properties -------------------------------------------------------------------------------- /portfolios/bank4/src/complex/complexmethod/ComplexMethod.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank4/src/complex/complexmethod/ComplexMethod.java -------------------------------------------------------------------------------- /portfolios/bank4/src/hello/helloworld/HelloWorld.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank4/src/hello/helloworld/HelloWorld.java -------------------------------------------------------------------------------- /portfolios/bank5/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank5/build.sh -------------------------------------------------------------------------------- /portfolios/bank5/sonar-project.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank5/sonar-project.properties -------------------------------------------------------------------------------- /portfolios/bank5/src/complexmethod/ComplexMethod.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank5/src/complexmethod/ComplexMethod.java -------------------------------------------------------------------------------- /portfolios/bank5/src/helloworld/HelloWorld.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank5/src/helloworld/HelloWorld.java -------------------------------------------------------------------------------- /portfolios/bank6/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank6/build.sh -------------------------------------------------------------------------------- /portfolios/bank6/sonar-project.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank6/sonar-project.properties -------------------------------------------------------------------------------- /portfolios/bank6/src/ComplexMethod.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank6/src/ComplexMethod.java -------------------------------------------------------------------------------- /portfolios/bank6/src/HelloWorld.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank6/src/HelloWorld.java -------------------------------------------------------------------------------- /portfolios/bank7/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank7/build.sh -------------------------------------------------------------------------------- /portfolios/bank7/sonar-project.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank7/sonar-project.properties -------------------------------------------------------------------------------- /portfolios/bank7/src/ComplexMethod.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank7/src/ComplexMethod.java -------------------------------------------------------------------------------- /portfolios/bank7/src/HelloWorld.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank7/src/HelloWorld.java -------------------------------------------------------------------------------- /portfolios/bank8/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank8/build.sh -------------------------------------------------------------------------------- /portfolios/bank8/sonar-project.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank8/sonar-project.properties -------------------------------------------------------------------------------- /portfolios/bank8/src/complex/complexmethod/ComplexMethod.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank8/src/complex/complexmethod/ComplexMethod.java -------------------------------------------------------------------------------- /portfolios/bank8/src/hello/helloworld/HelloWorld.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank8/src/hello/helloworld/HelloWorld.java -------------------------------------------------------------------------------- /portfolios/bank9/LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank9/LICENSE.txt -------------------------------------------------------------------------------- /portfolios/bank9/NOTICE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank9/NOTICE.txt -------------------------------------------------------------------------------- /portfolios/bank9/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank9/build.sh -------------------------------------------------------------------------------- /portfolios/bank9/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank9/pom.xml -------------------------------------------------------------------------------- /portfolios/bank9/server/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank9/server/pom.xml -------------------------------------------------------------------------------- /portfolios/bank9/server/src/main/java/org/sonarsource/ldap/server/ApacheDS.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank9/server/src/main/java/org/sonarsource/ldap/server/ApacheDS.java -------------------------------------------------------------------------------- /portfolios/bank9/server/src/main/java/org/sonarsource/ldap/server/package-info.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank9/server/src/main/java/org/sonarsource/ldap/server/package-info.java -------------------------------------------------------------------------------- /portfolios/bank9/sonar-ldap-plugin/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank9/sonar-ldap-plugin/pom.xml -------------------------------------------------------------------------------- /portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/CallbackHandlerImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/CallbackHandlerImpl.java -------------------------------------------------------------------------------- /portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/ContextHelper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/ContextHelper.java -------------------------------------------------------------------------------- /portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/Krb5LoginConfiguration.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/Krb5LoginConfiguration.java -------------------------------------------------------------------------------- /portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapAuthenticator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapAuthenticator.java -------------------------------------------------------------------------------- /portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapAutodiscovery.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapAutodiscovery.java -------------------------------------------------------------------------------- /portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapContextFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapContextFactory.java -------------------------------------------------------------------------------- /portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapException.java -------------------------------------------------------------------------------- /portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapGroupMapping.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapGroupMapping.java -------------------------------------------------------------------------------- /portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapGroupsProvider.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapGroupsProvider.java -------------------------------------------------------------------------------- /portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapPlugin.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapPlugin.java -------------------------------------------------------------------------------- /portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapRealm.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapRealm.java -------------------------------------------------------------------------------- /portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapSearch.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapSearch.java -------------------------------------------------------------------------------- /portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapSettingsManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapSettingsManager.java -------------------------------------------------------------------------------- /portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapUserMapping.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapUserMapping.java -------------------------------------------------------------------------------- /portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapUsersProvider.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapUsersProvider.java -------------------------------------------------------------------------------- /portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/package-info.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/bank9/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/package-info.java -------------------------------------------------------------------------------- /portfolios/create-portfolios.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/create-portfolios.sh -------------------------------------------------------------------------------- /portfolios/delete-portfolios.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/delete-portfolios.sh -------------------------------------------------------------------------------- /portfolios/insurance1/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/insurance1/build.sh -------------------------------------------------------------------------------- /portfolios/insurance1/sonar-project.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/insurance1/sonar-project.properties -------------------------------------------------------------------------------- /portfolios/insurance1/src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /portfolios/insurance1/src/badfortune.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/insurance1/src/badfortune.py -------------------------------------------------------------------------------- /portfolios/insurance1/src/directory/file_in_directory.py: -------------------------------------------------------------------------------- 1 | lst = [] 2 | -------------------------------------------------------------------------------- /portfolios/insurance1/src/package/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /portfolios/insurance1/src/package/file_in_package.py: -------------------------------------------------------------------------------- 1 | dictionary = {} 2 | -------------------------------------------------------------------------------- /portfolios/insurance1/src/samples/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /portfolios/insurance1/src/samples/fortune.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/insurance1/src/samples/fortune.py -------------------------------------------------------------------------------- /portfolios/insurance1/src/samples/letters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/insurance1/src/samples/letters.py -------------------------------------------------------------------------------- /portfolios/insurance1/src/samples/strfile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/insurance1/src/samples/strfile.py -------------------------------------------------------------------------------- /portfolios/insurance2/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/insurance2/build.sh -------------------------------------------------------------------------------- /portfolios/insurance2/sonar-project.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/insurance2/sonar-project.properties -------------------------------------------------------------------------------- /portfolios/insurance2/src/DeadCode.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/insurance2/src/DeadCode.java -------------------------------------------------------------------------------- /portfolios/portfolios-def.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/portfolios-def.txt -------------------------------------------------------------------------------- /portfolios/scanAllProjects.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/scanAllProjects.sh -------------------------------------------------------------------------------- /portfolios/tagAllProjects.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tagAllProjects.sh -------------------------------------------------------------------------------- /portfolios/tier1-web-front-end/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier1-web-front-end/build.sh -------------------------------------------------------------------------------- /portfolios/tier1-web-front-end/sonar-project.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier1-web-front-end/sonar-project.properties -------------------------------------------------------------------------------- /portfolios/tier1-web-front-end/src/ComplexMethod.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier1-web-front-end/src/ComplexMethod.java -------------------------------------------------------------------------------- /portfolios/tier1-web-front-end/src/HelloWorld.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier1-web-front-end/src/HelloWorld.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/README.md: -------------------------------------------------------------------------------- 1 | Run ./build.sh 2 | -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/build.sh -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/LICENSE.txt -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/NOTICE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/NOTICE.txt -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/README.md -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/cix.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/cix.sh -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/docker-compose.yml -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/docker/.gitignore: -------------------------------------------------------------------------------- 1 | /certs 2 | -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/docker/Dockerfile.ldap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/docker/Dockerfile.ldap -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/docker/Dockerfile.sonarqube: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/docker/Dockerfile.sonarqube -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/docker/gen-certs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/docker/gen-certs.sh -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/docker/sonar.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/docker/sonar.properties -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/docker/tester.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/docker/tester.ldif -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/it/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/it/pom.xml -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/it/src/test/java/org/sonarsource/ldap/it/LdapTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/it/src/test/java/org/sonarsource/ldap/it/LdapTest.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/it/src/test/java/org/sonarsource/ldap/it/MultipleLdapTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/it/src/test/java/org/sonarsource/ldap/it/MultipleLdapTest.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/it/src/test/java/org/sonarsource/ldap/it/ReferralLdapTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/it/src/test/java/org/sonarsource/ldap/it/ReferralLdapTest.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/it/src/test/java/org/sonarsource/ldap/it/utils/Groups.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/it/src/test/java/org/sonarsource/ldap/it/utils/Groups.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/it/src/test/java/org/sonarsource/ldap/it/utils/ItUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/it/src/test/java/org/sonarsource/ldap/it/utils/ItUtils.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/it/src/test/java/org/sonarsource/ldap/it/utils/UserRule.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/it/src/test/java/org/sonarsource/ldap/it/utils/UserRule.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/it/src/test/java/org/sonarsource/ldap/it/utils/Users.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/it/src/test/java/org/sonarsource/ldap/it/utils/Users.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/it/src/test/resources/ldif/add-user-without-password.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/it/src/test/resources/ldif/add-user-without-password.ldif -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/it/src/test/resources/ldif/add-user.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/it/src/test/resources/ldif/add-user.ldif -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/it/src/test/resources/ldif/change-details.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/it/src/test/resources/ldif/change-details.ldif -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/it/src/test/resources/ldif/change-password.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/it/src/test/resources/ldif/change-password.ldif -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/it/src/test/resources/ldif/init.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/it/src/test/resources/ldif/init.ldif -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/it/src/test/resources/ldif/ref-base.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/it/src/test/resources/ldif/ref-base.ldif -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/it/src/test/resources/ldif/ref-remote.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/it/src/test/resources/ldif/ref-remote.ldif -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/it/src/test/resources/ldif/users.example.org.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/it/src/test/resources/ldif/users.example.org.ldif -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/it/src/test/resources/ldif/users.infosupport.com.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/it/src/test/resources/ldif/users.infosupport.com.ldif -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/it/src/test/resources/logback-test.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/it/src/test/resources/logback-test.xml -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/pom.xml -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/run-integration-tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/run-integration-tests.sh -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/scanner.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/scanner.log -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/server/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/server/pom.xml -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/server/src/main/java/org/sonarsource/ldap/server/ApacheDS.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/server/src/main/java/org/sonarsource/ldap/server/ApacheDS.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/server/src/main/java/org/sonarsource/ldap/server/package-info.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/server/src/main/java/org/sonarsource/ldap/server/package-info.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/server/src/test/java/org/sonarsource/ldap/server/ApacheDSTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/server/src/test/java/org/sonarsource/ldap/server/ApacheDSTest.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/server/src/test/resources/change.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/server/src/test/resources/change.ldif -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/server/src/test/resources/delete.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/server/src/test/resources/delete.ldif -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/server/src/test/resources/init.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/server/src/test/resources/init.ldif -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/server/src/test/resources/logback-test.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/server/src/test/resources/logback-test.xml -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/pom.xml -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/pom.xml -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/CallbackHandlerImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/CallbackHandlerImpl.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/ContextHelper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/ContextHelper.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/Krb5LoginConfiguration.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/Krb5LoginConfiguration.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapAuthenticator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapAuthenticator.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapAutodiscovery.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapAutodiscovery.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapContextFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapContextFactory.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapException.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapGroupMapping.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapGroupMapping.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapGroupsProvider.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapGroupsProvider.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapPlugin.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapPlugin.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapRealm.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapRealm.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapSearch.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapSearch.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapSettingsManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapSettingsManager.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapUserMapping.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapUserMapping.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapUsersProvider.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/LdapUsersProvider.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/package-info.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/main/java/org/sonar/plugins/ldap/package-info.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/CallbackHandlerImplTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/CallbackHandlerImplTest.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/ContextHelperTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/ContextHelperTest.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/KerberosTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/KerberosTest.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapAuthenticatorTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapAuthenticatorTest.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapAutoDiscoveryWarningLogTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapAutoDiscoveryWarningLogTest.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapAutodiscoveryTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapAutodiscoveryTest.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapGroupMappingTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapGroupMappingTest.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapGroupsProviderTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapGroupsProviderTest.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapPluginTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapPluginTest.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapRealmTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapRealmTest.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapReferralsTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapReferralsTest.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapSearchTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapSearchTest.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapSettingsFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapSettingsFactory.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapSettingsManagerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapSettingsManagerTest.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapUserMappingTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapUserMappingTest.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapUsersProviderTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/LdapUsersProviderTest.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/server/LdapServer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/server/LdapServer.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/server/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/java/org/sonar/plugins/ldap/server/Main.java -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/resources/conf/krb5.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/resources/conf/krb5.conf -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/resources/conf/sasl_mech.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/resources/conf/sasl_mech.properties -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/resources/krb.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/resources/krb.ldif -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/resources/logback-test.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/resources/logback-test.xml -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/resources/static-groups.example.org.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/resources/static-groups.example.org.ldif -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/resources/users-apacheds.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/resources/users-apacheds.ldif -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/resources/users.example.org.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/resources/users.example.org.ldif -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/resources/users.infosupport.com.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/sonar-ldap-plugin/src/test/resources/users.infosupport.com.ldif -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/tags.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/tags.txt -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/third-party-licenses.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/third-party-licenses.sh -------------------------------------------------------------------------------- /portfolios/tier2-biz-logic/sonar-ldap/travis.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier2-biz-logic/sonar-ldap/travis.sh -------------------------------------------------------------------------------- /portfolios/tier3-db-layer/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier3-db-layer/build.sh -------------------------------------------------------------------------------- /portfolios/tier3-db-layer/sonar-project.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier3-db-layer/sonar-project.properties -------------------------------------------------------------------------------- /portfolios/tier3-db-layer/src/DeadCode.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/portfolios/tier3-db-layer/src/DeadCode.java -------------------------------------------------------------------------------- /pull-request/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/pull-request/README.md -------------------------------------------------------------------------------- /pull-request/scan-pr.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/pull-request/scan-pr.sh -------------------------------------------------------------------------------- /pull-request/setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/pull-request/setup.sh -------------------------------------------------------------------------------- /pull-request/sonar-project.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/pull-request/sonar-project.properties -------------------------------------------------------------------------------- /pull-request/src/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/pull-request/src/app.js -------------------------------------------------------------------------------- /pull-request/src/person.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/pull-request/src/person.js -------------------------------------------------------------------------------- /security-cs/My_API/Controllers/ValuesController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/security-cs/My_API/Controllers/ValuesController.cs -------------------------------------------------------------------------------- /security-cs/My_API/Controllers/ValuesController.cs.newCode: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/security-cs/My_API/Controllers/ValuesController.cs.newCode -------------------------------------------------------------------------------- /security-cs/My_API/Controllers/ValuesDao.cs.newCode: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/security-cs/My_API/Controllers/ValuesDao.cs.newCode -------------------------------------------------------------------------------- /security-cs/My_API/My_API.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/security-cs/My_API/My_API.csproj -------------------------------------------------------------------------------- /security-cs/My_API/My_API.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/security-cs/My_API/My_API.sln -------------------------------------------------------------------------------- /security-cs/My_API/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/security-cs/My_API/Program.cs -------------------------------------------------------------------------------- /security-cs/My_API/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/security-cs/My_API/Properties/launchSettings.json -------------------------------------------------------------------------------- /security-cs/My_API/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/security-cs/My_API/Startup.cs -------------------------------------------------------------------------------- /security-cs/My_API/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/security-cs/My_API/appsettings.Development.json -------------------------------------------------------------------------------- /security-cs/My_API/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/security-cs/My_API/appsettings.json -------------------------------------------------------------------------------- /security-cs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/security-cs/README.md -------------------------------------------------------------------------------- /security-cs/run.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/security-cs/run.bat -------------------------------------------------------------------------------- /security-cs/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/security-cs/run.sh -------------------------------------------------------------------------------- /security/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /security/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/security/README.md -------------------------------------------------------------------------------- /security/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/security/pom.xml -------------------------------------------------------------------------------- /security/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/security/run.sh -------------------------------------------------------------------------------- /security/s3649JavaSqlInjectionConfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/security/s3649JavaSqlInjectionConfig.json -------------------------------------------------------------------------------- /security/src/main/java/training/security/Insecure.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/security/src/main/java/training/security/Insecure.java -------------------------------------------------------------------------------- /size-metrics/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/size-metrics/README.md -------------------------------------------------------------------------------- /size-metrics/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/size-metrics/build.sh -------------------------------------------------------------------------------- /size-metrics/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/size-metrics/pom.xml -------------------------------------------------------------------------------- /size-metrics/src/main/java/size_metrics/SizeMetrics.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/size-metrics/src/main/java/size_metrics/SizeMetrics.java -------------------------------------------------------------------------------- /size-metrics/src/test/java/size_metrics/SizeMetricsTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/size-metrics/src/test/java/size_metrics/SizeMetricsTest.java -------------------------------------------------------------------------------- /sqlib.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonarSource/sonar-training-examples/HEAD/sqlib.sh --------------------------------------------------------------------------------