dhyan / code2vec_code_complexity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage:

All the installations, processing and training steps are same as the original implementation of code2vec.
This repository explores a way to work with this dataset and modifies the java extractor code(already there in code2vec implementation) to label data with its respective class complexity.

Demo

class complexity demo

Results:

Although it's still work in progress but so far we have 70% accuracy, along with ~60% for precision, recall and F1 score respectively.

References:

Original work(code2vec):

Dataset used:

Credits:

About

License:MIT License


Languages

Language:Java 77.5%Language:Jupyter Notebook 20.1%Language:Python 1.8%Language:C# 0.4%Language:Shell 0.1%Language:HTML 0.0%