ArticleslgStudy

computer science

SQALE

SQALE is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand SQALE rather than just read about it. In short: SQALE (Software Quality Assessment based on Lifecycle Expectations) is a method to support the evaluation of a software application source code. It is a generic method, independent of the language and source code analysis tools, licensed under the Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported license.

Key takeaways

  • SQALE belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect SQALE to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of SQALE from memory before moving on to harder problems.

Reference excerpt

SQALE (Software Quality Assessment based on Lifecycle Expectations) is a method to support the evaluation of a software application source code. It is a generic method, independent of the language and source code analysis tools, licensed under the Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported license. Software editors can freely use and implement the SQALE method. The SQALE method was developed by inspearit France (formerly DNV ITGS France). It is used by many organizations for applications of any type and any size. This method is implemented by several static code analysis tools that produce the defined indices and indicators. In addition, this method allows doing the precise management of design debt for Agile software development projects.

History The SQALE method has been developed to answer a general need for assessing the quality of source code. It is meant to answer fundamental questions such as:

What is the quality of the source code delivered by the developers? Is the code changeable, maintainable, portable, reusable? What is the design debt stored up by the project? Standards, like ISO 9126, do not provide effective support about the manner of building a global answer. To be able to evaluate the quality of source code, the developers community needs a generic method having the following properties:

Objective, specific and reproducible Producing indices, syntheses or/and indicators easily understandable and helping to make decisions relating to the improvement of the source code Independent of the languages Independent of the tools for analysis

Fundamental principles The quality of the source code is a non-functional requirement. The requirements in relation to the quality of the source code have to be formalised according to the same quality criteria as all other requirements. Assessing the quality of a source code is in essence assessing the distance between its state and its expected quality objective. The SQALE method assesses the distance to the conformity with the requirements by considering the necessary remediation cost for bringing the source code to conformity. The SQALE method respects the representation condition. The SQALE method uses addition for aggregating the remediation costs and for calculating its quality indicators. The SQALE method's quality model is orthogonal. The SQALE method's quality model takes the software's lifecycle into account.

Details The method is based on 4 main concepts:

The quality model The analysis model The indices The indicators

The quality model The SQALE Quality Model is used for formulating and organising the non-functional requirements that relate to the code's quality. It is organised in three hierarchical levels. The first level is composed of characteristics, the second of sub-characteristics. The third level is composed of requirements that relate to the source code's internal attributes. These requirements usually depend on the software's context and language.

The analysis model The SQALE analysis model contains on the one hand the rules that are used for normalising the measures and the controls relating to the code, and on the other hand the rules for aggregating the normalised values. The SQALE method normalises the reports resulting from the source code analysis tools by transforming them into remediation costs. To do this, either a remediation factor or a remediation function is used. The SQALE Method defines rules for aggregating the remediation costs, either in the Quality Model's tree structure, or in the hierarchy of the source code's artefacts.

The indices All SQALE indices represent costs. These costs can be calculated in work unit, in time unit or in monetary unit. In all cases, the indices values are on a scale of ratio type. They can be handled with all the allowed operations for this type of scale. For any element of the hierarchy of the source code artefacts, the remediation cost relating to a given characteristic can be estimated by adding all remediation costs linked to the requirements of the characteristic. The indices of SQALE characteristics are the following:

SQALE Testability Index : STI SQALE Reliability Index : SRI SQALE Changeability Index : SCI SQALE Efficiency Index : SEI SQALE Security Index : SSI SQALE Maintainability Index : SMI SQALE Portability Index : SPI SQALE Reusability Index : SRuI The method also defines a global index: For any element of the hierarchy of the source code artefacts, the remediation cost relating to all the characteristics of the quality model can be estimated by adding all remediation costs linked to all the requirements of the quality model. This derived measurement is called: SQALE Quality Index: SQI For the AGILE Software Development, the SQI index correspond to the design debt (or technical debt) of the project. The method also defines index densities which allow comparing the products quality of different size (for example SQID: SQALE Quality Density Index).

The indicators The SQALE method defines three synthesised indicators. Each user can define indicators according to his needs.

SQALE and Agile Software Development The SQALE method is particularly devoted to the management of the design debt (or technical debt) of Agile Software Development. It allows:

To clearly define what creates design debt To correctly estimate design debt To describe this debt into various parts relating to the testability, the reliability, the changeability, the maintainability... This classification supports the analysis regarding the impact of the debt and how to define the priority actions of code refactoring. In the requirements relating to the source code (the SQALE Quality Model), the method allows to include a minimum threshold to reach with unit testing. In the case that this threshold is not reached, the reliability index of the application is impacted.

Tools which implement the SQALE method SQuORE SonarQube Security Reviewer Suite

See also Static program analysis ISO 9126 Software Quality

References

Reliable Software Technologies - Ada-Europe 2011: 16th Ada-Europe International Conference on Reliable Software Technologies, Springer, 2011, ISBN 978-3642213373

External links inspearit France Official site of the SQALE method White paper describing the SQALE method

Worked examples

Example 1 — a first encounter with SQALE

Start with the simplest possible case. Write down what SQALE claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to SQALE before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about SQALE ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of SQALE

In research
SQALE appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses SQALE in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
SQALE is common in secondary-school and first-year university syllabi. It links to neighbouring topics Software architecture, Software engineering terminology, Software maintenance, so understanding it makes those chapters shorter.
In everyday life
Look for SQALE outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “SQALE” →

How to study SQALE in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what SQALE means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain SQALE out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is SQALE in simple terms?

SQALE (Software Quality Assessment based on Lifecycle Expectations) is a method to support the evaluation of a software application source code. It is a generic method, independent of the language and source code analysis tools, licensed under the Creative Commons Attribution-NonCommercial-NoDerivs…

Why does SQALE matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study SQALE?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on SQALE.

Tags

  • Software architecture
  • Software engineering terminology
  • Software maintenance
  • Software quality

Keep exploring