GithubHelp home page GithubHelp logo

aspectj_codetuner's Introduction

Codetuner

A java tool that can be used to modify the java bytecode for logging, caching, profiling, making methods concurrent without changing the source code.

Depedencies

Note: The project is built using Java 18, It may or may not work with other distributions. AspectJ is not necessarily required to run the project, but it may be useful to compile java code using ajc so that the variables are not renamed by the compiler. This will help in logging the variables.

Build

  • Make sure you are on the root directory of the project and the dependencies are installed.
  • Run the following commands to build the project. This will also generate jacoco test coverage report which will be available at docs/report/
./gradlew build
  • If the above command doesn't run in linux based systems, then use the following command to remove carriage return from the gradlew file.
sed -i 's/\r$//' gradlew
  • Now run the following command to generate the jar file and save it in necessary directory inside the dist folder.
./gradlew shadowJar

Note: If ./gradlew doesn't work, try to run gradlew instead. Also, in some systems, neccessary permissions may not be available to run the gradlew file. In that case, run the following command to give the necessary permissions.

chmod +x gradlew

Usage

  • Follow the README present inside the dist for your system to install the tool.
  • Run the following command to see the usage of the tool.
codetuner --help
  • This will show the help menu.
  • Follow the help menu and manual in the docs/ to use the tool.
  • Weaving all variables may not work properly. So, it is recommended to weave variables names only without using * for logging.

Docs

  • Please click here to check the docs from the github repository wiki page.
  • The docs are also available in the docs/ folder in the root directory of the project as md files. Use proper markdown viewer to view the docs. Pdfs are also available for viewing if markdown viewer is not available.

aspectj_codetuner's People

Contributors

akshat1712 avatar khan-shahnawaz avatar vishnusai-janjanam avatar pranav-mallela 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.