Siirry sisältöön
Softagram
  • Etusivu
  • Palvelut
    • Toiminnanohjaus
    • Tekoälypalvelut
    • Tietoturvapalvelut
  • Yritys
  • Ota yhteyttä
  • Uutiset ja oppaat
    • Uutiset
    • Oppaat
  • Tech
  • Kirjaudu sisään
  • Ota yhteyttä
Softagram
      • Etusivu
      • Palvelut
        • Toiminnanohjaus
        • Tekoälypalvelut
        • Tietoturvapalvelut
      • Yritys
      • Ota yhteyttä
      • Uutiset ja oppaat
        • Uutiset
        • Oppaat
      • Tech
    • Kirjaudu sisään
    • Ota yhteyttä

    Tracking external dependencies

    Reference
  • Kaikki blogit
  • Oppaat
  • Tracking external dependencies
  • 15. syyskuuta 2020 kirjoittanut
    Tracking external dependencies
    Ville Laitila

    To find the libraries that are not used or are used only mildly, that could enable doing cleanup of the dependencies.

    1. Open up “External” element to see what elements does it contain.

    2. Basically those are external elements (libraries) of which code is not present in analysis. (Some of those might be also caused by errors in analysis) 

    3. If you have somewhere the full list of the libraries included in your production image, you can cross-check that list against the list of elements under External. This is where the usability is not yet in optimal level, but it is still doable already.

    4. However, there are also sometimes corner cases: For an element that is “pulled” to the image due to arbitrary dependency (e.g. a test tool or some other “not so relevant” component uses it). Those special cases can be identified with the help of heatmap when configured to show external_incoming_dependency_count metric.

    5. Libraries with very low external_incoming_dependency_count metric are such might be easily removable from the production deployment with relatively low work effort as there are very few users for them. 

    In the most recent Softagram version there is also a Page Rank based algorithm to identify indirect importance of software elements. As an alternative to external_incoming_dependency_count metric, it better shows the “real importance or connections” of an element even if it has just a few direct users (but they themselves are very important). However, that metric is still to be exposed in UI.

    Note that in some rare cases, external libs might not be used directly from your code, but through another external library. Those cases can be resolved with the help of binary analysis (instead of source code analysis) that is not available in the product. 

    Originally published at help.softagram.com

    in Oppaat
    # Softagram Analyzer

    Älyä toiminnanohjaukseen

    Olemme intohimoinen tiimi, jonka tavoitteena on parantaa kaikkien elämää mullistavien tuotteiden avulla. Kehitämme loistavia tuotteita liiketoimintasi ongelmien ratkaisemiseksi. Tuotteemme on suunniteltu pienille ja keskisuurille yrityksille, jotka haluavat optimoida suorituskykynsä.

    Ota yhteyttä

    Softagram Oy
    Ketolanperäntie 469 
    90450 ​Kempele 

    • +358504836173
    • info@softagram.com
    Seuraa meitä
    Copyright © Softagram Oy
    Järjestelmää pyörittää Odoo - Luo ilmainen verkkosivu