Code Monkey home page Code Monkey logo

metrics-research-software's Introduction

Research software

This software was written while creating research paper Software metrics in Boa large-scale software mining infrastructure: challenges and solutions.

Authors: Agnieszka Patalas, Michał Malinka, Wojciech Cichowski, Piotr Maćkowiak

under guidance of associate professor Lech Madeyski

Models and Metrics in Software Engineering Project

Wrocław University of Technology


To allow easy management of Boa jobs and connecting job outputs with creating defect prediction models, a simple Java program has been written. The software uses [Boa Java API](https://github.com/boalang/api) to run jobs.

Few simple documents (input files) should be used to configurate query. They are stored in res/ directory:

  • config.properties - stores the login data for Boa account. The account is used for running Boa jobs through API. Both user and pass attributes must be real and belong to registered Boa account. They are mandatory. Not providing those attributes will result in program failure.

  • input.xml - keeps the configuration for the program:

    • <metrics>: a list of metrics as a list of <metric> attributes; each metric should be stored in a *.boa file with the same name and placed in metrics/ dictionary. *.boa files must have only one output named m
    • <dataset>: the ID of the picked dataset; the IDs of working datasets are defined in datasets_dictionary.xml file;
    • <output_parameter>: defines the evaluating value for prediction model; so far, only the fixing revision attribute is used in such manner. It can be imported in the same way as <metric>
    • <result_file_path>: prediction output file name, relative to main directory

Program builds simple prediction model which can be used to predcit number of fixing revision in no-classifed data set.

Result file has following structure:

Columns: List of input metrics, eg. WMC, CNOF, RFC

Rows: Values of each metic

Last column named "fixingRevisions" contains value calculated by predicition model.

Statistical tests

statistical_tests_with_MATLAB folder contains statistical tests used for calculating importance of cumulative metrics described in the paper.

metrics-research-software's People

Contributors

aknilam avatar ampatalas avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.