Coder Social home page Coder Social logo

guilhermeslacerda / drtools-metric Goto Github PK

View Code? Open in Web Editor NEW
13.0 4.0 3.0 9.89 MB

A flexible tool (CLI) for measuring the health of your source code

License: MIT License

Java 100.00%
software-quality code-metrics code-analysis-tool code-analysis static-analysis

drtools-metric's Introduction

DR-Tools Suite

drtools-metric

The drtools-metric was born from the need to be a simple tool that could help the developer with his daily work.

The vast majority of metric tools are server-side, requiring multiple configurations and environments to use.

The drtools-metric came up with this approach as a premise: simplicity. For this reason, it is a CLI (command-line interface) tool.

More information at the official website.

Requirements, Install Instruction, and Usage

More information at the drtools-metric page.

drtools-metric's People

Contributors

guilhermeslacerda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

drtools-metric's Issues

Error running against repo on github

Steps ...

  1. git clone https://github.com/gelias/ssl-pinning-java.git

  2. drtools-metric.sh /Users/gelias/workspace/java-2019/ssl-pinning/ -a --console

Error:

SUMMARY OF METRICS

        Total of Namespaces: 0
             Total of Types: 0Exception in thread "main" java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:61)

Caused by: java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 0
at structures.results.NamespaceMetricResult.getMedianOfTypes(NamespaceMetricResult.java:125)
at output.MetricResultConsole.showSummary(MetricResultConsole.java:81)
at output.MetricResultConsole.show(MetricResultConsole.java:94)
at general.options.AllMetricsOption.execute(AllMetricsOption.java:11)
at general.ProjectInfo.show(ProjectInfo.java:59)
at main.Bootstrapper.analyzeAndShow(Bootstrapper.java:51)
at main.Bootstrapper.runApp(Bootstrapper.java:36)
at main.Bootstrapper.main(Bootstrapper.java:26)
... 5 more

ProjectInfo: NullPointerException

Good night,

I received this error while scanning my project. Maybe It'll be great to have more info in this error.

Exception in thread "main" java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:61)
Caused by: java.lang.NullPointerException
	at selection.ProjectInfo.show(ProjectInfo.java:59)
	at main.Bootstrapper.analyzeAndShow(Bootstrapper.java:51)
	at main.Bootstrapper.runApp(Bootstrapper.java:36)
	at main.Bootstrapper.main(Bootstrapper.java:26)
	... 5 more

Please, let me know if you need more information.

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.