Programming > PROJECT REPORT > Project_2_Part_1.docx.pdf (All)
Description of the tool JaCoCo is a free code coverage library for Java, which has been created by the EclEmma team based on the lessons learned from using and integration existing libraries for ma... ny years. With Intellij 2019 it comes pre-installed as a plugin and no need to do an external installation. Types of coverage the tool gives. Class Method Line Brach Coverage Test Cases Test Number Description Output 1 20, “candy” Change=0, “Item dispensed” 2 25, “coke” Change=0, “Item dispensed” 3 20, “coffee” Change=0, “Item dispensed” 4 19, “candy” change = cost - input; if(input < 20) returnValue = "Item not dispensed, missing " + Integer.toString(change) + " cents. Cannot purchase item."; 5 24, “coke” change = cost - input; if(input < 25) returnValue = "Item not dispensed, missing " + Integer.toString(change) + " cents. Can purchase candy."; [Show More]
Last updated: 2 years ago
Preview 1 out of 3 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Mar 26, 2023
Number of pages
3
Written in
This document has been written for:
Uploaded
Mar 26, 2023
Downloads
0
Views
193
In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·