Beispiel #1
0
        static void Main(string[] args)
        {
            List <List <Elem> > allTables = new List <List <Elem> >();
            List <string>       files     = ProcessCommandline(args);

            allTables = TypeAnalysis.analyse(files);
            display(allTables);
            Console.Read();
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            List <CsNode <string, string> > nodes;
            List <string>       scc       = new List <string>();
            List <List <Elem> > allTables = new List <List <Elem> >();

            Console.WriteLine("********Type-Based Package Dependency Analysis********\n\n");
            Console.WriteLine("Demonstrating Requirement 4:");
            Console.WriteLine("--------------------------------------------------------------------");
            ShowCommandLine(args);
            List <string> files = ProcessCommandline(args);

            allTables = TypeAnalysis.analyse(files);
            tableType = displayRequirement1(allTables);
            nodes     = DependencyAnalysis.getTables(allTables, files);
            displayRequirement2(nodes);
            TestGraph t = new TestGraph();

            scc = t.tarjan(nodes);
            displayRequirement3(scc);
            Console.Read();
        }