[ros-users] [Discourse.ros.org] [Quality Assurance] What quality metrics do we need to make packages quality visible?

fkromer ros.discourse at gmail.com
Sun Mar 4 20:39:06 UTC 2018



[quote="tyagikunal, post:2, topic:3985"]
Current questions:

* Coupling: on what levels apart from those provided by Doxygen/Sphinx? Is there a free tool for that level?

  * Efferent: dependencies for object being analyzed, useful to check possible external causes causes of a failure
  * Afferent: dependencies of object being analyzed, useful to check what all would break if API changes
[/quote]

It would be possible to show efferent coupling on the package level  by parsing `<run_depend>`, etc. in ROS1 `package.xml` files. For ROS2 packages one could parse `<depend>`, `<exec_depend>` in ROS2 `package.xml` files. From this information one could generate some kind of [dependency diagram like HAROS](https://raw.githubusercontent.com/git-afsantos/haros/master/docs/screenshots/packages.png) (as far as I know HAROS works on the workspace level only) does... this could be combined with the packages "quality summary data" (HAROS package coloring). By combining data gathered from public packages one could get information about afferent coupling as well...





---
[Visit Topic](https://discourse.ros.org/t/what-quality-metrics-do-we-need-to-make-packages-quality-visible/3985/5) or reply to this email to respond.




More information about the ros-users mailing list