Giter VIP home page Giter VIP logo

c-java-code-analyser's Introduction

JDOC

C language command line application that reads in .java files and analyses the java code within it for data such as:

  • Number of lines in .java file
  • Number of non-blank lines in .java file
  • Number of Javadoc comments
Developer Command Prompt for VS 2019 is used for building 

Learn More

Contents

How to build

See Makefile for the build script.

Once in the project's directory from Microsoft Compiler, simply run nmake build.

This will generate an executable called jdoc.exe, and an object code file jdoc.obj.

nmake build

How to clean

If you need to delete the executable and object code at any time, nmake clean can be used. Please remember to build again before trying to run the application.

nmake clean

Running the app

Once built, JDOC can be ran with Microsoft Compiler CLI. JDOC requires two command line arguments to run successfully:

-i specifies the input file you wish to read from.

-o specifies name of the file you will be outputting to.

Output files can be called anything you wish, however special characters and spaces should be avoided.

Input files are currently limited to either Student.java or Rectangle.java. These could be extended by adding new Java files into the /src directory.

Example valid Student.java run command:

jdoc -i Student.java -o Student_doc.txt

Example valid Rectangle.java run command:

jdoc -i Rectangle.java -o Rectangle_doc.txt

Screenshots

Student.java screenshot

c-java-code-analyser's People

Contributors

angus-dolan avatar

Watchers

 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.