Coder Social home page Coder Social logo

unused-variables-finder's Introduction

Compiling techniques course project

Task

Write a program reading a subset of a selected language C, C++, C# ,Java, Python code and showing all variables, which are not used. Specify appropriate code limitations.

Test cases

The functional test cases (input files) are in the directory src/main/resources. Running the tests by the instruction below will generate the output. The output is printed on the console and additionally at the end of every line at which there is unused variable in the input file, a comment is added: //unused variable

Run instructions

This directory contains the source code, to run the tests, execute mvn test
The test cases in the src/main/test directory are for valid cases (with no errors). To run the test cases with errors, open the project in the IDE (tested in IntelliJ IDEA 2020.3), delete or comment the @Disabled annotation above error test methods and run the test class using the IDE.

unused-variables-finder's People

Watchers

Kacper Kamieniarz 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.