Giter VIP home page Giter VIP logo

commentcounter's Introduction

CommentCounter

This program detects single-line, multi-line and javadoc comment lines of functions in a Java file given from the console and aims to save each comment type in separate files according to the function names.

Regular Expressions are used in this program.

Also there is a jar file in dist folder. You can use it.

Ekran Alıntısı


Bu program Sakarya Üniversitesi Bilgisayar Mühendisliği bölümü Programlama Dilleri ve Pradigmaları dersi için hazırlanmıştır. Ödevin içeriği: Yazacağınız Eclipse projesi Java dilinde ve konsol uygulaması olmalıdır. Programa konsol üzerinden komut satırı parametresi olarak verilecek .java dosyasını, program okuyacak ve ilk önce tüm fonksiyonları tespit edecektir. Daha sonra fonksiyonların içinde yazılmış olan yorumları ve Javadoc’ları ayrı ayrı fonksiyonlar ile ilişkili olarak tutacaktır. Ayrıca fonksiyonun üstünde yazılı fonksiyona ait olan javadoc varsa onları da alacaktır. Ekranda her fonksiyona ait kaç adet tek satır yorum (// yorumlar), çok satırlı yorum (/ * yorumlar * /) ve javadoc (/** yorumlar * /) olduğunu listeleyecektir. Yorumlar 3 farklı dosyaya kaydedilmelidir. Javadoc yorumlari javadoc.txt, tek satır yorumları teksatir.txt ve çok satırlı yorumlar coksatir.txt ye aşağıdaki formatta kaydedilmelidir. 3 dosyanın da formatı aynı olmalıdır.

commentcounter's People

Contributors

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