MCPcopy Index your code
hub / github.com/clowee/OpenSZZ-Cloud-Native

github.com/clowee/OpenSZZ-Cloud-Native @R1.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release R1.1 ↗ · + Follow
212 symbols 390 edges 32 files 39 documented · 18%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

OpenSZZ

Ohne-Titel

Web Application that apply SZZ Algorithm to calculate BugInducingCommits of any project.

The web application needs as input: - Git repository URL of the project to be analysed - Jira repository URL

For example for Apache BCEL import shoud have the following Format:

Git URL = https://github.com/apache/commons-bcel.git

Jira URL = https://issues.apache.org/jira/projects/BCEL/

The output is a csv file containing for each identified BugInducingCommit the corresponding BugFixingCommit, the issueType and the involved changed file.

Pre-requisites

Docker

Docker Compose

Setup

Clone the Repository

git clone https://github.com/clowee/OpenSZZ.git

Configure .env file.

The application is scalable and the core part can be replicated in n different containers with random ports.

Here it is possible to configure the range of ports.

PORTRANGE_FROM=1000 PORTRANGE_TO=2000

DISPATCHER_PORT=8888 => Port where the Dispatcher Container is supposed to run

APP_PORT=8081 => Port where the Application Container (Frontend) is supposed to run

SERVER=http://localhost => URL where the dispatcher server it is reachable.

Configure the email address from which you want to send the confirmation email (tested with gmail accounts) EMAIL= PASS=

How to Run

Just run the following command

sudo docker-compose build

sudo docker-compose up -d --scale web=#replicates

This will build both of the docker images and will launch them in the background with the database container.

The scale option indicates how many times the container web should be replicated.

sudo docker-compose up -d --scale web=5 will create in total 5 containers web.

You can show the services down with

docker-compose down

Checking status

docker-compose ps

Updating If the Webservice or Webapp projects are updated, you need to update the submodules and rebuild the source and the docker-images. Just rerun

sudo docker-compose up --build -d --scale web=#replicates

Extension points exported contracts — how you extend this code

DBEntryDao (Interface)
(no doc)
dispatcher/src/main/java/com/scheduler/szz/helpers/DBEntryDao.java

Core symbols most depended-on inside this repo

toString
called by 10
core/src/main/java/com/rest/szz/entities/Issue.java
getName
called by 6
gui/src/main/java/org/openszzweb/samples/app/model/NamedEntity.java
getId
called by 5
core/src/main/java/com/rest/szz/entities/Issue.java
connectionFactory
called by 4
dispatcher/src/main/java/com/scheduler/szz/SzzRestApplication.java
connectionFactory
called by 4
core/src/main/java/com/rest/szz/SzzRestApplication.java
getComment
called by 4
core/src/main/java/com/rest/szz/entities/Transaction.java
getGitUrl
called by 3
dispatcher/src/main/java/com/scheduler/szz/model/DBEntry.java
gitDirectory
called by 3
core/src/main/java/com/rest/szz/git/Git.java

Shape

Method 175
Class 31
Enum 5
Interface 1

Languages

Java100%

Modules by API surface

dispatcher/src/main/java/com/scheduler/szz/model/DBEntry.java18 symbols
core/src/main/java/com/rest/szz/git/Git.java17 symbols
core/src/main/java/com/rest/szz/entities/Transaction.java17 symbols
core/src/main/java/com/rest/szz/entities/Issue.java15 symbols
core/src/main/java/com/rest/szz/entities/Link.java14 symbols
gui/src/main/java/org/openszzweb/samples/app/model/Analysis.java11 symbols
dispatcher/src/main/java/com/scheduler/szz/model/Analysis.java11 symbols
dispatcher/src/main/java/com/scheduler/szz/SzzRestApplication.java9 symbols
core/src/main/java/com/rest/szz/entities/Suspect.java9 symbols
core/src/main/java/com/rest/szz/SzzRestApplication.java9 symbols
dispatcher/src/main/java/com/scheduler/szz/controller/AppController.java7 symbols
core/src/main/java/com/rest/szz/git/JiraRetriever.java7 symbols

Datastores touched

(mysql)Database · 1 repos
petclinicDatabase · 1 repos

For agents

$ claude mcp add OpenSZZ-Cloud-Native \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page