Giter VIP home page Giter VIP logo

Comments (2)

JeannedArk avatar JeannedArk commented on August 29, 2024

Hi @mmilella94,

thank you for your interest.

I see that in the folder named “model” there is a file containing a set of statements (coverage.txt). Each statement is associated to a counter but its purpose is not clear to me.
This counter is labeled as “time” but it is not clear to me what it represents. Is it the number of times the statement has been covered? Is the time passed (millis) between the beginning of the testing session and the moment in which the statement has been covered?

You almost got it right. The coverage.txt file contains a sorted list of statements associated with their first corresponding occurence. The time states the duration between the beginning of the session and the moment in which the statement has been explored in seconds. I will make that clearer. Thank you for pointing that out.

Also, I have seen that the folder “coverage” contains a set of files, each one containing the uuid of some statements. Are these all the statements that have been explored for a session?

Yes.

In this case how does droidmate understand when a session is finished (a new file of statement is needed)?

Each file does not mark a single session. Each file only contains a set of encountered statements from the former point in time at which the statements have been transferred (of course an exception for the first time). If you want to gain a deeper understanding, here is the implementation:

For the code coverage have a look at our wiki:
https://github.com/uds-se/droidmate/wiki/Getting-Statement-Coverage

I hope I could clear things up. Please, feel free to ask, if something is still unclear.

from droidmate.

mmilella94 avatar mmilella94 commented on August 29, 2024

Hi @JeannedArk , thank you very much for the answer and for the specific info for the coverage function.

from droidmate.

Related Issues (18)

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.