Source code management systems and methods
AssigneeAtlassian Pty Ltd.
InventorArtem Koshelev
Life of this patent
Estimating the term…
Abstract
Described herein is a computer implemented method comprising accessing code coverage information, the code coverage information describing units of a particular version of a particular source code base and, for each unit, a code coverage status indicating whether the test suite covered, did not cover, or partially covered the unit. The code coverage information is then associated with the relevant source code by, for each unit described in the code coverage information, identifying the corresponding unit in the source code and associating the code coverage status as described in the code coverage information with the corresponding unit identified.
Claims19
A computer implemented method comprising:
- accessing code coverage information at a source code management system, the code coverage information describing units of a particular version of a particular source code base and, for each unit, a code coverage status indicating whether a test suite tested against the particular version of the particular source code base covered, did not cover, or partially covered the unit;
- associating the code coverage information with the particular version of the particular source code base, wherein associating the code coverage information with the particular version of the particular source code base comprises:
- for each unit described in the code coverage information:
- identifying the corresponding unit in the particular version of the particular source code base;
- and
- associating the code coverage status as described in the code coverage information with the corresponding unit identified;
- receiving a request to display a difference regarding the particular version of the particular source code base with respect to a previous version of the particular source code base;
- and
- in response to receiving the request:
- generating diff information based on the particular version and the previous version;
- generating user interface information, the user interface information comprising:
- a source code pane showing a differential view computed based on the diff information and comprising units of the particular source code base and the previous version of the particular source code base;
- a revision indicator pane generated using the diff information and comprising a set of revision indicator symbols, each revision indicator symbol in the set of revision indicator symbols corresponding to a unit of the particular source code base of the differential view;
- and
- a code coverage pane, showing a set of code coverage indicators, each code coverage indicator in the set of code coverage indicators corresponding to a unit of the particular source code base in the differential view;
- and
- causing the user interface information to be displayed on a display.
A system comprising:
- a processor,
- a communication interface, and
- a non-transitory computer-readable storage medium storing sequences of instructions, which when executed by the processor, cause the processor to:
- access code coverage information at a source code management system, the code coverage information describing units of a particular version of a particular source code base and, for each unit, a code coverage status indicating whether a test suite tested against the particular version of the particular source code base covered, did not cover, or partially covered the unit;
- associate the code coverage information with the particular version of the particular source code base, wherein associating the code coverage information with the particular version of the particular source code base comprises:
- for each unit described in the code coverage information:
- identifying the corresponding unit in the particular version of the particular source code base;
- and
- associating the code coverage status as described in the code coverage information with the corresponding unit identified;
- receiving a request to display a difference regarding the particular version of the particular source code base with respect to a previous version of the particular source code base;
- and
- in response to receiving the request:
- generating diff information based on the particular version and the previous version;
- generating user interface information, the user interface information comprising:
- a source code pane showing a differential view computed based on the diff information and comprising units of the particular source code base and the previous version of the particular source code base;
- a revision indicator pane generated using the diff information and comprising a set of revision indicator symbols, each revision indicator symbol in the set of revision indicator symbols corresponding to a unit of the particular source code base in the differential view;
- and
- a code coverage pane, showing a set of code coverage indicators, each code coverage indicator in the set of code coverage indicators corresponding to a unit of the particular source code base in the differential view;
- and
- causing the user interface information to be displayed on a display.
Non-transient computer readable storage comprising instructions which, when executed by a processor, cause the processor to:
- access code coverage information at a source code management system, the code coverage information describing units of a particular version of a particular source code base and, for each unit, a code coverage status indicating whether a test suite tested against the particular version of the particular source code base covered, did not cover, or partially covered the unit;
- associate the code coverage information with the particular version of the particular source code base, wherein associating the code coverage information with the particular version of the particular source code base comprises:
- for each unit described in the code coverage information:
- identifying the corresponding unit in the particular version of the particular source code base;
- and
- associating the code coverage status as described in the code coverage information with the corresponding unit identified
- receiving a request to display a difference regarding the particular version of the particular source code base with respect to a previous version of the particular source code base;
- and
- in response to receiving the request:
- generating diff information based on the particular version and the previous version;
- generating user interface information, the user interface information comprising:
- a source code pane showing a differential view computed based on the diff information and comprising units of the particular source code base and the previous version of the particular source code base;
- a revision indicator pane generated using the diff information and comprising a set of revision indicator symbols, each revision indicator symbol in the set of revision indicator symbols corresponding to a unit of the particular source code base of the differential view;
- and
- a code coverage pane, showing a set of code coverage indicators, each code coverage indicator in the set of code coverage indicators corresponding to a unit of the particular source code base in the differential view;
- and
- causing the user interface information to be displayed on a display.
Dependencies are inferred from the claim text.