Code Monkey home page Code Monkey logo

appliedsoftwareengineering's Introduction

Applied Software Engineering Lab Projects

Build Status codecov

This is the main repository for delivery of all the individual projects for the course "Applied Software Engineering".

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them

Maven 3.6.3

Maven distribution from Apache can be found here: Install Maven

JDK 1.8

Java SE Development Kit can be found here: JDK Install

Installing

A step by step series of examples that tell you how to get a development env running

Open Git Bash and clone this repository

git clone https://github.com/EfthymiaKostaki/AppliedSoftwareEngineering.git

Change to the main repository by running

cd AppliedSoftwareEngineering

Build Maven Project by running:

mvn install

Change to child directory of your preference

cd childDirectory/

Change to target directory by

cd target/

Locate the .jar file by running

ls

Run the .jar project with an argument if needed.

java -jar jarFileExample.jar arg[0]

Please keep in mind that some child projects require a system argument when running the jar file while other do not. See the specific section for each project for more details.

Project Structure

This repository consists of a parent Maven project and three sub-project (modules), that handle the dependencies in a different way.

  1. Histogram Generator - creates a histogram from a given set of numbers
  2. Unit Testing - a project for practicing Unit Testing
  3. Source Code Analyzer - a project for applying design patterns

HistogramGenerator

A JAVA application for creating a histogram of the frequency of given grades. The path to the grades file is given as a system argument input.

After running the commands mentioned to run the .jar project, where arg[0] can be a single file or the path to the input file.

java -jar HistogramGenerator/target/HistogramGenerator-0.0.1-SNAPSHOT.jar arg[0]

Unit Testing

A JAVA application for the Unit Testing practice project. This is a project for practicing Unit Testing.

After running the commands mentioned to run the .jar project:

java -jar unittesting/target/unittesting-0.0.1-SNAPSHOT.jar 

Source Code Analyzer

A JAVA application that reads a Java source code file that is stored locally or on the web, calculates the LOC, NOM and NOC metrics and finally, exports these metrics to an output file.

You can execute the system (after building with maven) with the following command:

java –jar  SourceCodeAnalyzer/target/SourceCodeAnalyzer-0.0.1-SNAPSHOT-jar-with-dependencies.jar arg0 arg1 arg2 arg3 arg4

where:

  • arg0 = “JavaSourceCodeInputFile” (e.g., ../src/test/resources/TestClass.java)
  • arg1 = “sourceCodeAnalyzerType” [regex|strcomp]
  • arg2 = “SourceCodeLocationType” [local|web]
  • arg3 = “OutputFilePath” (e.g., ../output_metrics_file)
  • arg4 = “OutputFileType” [csv|json]

Built With

  • Maven - Dependency Management

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

This project receives frequently technical reviews from the Management Science and Technology Lab Personnel of the Athens University of Economics and Business.

appliedsoftwareengineering's People

Contributors

dependabot[bot] avatar efthymiakostaki avatar

Watchers

 avatar  avatar  avatar

appliedsoftwareengineering's Issues

Missing TestSuite

A TestSuite is missing from your test code. See the Part 1 requirements.

Missing parent Maven project

You have committed/pushed only the module project. Its POM contains references to the parent project which is missing from the remote repository. Thus, your project cannot build.

Add Null Parsers

In:

  1. SourceCodeAnalyzer
  2. SourceFileReader

It should be assessed if this change should be made in all packages or some of them.

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.