Skip to content

HPCL/codepurrfect

Repository files navigation

Code analysis tools

This project contains tools developed as part of the DOE ECP xSDK project. The main goal is to enable HPC software developers to implement their own custom code analysis tools for their projects, which can be used in conjunction with general-purpose linters and other code checkers.

Dynamic Analysis

The dynamic analysis tool is implemented in Python and has the following prerequisites:

  • LLVM (v. 11.0.0)
  • Clang
  • Python (supports both Python 2 and 3)
  • Conda
  • Linux or MacOS

For more details and examples of computing several software quality metrics on xSDK projects, view or run this Jupyter notebook.

Static Analysis

The static code analysis tool is implemented in C++ based on clang-llvm, and employs clang-tooling AST manipulation capabilities. It can be used and extended to compute various metrics related to code quality.

For more details and examples, refer to this README

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •