GithubHelp home page GithubHelp logo

gql4jung's People

Contributors

jensdietrich avatar mbdietrich avatar

Watchers

 avatar

gql4jung's Issues

Describe more anti patterns

I (Jens) have added an initial set of three antipatterns/smells described
using the GQL. Find some more - go through the respective papers/books and
see how we can formalise them. This might require some language
redesign/extension. 

Original issue reported on code.google.com by jens.dietrich on 6 Nov 2008 at 9:16

error loading graphml file

What steps will reproduce the problem?
1. accessing abc.graphml file from  server
2. Error displayed as "The method LoadGraphML was removed from calling 
javascript"
3.

What is the expected output? What do you see instead?
The .graphml file included in html to render properly.Outcome is the Error 
message

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


Please provide any additional information below.

Attached the html file and the screenshot for the error

Original issue reported on code.google.com by [email protected] on 25 Feb 2011 at 9:17

XML reader

Implement nz.ac.massey.cs.gpl4jung.xml.XMLMotifReader, dummy already exists. 
XMLMotifReader can be configured so that validation of streams is supported
(before parsing them). If validation fails, throw a MotifReaderException. 

It is recommended to generate the parser from the schema, use jaxb
(https://jaxb.dev.java.net/, also part of the wsdp
(http://java.sun.com/webservices/downloads/previous/index.jsp). 

unit tests should go into test.nz.ac.massey.cs.gpl4jung.xml

Original issue reported on code.google.com by jens.dietrich on 6 Nov 2008 at 9:00

GQL Implementation

Create package nz.ac.massey.cs.gpl4jung.impl, and add an implementation
class of nz.ac.massey.cs.gpl4jung.GQL to this package. 

Test cases should go into test.nz.ac.massey.cs.gpl4jung (so that the same
test cases can be used for alternative implementations of GQL). 
The JUNG graphs used for testing should be simple graphs build in memory. 







Original issue reported on code.google.com by jens.dietrich on 6 Nov 2008 at 9:06

ODEM2JUNG graph importer

Write a class that imports ODEM graphs into JUNG graphs. Note that Barrio
already contains such a module, please talk to Slava about details.
For more info on ODEM, see http://www.dependency-analyzer.org/. 

Background: we can use a tools called CDA to extract the graph from byet
code of programs, the result is an ODEM file that we have to convert into a
JUNG graph for analysis. We need this module to test our approach with real
world data. 

Important: there is a slight difference to the graph used in Barrio, we
also want to represent packages and containers as vertexes, and add new
edge type "contains". 

Original issue reported on code.google.com by jens.dietrich on 6 Nov 2008 at 9:13

XML Schema

Develop an XML schema for the XML based query language. 

All sample files (currently in docs/spec/querysamples) should validate
against this schema. 

This should be expressed in JUnit 4 test cases, test cases should be in
package test.nz.ac.massey.cs.gpl4jung.xml.validation

for an example how to validate in Java, see
http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/validation/package-summary.htm
l

there should also be some tests where validation fails on purpose


Original issue reported on code.google.com by jens.dietrich on 6 Nov 2008 at 8:33

Multiple edge labels

jung allows only one edge between a pair of vertices. This is a problem
when we have parallel extends/implements and uses relationships like in
composite patterns. 

Solution: change string property type to an integer flags for all boolean
properties in Vertex and Edge. Like in java.lang.reflect.Modifier. This
wold allow "multi labels", and would also be more efficient. 


Original issue reported on code.google.com by jens.dietrich on 7 Jul 2009 at 9:49

Add JVM version check to lauch script

Add JVM check when application starts. 1.6 is required, but many users may
use an earlier version and may have problems to understand the error message.


Original issue reported on code.google.com by jens.dietrich on 8 Jul 2009 at 12:37

Implement and Validate query optimizer

Implement nz.ac.massey.cs.gpl4jung.QueryOptimizer , and validate
performance against real world data. 

Real world data can be obtained from Ewen Tempero's collection of open
source programs (Jens has DVD), extract graph with CDA and convert. 

For an example how a query optimizer could work, see WebOfPatterns program. 




Original issue reported on code.google.com by jens.dietrich on 6 Nov 2008 at 9:25

Unable to open generated GraphML file.

What steps will reproduce the problem?

1. Open the attached file in gql4jung

What is the expected output? What do you see instead?
The file should open. Instead, the following stack trace is produced:

39750 [Thread-4] ERROR nz.ac.massey.cs.gql4jung.browser.ResultBrowser  -
Error loading data file
edu.uci.ics.jung.io.GraphIOException: java.lang.NullPointerException
        at
nz.ac.massey.cs.gql4jung.io.GraphMLReader.readGraph(GraphMLReader.jav
a:75)
        at
nz.ac.massey.cs.gql4jung.browser.ResultBrowser$32.run(ResultBrowser.j
ava:1061)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
        at
nz.ac.massey.cs.gql4jung.io.GraphMLReader.readGraph(GraphMLReader.jav
a:56)
        ... 2 more
39750 [Thread-4] ERROR nz.ac.massey.cs.gql4jung.browser.ResultBrowser  -
Error l
oading data file
edu.uci.ics.jung.io.GraphIOException: java.lang.NullPointerException
        at
nz.ac.massey.cs.gql4jung.io.GraphMLReader.readGraph(GraphMLReader.jav
a:75)
        at
nz.ac.massey.cs.gql4jung.browser.ResultBrowser$32.run(ResultBrowser.j
ava:1061)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
        at
nz.ac.massey.cs.gql4jung.io.GraphMLReader.readGraph(GraphMLReader.jav
a:56)
        ... 2 more

What version of the product are you using? On what operating system?
Using version 2.0 (gql4jung-0.4.3.zip from the website.) on windows XP 32bit.

Please provide any additional information below.
Also been having problems with "Content is not allowed in prolog"
exceptions when I try to open some GraphML files I have created, with
encoding utf-8. Changing the encoding is changed to iso-8859-1 generates
the problem described above.

See the following stack trace.

559434 [Thread-8] ERROR nz.ac.massey.cs.gql4jung.browser.ResultBrowser  - Error
loading data file
edu.uci.ics.jung.io.GraphIOException: org.jdom.input.JDOMParseException:
Error o
n line 1: Content is not allowed in prolog.
        at
nz.ac.massey.cs.gql4jung.io.GraphMLReader.readGraph(GraphMLReader.jav
a:75)
        at
nz.ac.massey.cs.gql4jung.browser.ResultBrowser$32.run(ResultBrowser.j
ava:1061)
        at java.lang.Thread.run(Unknown Source)
Caused by: org.jdom.input.JDOMParseException: Error on line 1: Content is
not al
lowed in prolog.
        at org.jdom.input.SAXBuilder.build(SAXBuilder.java:504)
        at org.jdom.input.SAXBuilder.build(SAXBuilder.java:888)
        at
nz.ac.massey.cs.gql4jung.io.GraphMLReader.readGraph(GraphMLReader.jav
a:52)
        ... 2 more
Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
        at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAX
ParseException(Unknown Source)
        at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalErro
r(Unknown Source)
        at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(
Unknown Source)
        at
com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(U
nknown Source)
        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$Prolog
Driver.next(Unknown Source)
        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(U
nknown Source)
        at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
(Unknown Source)
        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(Unknown Source)
        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
        at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So
urce)
        at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Un
known Source)
        at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(Unknown Source)
        at org.jdom.input.SAXBuilder.build(SAXBuilder.java:489)
        ... 4 more

Original issue reported on code.google.com by aj.esler on 27 Jan 2010 at 10:46

Attachments:

Support for annotations when reading graph from byte code

Uses of annotations are not correctly recorded. This is DepFind issue, and
will be fixed by upgrading DependencyFinder (email conversation with Jean
Tessier). 

Related test case: JarReaderTests#testEdges9


Original issue reported on code.google.com by jens.dietrich on 7 Jul 2009 at 9:54

Reorganise project

Reorganise project to follow a standard project layout, probably use this one:

http://jakarta.apache.org/site/dirlayout.html


Original issue reported on code.google.com by jens.dietrich on 7 Jul 2009 at 9:50

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.