Git Product home page Git Product logo

Comments (5)

florentk avatar florentk commented on August 15, 2024 1

I must resolve #21 issue before to get values by file type. Do you want a pre defined list of langage or an list of language automatically deducted in relation to them the most used ?

from metrics.

kelson42 avatar kelson42 commented on August 15, 2024

@florentk I want languages most used.

from metrics.

florentk avatar florentk commented on August 15, 2024

partialy done via a4138d2

from metrics.

florentk avatar florentk commented on August 15, 2024
  • Languages should be proper "Java", "C++", "Kotlin"

Add 'ext_name' in addtiion of 'ext'

cloc.py:            results['ext'] = GraalRepository.extension(file_path)
lizard.py:        result['ext'] = file_path.split(".")[-1]
scc.py:            results['ext'] = GraalRepository.extension(file_path)

see python-libmagic

restrictd number of file type :
AOC : https://github.com/chaoss/grimoirelab-cereslib/blob/master/cereslib/enrich/enrich.py#L132
Graal : https://github.com/chaoss/grimoirelab-graal/blob/master/graal/backends/core/cocom.py#L233

Suuported by Lizard :

ALLOWED_EXTENSIONS = ['java', 'py', 'php', 'scala', 'js', 'rb', 'cs', 'cpp', 'c', 'lua', 'go', 'swift']

  • C/C++ (works with C++14)
  • Java
  • C# (C Sharp)
  • JavaScript (With ES6 and JSX)
  • Objective-C
  • Swift
  • Python
  • Ruby
  • TTCN-3
  • PHP
  • Scala
  • GDScript
  • Golang
  • Lua
  • Rust

from metrics.

florentk avatar florentk commented on August 15, 2024

done via 9f80cbf

from metrics.

Related Issues (20)

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.