Giter VIP home page Giter VIP logo

prathamgahlout / phsyberdome-dependency-scanner Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 2.0 2.72 MB

Detect Licenses, dependencies by scanning your project/repositories to discover the Open Source and Third party packages used in your code.

License: GNU General Public License v3.0

Java 100.00%
dependencies dependency-graph license license-management license-scan open-source open-source-licensing sca spdx-license spdx-licenses

phsyberdome-dependency-scanner's People

Contributors

prathamgahlout avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

abhiramkarri

phsyberdome-dependency-scanner's Issues

Heap Overflow in case of a large dependency tree

Reproduction
Have a fairly big project to scan. Or just change the commons-compress dependency to v1.26.0 in this repo and scan this repo using
java -jar phsyberdome-sca-cli-1.0.3-beta scan -src <path-to-clone>

The commons-compress v1.26.0 has a big dependency tree in itself. The scan would run for quite a while and then crash because of Heap Overflow Error.

Solution
Stop creating the dependency tree in-memory and keep writing it to disk at regular intervals.

Wrong detection for almost exactly similar but different licenses

The license detector is detecting Apache-2.0 as a Pixar license.
The reason being that the Pixar license is a modified version of the Apache-2.0 so while calculating the similarity, Pixar scores greater than Apache-2.0 by a very little margin.

What I will do is if the similarity score of lets say N number of licenses are very close ( within a range [ most_similar, most_similar - a ] , where a will be a number defined after some tests ), the detector will give all N licenses as possible right answers.

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.