[PDI-19926] Put a file with FTP: An error doesn't occur when we change the local directory permissions. #9792
Quality Gate failed
- D Maintainability Rating on New Code (is worse than A)
- 55.60% Coverage on New Code (is less than 80.00%)
Analysis Details
24 Issues
Coverage and Duplications
Project ID: org.pentaho.di:pdi
Annotations
hitachivantarasonarqube / Pentaho Data Integration Sonarqube Results
plugins/put-a-file-with-ftp/impl/src/main/java/org/pentaho/di/job/entries/ftpput/JobEntryFTPPUT.java#L147
Define a constant instead of duplicating this literal "localDirectory" 5 times.
hitachivantarasonarqube / Pentaho Data Integration Sonarqube Results
plugins/put-a-file-with-ftp/impl/src/main/java/org/pentaho/di/job/entries/ftpput/JobEntryFTPPUT.java#L160
Define a constant instead of duplicating this literal "proxy_password" 4 times.
hitachivantarasonarqube / Pentaho Data Integration Sonarqube Results
plugins/put-a-file-with-ftp/impl/src/main/java/org/pentaho/di/job/entries/ftpput/JobEntryFTPPUT.java#L145
Define a constant instead of duplicating this literal "password" 5 times.
hitachivantarasonarqube / Pentaho Data Integration Sonarqube Results
plugins/put-a-file-with-ftp/impl/src/main/java/org/pentaho/di/job/entries/ftpput/JobEntryFTPPUT.java#L163
Define a constant instead of duplicating this literal "socksproxy_username" 4 times.
hitachivantarasonarqube / Pentaho Data Integration Sonarqube Results
plugins/put-a-file-with-ftp/impl/src/main/java/org/pentaho/di/job/entries/ftpput/JobEntryFTPPUT.java#L157
Define a constant instead of duplicating this literal "proxy_port" 4 times.
hitachivantarasonarqube / Pentaho Data Integration Sonarqube Results
plugins/put-a-file-with-ftp/impl/src/main/java/org/pentaho/di/job/entries/ftpput/JobEntryFTPPUT.java#L154
Define a constant instead of duplicating this literal "control_encoding" 4 times.
hitachivantarasonarqube / Pentaho Data Integration Sonarqube Results
plugins/put-a-file-with-ftp/impl/src/main/java/org/pentaho/di/job/entries/ftpput/JobEntryFTPPUT.java#L153
Define a constant instead of duplicating this literal "active" 4 times.
hitachivantarasonarqube / Pentaho Data Integration Sonarqube Results
plugins/put-a-file-with-ftp/impl/src/main/java/org/pentaho/di/job/entries/ftpput/JobEntryFTPPUT.java#L149
Define a constant instead of duplicating this literal "binary" 4 times.
hitachivantarasonarqube / Pentaho Data Integration Sonarqube Results
plugins/put-a-file-with-ftp/impl/src/main/java/org/pentaho/di/job/entries/ftpput/JobEntryFTPPUT.java#L161
Define a constant instead of duplicating this literal "socksproxy_host" 4 times.
hitachivantarasonarqube / Pentaho Data Integration Sonarqube Results
plugins/put-a-file-with-ftp/impl/src/main/java/org/pentaho/di/job/entries/ftpput/JobEntryFTPPUT.java#L152
Define a constant instead of duplicating this literal "only_new" 4 times.
hitachivantarasonarqube / Pentaho Data Integration Sonarqube Results
plugins/put-a-file-with-ftp/impl/src/main/java/org/pentaho/di/job/entries/ftpput/JobEntryFTPPUT.java#L151
Define a constant instead of duplicating this literal "remove" 4 times.
hitachivantarasonarqube / Pentaho Data Integration Sonarqube Results
plugins/put-a-file-with-ftp/impl/src/main/java/org/pentaho/di/job/entries/ftpput/JobEntryFTPPUT.java#L150
Define a constant instead of duplicating this literal "timeout" 4 times.
hitachivantarasonarqube / Pentaho Data Integration Sonarqube Results
plugins/put-a-file-with-ftp/impl/src/main/java/org/pentaho/di/job/entries/ftpput/JobEntryFTPPUT.java#L148
Define a constant instead of duplicating this literal "wildcard" 4 times.
hitachivantarasonarqube / Pentaho Data Integration Sonarqube Results
plugins/put-a-file-with-ftp/impl/src/main/java/org/pentaho/di/job/entries/ftpput/JobEntryFTPPUT.java#L162
Define a constant instead of duplicating this literal "socksproxy_port" 4 times.
hitachivantarasonarqube / Pentaho Data Integration Sonarqube Results
plugins/put-a-file-with-ftp/impl/src/main/java/org/pentaho/di/job/entries/ftpput/JobEntryFTPPUT.java#L156
Define a constant instead of duplicating this literal "proxy_host" 4 times.
hitachivantarasonarqube / Pentaho Data Integration Sonarqube Results
plugins/put-a-file-with-ftp/impl/src/main/java/org/pentaho/di/job/entries/ftpput/JobEntryFTPPUT.java#L158
Define a constant instead of duplicating this literal "proxy_username" 4 times.
hitachivantarasonarqube / Pentaho Data Integration Sonarqube Results
plugins/put-a-file-with-ftp/impl/src/main/java/org/pentaho/di/job/entries/ftpput/JobEntryFTPPUT.java#L142
Define a constant instead of duplicating this literal "serverport" 4 times.
hitachivantarasonarqube / Pentaho Data Integration Sonarqube Results
plugins/put-a-file-with-ftp/impl/src/main/java/org/pentaho/di/job/entries/ftpput/JobEntryFTPPUT.java#L146
Define a constant instead of duplicating this literal "remoteDirectory" 4 times.
hitachivantarasonarqube / Pentaho Data Integration Sonarqube Results
plugins/put-a-file-with-ftp/impl/src/main/java/org/pentaho/di/job/entries/ftpput/JobEntryFTPPUT.java#L141
Define a constant instead of duplicating this literal "servername" 4 times.
hitachivantarasonarqube / Pentaho Data Integration Sonarqube Results
plugins/put-a-file-with-ftp/impl/src/main/java/org/pentaho/di/job/entries/ftpput/JobEntryFTPPUT.java#L165
Define a constant instead of duplicating this literal "socksproxy_password" 4 times.
hitachivantarasonarqube / Pentaho Data Integration Sonarqube Results
plugins/put-a-file-with-ftp/impl/src/main/java/org/pentaho/di/job/entries/ftpput/JobEntryFTPPUT.java#L143
Define a constant instead of duplicating this literal "username" 4 times.
hitachivantarasonarqube / Pentaho Data Integration Sonarqube Results
plugins/put-a-file-with-ftp/impl/src/main/java/org/pentaho/di/job/entries/ftpput/JobEntryFTPPUT.java#L210
Add the "@Override" annotation above this method signature
hitachivantarasonarqube / Pentaho Data Integration Sonarqube Results
plugins/put-a-file-with-ftp/impl/src/main/java/org/pentaho/di/job/entries/ftpput/JobEntryFTPPUT.java#L579
Refactor this method to reduce its Cognitive Complexity from 66 to the 15 allowed.
hitachivantarasonarqube / Pentaho Data Integration Sonarqube Results
plugins/put-a-file-with-ftp/impl/src/main/java/org/pentaho/di/job/entries/ftpput/JobEntryFTPPUT.java#L866
Refactor this method to reduce its Cognitive Complexity from 41 to the 15 allowed.