Menu

#137 Generic shell script incorrectly recognized as 'ASP.NET'

v1.63
pending
nobody
None
1
2015-08-25
2015-08-21
mulander
No

The following file

mulander@inferno:~/github/database$ cat .config 
export DBNAME=dump_pro
export SUPERUSER=postgres

is incorrectly recognized as ASP.NET

mulander@inferno:~/github/database$ cloc .config 
       1 text file.
       1 unique file.                              
       0 files ignored.

http://cloc.sourceforge.net v 1.60  T=0.03 s (36.1 files/s, 72.3 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
ASP.Net                          1              0              0              2
-------------------------------------------------------------------------------

Tested with cloc v1.60 on Ubuntu 15.04

Discussion

  • Al Danial

    Al Danial - 2015-08-21

    Yes, .config is currently assigned to ASP.Net. That's excessive, as .config is ubiquitous. I'll remove it from ASP.Net -- but that means unless .config begins with a #! line, such files will not be recognized as containing code.

     
  • Al Danial

    Al Danial - 2015-08-21
    • status: open --> accepted
     
  • Al Danial

    Al Danial - 2015-08-25

    The .config extension was removed from ASP.Net with svn commit 464.

     
  • Al Danial

    Al Danial - 2015-08-25
    • status: accepted --> pending
     

Anonymous
Anonymous

Add attachments
Cancel