Giter Site home page Giter Site logo

How can I collect the metrics? about aop-metrics HOT 8 OPEN

bfsc avatar bfsc commented on May 13, 2024
How can I collect the metrics?

from aop-metrics.

Comments (8)

bfsc avatar bfsc commented on May 13, 2024

Adding more details...

When I executed the step that says "Open the metrics-result file located in the imported project and right-click somewhere on the file and choose Clojure > Load file in REPL" the REPL console wrote the following message: "CompilerException java.io.FileNotFoundException: Could not locate ekeko_ajfx/AOPMetrics__init.class or ekeko_ajfx/AOPMetrics.clj on classpath: , compiling:(ekeko_ajfx\metrics_result.clj:1:1) "

Do you know how to manage this situation?

PS1: I didn't do the soot configurations steps, once the project I'm working has no main class.

PS2: I tried to import the Ekeko AJFX project, however eclipse doesn't recognise it as a valid project. Thus, a imported it as a general project and added clojure support.

from aop-metrics.

ozlerhakan avatar ozlerhakan commented on May 13, 2024

Hi,

It is indeed nice to hear that you prefer this metrics suite for your research paper. First of all, good like with that!

About your question: if you configured everything according to the related section, you are ready to collect some meaningful values from your selected AspectJ projects. If you look at my thesis, you will see some various questions that I tried to get an idea based on some values.

Normally I forgot to mention in that section but you need a main method to start running the metrics. If the project does not have a main method just create a new one somewhere in an existing package for this purpose like I did in the test project : https://github.com/ozlerhakan/aop-metrics/blob/master/AJTestMetrics/src/ua/thesis/test/MainTST.java , then you can make this method as an execution point of Ekeko plug-in. I always used this approach for each mentioned AJ project.

Perhaps it is good to manage again your project after creating a main method from this step: "Some metrics also need soot analysis in order to run properly. To do that, we need to configure the selected AspectJ project once as follows:" . Just let me know again, I can check all instructions by myself.

with kind regards.

from aop-metrics.

bfsc avatar bfsc commented on May 13, 2024

My environment is quite complex. I have an aspect in one java project, lets say project 1. However that aspect not only weave classes in that project, but also classes from other projects.

Therefore, should I put the main method just in a class of the project 1, or in the others too?

By the way... We could talk on skype if it's possible for you. My skype name is bruno.cartaxo and I'm online right now.

cheers

from aop-metrics.

ozlerhakan avatar ozlerhakan commented on May 13, 2024

I actually used Ekeko one by one for each AJ project. When I wanted to analyse a project I just added a main method in it. I think but I am not sure, if you put a main method in the project 1 (you mentioned), it may only collect some information about this project not the others ones but again as I said I always used Ekeko one by one which means that I did not combine more than one project to analyse using Ekeko and my metric suite.

We can talk on skype, it is fine by me but not today. We could talk tomorrow night around 7-8 pm (UTC+02:00) Istanbul, if you are okay at that time and day. My skype name: ozlerhakan

from aop-metrics.

bfsc avatar bfsc commented on May 13, 2024

Unfortunately, I won't be online at that time. Is it possible for you to talk on saturday (11/10) or sunday (12/10)?

thanks

from aop-metrics.

ozlerhakan avatar ozlerhakan commented on May 13, 2024

Sure, Sunday is okay for me I will be online after 6 pm until 10pm

regards

from aop-metrics.

bfsc avatar bfsc commented on May 13, 2024

Nice... See you!

from aop-metrics.

ozlerhakan avatar ozlerhakan commented on May 13, 2024

I have updated the 'how-the-metrics-work' section and the current metrics. There were some deprecated things which needed hotfix. You need to go over each step from scratch to make these metrics work. If you have a question, just let me know.

from aop-metrics.

Related Issues (3)

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.