CertWare is a collection of tools intended to support the development of safety, assurance, or dependability cases. CertWare adopts several types of structured argument models and provides an implementation of tools to support writing and verifying arguments using the chosen model. The implementations are a baseline meant to be enhanced and further integrated into development tools chains. Both textual and graphical editors are implemented. The implementation is done in Eclipse, as a large collection of Eclipse plugins and features, using several model generation tools to facilitate implementation and maintenance. See the Meta-Models section below for the kinds of models already incorporated into the workbench.
CertWare provides some prototype contributions for project management metrics (metrics about the case argument structure), and project planning (time and resources for case production). It also provides a novel approach to argument production using semi-formal proofs.
CertWare is meant to be extended into other tool chains and other aspects of the assurance lifecycle, so feel free to extend in any direction you see fit.
Documentation is stashed throughout the project workspace. See the net.certware.doc project in particular. A version history is maintained in net.certware.doc/wiki/versions.textile for convenient export to other formats. The latest run of Javadoc usually is found in net.certware.doc/javadoc. The project design and build notes are in net.certware.doc/wiki/project.textile.
The following tags are associated with the many meta-models used in the workbench. We use these liberally throughout the models, plugin names, and editor file extension associations. Earlier users may notice the AML, ARM, CAE, EUR and GSN metamodels no longer are provided, dropping these in favor of the consolidated OMG SACM metamodel.
CPNA CertWare-specific Planning Notation metamodel.HEVEvidence settings for Hugin Bayesian networks.INTENTAn intent specification DSL model for design and hazard support.MSPDIThe MSPDI schema from Microsoft Project.NETHugin Network models.SACMOMG’s structured assurance case metamodel and its Ecore implementation. Textual DSLs use extensionsacmdsland graphical digrams will maintain two models — thesacmmodel and thediagrammodel.SCOA CertWare-specific software change order metamodel.SFPA semi-formal proof metamodel derived from an Xtext grammar for these proofs.SMMOMG software measurement metamodel and its Ecore implementation.SPMA CertWare-specific software project management metrics metamodel.STATEA state specification DSL to support intent specification DSL.STPAA DSL for systems-theoretic process analysis.VCLA verification checklist generic metamodel.
The following Eclipse product dependencies are needed for the given reasons:
EEF. We use the extended editing framework to generate better property sheets for the model editors. The EEF model usually is found in the associatededitplugin and we use the EEF framework to generate the needed parts. Be sure to update plugin extensions when making design changes. See theproject.textilefile for notes on running the EEF tools.Epsilon. We use the Epsilon tools for model validation rules.Xtext. We use Xtext DSLs for some new notations. See theproject.textilefile for notes on running the Xtext tools.ATL. We use the Atlas transformation tools to convert models of one type into models of another type. See theproject.textilefile for notes on running the Atlas tools.
The majority of CertWare design is done with the EMF, Ecore, and Xtext. We described several metamodels and then generated the plugins to support them. Afterward in many cases we added navigator contributions, help, validators, integrations, and other functional content. The notes here and in the project.textile file provide more details.
*.intentIntent specification DSL files*.hevHugin evidence setting model files*.mspdiand*.mpxare Microsoft Project (MSPDI) model files*.netand*.huginHugin NET files*.sacmSACM model files*.sacmdSACM DSL model files*.scoSCO change order model files*.smmOMG Software Measurement Metamodel files*.spmSoftware Project Management metrics files*.stateState specification DSL model files*.stpaSTPA DSL model files*.vclVerification checklist model files
Several editors are contributed by the EMF generator models. There are a few textual editors contributed by the Xtext generator models.
net.certware.evidence.hugin.viewContributes a view for Bayesian Network model files in the Hugin format, including SamIam engine analysis and results presentations. Responds only to workbench resource selections. Provides analysis commands for operations on these models, and provides a summary of analysis results within the view. Provides for evidence storage and recovery using a separate metamodel.net.certware.measurement.sco.viewContributes a view for SCO model files. Responds to both resource and object workbench selections. Master-detail view on the artifact list items. Uses the EMF-generated item provider adapter factory to populate the master tree.net.certware.measurement.spm.viewContributes a view for SPM model files. Responds to both resource and object workbench selections. Master-detail view on the artifact list items. Uses a local content and label provider because the model is generated by Xtext which does not product an item provider factory and because we do not want the full tree exposed for this view.net.certware.planning.cpn.viewContributes a view for CPN model files. Responds to both resource and object workbench selections. Master-detail view on the artifact list items. Employs made-up adapter factory for item provider adapters so the Xtext injected model providers are not available in the view, instead uses the EMF reflective providers.net.certware.verification.checklist.viewContributes a view for VCL model files. Provides buttons for setting checklist item values and for saving updated models.
net.certware.argument.arm.navigatorContributes content on ARM model resource files and navigator filter.net.certware.argument.cae.navigatorContributes content on CAE model resource files and navigator filter.net.certware.argument.gsn.navigatorContributes content on GSN model resource files and navigator filter.net.certware.argument.eur.navigatorContributes content on EUR model resource files and navigator filter.net.certware.argument.sfp.navigatorContributes content on SFP model resource files and navigator filter.net.certware.sacm.navigatorContributes content on SACM model resource files and navigator filter.net.certware.measurement.sco.navigatorContributes content on SCO model resource files and navigator filter.net.certware.measurement.spm.navigatorContributes content on SPM model resource files and navigator filter.net.certware.planning.cpn.navigatorContributes content on CPN model resource files and navigator filter.net.certware.verification.checklist.navigatorContributes VCL content on verification checklist files and navigator filter.
net.certware.argument.sfp.*Semi-formal proof structured text argument models. The core plugin contains the model definition and generator. The edit plugin contains the extended editing framework support models. The editor plugin is modified to use extended editing features for property specification.net.certware.brandingProject branding plugin for feature definition.net.certware.coreCore project content.net.certware.core.uiCore project UI content including extension bases. Includes interface constants files applying across the project source base.net.certware.docGeneral project to contain various documentation files including the wiki.net.certware.evidence.hugin.*Hugin NET DSL definition and generation.net.certware.evidence.hugin.instance.*Hugin NET evidence model definition and generation.net.certware.evidence.hugin.view.*SamIam analysis view using Hugin NET model files.net.certware.evidence.saem.*Evidence model and editor support for SAEM from OMG. The core plugin contains the model definition and generator. The edit plugin contains the extended editing framework support models.net.certware.exampleExample wizard and host plugin for contributing fragments.net.certware.exportExporting model resources to other formats.net.certware.feature.*Feature packaging by core, argument style, and functionality features for update site publication.net.certware.helpProject help files, cheat sheets and dynamic context support.net.certware.history.*History contributions for version control analysis.net.certware.intent.*Intent specification DSL and supporting plugins.net.certware.intent.state.*Intent state specification DSL and supporting plugins.net.certware.launchLaunch configuration shared files.net.certware.libs.docPlugin packaging of docx4J 2.5 libraries.net.certware.lib.inferencePlugin packaging of UCLA SamIam inference library.net.certware.libs.poiPlugin packaging of Apache POI 3.6 libraries.net.certware.measurement.sco.*Software change order model and editor support. Supports the SPM metrics. Other collectors can be added for different metrics suites. The editor plugin is modified to use extended editing features for property specification.net.certware.measurement.smm.*Measurement model and editor support the OMG SMM. The core plugin contains the model definition and generator. The edit plugin contains the extended editing framework support models. The editor plugin is modified to use extended editing features for property specification.net.certware.measurement.spm.*Software product management metrics model and editor support for Royce SPM metrics. Uses the SMM metamodel.net.certware.planning.cpn.*A planning content DSL serving as a project management data overlay on argument models.net.certware.planning.mspdi.*Planning content model using Microsoft project data schema. The Microsoft MSPDI schema was coerced into an Ecore model, then the EMF plugins generated from this model.net.certware.productProduct definition for stand-alone application.net.certware.sacm.*Object model and editor support for OMG’s SACM.net.certware.stpa.*STPA DSL definition and supporting plugins.net.certware.targetCertWare project target definition.net.certware.updateUpdate site definition project (currently unused).net.certware.verification.checklist.*Verification model and editor support for generic check lists. The core plugin contains the model definition and generator. The edit plugin contains the extended editing framework support models. The editor plugin is modified to use extended editing features for property specification.net.certware.verification.checklist.viewVerification model checklist view with update support.
- Eclipse Kepler or later
- Eclipse Epsilon VCL features
- Eclipse Extended Editing Framework
- Eclipse RCP delta pack for multi-platform exports
The CertWare plug-ins and fragments can be delivered in a variety of ways, including simply exporting projects to the file system.
The several net.certware.* plug-ins and fragments (not including the testing fragments) are combined into several features and a single category definition. Use the automated dependency calculation of the feature editors to identify the installation dependencies, then ensure there are no spurious plug-ins identified; if so, identify the source and repair the issue. For complete feature deliveries, use the version tool in the feature editor to push the feature version identifier into the plugins and fragments. Export to either a folder or archive file. There are no platform-dependent requirements. There are several features available, each bundling distinct functionality and identifying dependencies if necessary. All features use the core feature for shared functionality.
net.certware.featureCore feature used by all other features, providing logging, extensions, and other basic functionality.net.certware.feature.bayesSupport for Bayesian models of evidence.net.certware.feature.checkSupport for verification checklists.net.certware.feature.intentSupport for intent and state specifications.net.certware.feature.measureSupport for measurement collection and metrics.net.certware.feature.planningSupport for time and resource planning notation.net.certware.feature.sacmSupport for SACM arguments and evidence.net.certware.feature.stpaSupport for STPA models.net.certware.feature.sfpSupport for semi-formal proof arguments.
To use the delivery, import the desired features into an existing Eclipse workbench installation. The installer will identify missing dependencies if any and prompt the user to install these prerequisites. The features and contents are not digitally signed. After installation, restart the workbench to update the commands and workbench parts.
The project net.certware.product provides a product definition and p2 configuration. This product uses all of the plugins and the basic workbench configuration. This configuration is not expected to be the preferred method of delivery owing to the variety of user platforms, but it can be used to build initial installation packaging for later update via update sites. The preferred method is to first install some version of Eclipse for the user’s platform, and then install CertWare features from update sites. CertWare has no platform-specific dependencies.
To prepare an update site for publishing, first regenerate the latest features as described above from the net.certware.feature project. Then go to the update site project at net.certware.feature.updatesite and open the site.xml definition file. Use the site definition editor to add the new features with their updated version identifier. Click build all to build the update site. The resulting update site is usable in the remote and local repositories, when pushed back to GitHub, or when copied say to an Amazon S3 location for other users.
At this writing there are three ways to use the update site:
- Install from the local copy of the repository. In this case add a software installation site using the Eclipse software install dialog to point to the local repository and the
net.certware.feature.updatesitefolder. - Install from the remote copy of the repository at GitHub. In this case add a software installation site using the Eclipse software install dialog to point to the remote repository using the URL
https://github.com/nasa/CertWare/raw/master/net.certware.feature.updatesite. Note that the raw segment (not tree) is required for the update site to work. - Install from the Amazon S3 copy. In this case add a software installation site using the Eclipse software install dialog to point to the S3 repository at
http://certware-update.s3.amazonaws.com. Note that this copy is likely of an older version of the features than what is found in the GitHub repository, and that updating this copy requires Kestrel Technology accounts to update at Amazon.
Certain model exports were once supported using the Apache POI libraries. We have removed these for the NASA deliveries. We may reinstate these later under a different license.
See the license files for the original and updated contributions. The initial release of CertWare to open source is given by the NASA Open Source Agreement and third-party licenses including Apache 2.0.
Copyright © 2011-2013 United States Government as represented by the Administrator for The National Aeronautics and Space Administration. All Rights Reserved.