Clover 4.0 Documentation for Clover 4.0 2

Total Page:16

File Type:pdf, Size:1020Kb

Clover 4.0 Documentation for Clover 4.0 2 Documentation for Clover 4.0 Documentation for Clover 4.0 2 Contents About Clover . 7 About Code Coverage . 8 About Distributed Per-Test Coverage . 10 About Test Optimization . 10 About Clover Editions . 13 About Clover code metrics . 13 Supported Platforms . 16 End of Platform Support Announcements . 17 Clover-for-Ant . 18 Clover-for-Ant User's Guide . 19 1. QuickStart Guide . 20 Clover for Ant Best Practices . 22 Clover-for-Ant Two Line Integration . 24 Test Optimization Quick Start Guide for Ant . 25 2. Using Clover Interactively . 27 3. Using Clover in Automated Builds . 29 4. Understanding Reports . 30 'Current' Report . 30 Coverage Legend . 40 Dashboard Widgets . 41 Source Cross-Referencing in Reports . 42 Stack Trace Navigation . 43 Tag Clouds . 43 'Historical' Report . 44 5. Configuring Reports . 48 Unit Test Results and Per-Test Coverage . 49 Using Coverage Contexts . 51 Using Spans . 55 Specifying an Interval . 55 Sharing Report Formats . 56 Extracting Coverage Data programmatically . 57 6. Ant Task Reference . 58 clover-check . 59 clover-clean . 62 clover-env . 63 clover-historypoint . 64 clover-html-report . 66 clover-instr . 68 clover-log . 76 clover-merge . 80 clover-pdf-report . 81 clover-report . 82 <added> element . 97 <chart> element . 98 <columns> element . 98 <format> element . 101 <movers> element . 102 JSON reference . 102 clover-setup . 111 Clover test detection . 121 methodContext . 122 profiles . 123 statementContext . 124 clover-snapshot . 125 7. Ant Type Reference . 125 clover-columns . 126 Created in 2014 by Atlassian. Licensed under a Creative Commons Attribution 2.5 Australia License. Documentation for Clover 4.0 3 clover-format . 126 clover-optimized-testset . 126 8. Controlling Clover at Runtime . ..
Recommended publications
  • NASA's Lunar Atmosphere and Dust Environment Explorer (LADEE)
    Geophysical Research Abstracts Vol. 13, EGU2011-5107-2, 2011 EGU General Assembly 2011 © Author(s) 2011 NASA’s Lunar Atmosphere and Dust Environment Explorer (LADEE) Richard Elphic (1), Gregory Delory (1,2), Anthony Colaprete (1), Mihaly Horanyi (3), Paul Mahaffy (4), Butler Hine (1), Steven McClard (5), Joan Salute (6), Edwin Grayzeck (6), and Don Boroson (7) (1) NASA Ames Research Center, Moffett Field, CA USA ([email protected]), (2) Space Sciences Laboratory, University of California, Berkeley, CA USA, (3) Laboratory for Atmospheric and Space Physics, University of Colorado, Boulder, CO USA, (4) NASA Goddard Space Flight Center, Greenbelt, MD USA, (5) LunarQuest Program Office, NASA Marshall Space Flight Center, Huntsville, AL USA, (6) Planetary Science Division, Science Mission Directorate, NASA, Washington, DC USA, (7) Lincoln Laboratory, Massachusetts Institute of Technology, Lexington MA USA Nearly 40 years have passed since the last Apollo missions investigated the mysteries of the lunar atmosphere and the question of levitated lunar dust. The most important questions remain: what is the composition, structure and variability of the tenuous lunar exosphere? What are its origins, transport mechanisms, and loss processes? Is lofted lunar dust the cause of the horizon glow observed by the Surveyor missions and Apollo astronauts? How does such levitated dust arise and move, what is its density, and what is its ultimate fate? The US National Academy of Sciences/National Research Council decadal surveys and the recent “Scientific Context for Exploration of the Moon” (SCEM) reports have identified studies of the pristine state of the lunar atmosphere and dust environment as among the leading priorities for future lunar science missions.
    [Show full text]
  • First Year of Coordinated Science Observations by Mars Express and Exomars 2016 Trace Gas Orbiter
    MANUSCRIPT PRE-PRINT Icarus Special Issue “From Mars Express to ExoMars” https://doi.org/10.1016/j.icarus.2020.113707 First year of coordinated science observations by Mars Express and ExoMars 2016 Trace Gas Orbiter A. Cardesín-Moinelo1, B. Geiger1, G. Lacombe2, B. Ristic3, M. Costa1, D. Titov4, H. Svedhem4, J. Marín-Yaseli1, D. Merritt1, P. Martin1, M.A. López-Valverde5, P. Wolkenberg6, B. Gondet7 and Mars Express and ExoMars 2016 Science Ground Segment teams 1 European Space Astronomy Centre, Madrid, Spain 2 Laboratoire Atmosphères, Milieux, Observations Spatiales, Guyancourt, France 3 Royal Belgian Institute for Space Aeronomy, Brussels, Belgium 4 European Space Research and Technology Centre, Noordwijk, The Netherlands 5 Instituto de Astrofísica de Andalucía, Granada, Spain 6 Istituto Nazionale Astrofisica, Roma, Italy 7 Institut d'Astrophysique Spatiale, Orsay, Paris, France Abstract Two spacecraft launched and operated by the European Space Agency are currently performing observations in Mars orbit. For more than 15 years Mars Express has been conducting global surveys of the surface, the atmosphere and the plasma environment of the Red Planet. The Trace Gas Orbiter, the first element of the ExoMars programme, began its science phase in 2018 focusing on investigations of the atmospheric composition with unprecedented sensitivity as well as surface and subsurface studies. The coordination of observation programmes of both spacecraft aims at cross calibration of the instruments and exploitation of new opportunities provided by the presence of two spacecraft whose science operations are performed by two closely collaborating teams at the European Space Astronomy Centre (ESAC). In this paper we describe the first combined observations executed by the Mars Express and Trace Gas Orbiter missions since the start of the TGO operational phase in April 2018 until June 2019.
    [Show full text]
  • Insight Spacecraft Launch for Mission to Interior of Mars
    InSight Spacecraft Launch for Mission to Interior of Mars InSight is a robotic scientific explorer to investigate the deep interior of Mars set to launch May 5, 2018. It is scheduled to land on Mars November 26, 2018. It will allow us to better understand the origin of Mars. First Launch of Project Orion Project Orion took its first unmanned mission Exploration flight Test-1 (EFT-1) on December 5, 2014. It made two orbits in four hours before splashing down in the Pacific. The flight tested many subsystems, including its heat shield, electronics and parachutes. Orion will play an important role in NASA's journey to Mars. Orion will eventually carry astronauts to an asteroid and to Mars on the Space Launch System. Mars Rover Curiosity Lands After a nine month trip, Curiosity landed on August 6, 2012. The rover carries the biggest, most advanced suite of instruments for scientific studies ever sent to the martian surface. Curiosity analyzes samples scooped from the soil and drilled from rocks to record of the planet's climate and geology. Mars Reconnaissance Orbiter Begins Mission at Mars NASA's Mars Reconnaissance Orbiter launched from Cape Canaveral August 12. 2005, to find evidence that water persisted on the surface of Mars. The instruments zoom in for photography of the Martian surface, analyze minerals, look for subsurface water, trace how much dust and water are distributed in the atmosphere, and monitor daily global weather. Spirit and Opportunity Land on Mars January 2004, NASA landed two Mars Exploration Rovers, Spirit and Opportunity, on opposite sides of Mars.
    [Show full text]
  • Dynamic Object-Oriented Programming with Smalltalk
    Dynamic Object-Oriented Programming with Smalltalk 1. Introduction Prof. O. Nierstrasz Autumn Semester 2009 LECTURE TITLE What is surprising about Smalltalk > Everything is an object > Everything happens by sending messages > All the source code is there all the time > You can't lose code > You can change everything > You can change things without restarting the system > The Debugger is your Friend © Oscar Nierstrasz 2 ST — Introduction Why Smalltalk? > Pure object-oriented language and environment — “Everything is an object” > Origin of many innovations in OO development — RDD, IDE, MVC, XUnit … > Improves on many of its successors — Fully interactive and dynamic © Oscar Nierstrasz 1.3 ST — Introduction What is Smalltalk? > Pure OO language — Single inheritance — Dynamically typed > Language and environment — Guiding principle: “Everything is an Object” — Class browser, debugger, inspector, … — Mature class library and tools > Virtual machine — Objects exist in a persistent image [+ changes] — Incremental compilation © Oscar Nierstrasz 1.4 ST — Introduction Smalltalk vs. C++ vs. Java Smalltalk C++ Java Object model Pure Hybrid Hybrid Garbage collection Automatic Manual Automatic Inheritance Single Multiple Single Types Dynamic Static Static Reflection Fully reflective Introspection Introspection Semaphores, Some libraries Monitors Concurrency Monitors Categories, Namespaces Packages Modules namespaces © Oscar Nierstrasz 1.5 ST — Introduction Smalltalk: a State of Mind > Small and uniform language — Syntax fits on one sheet of paper >
    [Show full text]
  • Maven by Example I
    Maven by Example i Maven by Example Ed. 0.7 Maven by Example ii Contents 1 Introducing Apache Maven1 1.1 Maven. What is it?....................................1 1.2 Convention Over Configuration...............................2 1.3 A Common Interface....................................3 1.4 Universal Reuse through Maven Plugins..........................3 1.5 Conceptual Model of a “Project”..............................4 1.6 Is Maven an alternative to XYZ?..............................5 1.7 Comparing Maven with Ant................................6 2 Installing Maven 10 2.1 Verify your Java Installation................................ 10 2.2 Downloading Maven.................................... 11 2.3 Installing Maven...................................... 11 Maven by Example iii 2.3.1 Installing Maven on Linux, BSD and Mac OS X................. 11 2.3.2 Installing Maven on Microsoft Windows...................... 12 2.3.2.1 Setting Environment Variables..................... 12 2.4 Testing a Maven Installation................................ 13 2.5 Maven Installation Details................................. 13 2.5.1 User-Specific Configuration and Repository.................... 14 2.5.2 Upgrading a Maven Installation.......................... 15 2.6 Uninstalling Maven..................................... 15 2.7 Getting Help with Maven.................................. 15 2.8 About the Apache Software License............................ 16 3 A Simple Maven Project 17 3.1 Introduction......................................... 17 3.1.1 Downloading
    [Show full text]
  • Nested Class Modularity in Squeak/Smalltalk
    Springer, Nested Class Modularity in Squeak/Smalltalk Nested Class Modularity in Squeak/Smalltalk Modularität mit geschachtelten Klassen in Squeak/Smalltalk by Matthias Springer A thesis submitted to the Hasso Plattner Institute at the University of Potsdam, Germany in partial fulfillment of the requirements for the degree of Master of Science in ITSystems Engineering Supervisor Prof. Dr. Robert Hirschfeld Software Architecture Group Hasso Plattner Institute University of Potsdam, Germany August 17, 2015 Abstract We present the concept, the implementation, and an evaluation of Matriona, a module system for and written in Squeak/Smalltalk. Matriona is inspired by Newspeak and based on class nesting: classes are members of other classes, similarly to class instance variables. Top-level classes (modules) are globals and nested classes can be accessed using message sends to the corresponding enclosing class. Class nesting effec- tively establishes a global and hierarchical namespace, and allows for modular decomposition, resulting in better understandability, if applied properly. Classes can be parameterized, allowing for external configuration of classes, a form of dependency management. Furthermore, parameterized classes go hand in hand with mixin modularity. Mixins are a form of inter-class code reuse and based on single inheritance. We show how Matriona can be used to solve the problem of duplicate classes in different modules, to provide a versioning and dependency management mech- anism, and to improve understandability through hierarchical decomposition. v Zusammenfassung Diese Arbeit beschreibt das Konzept, die Implementierung und die Evaluierung von Matriona, einem Modulsystem für und entwickelt in Squeak/Smalltalk. Ma- triona ist an Newspeak angelehnt und basiert auf geschachtelten Klassen: Klassen, die, wie zum Beispiel auch klassenseitige Instanzvariablen, zu anderen Klassen gehören.
    [Show full text]
  • Explore Digital.Pdf
    EXPLORE “sic itur ad astra” ~ thus you shall go to the stars EXPERTISE FOR THE MISSION We’ve built more interplanetary spacecraft than all other U.S. companies combined. We’re ready for humanity’s next step, for Earth, the Sun, our planets … and beyond. We do this for the New capability explorers. And for us for a new space era Achieving in space takes tenacity. Lockheed Martin brings more We’ve never missed a tight (and finite) capability to the table than ever planetary mission launch window. before, creating better data, new Yet, despite how far we go, the most images and groundbreaking ways to important technologies we develop work. And we’re doing it with smarter improve life now, closer to home. factories and common products, Here on Earth. making our systems increasingly affordable and faster to produce. HALF A CENTURY AT MARS Getting to space is hard. Each step past that is increasingly harder. We’ve been a part of every NASA mission to Mars, and we know what it takes to arrive on another planet and explore. Our proven work includes aeroshells, autonomous deep space operations or building orbiters and landers, like InSight. AEROSHELLS VIKING 1 VIKING 2 PATHFINDER MARS POLAR SPIRIT OPPORTUNITY PHOENIX CURIOSITY INSIGHT MARS 2020 1976 1976 1996 LANDER 2004 2018 2008 2012 2018 2020 1999 ORBITERS MARS OBSERVER MARS GLOBAL MARS CLIMATE MARS ODYSSEY MARS RECONNAISSANCE MAVEN 1993 SURVEYOR ORBITER 2001 ORBITER 2014 1997 1999 2006 LANDERS VIKING 1 VIKING 2 MARS POLAR PHOENIX INSIGHT 1976 1976 LANDER 2008 2018 1999 Taking humans back to the Moon – We bring solutions for our customers that include looking outside our organization to deliver the best science through our spacecraft and operations expertise.
    [Show full text]
  • Reflection in Smalltalk
    Louvain School of Engineering (EPL) rev. 2012-07-03 Computing Science Engineering Department (INGI) . Reflection and Context-Oriented Programming (R+COP)with 2nd practical session ANSWERS Reflection in Smalltalk .This. session is a hopefully gentle introduction to Smalltalk’s meta-object protocol. You can use the tools of the Smalltalk environment to find answers to all questions. In particular: • Use the System Browser to navigate through classes, their methods and their hierarchies. The class browser also gives you valuable information on the overriding of methods and you can use the right-click menu on any method to explore senders and implementors of any messages used inside the method body. • Use the Finder tool to search for methods implementing a particular message. • Use the Inspector for individual objects, and evaluate expressions in the context of the inspected object. • Select an expression in any browser and use the right-click menu to browse all implementors or senders of the method. This session starts the exploration of reflection in Smalltalk by considering class instantiation, class inheritance, and the interaction between these two concepts. The second part of the session focuses on structural and behavioural reflection. Smalltalk Kernel: Instantiation Relationship 1. What is the class of 1984? Which message can you send to obtain the class of an object? Apply this message to 1984 and inspect the result. Inside the inspector, what do you conclude from evaluating and printing the result of self inside the lower-right text pane? The message that retrieves the class of an instance is class. If you inspect the result of 1984 class, you will obtain an inspector window with a SmallInteger class as window title and self bound to SmallInteger, as you can check by printing self.
    [Show full text]
  • Xcode Chapter.Indd
    Chapter 1 Xcode Many computer books use Chapter 1 to cover introductory material. Xcode Tools Sensei is not one of those books. I want you to start learning immediately. After reading this chapter you’ll know how to create a project, add files to your project, edit source code, model data, read developer documentation, configure the compiler, and build your project into a working Mac OS X program. Creating a Project Every program you write with Xcode requires a project, no matter how small the program is. An Xcode project contains your program’s source code files and other files Xcode needs to build a working program, such as Interface Builder nib files. To create an Xcode project, choose File > New Project, and the Project Assistant window opens. Xcode has the following project categories: n Action n Application n Audio Units n Bundle n Command-Line Utility n Dynamic Library n External Build System n Framework n J2EE n Java n Kernel Extension n Standard Apple Plug-Ins n Static Library I will go into greater detail on the types of projects shortly, but most of you will be making application projects. After choosing the type of project you want to make, click the Next button. Tell Xcode the name of your project and where you want to store it, then click the Finish button. Congratulations! You’ve created an Xcode project. What Xcode includes in a project depends on the type of project you create. Xcode includes the following files for a Cocoa application: n An Objective C source code file, main.m.
    [Show full text]
  • Precision Magnetometers for Aerospace Applications: a Review
    sensors Review Precision Magnetometers for Aerospace Applications: A Review James S. Bennett 1,† , Brian E. Vyhnalek 2,†, Hamish Greenall 1 , Elizabeth M. Bridge 1 , Fernando Gotardo 1 , Stefan Forstner 1 , Glen I. Harris 1 , Félix A. Miranda 2,* and Warwick P. Bowen 1,* 1 School of Mathematics and Physics, The University of Queensland, St. Lucia, QLD 4072, Australia; [email protected] (J.S.B.); [email protected] (H.G.); [email protected] (E.M.B.); [email protected] (F.G.); [email protected] (S.F.); [email protected] (G.I.H.) 2 NASA Glenn Research Center, Cleveland, OH 44135, USA; [email protected] * Correspondence: [email protected] (F.A.M.); [email protected] (W.P.B.) † These authors contributed equally to this work. Abstract: Aerospace technologies are crucial for modern civilization; space-based infrastructure underpins weather forecasting, communications, terrestrial navigation and logistics, planetary observations, solar monitoring, and other indispensable capabilities. Extraplanetary exploration— including orbital surveys and (more recently) roving, flying, or submersible unmanned vehicles—is also a key scientific and technological frontier, believed by many to be paramount to the long-term survival and prosperity of humanity. All of these aerospace applications require reliable control of the craft and the ability to record high-precision measurements of physical quantities. Magnetometers deliver on both of these aspects and have been vital to the success of numerous missions. In this review Citation: Bennett, J.S.; Vyhnalek, paper, we provide an introduction to the relevant instruments and their applications.
    [Show full text]
  • Pharo by Example
    Portland State University PDXScholar Computer Science Faculty Publications and Computer Science Presentations 2009 Pharo by Example Andrew P. Black Portland State University, [email protected] Stéphane Ducasse Oscar Nierstrasz University of Berne Damien Pollet University of Lille Damien Cassou See next page for additional authors Let us know how access to this document benefits ouy . Follow this and additional works at: http://pdxscholar.library.pdx.edu/compsci_fac Citation Details Black, Andrew, et al. Pharo by example. 2009. This Book is brought to you for free and open access. It has been accepted for inclusion in Computer Science Faculty Publications and Presentations by an authorized administrator of PDXScholar. For more information, please contact [email protected]. Authors Andrew P. Black, Stéphane Ducasse, Oscar Nierstrasz, Damien Pollet, Damien Cassou, and Marcus Denker This book is available at PDXScholar: http://pdxscholar.library.pdx.edu/compsci_fac/108 Pharo by Example Andrew P. Black Stéphane Ducasse Oscar Nierstrasz Damien Pollet with Damien Cassou and Marcus Denker Version of 2009-10-28 ii This book is available as a free download from http://PharoByExample.org. Copyright © 2007, 2008, 2009 by Andrew P. Black, Stéphane Ducasse, Oscar Nierstrasz and Damien Pollet. The contents of this book are protected under Creative Commons Attribution-ShareAlike 3.0 Unported license. You are free: to Share — to copy, distribute and transmit the work to Remix — to adapt the work Under the following conditions: Attribution. You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
    [Show full text]
  • Comparison of C++ and C
    Comparison of C++ and C# Jim Fawcett CSE681 – Software Modeling and analysis Summer 2005 Table of Contents • Object Models • C# Language • C# Object Model • Common Type System • C# Object Type • Type Class • Class Browser in IDE • Delegates • Events • Threads • Assemblies • C# Libraries Both are Important • C++ has a huge installed base. • Your next employer is very likely to be a C++ house. • C# is gaining popularity very quickly. • But, your next employer may not yet do C#. • CSE681 – Software Modeling and Analysis • Focuses almost exclusively on C# and .Net. • CSE687 – Object Oriented Design: • Focuses almost exclusively on C++ and the Standard Library. Comparison of Object Models Contents • C++ Object Model • .Net Object Model • All objects share a rich memory model: • More Spartan memory model: • Static, stack, and heap • Value types are stack-based only. • Rich object life-time model: • Reference types (all user defined types • Static objects live of the duration of the and library types) live on the heap. program. • Non-deterministic life-time model: • Objects on stack live within a scope defined • All reference types are garbage collected. by { and }. • That’s the good news. • Objects on heap live at the designer’s • That’s the bad news. descretion. • Semantics based on a shallow reference • Semantics based on a deep copy model. model. • That’s the good news. • For compilation, client’s use their • That’s the bad news. server’s meta-data. • For compilation, clients carry their • That is great news. server’s type information. • It is this property that makes .Net • That’s definitely bad news.
    [Show full text]