✏️ writes @inishchith

Home About Work RSS

[week-5] And.. we have our first dashboard

  • GSoC
  • 2019
  • week-5
  • coding-period-1

We had our last meeting for the first coding phase (27th May to 28th June) on Friday, 28th June 2019 at 12:30 CEST or 16:00 IST, which was as always conducted on #grimoirelab channel.
In this post, I’ll try to highlight some key points discussed during the meeting, ranging from the work done in this week, blockers or pending work (if any) to the work planned for the coming week.

# What work was done in this week?

  • For this week, we’d planned to get ready with the first iteration of the dashboard for a set of visualizations of metrics produced with the help of Graal’s CoCom backend.
  • Adding more visualizations for metrics such as the relation between LOC and CCN, LOC and functions, and others.
  • I started the week by getting repository-level implementation graal-PR#29 reviewed by @valcos and completing changes proposed such as adding commit-level information to it. (we finally got it merged yesterday 🎉)

  • I had earlier done some work on data-tables to showcase attributes such as Overall CCN, LOC, and top-complex-files of a given repository, I went on to create an issue ticket in order to keep track of ideas and to conduct discussion on the same.
    Some of the implemented widgets are shown below -


[ Pie: Top complex files for given projects ]

Screenshot 2019-06-13 at 11 23 55 PM


[ Data Table: Relation between LOC & Comments (Derived) ]

Screenshot 2019-06-13 at 11 23 55 PM


[ Line: Project-Wise Code Complexity per day ]

Screenshot 2019-06-13 at 11 23 55 PM


[ Data Table: Project-Wise Metrics Table ]

Screenshot 2019-06-13 at 11 23 55 PM


  • The first iteration of the CoCom Dashboard can be viewed from the remote instance : here


This week’s task also included analyzing data produced by Graal’s CoLic(Code License) backend, I’ve opened an issue ticket for the purpose of discussing relevant attributes to be added as fields in the enriched index of ElasticSearch and pushed some reference code on my fork of grimoirelab-elk with the help of earlier work done on CoCom enricher. The approach and further steps related to CoLic data(fields) and refinements to CoCom dashboard will be discussed in today’s meeting.

# Plans for next week:

  • For the coming week, we’ve decided to re-iterate over the CoCom dashboard to add more visualizations related to the evolution of some of the attributes(CCN, LOC, and others), organize it in a better way and check the correctness of the results produced.
  • Also keeping an eye on CoLic Backend, we’ll be conducting discussion related to relevant attributes to be considered as a field for enriched index and start with some visualizations for an initial iteration. For starters, we’ve chosen a licenses list attribute for a given file and after some more exploration, add more fields.
  • As you can understand(from above), we’ve taken the breadth-first approach i.e. For now, we’ll be focusing on getting CoCom and CoLic dashboards ready and then we’ll be moving on to evaluate their performance and possible optimization in terms of the time of execution and storage management during the later stages.

# Footnotes:

  • Next meeting will be conducted on Friday, 5th July 2019 at 12:30 CEST or 16:00 IST, so let’s catch up next week ;)
  • IRC conversation log of the meeting can be found here
  • GSoC project proposal
  • Project tracker can be found here

I’ll be posting updates on the mailing list as well as on the twitter thread.

If you have any questions or suggestions, please make sure to comment down below ;)