Skip to content

Template repository for the second assignment, containing a Docker project that requires the relevant version of jQuery, and sets up a working copy of JsInspect.

Notifications You must be signed in to change notification settings

tue-sevol/Assignment-2-2020

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assignment-2-2020

Template repository for the second assignment, containing a Docker project that clones the relevant version of jQuery, and sets up a working copy of JsInspect.

Dockerfile

The docker file sets up a docker image where three things are prepared:

  • JsInspect is installed, such that you can run it from the command line.
  • Cloc is installed.
  • All versions of jQuery specified in jquery_releases.csv are cloned and downloaded to /usr/jquery-data.

When running the container a bash shell is opened such that you can manually execute commands to run JsInspect and cloc.

Using this image

Build using docker build -t 2imp25-assignment2 .

Then run using docker run -it --rm -v "$PWD/out:/out" 2imp25-assignment2. We again mount an out directory linked to the host file system such that you can copy out files from the container.

When the container is running you can execute bash commands as if it is a virtual machine.

Suggestions

This repository does not contain all files and steps needed to run the analysis for assignment 2. To analyze the capability of JsInspect to detect various clones you could for instance consider expanding the Dockerfile to copy in the manually constructed clones to a directory /usr/manual-clones. Such that you can then run JsInspect on those files.

About

Template repository for the second assignment, containing a Docker project that requires the relevant version of jQuery, and sets up a working copy of JsInspect.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published