adorsys/datasafe

View on GitHub
datasafe-cli/src/main/java/de/adorsys/datasafe/cli/config/DatasafeFactory.java

Summary

Maintainability
A
1 hr
Test Coverage

Method getStorageService has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private static S3StorageService getStorageService(String accessKey, String secretKey, String url, String region,
                                                      String bucket) {
        AmazonS3ClientBuilder amazonS3ClientBuilder = AmazonS3ClientBuilder.standard()
                .withCredentials(
                        new AWSStaticCredentialsProvider(

    Method getStorageService has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        private static S3StorageService getStorageService(String accessKey, String secretKey, String url, String region,
                                                          String bucket) {

      There are no issues that match your filters.

      Category
      Status