GithubHelp home page GithubHelp logo

nazar-art / code-lines-counter Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.88 MB

Solution for technical task by Codeminders company

Home Page: http://codekata.com/kata/kata13-counting-code-lines/

Java 100.00%
java-application java cli junit-5 junit-jupiter

code-lines-counter's Introduction

Java console application that implements Counting Code Lines functionality described here

http://codekata.com/kata/kata13-counting-code-lines/

Requirements

1. It should be simple java application without Spring or any other frameworks.
2. The application should have CLI which allows user to provide file/folder name
3. The result should be printed to console
4. The result should be printed in pretty format.

If single file is provided as input result should be in form of

"<filename> : <number of lines>". 

E.g.

"App.java : 42"

If directory name is provider as an input result should include aggregated values as well, e.g.

root : 331
    subfolder1 : 140
        Class1.java : 65
        Class2.java : 75
    subfolder2 : 161
        Class3.java : 102
        Class4.java : 59
5. Unit tests are expected. You can use framework of your choice.

code-lines-counter's People

Contributors

nazar-art avatar

Watchers

 avatar  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.