Skip to content

Software Development News: .NET, Java, PHP, Ruby, Agile, Databases, SOA, JavaScript, Open Source

Methods & Tools

Subscribe to Methods & Tools
if you are not afraid to read more than one page to be a smarter software developer, software tester or project manager!

Vendor

From MS Office to Requirements Management

Intland Blog - Thu, 05/15/2014 - 17:00
Quick Roundtrip Engineering lesson within 20 minutes Date and time: 15. May 2014 – 4.00 pm CET What you can learn: Requirements Engineering is a process that aims to define, document and maintain software requirements along the entire application development lifecycle.
Categories: Vendor

PragmaDev introduces a unique Model Based Testing feature in its latest release

Software Development Tools Directory - Thu, 05/15/2014 - 16:13
PragmaDev RTDS latest release V4.5 introduces 35 new features making it the most complete model driven development and testing tool dedicated to event driven systems. Real Time Developer Studio offers three levels of modeling and testing: informa ...
Categories: Vendor

BlazeMeter Secures $6.5 Million in Financing

Software Development Tools Directory - Thu, 05/15/2014 - 16:03
BlazeMeter, provider of the JMeter-based performance testing cloud, has announced that it has secured $6.5 million in series A financing. The financing round was led by previous investor, YL Ventures and joined by Glilot Capital Partners. The new ...
Categories: Vendor

EnterpriseDB Announces Postgres Plus Advanced Server for OpenStack

Software Development Tools Directory - Thu, 05/15/2014 - 16:01
EnterpriseDB (EDB), the leading worldwide provider of enterprise-class Postgres products and Oracle database compatibility solutions, today announced support for Postgres Plus Advanced Server on the OpenStack platform.
Categories: Vendor

Innotas Announces Cloud-based Agile Portfolio Management Solution

Software Development Tools Directory - Thu, 05/15/2014 - 15:37
Innotas has announced a Cloud-based Agile Portfolio Management solution that delivers portfolio management across agile projects, providing executives, PMOs, and program managers with improved visibility, cost tracking and resource management &nd ...
Categories: Vendor

Announcing BugBuster v2

Software Development Tools Directory - Thu, 05/15/2014 - 15:30
BugBuster is proud to announce the general availability of BugBuster SaaS v2. The vision behind BugBuster has always been to reduce the complexity and the effort required to test web applications. We believe that testing should be easy, not requi ...
Categories: Vendor

Progress Helps Global Construction Solutions Company COINS Build Data Profitability

Progress Software News - Thu, 05/15/2014 - 13:00
Progress Helps Global Construction Solutions Company COINS Build Data Profitability
Categories: Vendor

MySQL May Newsletter - Register and Save for MySQL Central @ OpenWorld 2014

MySQL AB - Thu, 05/15/2014 - 01:59
Welcome to the MySQL Newsletter for May 2014. To bring more consistency and visibility to the technology- and solution-focused programs at Oracle OpenWorld, MySQL Connect is renamed MySQL Central @ OpenWorld. Registration is now open—you can get early bird savings with US$500 off the onsite price until July 18. Register now and take advantage of the exclusive opportunity to hear directly from Oracle's MySQL engineers and learn from your fellow MySQL users in the community.
Categories: Database, Vendor

Rapise 2.0 Now Available

Inflectra News - Thu, 05/15/2014 - 01:00
We are pleased to announce the release of Rapise v2.0 that provides support for testing HTML5 applications, data-driven testing using ODBC databases as well as support for advanced AJAX web applications using the GWTExt and SmartGWT frameworks.
Categories: Vendor

Real performance analytics from Polarion ALM test drive server

Polarion Software - Wed, 05/14/2014 - 17:25
An analysis of our Polarion ALM Test Drive server shows some nice performance numbers.
Categories: Vendor

Ranorex Test Automation Guide 5.0 on Amazon

Ranorex.com: Latest News - Wed, 05/14/2014 - 10:44
The updated Ranorex Test Automation Guide (latest Release 5.0) is now available in the Amazon Store. Learn Ranorex from the beginning following the step by step instructions and get answers to questions like:
  • How to get started with the Ranorex tools?
  • What are the best practices for using the Ranorex Recorder approach?
  • When does scripting become advantageous?
  • What has to be considered when working in a team?
  • How to set up a test automation framework for a testing team?
The Test Automation Guide addresses both Ranorex beginners and advanced users who want to maximize the effectiveness of their test automation.

Buy your Ranorex book now on amazon.com, amazon.co.uk or amazon.de!

Categories: Vendor

When-Why-How to use the Hybrid model

Intland Blog - Wed, 05/14/2014 - 09:04
Plan with Waterfall, execute with Agile, and speed up the whole process. Hybrid model is mentioned as a marriage of Agile and Waterfall methods. At the first look it might seem that these two methods are fundamentally so different that
Categories: Vendor

Cylon.js

Software Development Tools Directory - Tue, 05/13/2014 - 17:35
Cylon.js is a JavaScript framework for robotics, physical computing, and the Internet of Things using Node.js. It provides a simple, yet powerful way to create solutions that incorporate multiple, different hardware devices at the same time.
Categories: Vendor

MySQL AUDIT Plugin

Software Development Tools Directory - Tue, 05/13/2014 - 17:32
MySQL AUDIT Plugin is a MySQL plugin from McAfee providing audit capabilities for MySQL, designed with an emphasis on security and audit requirements. The plugin may be used as a standalone audit solution or configured to feed data to external mo ...
Categories: Vendor

Ranorex - Automated Testing Tool for Desktop, Web & Mobile Applications

Software Development Tools Directory - Tue, 05/13/2014 - 17:29
Ranorex is a software testing tool that allows you perform functional testing on desktop, web or mobile applications. It supports many user interface (UI) technologies that includes Java, HTML, C#, Flex/Flash, Android, iOS and Silverlight. Read ...
Categories: Vendor

JNBridge Announces Support for Java 8 in New Releases

Software Development Tools Directory - Tue, 05/13/2014 - 17:24
JNBridge announced the latest versions of its three products to support Java 8. Now available, JNBridgePro v7.2 and v3.2 of the JMS Adapters for BizTalk and .NET all enable seamless compatibility with Java 8, ensuring reduced development costs an ...
Categories: Vendor

Idera Announces New SQL Traffic Accelerator

Software Development Tools Directory - Tue, 05/13/2014 - 17:23
Idera announced SQL Traffic Accelerator, a new product that accelerates and secures SQL Server traffic across the network. SQL Traffic Accelerator provides the following measurable benefits, enabling users to quantify results and reduce unnecess ...
Categories: Vendor

LiquidPlanner Closes $8 Million in Series B Funding

Software Development Tools Directory - Tue, 05/13/2014 - 16:02
LiquidPlanner has announced it has secured $8 million in Series B funding from TVC Capital, a San Diego based growth equity firm focused on investments in and acquisitions of software companies and software-enabled service firms. This round of fu ...
Categories: Vendor

Sequence-Point Coverage

Screen Shot 2014-05-12 at 3.03.48 PMWhen it comes to measuring the overall quality of your code, there are a variety of code coverage metrics you can use. Typically, each metric will follow a particular methodology for breaking code down into sections and then reporting on which of those sections were tested.  The methodology followed and the code coverage metrics subsequently reported, can produce significantly different results and have a meaningful impact on how you view your code and deploy your development resources.  This post is focused on sequence-point coverage, the base code coverage number used by NCover.

Understanding The Basics

In order to more fully understand sequence-point coverage, it is helpful to understand two more basic code coverage metrics, Line Coverage and Statement Coverage.

Line Coverage – The Most Basic Metric

Many coverage tools report line coverage, which is probably the most basic coverage metric. Line coverage simply measures whether a particular line of code was executed or not.

Below is an example of the results you might get when running a moderately complex bit of code.

    // Line Coverage
    bool SampleFunction() {
1     int i = 10;
2     if (i > 5) {
3       DoSomething(); DoSomethingElse();
      }
4     return (i == GetMagicNumber()) ? ItWas10() : IsWasnt();     
    }
    // 4 covered lines / 4 coverage points = 100% coverage

The greatest limitation of line coverage is that almost all code of any complexity will contain lines with more than one statement.  In these scenarios, line coverage can mask problems by overstating how well the code was tested.

Statement Coverage – Better, But Limited

Statement coverage is a slightly more specific metric which differentiates when multiple code statements are included on a single line of code.  With statement coverage you might see something like this:

    // Statement Coverage
    bool SampleFunction() {
1     int i = 10;
2     if (i > 5) {
3 4     DoSomething(); DoSomethingElse();
      }
5     return (i == GetMagicNumber()) ? ItWas10() : IsWasnt();     
    }
    // 5 covered statements / 5 coverage points = 100% coverage

In this scenario, statement coverage identifies the line of code with two statements and accounts for each statement when reporting the total coverage.  However, by looking at the last line of code you can see that although there were various nodes, or decision points, and the last case of “ItWasnt()” was not exercised, statement coverage still shows 100% coverage.

Sequence-Point Coverage - A Better Code Coverage Metric for .NET

It is important to understand what information your coverage tool is reporting. As you can see in the example of line coverage and statement coverage, both metrics reported 100% coverage even though not all of the code was being executed.  In both of these scenarios, the code coverage metric was too broad and did not highlight uncovered code.

Sequence-point goes a step further and differentiates between each point where the debugger is able to stop when single-stepping through a code file. NCover uses the compiler’s debug symbol database to provide this information, so it is guaranteed to provide the same points that the Visual Studio debugger will use when debugging.

With sequence point coverage, you should see the following, assuming GetMagicNumber() returns 10:

        // Statement Coverage
        bool SampleFunction() {
1         int i = 10;
2         if (i > 5) {
3 4         DoSomething(); DoSomethingElse();
          }
8 5 6 7   return (i == GetMagicNumber()) ? ItWas10() : ItWasnt();     
        }
        // 7 covered sequence points / 8 coverage points = 87.5% coverage

In this scenario, sequence-point coverage yields a code coverage metric of 87.5%, highlighting the fact that the “ItWasnt()” case was not executed and highlights the exact point that was not exercised.

As your code grows over time and becomes more complex, the need for a better code coverage metric is amplified.  By using sequence-point coverage as the base coverage metric, NCover ensures that you are generating code coverage results that are not only accurate but also useful as you maintain the overall health of your code base.

The post Sequence-Point Coverage appeared first on NCover.

Categories: Vendor