Skip to content

Commit 6c3c802

Browse files
committed
Group Graal
Let's group these pages and we'll update them later! Signed-off-by: Igor Zubiaurre García <[email protected]>
1 parent b95ae28 commit 6c3c802

5 files changed

Lines changed: 61 additions & 8 deletions

File tree

graal/cocom.md renamed to docs/graal/cocom.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
---
2+
layout: default
3+
title: Cocom
4+
nav_order: 2
5+
parent: Graal
6+
has_children: false
7+
has_toc: false
8+
---
9+
10+
111
# Retrieving Code Complexity via CoCom Backend
212

313
- [CoCom](https://github.com/chaoss/grimoirelab-graal/blob/master/graal/backends/core/cocom.py) ( Code Complexity ) Backend based on supported languages and with the help of [Lizard](https://github.com/terryyin/lizard) retrieves various source code related analysis such as:

docs/graal/index.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
layout: default
3+
title: Graal
4+
permalink: /graal
5+
nav_order: 14
6+
has_children: true
7+
has_toc: true
8+
---
9+
10+
# Graal: a Generic Reporitory AnALyzer
11+
12+
Graal leverages on the Git backend of Perceval and enhances it to set
13+
up ad-hoc source code analysis. Thus, it fetches the commits from a
14+
Git repository and provides a mechanism to plug third party
15+
tools/libraries focused on source code analysis.
16+
17+
18+
GrimoireELK is the component of GrimoireLab that interacts with the
19+
underlying (OpenSearch) database. Its goal is two-fold, first it aims
20+
at offering a convenient way to store the data coming from Perceval,
21+
second it processes and enriches the data in a format that can be
22+
used by the Dashboards.
23+

docs/graal/intro.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
layout: default
3+
title: Intro
4+
nav_order: 1
5+
parent: Graal
6+
has_children: false
7+
has_toc: false
8+
---
9+
10+
# Graal
11+
12+
- [Graal](https://github.com/chaoss/grimoirelab-graal)
13+
( Generic Repository AnALyzer ) with the help of Perceval's
14+
[Git backend](https://github.com/chaoss/grimoirelab-perceval/blob/master/perceval/backends/core/git.py)
15+
fetches commits from a Git repository and provides a mechanism to
16+
plug third party tools/libraries focused on source code analysis.
17+
As of now, Graal produces analysis related to code complexity,
18+
quality, dependencies, vulnerability and licensing. In this chapter,
19+
you will learn the basics of working with Graal, including how to
20+
retrieve source code related analysis with the help of some of it's
21+
backends.
22+
23+
- Before starting, ensure that you have Python3 ready, and the Graal
24+
module installed, as detailed in
25+
[Installing GrimoireLab Python modules](../basics/install.md).
26+
27+
**Note:** As of now, Graal is not integrated in Grimoirelab toolchain,
28+
it will soon be added to support source code related metrics.

graal/intro.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)