Code Monkey home page Code Monkey logo

Comments (4)

chrismattmann avatar chrismattmann commented on August 12, 2024

Here's a project description from the VPS semester of code that I wrote:

User Interface for the Distributed Release Audit Tool (DRAT)

The Distributed Release Audit Tool (DRAT) improves over the Apache RAT code audit tool in several ways. RAT is a command line tool and Java API and Maven plugin that audits a code base and its declared OSS licenses - if you say it's Apache2, RAT will check whether or not your source is Apache2 and produce a report that states what files are/aren't and why.

RAT has several problems, namely:

It doesn't scale to large code bases - running it on a 25k file and 10M LOC code base ran for ~4 weeks on a normal Linux server with 5GB memory and tons of hard disk and modern CPUs.
RAT's crawler is rudimentary and you have to use explicit white/black lists on what files to avoid or else it will be checking binary files for licenses.
RAT doesn't produce incremental output. It either completes and generates a log, or it doesn't.
DRAT improves upon RAT in several ways namely by addressing all of the above concerns. You can find DRAT here: https://github.com/chrismattmann/drat/

DRAT is a Map Reduce version of RAT using Apache Tika to automatically sort and classify the code base files; Apache OODT to index metadata and Tika information about those code files into Apache Solr; and OODT to produce a Map Reduce workflow that runs RAT incrementally on k-sized chunks of same-MIME-typed files (detected by Tika) and then producing incremental, per type logs, and then aggregating and reducing them into a combined log at the end.

DRAT currently has support for command line interaction, but no GUI. We need a GUI for DRAT that brings in neat visual interfaces like D3.js to show RAT log historgrams and code/source file reports and mappings. We need a search box in which a user inputs a URL pointing at a code base and the backend services for DRAT are invoked.

from drat.

ericmarcincuddy avatar ericmarcincuddy commented on August 12, 2024

Presently looking into Bootstrap using either JSPs or Servlets able to query Solr and populate D3.js graphs and charts.

from drat.

chrismattmann avatar chrismattmann commented on August 12, 2024

great to hear @ericmarcincuddy

from drat.

chrismattmann avatar chrismattmann commented on August 12, 2024

I have some students at USC also working on this project now. I'll include you on the emails.

from drat.

Related Issues (20)

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.