Skip to content

Sunnycheey/comment-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This module is used to calculate the number comment line and its percentage in a project.

Usage

calculator -dir=<dir>
# dir need to be full path

WARNING: Since this project hasn't using parser, so you need to make sure the format of comments in your code is correct. You also need to check out there is not comment string in the string literal. For Python, currently we cannot deal with inline doc string (e.g., '''hello'')

About

calculating the percent of comment in a project

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages