Dependencies Analyzer icon
Module Id
dependencies-analyzer
Group Id
org.jahia.modules
Updated
Requires Jahia
7.2.3.1
Author
Florent BOURASSE
Category
Tools and Utilities
Status
COMMUNITY

Dependencies Analyzer group_work

development

Use to analyse the expected and missing dependencies between modules.

It should only be used on a non production environment.

Dependencies & Dependants

Dependencies
  • NONE
Dependants
  • NONE

FAQ

How to use?

Basic usage

The dependencies analyzer service is available through the Karaf console.

Use utils:graph-missing-dependencies to create a graph of the missing declared dependencies

jahia@dx()> utils:graph-missing-dependencies

Commands

utils:graph-missing-dependencies

Create a graph of the missing declared dependencies. The files are generated in the JCR with the path "/sites/systemsite/files/dependencies-analyzer"

Options:

Name alias Mandatory Value Description
-s --skip     Skip modules created by Jahia

Example:

utils:graph-missing-dependencies -s  

utils:print-missing-dependencies

Print a graph of the missing declared dependencies.

Options:

Name alias Mandatory Value Description
-s --skip     Skip modules created by Jahia

Example:

utils:print-missing-dependencies -s  

How To Install

Install and start the module in the administration mode.

You also have to install the tool dot: https://www.graphviz.org/

 

Images

License

MIT License

Copyright (c) 2018 - present Florent BOURASSÉ

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.