Coder Social home page Coder Social logo

dependency-analyser's Introduction

dependency-analyser's People

dependency-analyser's Issues

Add option to remove implied dependencies

Consider a graph of dependencies:

    a -> b
    a -> c
    b -> c

The direct link from a->c is implied via a->b->c.

Add an option to the UI that removes dependencies which are implied 
transitively.

This blog post shows the benefit this can have on complex diagrams:

http://mg.pov.lt/blog/simplifying-dependency-graphs.html

Original issue reported on code.google.com by drewnoakes on 24 Mar 2014 at 9:54

Exception opening any Assembly on Win 7 64-bit

What steps will reproduce the problem?
1. Attempt to open any .Net DLL or EXE on my system. I've tried with a wide 
variety of DLL's, including .Net framework DLL's. 

What is the expected output? What do you see instead?
Expected: To open the dependency graph.
Result: The following error, with the strack trace below.

Unhandled exception has occurred in your application. ...
Attempted to read or write protected memory. This is often an indication that 
other memory is corrupt.

DETAILED INFO:

************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. 
This is often an indication that other memory is corrupt.
   at WINGRAPHVIZLib.DOTClass.ToPNG(String Source)
   at Drew.DependencyAnalyser.DependencyPlotter.CalculatePlot(Double aspectRatio, DependencyGraph`1 graph, AssemblyFilterPreferences filterPreferences)
   at Drew.DependencyAnalyser.DependencyAnalyserForm.UpdateImage()
   at Drew.DependencyAnalyser.DependencyAnalyserForm.menuFileOpen_Click(Object sender, EventArgs e)
   at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.MenuItem.MenuItemData.Execute()
   at System.Windows.Forms.Command.Invoke()
   at System.Windows.Forms.Command.DispatchID(Int32 id)
   at System.Windows.Forms.Control.WmCommand(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4959 (win7RTMGDR.050727-4900)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
DependencyAnalyser
    Assembly Version: 1.1.4141.28255
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/Users/dhochee/Downloads/dot-net-dependency-analyser-1.1/DependencyAnalyser.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.4926 built by: NetFXw7
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data.SqlXml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Data.SqlXml/2.0.0.0__b77a5c561934e089/System.Data.SqlXml.dll
----------------------------------------
System.Security
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4951 (win7RTMGDR.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Security/2.0.0.0__b03f5f7f11d50a3a/System.Security.dll
----------------------------------------
Interop.WINGRAPHVIZLib
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/dhochee/Downloads/dot-net-dependency-analyser-1.1/Interop.WINGRAPHVIZLib.DLL
----------------------------------------


What version of the product are you using? On what operating system?

v1.1.4141.28255

Running on Windows 7 Professional 64-bit

Please provide any additional information below.



Original issue reported on code.google.com by [email protected] on 24 May 2011 at 3:22

Command-line version

Support generation of .png or .svg file via the command line.

This could be used as part of automated build system reports.

Some kind of project file format may be required for this feature.

Original issue reported on code.google.com by drewnoakes on 22 Apr 2011 at 8:53

Make the version for .NET 4.0

While the tool itself easily compiles to .NET 4.0 with no problems after that, 
it'll be nice to have a specific release for .NET 4.0.

Original issue reported on code.google.com by [email protected] on 4 May 2011 at 5:59

Unhandled COMException

Exception is thrown when analyzing solution of about 40 projects + referenced 
assemblies.

Exception details:

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM 
class factory for component with CLSID {55811839-47B0-4854-81B5-0A0031B8ACEC} 
failed due to the following error: 80040154.
   at Drew.DependencyAnalyser.DependencyPlotter.CalculatePlot(Double aspectRatio, DependencyGraph`1 graph, AssemblyFilterPreferences filterPreferences)
   at Drew.DependencyAnalyser.DependencyAnalyserForm.UpdateImage()
   at Drew.DependencyAnalyser.DependencyAnalyserForm.menuFileOpen_Click(Object sender, EventArgs e)
   at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.MenuItem.ShortcutClick()
   at System.Windows.Forms.Menu.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
   at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
   at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)

Original issue reported on code.google.com by [email protected] on 1 Sep 2011 at 12:45

Attachments:

Style nodes differently

Differing colour and shape of nodes could be used to signify:

 * Whether the assembly was loaded from the GAC, filesystem, project file
 * Leaf nodes
 * Certain groupings (e.g. {{{System.*}}}, {{{MyCompany.*}}}, {{{*.Tests}}})

Original issue reported on code.google.com by drewnoakes on 22 Apr 2011 at 9:23

Support project files

Allow user to create a project file that stores the location(s) of assembl(ies) 
to be analysed, and any filtering that should be applied to the results.

(As an aside, this project file might be useful for a command-line version of 
the tool.)

Original issue reported on code.google.com by drewnoakes on 22 Apr 2011 at 9:14

Allow multiple selection in the 'open' dialog

Enable multi-select for files to analyse, be they .exe, .dll or .sln files.

This would only work in a single folder, so we would still need the ability to 
merge results.

Original issue reported on code.google.com by drewnoakes on 22 Apr 2011 at 9:17

Analyse dependencies between types

I want to split a large project up into two projects. This is not trivial 
because there is no clear dependency tree for the files within the project. If 
dependency-analyser allowed working on one project at the file level it would 
be obvious which files could be split out to a second project.

Original issue reported on code.google.com by [email protected] on 6 Dec 2012 at 9:43

Support analysis of multiple .sln files

Currently we only support merging analysis results of assemblies (.dll and .exe 
files.)

It may be useful to some people to allow merging analysis results from multiple 
.sln files.

Original issue reported on code.google.com by drewnoakes on 22 Apr 2011 at 9:16

Project logo!

All good projects need a logo :)

Maybe also a replacement for the form icon...

For the Google Code icon (on top left of this page):

 * The image file should be in PNG, JPG or GIF format and a maximum of 153 x 55 pixels.

Original issue reported on code.google.com by drewnoakes on 22 Apr 2011 at 8:57

Break dependency upon WinGraphviz

WinGraphviz is great, but it increases the barrier to entry for this tool.

See 
[http://stackoverflow.com/questions/589900/what-options-are-available-for-the-la
yout-of-directed-or-undirected-graphs-in-ne this question on StackOverflow] 
that details various options.

Original issue reported on code.google.com by drewnoakes on 22 Apr 2011 at 8:55

Please add support for .NET Framework 4

What is the expected output? What do you see instead?

"Could not load file or assembly... is built by a runtime newer than the 
currently loaded runtime and cannot be loaded"

What version of the product are you using? On what operating system?

latest on 7

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 24 Mar 2014 at 7:34

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.