Giter Site home page Giter Site logo

PAL4JavaWeb

Introduction

PAL4JavaWeb is a lightweight approach that utilises static program analysis and prompt engineering to leverage LLM’s (Large Language Models) knowledge for generating setup steps. This project is implemented in Java language and is intended to be run in IntelliJ IDEA.

Usage

  1. Clone this project and the project you want to generate setup steps for.
  2. Locate PAL4JavaWeb\src\main\java\chatGpt.java, which serves as the main file for generating the setup steps.
  3. Modify the projname in the step2 file to the address of your target project on your PC.
  4. Change the Apikey of chatGpt to yours.
  5. Modify the arguments in the writeToText() function to the location you desire.
  6. The result will be automatically generated at the address specified in step 5.
  7. Run the chatGpt.java.

Call Graph

Repository: java-all-call-graph

  1. Package the project into a .war or .jar file.
  2. Locate the _jacg_config/config.properties file.
  3. Modify the app.name to your preference.
  4. Find the _jacg_config/jar_dir.properties file.
  5. Specify the location of the war/jar file.
  6. Find the _jacg_config/config_db.properties file.
  7. Adjust the database configuration (url, username, password).
  8. Find the _jacg_config/method_class_4caller file.
  9. Specify the class name you wish to analyse.
  10. Run TestRunnerWriteDb.java and TestRunnerGenAllGraph4Caller.java. The result will be automatically generated in the "_jacg-[time]" directory.

Baseline1

  1. Locate the PAL4JavaWeb\src\main\java\KeywordExtract.java file.
  2. Modify the directoryPath to the directory of your baseline projects.
  3. Modify the arguments in the writeToText() function to the desired location.
  4. The result will be automatically generated at the address specified in step 3.

Baseline2

  1. Locate the PAL4JavaWeb\src\main\java\RQ2Baseline1.java file.
  2. Modify the directoryPath to the directory of your baseline projects.
  3. Modify the arguments in the writeToText() function to the desired location.
  4. The result will be automatically generated at the address specified in step 3.

Test Applications

macrozheng/mall
lenve/vhr
elunez/eladmin
201206030/novel
stylefeng/Guns
ZHENFENG13/My-Blog
kanwangzjm/funiture
JaceyRx/Examination_System
withstars/Books-Management-System
guqing/qinlouyue
support-project/knowledge
ihengshuai/ktv-select_music-system
yupaits/docs-manage
LovebuildJ/book-manager
b2stry/mytwitter
muyinchen/migo-security
gpengDemo/Estore
liutengjian66/COVID
qiutiandefeng/yfdoc
Azure99/RainngCourse
Advancedpawn2020/cinema
Cool-Coding/angular-springboot-demo
Laverrr/bookstore
weiqingwen/spring-boot-forum
liujianview/gymxmjpa
huija/bicycleSharingServer
wdjisn/SpringBoot-Admin
ZemelZhu/MMS
ZemelZhu/Chatrum
mojooo/perManaGement
W-CORN/Cashier_management_system
DemoTree/NJU-SEII
sthoppan21/Java-BookStoreShoppingCart
Cool-Coding/angular-springboot-demo
ming-soft/MCMS

Example of the Generation Module

generate

pal4javaweb's Projects

hsweb-framework icon hsweb-framework

hsweb (haʊs wɛb) 是一个基于spring-boot 2.x开发 ,首个使用全响应式编程的企业级后台管理系统基础项目。

ibase4j icon ibase4j

Spring,SpringBoot 2.0,SpringMVC,Mybatis,mybatis-plus,motan/dubbo分布式,Redis缓存,Shiro权限管理,Spring-Session单点登录,Quartz分布式集群调度,Restful服务,QQ/微信登录,App token登录,微信/支付宝支付;日期转换、数据类型转换、序列化、汉字转拼音、身份证号码验证、数字转人民币、发送短信、发送邮件、加密解密、图片处理、excel导入导出、FTP/SFTP/fastDFS上传下载、二维码、XML读写、高精度计算、系统配置工具类等等。

jeeplatform icon jeeplatform

一款企业信息化开发基础平台,拟集成OA(办公自动化)、CMS(内容管理系统)等企业系统的通用业务功能 JeePlatform项目是一款以SpringBoot为核心框架,集ORM框架Mybatis,Web层框架SpringMVC和多种开源组件框架而成的一款通用基础平台,代码已经捐赠给开源**社区

my-blog icon my-blog

:palm_tree::octocat:A simple & beautiful blogging system implemented with spring-boot & thymeleaf & mybatis My Blog 是由 SpringBoot + Mybatis + Thymeleaf 等技术实现的 Java 博客系统,页面美观、功能齐全、部署简单及完善的代码,一定会给使用者无与伦比的体验

oms-erp icon oms-erp

一站式全渠道业务中台系统包括订单管理系统OMS/电商ERP、库存WMS统一管理系统和SAP财务管理系统等,实现快速部署,并帮助企业后续自主进行开发迭代,实现数字化转型,并有多个经典案例。中台系统包括:通用业务中台、强大的技术中台Springcloud/Istio、后续开发方案的设计,技术(K8S,SERVERLESS)及管理人员的培训等。

shopping-management-system icon shopping-management-system

该项目为多个小项目的集合(持续更新中...)。内容类似淘宝、京东等网购管理系统以及图书管理、超市管理等系统。目的在于便于Java初级爱好者在学习完某一部分Java知识后有一个合适的项目锻炼、运用所学知识,完善知识体系。适用人群:Java基础到入门的爱好者。

springacademic icon springacademic

This is a sample project, made for academic and demonstrational purposes only.

wangtengmei.github.io icon wangtengmei.github.io

Github Pages template for academic personal websites, forked from mmistakes/minimal-mistakes

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.