Java / NetBeans, programming homework help

User Generated

hfrsvefg1

Programming

Description

The assignment is described in the word doc attached. Also attached is a template code that you can use to build on it. 

Unformatted Attachment Preview

URL of Java Debug Interface APIs: http://docs.oracle.com/javase/7/docs/jdk/api/jpda/jdi/index.html?com/sun/jdi/VirtualMac hine.html The assignment is to develop a coverage tool for evaluating methods. This coverage tool will allow the user to load in all Java classes of a specific package. Therefore, there is a need to identify all class files underneath a directory and sub directories. The load-in classes are then displayed in the list on the left hand side scroll pane. When selecting one of the class files, the declared methods for the selected class will be shown on the right hand side scroll pane. Please take advantage of your previously developed javap-alike tool to facilitate this task. For the right hand side scroll pane, you will need to add in a vertical view port to display the number of executions that have occurred for the methods. In the beginning, the number for each method is default to be 0, shown in front of the methods. After the loaded-in program is executed, the numbers begin to change and will match with the number of times each method has been executed. A template code that is related to the Virtual Machine will be given to you on Angel next week. You will need to integrate it to complete this coverage tool. Details about the Java Virtual machine will be discussed next week. We will take advantage of the tools.jar file to communicate with the Java Virtual Machine.
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

...


Anonymous
Great! 10/10 would recommend using Studypool to help you study.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags