US2017046132A1PendingUtilityA1

Data type visualization

Assignee: MATHWORKS INCPriority: Sep 15, 2014Filed: May 9, 2016Published: Feb 16, 2017
Est. expirySep 15, 2034(~8.1 yrs left)· nominal 20-yr term from priority
G06F 8/33G06F 11/3636G06F 11/34G06F 8/433G06F 8/34
45
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

A device, including one or more processors, may obtain program code, determine a group of variables based on the program code, execute the program code, determine values of the group of variables based on the executing of the program code, determine a dynamic range of a characteristic for each variable based on the values, generate a visualization that presents the dynamic range of the characteristic for the group of variables, and provide the visualization for display.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
         1 . A device, comprising:
 one or more processors to:
 obtain program code; 
 determine a plurality of variables based on the program code; 
 at least one of:
 execute the program code; or 
 analyze the program code; 
 
 determine values of the plurality of variables based on the at least one of executing or analyzing of the program code; 
 determine a range for each variable based on the values; 
 generate a visualization that presents the range for the plurality of variables; and 
 provide the visualization for display. 
   
     
     
         2 . The device of  claim 1 , where the one or more processors, when determining the plurality of variables based on the program code are further to:
 determine a variable type assigned to each of the plurality of variables; and   where the one or more processors, when at least one of executing or analyzing the program code are further to:   execute or analyze the program code using a variable type different from at least one of the variable types assigned to the plurality of variables.   
     
     
         3 . The device of  claim 2 , where the one or more processors, when determining the range are further to:
 count a quantity of occurrences of each most significant digit used to represent the values for each of the plurality of variables; and   generate a display of the quantity of occurrences of each significant digit for each of the plurality of variables.   
     
     
         4 . The device of  claim 2 , where the one or more processors, when determining the range are further to:
 count a quantity of occurrences of each least significant digit used to represent the values for each of the plurality of variables; and   generate a display of the quantity of occurrences of each significant digit for each of the plurality of variables.   
     
     
         5 . The device of  claim 2 , where the one or more processors, when determining the range are further to:
 count a quantity of occurrences of each non-zero significant digit used to represent the values for each of the plurality of variables; and   generate a display of the quantity of occurrences of each significant digit for each of the plurality of variables.   
     
     
         6 . The device of  claim 1 , where the one or more processors are further to:
 detect an interaction with the visualization;   receive one or more instructions, based on the interaction, to assign or modify one or more characteristics of one or more of the plurality of variables;   based on the one or more instructions, assign or modify the one or more characteristics of the one or more of the plurality of variables;   update the visualization based on the assigning or modifying; and   provide the visualization for display.   
     
     
         7 . The device of  claim 6 , where the one or more processors, when assigning or modifying the one or more characteristics, are further to:
 assign or modify a data type of the one or more of the plurality of variables.   
     
     
         8 . The device of  claim 1 , where the one or more processors
 detect an interaction with the visualization;   receive one or more instructions, based on the interaction, to display a portion of the program code associated with a portion of the visualization; and   provide the portion of the program code for display.   
     
     
         9 . The device of  claim 8 , where the one or more processors are further to:
 detect a second interaction with the visualization;   receive one or more second instructions, based on the second interaction, to modify the portion of the program code associated with the portion of the visualization;   based on the one or more second instructions, modify the portion of the program code;   update the portion of code based on the modifying of the portion of the program code;   update the visualization based on the second interaction; and   provide for display the visualization and the portion of the program code.   
     
     
         10 . The device of  claim 9 , where the one or more processors are further to:
 based on the modifying of the portion of the program code, modify a different portion of the program code.   
     
     
         11 . The device of  claim 10 , where the one or more processors are further to:
 update the different portion of the program code; and   provide for display at least one of:
 the different portion of the program code, or 
 an indicator to indicate the updating of the different portion of the program code. 
   
     
     
         12 . A computer-readable medium storing instructions, the instructions comprising:
 one or more instructions that, when executed by one or more processors, cause the one or more processors to:
 obtain program code; 
 determine a plurality of variables based on the program code; 
 execute the program code a plurality of times; 
 determine values of the plurality of variables based on the executing of the program code; 
 determine a range of a characteristic for each variable based on the values; 
 generate a visualization that presents the range of the characteristic for the plurality of variables; and 
   provide the visualization for display.   
     
     
         13 . The computer-readable medium of  claim 12 , where the one or more instructions that cause the one or more processors to generate the visualization, further cause the one or more processors to:
 generate a histogram for each of the plurality of variables;   place the histograms in an order on the visualization; and   provide the visualization for display.   
     
     
         14 . The computer-readable medium of  claim 13 , where the one or more instructions, when executed by the one or more processors, further cause the one or more processors to:
 receive one or more instructions to sort the visualization;   change the order of the histograms based on the one or more instructions;   update the visualization based on the changed order; and   provide the visualization for display.   
     
     
         15 . The computer-readable medium of  claim 12 , where the one or more instructions that cause the one or more processors to change the order of the histograms, further cause the one or more processors to:
 receive one or more instructions to sort the visualization;   filter a subset of the histograms based on the one or more instructions;   update the visualization based on the filtering; and   provide the visualization for display.   
     
     
         16 . The computer-readable medium of  claim 12 , where the one or more instructions, when executed by the one or more processors, further cause the one or more processors to:
 detect an interaction with the visualization;   receive one or more instructions, based on the interaction, to assign or modify one or more characteristics of one or more of the plurality of variables;   based on the one or more instructions, assign or modify the one or more characteristics of the one or more of the plurality of variables;   update the visualization based on the assigning or modifying; and   provide the visualization for display.   
     
     
         17 . The computer-readable medium of  claim 12 , where the one or more instructions that cause the one or more processors to assign or modify the one or more characteristics, further cause the one or more processors to:
 modify a portion of the program code including the one or more of the plurality of variables.   
     
     
         18 . The computer-readable medium of  claim 12 , where the one or more instructions, when executed by the one or more processors, further cause the one or more processors to:
 detect an interaction with the visualization;   receive one or more instructions, based on the interaction, to display a portion of the program code associated with a portion of the visualization; and   provide the portion of the program code for display.   
     
     
         19 . The computer-readable medium of  claim 18 , where the one or more instructions, when executed by the one or more processors, further cause the one or more processors to:
 detect a second interaction with the portion of the program code provided for display;   based on the second interaction, modify the portion of the visualization associated with the portion of the code;   update the portion of code based on the second interaction;   update the visualization based on the modifying the portion of the program code; and   provide for display the visualization and the portion of code.   
     
     
         20 . A method, comprising:
 obtaining program code,
 the obtaining being performed by one or more devices; 
   determining a plurality of variables based on the program code,
 the determining being performed by the one or more devices; 
   determining a plurality of expressions based on the program code,
 the determining being performed by the one or more devices; 
   at least one of:
 executing the program code,
 the executing being performed by the one or more devices, or 
 
 analyzing the program code,
 the analyzing being performed by the one or more devices; 
 
   determining values of the plurality of variables and the plurality of expressions based on the executing or analyzing of the program code,
 the determining being performed by the one or more devices; 
   determining a range of a characteristic for each variable and expression based on the values,
 the determining being performed by the one or more devices; 
   generating a visualization that presents the range of the characteristic for the plurality of variables and expressions,
 the generating being performed by the one or more devices; and 
   providing the visualization for display,
 the providing being performed by the one or more devices.

Join the waitlist — get patent alerts

Track US2017046132A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.