Back to search

University of Peloponesse

Introduction of innovative methods for software testing and licensing

Abstract

dc:description

Software programs are now an indispensable part of our lives, affecting them in a multiple ways across a number of sectors:, from communication to information, from economy to data processing and from entertainment in leisure time to drug research. The variety of software programs that are available for use in the context of the above mentioned domains is vast, while a correspondingly wide divergence exists in the area of methods and procedures of software development. Moreover, programs evolve along the passage of time, leading either to new versions, or to new programs with extended functionalities.The provision of guarantees concerning the correct operation of the software programs is a very important topic, where various techniques and methods have been developed and applied to achieve the highest possible quality of the programs, both in terms of functionality and interoperability with other programs. The execution of tests is one of the main methods for providing guarantees.Programs can be tested either statically or dynamically. In static testing, programs are not executed but rather traits of their content (programming instructions) and structure are analyzed, while in dynamic testing, programs are executed and their behavior and traces are examined. Some of the software testing categories/methods are:• functional testing i.e. testing whether functionalities are executed correctly and accurately; functional testing is subdivided into unit testing, integration testing, system testing, acceptance testing.• non-functional testing, i.e. tests to determine whether non-functional requirements of the software, such as security, performance, usability, compatibility etc. are met.Additionally, software programs are typically shipped with licenses, which specify how the program itself and/or its code (if the program code is available) can be used. The provision of a suitable licensing framework is important, both concerning the development of innovations and regarding the guarantees offered to users for the use of the software, instigating a sense of safety and stability.This thesis examines these two aspects proposing new, innovative methods for (a) software program testing and (b) the software licensing framework. More specifically:In Chapter 1 a new framework for managing the software testing code is introduced, which can be used in combination with all existing control testing methods, and for all programming languages. The overarching idea of the new framework is that all available tests are maintained centrally, in one or more repositories, and each test is annotated with meta-information about the code elements and the versions for which it is intended. Then, during the phase of creating and testing an executable program, depending on the code and the version being tested, the appropriate/corresponding tests are identified, extracted, and used. Some of the advantages of the new method are that (a) tests are written only once and can then be used for unlimited programs and versions, (b) tests can be used to validate programs with dynamic features, (c) it supports and promotes test-driven development, (d) it supports testing software programs with different configurations, (e) it supports feature-based builds, and (f) it supports comparing and combining the functions of different versions of programs.In Chapter 2 the method described in Chapter 1 is extended to the area of mobile device applications, covering features related to the intricacies and particularities of the mobile application ecosystem, such as the diversity of devices and operating systems, the need for energy conservation, changes in network connectivity, and so on.Chapters 3-4 present two use cases for the software control code management framework that aim to enhance software security. Specifically, in Chapter 3 we present a software vulnerability management framework to minimize the risk associated with attacks on Internet of Things (IoT) systems. This framework facilitates (a) configuring software to include only the necessary capabilities, (b) performing securityrelated testing and compiling software vulnerability lists across the platform, and (c) prioritizing vulnerability remediation, taking into account the impact of each vulnerability, the associated technical debt for its remediation, and the available security budget. The proposed framework can be used as an aid in the implementation of the IoT platform by software architects, developers as well as information security specialists.In Chapter 4, a method for minimizing the risk due to software libraries is proposed, which is based on the framework presented in Chapters 1-2. In modern Internet of Things (IoT) systems, but also more broadly in software systems, libraries are used to implement the required functions. Libraries, however, often contain vulnerabilities, which can be exploited by attackers, and lead to security incidents. In many cases, the functionality required by an application is implemented by a series of alternative libraries, with each library having its own list of vulnerabilities, while variations may also exist in other non-functional properties (e.g. execution performance, memory footprint, etc.). The proposed approach can automate the task of minimizing the risk level of IoT systems (or software in general) due to vulnerabilities in the libraries required by the software under test. The proposed approach exploits knowledge about the libraries that provide equivalent functionality to automatically evaluate the risk level of candidate library combinations, and finally selects the library combination that presents the minimum risk level to integrate into the executable. In addition, the risk level of candidate applications is continuously monitored for new vulnerabilities or implementation fixes, triggering new risk assessments and generating new executables, as appropriate.In Chapters 5-6 of the thesis, a dynamic testing method is studied, in which all possible execution paths for specific inputs are executed. These methods help in locating intermittent faults in the code, i.e. faults that occur rarely, and only when the execution of the program follows specific paths in the code due to specific inputs, unexpected interactions, conditions in the application environment, etc. In these methods, specific access patterns to shared variables are identified that indicate with a high probability the existence of intermittent faults in the code. The user is then asked to check the corresponding points in the code, in order to decide whether an error actually exists. In particular, the algorithm presented in Chapter 5 examines access patterns considering only direct dependencies between shared variables, while in Chapter 6 an extension of the algorithm is presented which additionally considers indirect dependencies between shared variables.In Chapter 7, a method for tentatively patenting software is proposed, which allows for safeguarding intellectual property with reduced cost, thus making the patent acquisition process accessible to anyone interested. Furthermore, reference is made to existing software licenses and a new versatile licensing framework is proposed that gives elevated flexibility in the choice of license, and provides information about its duration and additional guarantees to software artifact users.Finally, Chapter 8 summarizes the doctoral thesis and outlines future research directions.

Degree

thesis:*
Grantor dc:publisher
University of Peloponesse
Year dc:date
2025

Author and committee

dc:creator, dc:contributor.*
Authors dc:creator
  • Sotiropoulos, Panagiotis
  • Σωτηρόπουλος, Παναγιώτης

Subjects

dc:subject × 42

Rights

Language dc:language
eng

Identifiers

dc:identifier.*
Identifier
10.12681/eadd/60308

Chain of custody

source
Harvested from
Greek National Archive of PhD Theses
Base URL
phdtheses.ekt.gr/eadd_oai/request
Last updated
2026-11-18
Source record
OAI-PMH GetRecord
citation

Sotiropoulos, Panagiotis; Σωτηρόπουλος, Παναγιώτης. Introduction of innovative methods for software testing and licensing. University of Peloponesse, 2025. http://hdl.handle.net/10442/hedi/60308