Questions tagged [maintainability]

Maintainability refers to the nature, methods, theory and art of maximizing the ease with which an asset may be sustained, modified or enhanced throughout the duration of its expected useful life.

297 questions
0
votes
0 answers

Designing model for Storm Topology

I am using Apache Kafka & Apache Storm integration. I need to design a model.Here are the specification of my topology : I have configured topic in Kafka. Let say customer1 . Now, the storm bolts will read the data from the customer1 kafka-spout. It…
Ritesh Sinha
  • 791
  • 3
  • 18
  • 47
0
votes
2 answers

Is it considered poor practice to use the same view for creation and editing in an MVC application

I'm writing a web application which allows users to create (and then later, edit) blog-like text posts. Because the page for creating it will be identical to the page for editing it, I'm tempted to use the same page for both. It seems to me like…
0
votes
1 answer

How do you evaluate code maintainability of HTML5 vs. Silverlight

Comparison of HTML5 and Silverlight as Web development platform is a popular topic, and arguments often focus on readiness of HTML5 or additional step to install Silverlight plug-in. But let's say there are no such issues: all browsers have good…
Vagif Abilov
  • 9,279
  • 5
  • 52
  • 91
0
votes
1 answer

Use GUI displayed results of SQL query vs new queries?

I am developing a program, with a database and a GUI which displays parts of the database. Let's suppose I have a textblock which contains data from the database (found with a query). If I want to use the value of this textblock somewhere else in…
MarinD
  • 461
  • 5
  • 22
0
votes
1 answer

Dynamically Loaded Functionality per User

I'm building a fairly complex AngularJS application. It needs to have the ability to easily incorporate new functionality on a per user basis. For example say that the application is completed and 6 months later I need to add functionality for a…
0
votes
1 answer

Simplifying the task of writing TSQL that generates dynamic SQL

It looks like the need to use dynamic SQL is unavoidable with SQL Server for different reasons but the resulting code looks convoluted and unmaintainable. SQL server management studio's intellisence stops working for queries inside literals and…
axk
  • 4,947
  • 11
  • 53
  • 88
0
votes
1 answer

Can anyone tell me why the maintainability index is only 40 for this code?

I can't figure out why the maintainability index (as calculated in Visual Studio) for this method is only 40, I literally have to remove almost all the lines except the first two to get above 60: public void getNewPasswordDetails(Int32…
binks
  • 909
  • 1
  • 7
  • 24
0
votes
1 answer

Reduce complexity, increase maintainability of multiple If-Else statements?

I have a method that I am trying to reduce the complexity and increase the maintainability. It contains multiple if-else statements, all setting different information as below: ClassOne varOne = null; if (condition == null) { varOne =…
pcoul
  • 107
  • 1
  • 1
  • 6
0
votes
1 answer

Show the same set of fields on different pages?

I am working on a set of online forms to be filled out be new clients. The results are stored to DB and can be viewed by the user at a later time or an employee to verify data. Since many of our clients have low technical experience (or are simply…
Kodithic
  • 140
  • 11
0
votes
2 answers

How to decide when to use Ajax vs Javascript for maintainability

During ASP.Net development i am often unsure weather i should be performing some functionality using an ajax request vs handling it all on the client with JavaScript. I often will want to use Jquery ajax functions in order to speed development up…
user2945722
  • 1,123
  • 1
  • 10
  • 30
0
votes
1 answer

What particular practices, designs, languages/features enable very easy to maintain code?

What particular practices, designs, languages/features enable very easy to maintain code?
Igorio
  • 898
  • 1
  • 7
  • 16
0
votes
2 answers

Maintainable serialization method for long-term storage of entities in .NET

I have a complex data model with lots of attributes that I need to store. Since there's no need for searching on the attributes in the database (I'm using Lucene.Net for the search) I don't want to create tables and columns for the details of the…
Iravanchi
  • 4,969
  • 9
  • 38
  • 54
0
votes
0 answers

Correlation between code maintainability and development velocity

Has anyone seen a clear correlation data between the code maintainability and a team's development velocity? Can anyone suggest an own experience, a research paper or any other information sources? I have often experienced that long-lasting…
taro
  • 591
  • 1
  • 7
  • 19
0
votes
1 answer

Java Currency Converter adhering to OO (Object Oriented) principles

A command line currency converter application that prompts for a user input of source currency, source currency code and target currency code e.g. C:\workspace> java CurrencyConverter 100.50 EUR GBP The application returns the value of the source…
0
votes
2 answers

Which approach for maintaining reusable .net components?

My team develops .net components which are used by other development teams within the company. More often than not, these teams need an urgent enhancement and they want it now. To preserve my team's sanity, I would like to make planning more…
rlesias
  • 2,530
  • 3
  • 11
  • 19