Visualized Code Review for UI Changes

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional code review tools are cumbersome and ineffective for examining user interface code changes, making it difficult for reviewers to determine whether changes improve or deteriorate the interface, and providing precise feedback to developers.

Innovation Solution

A visualized code review system that renders user interface code changes, allowing reviewers to compare versions graphically and provide feedback directly on a visualization, with automated analysis for compliance with design and coding standards.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional code review tools are used to examine user interface code changes, then code review can be performed, but it becomes cumbersome and ineffective for reviewers to determine whether changes improve or deteriorate the interface

Engineering Contradiction:
Improveability to determine whether UI changes improve or deteriorate interfaceVSAvoidease of examining code changes
Core Design Contradiction:
Measurement precisionVSEase of operation

Solution Approach 1:

The patent transforms the code review process from examining raw text-based code to visualizing code execution results as graphical user interface representations. This dimensional change from textual to visual domain enables reviewers to intuitively understand UI changes without struggling with code syntax and logic, directly resolving the contradiction between measurement precision and ease of operation.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

Solution Approach 2:

The system introduces an intermediary visualization layer that translates user interface code changes into graphical representations. This intermediary allows reviewers to assess the impact of code changes on the actual user interface without directly analyzing the code itself, making the review process both easier and more precise.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If line-by-line code examination is performed to identify flaws and compliance issues, then thorough review is achieved, but the process becomes time-consuming and less efficient

Engineering Contradiction:
Improvethoroughness of code reviewVSAvoidefficiency of code review process
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent replaces the mechanical process of manual line-by-line code examination with an automated system that executes the code and visualizes the results. This substitution maintains thoroughness by actually running the code to observe its behavior while dramatically improving efficiency by eliminating manual reading and analysis of every line of code.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The code review system performs self-examination by automatically executing the user interface code and generating visual representations of its behavior. The code essentially reviews itself through automated execution and visualization, reducing the time and effort required for human reviewers while maintaining comprehensive coverage.

Inventive Principle:
Principle #25Self-service

3Measurement precision

If reviewers provide feedback on code changes, then improvement suggestions can be communicated, but it is difficult to provide precise feedback when working with conventional code comparison tools

Engineering Contradiction:
Improveprecision of feedbackVSAvoidcomplexity of feedback mechanism
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent enables precise feedback by allowing reviewers to annotate visual representations of the user interface rather than abstract code text. This dimensional change from code-space to interface-space makes feedback more intuitive and precise, as reviewers can directly mark up the visual elements that are affected by code changes, simplifying the feedback mechanism while improving precision.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

Data Source

PatentUS9594544B2Visualized code review
Publication Date: 2017.03.14 MICROSOFT TECHNOLOGY LICENSING LLC
  • US9594544B2 patent drawing
  • US9594544B2 patent drawing
  • US9594544B2 patent drawing

AI summary

Visualization of the result of user interface code is provided in the context of code review. Changes to user interface code can be visualized to enable code reviewers to easily understand the effect of such changes. Furthermore, the visualization, or view, provides a surface for users to provide precise feedback to a developer.