Skip to content

Derek-Jones/Measure-source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scripts to measure source code

CodeQL scripts for extracting measurement data from C, C++, Python and Java projects.

Running these scripts requires installing the command line version of CodeQL and Java (to execute the CodeQL jar).

CodeQL works on project databases, which can be built using CodeQL.

The CodeQL extension in Visual Studio Code can download project databases from GitHub.

The command codeql.sh proj_db feature.ql runs the CodeQL script +feature.ql+ on the contents of the database +proj_db+ to produce a csv file in the +csv+ directory.

This script invoke +codeql+ twice, once to create a bqrs file (an intermediate file used by CodeQL), from which the csv file is then generated.

About

Scripts to measure source code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors