Showing 14,752 of 14,752 total issues
Method savePortObject
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void savePortObject(final FskPortObject portObject, final PortObjectZipOutputStream out,
final ExecutionMonitor exec) throws IOException, CanceledExecutionException {
// model entry (file with model script)
out.putNextEntry(new ZipEntry(MODEL));
- Create a ticketCreate a ticket
Method retrieveReference
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static Reference retrieveReference(String[][] values, int row) {
final String isReferenceDescriptionString = values[row][RakipColumn.K.ordinal()];
final String doi = values[row][RakipColumn.O.ordinal()];
- Create a ticketCreate a ticket
Method actionPerformed
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void actionPerformed(ActionEvent e) {
if (m_directoryEnvironmentButton.isSelected()) {
- Create a ticketCreate a ticket
Method createAllPossibleSimulations
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void createAllPossibleSimulations(
FskPortObject firstFskObj,
FskPortObject secondFskObj,
CombinedFskPortObject outObj ) {
- Create a ticketCreate a ticket
Method retrieveReference
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static Reference retrieveReference(String[][] values, int row) {
final String isReferenceDescriptionString = values[row][RakipColumn.K.ordinal()];
final String doi = values[row][RakipColumn.O.ordinal()];
- Create a ticketCreate a ticket
Method retrieveReference
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static Reference retrieveReference(String[][] values, int row) {
final String isReferenceDescriptionString = values[row][RakipColumn.K.ordinal()];
final String doi = values[row][RakipColumn.O.ordinal()];
- Create a ticketCreate a ticket
Method addModificationDate
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void addModificationDate(Model modelMetadata) {
Date dateJavaFormat = new Date();
LocalDate dateThreeTenFormat = Instant.ofEpochMilli(dateJavaFormat.getTime()).atZone(ZoneId.systemDefault()).toLocalDate();
String modelType = modelMetadata.getModelType();
if(modelType.equalsIgnoreCase( "genericModel")) {
- Create a ticketCreate a ticket
Method saveOutputParameters
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void saveOutputParameters(FskPortObject fskObj, Path workingDirectory)
throws VariableNotGlobalException, IOException {
StringBuilder script = new StringBuilder();
- Create a ticketCreate a ticket
Method getLiteratureItem
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static LiteratureItem getLiteratureItem(Connection conn, Integer id, String dbuuid) {
String author = (String) DBKernel.getValue(conn, "Literatur", "ID", id
+ "", "Erstautor");
String title = (String) DBKernel.getValue(conn, "Literatur", "ID", id
+ "", "Titel");
- Create a ticketCreate a ticket
Method copyFilesToEnvironment
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private Optional<Path> copyFilesToEnvironment(Optional<Path> environment){
List<Path> filePaths = new ArrayList<>();
try {
for (String filePath : files) {
- Create a ticketCreate a ticket
Method getEnvironment
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Optional<Path> getEnvironment() {
if (archivePath == null || archivePath.isEmpty())
return Optional.empty();
- Create a ticketCreate a ticket
Method performPaste
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void performPaste() {
int startRow = getSelectedRows()[0];
int startCol = getSelectedColumns()[0];
Clipboard system = Toolkit.getDefaultToolkit().getSystemClipboard();
String trstring = null;
- Create a ticketCreate a ticket
Method importFlowVariables
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Collection<FlowVariable> importFlowVariables(String variableName) throws RException {
checkInitialized();
final List<FlowVariable> flowVars = new ArrayList<>();
- Create a ticketCreate a ticket
Method testConstructors
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testConstructors() throws Exception {
// test constructor with id, name, formula and model class
final CatalogModelXml catalog0 = new CatalogModelXml(0, "name", "formula", 0);
- Create a ticketCreate a ticket
Function token
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
token: function(stream, state) {
if (stream.sol()) {
state.indented = stream.indentation();
state.startOfLine = true;
}
- Create a ticketCreate a ticket
Function tokenStringFactory
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenStringFactory(delimiter, tokenOuter) {
while ("rubf".indexOf(delimiter.charAt(0).toLowerCase()) >= 0)
delimiter = delimiter.substr(1);
var singleline = delimiter.length == 1;
- Create a ticketCreate a ticket
Function atBlock
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
states.atBlock = function(type, stream, state) {
if (type == "(") return pushContext(state, stream, "atBlock_parens");
if (typeIsBlock(type, stream)) {
return pushContext(state, stream, "block");
}
- Create a ticketCreate a ticket
Function constructor
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor ( settings, $container, metadata, uploadDates, executionTimes ) {
let O = this;
O._metadata = metadata;
O._uploadDates = uploadDates;
O._executionTimes = executionTimes;
- Create a ticketCreate a ticket
Function _createModelMetadataContent
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createModelMetadataContent() {
let O = this;
_log( 'MODAL DETAILS / _createModelMetadataContent' );
// modal nav with tabs & search
O._$modalNav = $('<div class="modal-body modal-nav"></div>')
- Create a ticketCreate a ticket
Function _createPanels
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createPanels() {
let schema = fskui.riskModel;
return {
- Create a ticketCreate a ticket