Giter Club home page Giter Club logo

sojitantei's Introduction

SojiTantei

SojiTante a tool for analyzing nodeJS projects

In order to analyze a project you need to provide the location of the local git repository related to the project, to do so just change the directory variable inside the configuration.js file to include the path to the project.

Functionalities:

  1. Versions Detector The versions detector is comprised of two methods: a) Method 1 Retrieve from package.json: To follow this approach the user need to run the script called ”getFilesPerRelease.js” inputting in the first and only parameter the name of the project to be analyzed. b) Method 2 Retrieve from commit tags: To follow this approach the user runs the script "getTags.js" inputting in the first and only parameter the name of the project to be analyzed. After applying either method, SojiTantei creates a file named R_{version}.txt containing the hash id of the related commit and the list of the files with extension js or jsx that exists in each of the versions retrieved.

  2. Function-Call Tracer The user needs to execute the script called syntaxChecker.js and input the name of the project to be analyzed in the first parameter. There are two possible executions of the script, (i) running the script without extra parameters will get the function-calls for all the versions of the project included in the output of Versions Detector. (ii) running the script inputting from the second parameter the names of version files (i.e. R_{version}.txt) included in the output of Versions Detector will perform analysis only on those files.

  3. Functions Comparator The user need to execute the script called getFunctions.js and input the name of the project to be analyzed in the first parameter. There are two possible executions of the script, (i) running the script without extra parameters will get the function comparison for all the version projects included in the output of Version Detector, this comparison will be performed by pairs in incremental order from the oldest version to the newest. (ii) running the script inputting from the second parameter the names of version files (i.e. R_{version}.txt}) included in the output of Versions Detector will perform the analysis on those files only, performed by pairs in the inputted order.

sojitantei's People

Contributors

rodrigo-e avatar

Watchers

James Cloos avatar

Forkers

naist-se

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.