Welcome!

Microsoft Cloud Authors: Pat Romanski, Andreas Grabner, Nick Basinger, Kevin Benedict, Liz McMillan

Related Topics: Microsoft Cloud

Microsoft Cloud: Article

Static Analysis Helps Computer Company Prevent Software Errors

The "shift left" enables them to accelerate delivery while ensuring high reliability

Static Analysis Helps a Leading Computer Company Prevent Software Errors

A leading personal computer company is dedicated to adding market-differentiating software "preloads" to their systems, and wants to continue their trend of reducing field-reported defects for those preloads.

Working with Parasoft, industry leader in Development Testing and defect prevention, they have adopted a custom-tailored static analysis solution for eliminating defects early in the software development lifecycle. This "shift left" enables them to accelerate delivery while ensuring high reliability.

The Challenge: Preventing Critical, Yet Uncommon, Defects

To ensure a positive user experience, this company actively tracks and works to mitigate the number of field-reported crashes (monitored via Windows Error Reporting) associated with the software that they develop and preload on their systems. Based on their experience and research, the company's quality leaders were convinced that static analysis could help them prevent many of the crash-causing defects being reported. However, there was one problem: out of the box, none of the leading static analysis solutions (Parasoft included) caught the specific defects that were most common and important for their business.

Being able to deliver differentiating software preloads as rapidly and efficiently as possible is critical to this company's business. However, if defects are identified by QA (rather than development), considerably more time and resources are required to diagnose and eliminate each defect. This significantly impacts the velocity and predictability of their delivery cycles-an issue which is becoming increasingly critical as they transition from waterfall to Agile.

The Solution: A Custom-Tailored Static Analysis Solution

The company proposed that Parasoft partner with them to address this problem. They would share details about the defects that they most wanted to prevent-for example, defects related to accessing null pointers, memory violations, buffer overruns, out of bounds accessing, etc. Parasoft would then evolve the static analysis technology featured in its Development Testing Platform to prevent these types of defects.

This was a win-win situation. The company would gain the very specific technology needed to meet their strict quality needs, and Parasoft would be able to offer their expanded technology to the general market, as well as gain the opportunity to be integrated into the company's supply chain.

Other factors driving the selection of Parasoft included:

  • Strong support for a broad set of programming languages: The company uses C++, .NET (C#), as well as Java. Parasoft centralizes execution and reporting for static analysis across all of these languages.

  • Enterprise-grade support for centrally-managed rules across teams and projects: With a global workforce, analyzing code versus a uniform set of expectations is critical. Centralized management eliminates the opportunity for miscommunications or human error introducing inconsistencies into the analysis.

  • Workflow integration: One key reason why the company's previous static analysis initiative failed to achieve the desired result is that the solution was not integrated into the development workflow (developers had to review reports outside of their standard tools/process, so reported defects were not being addressed and resolved). Parasoft's open infrastructure allows seamless integration into the company's existing tools and process (e.g., execution via Continuous Integration and reporting via their bug-tracking system).

Next Steps: Tracking and Optimizing How Static Analysis Reduces Field-Reported Errors

This company expects that the solution will provide release management increased visibility into the risks associated with the applications being developed-enabling them to make more informed go/no-go decisions. Since Windows Error Reporting gives them a very reliable account of how many crashes are occurring in the field, they look forward to tracking which defect prevention efforts have the greatest business impact. They can then use this feedback to continuously improve towards their ultimate goal-accelerating the delivery of innovative preload software without compromising the reliability that their enterprise clients expect.

Once the Parasoft solution is fully "baked into" the process across their laptop PCs, the company plans to extend the Parasoft solution across the remainder of their product lines.

Down the road, the company anticipates making the solution a requirement for vendors within their supply chain. When a driver that is preloaded on one of their PCs fails, users are likely hold the company accountable for that failure. As part of their ongoing efforts to ensure a positive user experience, the company monitors these failures (also reported through Windows Error Reporting) and works with vendors to minimize them. If the company finds that the Parasoft solution can effectively prevent the crashes being reported for preloaded drivers, then they plan to require vendors to comply with their selected rule set as part of their partnership terms.

Static Analysis Webinar: Where Does Static Analysis Fit in "Continuous Everything"?

Modern software development strategies call for a staggering amount of process automation to reduce the injection of defects and to get to market faster. These strategies lean on continuous testing, continuous builds, and continuous delivery-in short, "continuous everything." But organizations seeking to enable continuous processes consistently hit two barriers:

  • Setting criteria for determining next-level readiness.

  • Evolving policy to meet the demands of continuous development.

Join the live Where Does Static Analysis Fit in "Continuous Everything"? Power Hour webinar on Thursday April 23 to explore the critical role that static analysis plays in enabling continuous testing, continuous builds, and continuous delivery-including how static analysis:

  • Serves as the backbone for automating quality gates that verify whether code is ready for downstream phases of development. 

  • Helps you prevent avoidable rework that impedes velocity.

More Stories By Cynthia Dunlop

Cynthia Dunlop, Lead Content Strategist/Writer at Tricentis, writes about software testing and the SDLC—specializing in continuous testing, functional/API testing, DevOps, Agile, and service virtualization. She has written articles for publications including SD Times, Stickyminds, InfoQ, ComputerWorld, IEEE Computer, and Dr. Dobb's Journal. She also co-authored and ghostwritten several books on software development and testing for Wiley and Wiley-IEEE Press. Dunlop holds a BA from UCLA and an MA from Washington State University.

IoT & Smart Cities Stories
Moroccanoil®, the global leader in oil-infused beauty, is thrilled to announce the NEW Moroccanoil Color Depositing Masks, a collection of dual-benefit hair masks that deposit pure pigments while providing the treatment benefits of a deep conditioning mask. The collection consists of seven curated shades for commitment-free, beautifully-colored hair that looks and feels healthy.
The textured-hair category is inarguably the hottest in the haircare space today. This has been driven by the proliferation of founder brands started by curly and coily consumers and savvy consumers who increasingly want products specifically for their texture type. This trend is underscored by the latest insights from NaturallyCurly's 2018 TextureTrends report, released today. According to the 2018 TextureTrends Report, more than 80 percent of women with curly and coily hair say they purcha...
The textured-hair category is inarguably the hottest in the haircare space today. This has been driven by the proliferation of founder brands started by curly and coily consumers and savvy consumers who increasingly want products specifically for their texture type. This trend is underscored by the latest insights from NaturallyCurly's 2018 TextureTrends report, released today. According to the 2018 TextureTrends Report, more than 80 percent of women with curly and coily hair say they purcha...
We all love the many benefits of natural plant oils, used as a deap treatment before shampooing, at home or at the beach, but is there an all-in-one solution for everyday intensive nutrition and modern styling?I am passionate about the benefits of natural extracts with tried-and-tested results, which I have used to develop my own brand (lemon for its acid ph, wheat germ for its fortifying action…). I wanted a product which combined caring and styling effects, and which could be used after shampo...
The platform combines the strengths of Singtel's extensive, intelligent network capabilities with Microsoft's cloud expertise to create a unique solution that sets new standards for IoT applications," said Mr Diomedes Kastanis, Head of IoT at Singtel. "Our solution provides speed, transparency and flexibility, paving the way for a more pervasive use of IoT to accelerate enterprises' digitalisation efforts. AI-powered intelligent connectivity over Microsoft Azure will be the fastest connected pat...
There are many examples of disruption in consumer space – Uber disrupting the cab industry, Airbnb disrupting the hospitality industry and so on; but have you wondered who is disrupting support and operations? AISERA helps make businesses and customers successful by offering consumer-like user experience for support and operations. We have built the world’s first AI-driven IT / HR / Cloud / Customer Support and Operations solution.
Codete accelerates their clients growth through technological expertise and experience. Codite team works with organizations to meet the challenges that digitalization presents. Their clients include digital start-ups as well as established enterprises in the IT industry. To stay competitive in a highly innovative IT industry, strong R&D departments and bold spin-off initiatives is a must. Codete Data Science and Software Architects teams help corporate clients to stay up to date with the mod...
At CloudEXPO Silicon Valley, June 24-26, 2019, Digital Transformation (DX) is a major focus with expanded DevOpsSUMMIT and FinTechEXPO programs within the DXWorldEXPO agenda. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term. A total of 88% of Fortune 500 companies from a generation ago are now out of business. Only 12% still survive. Similar percentages are found throug...
Druva is the global leader in Cloud Data Protection and Management, delivering the industry's first data management-as-a-service solution that aggregates data from endpoints, servers and cloud applications and leverages the public cloud to offer a single pane of glass to enable data protection, governance and intelligence-dramatically increasing the availability and visibility of business critical information, while reducing the risk, cost and complexity of managing and protecting it. Druva's...
BMC has unmatched experience in IT management, supporting 92 of the Forbes Global 100, and earning recognition as an ITSM Gartner Magic Quadrant Leader for five years running. Our solutions offer speed, agility, and efficiency to tackle business challenges in the areas of service management, automation, operations, and the mainframe.