 fs = require 'fs'
+p = require 'path'
 
 sourceLinesCounter = (path) ->
     

        if stats.isDirectory()
            walk fullPath, resultArray
        else
            ext = fullPath.match /.*(\..*)$/
            type = ext[1] if ext isnt null and ext[1] isnt null
            if not extConfig[type]
                continue


        'can not read :' + path + e

    # check type
    ext = p.extname path
    type = ext if ext isnt null
    type = 'js' if not extConfig[type]

    lines = content.split '\n'
    counter = 0
