• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

source-academy / frontend / 5399648319
40%

Build:
DEFAULT BRANCH: master
Ran 28 Jun 2023 09:50AM UTC
Jobs 1
Files 527
Run time 19s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Jun 2023 09:45AM UTC coverage: 36.495% (+0.04%) from 36.459%
5399648319

push

github

web-flow
Add agenda and stash visualisation to environment visualiser (#2532)

* Set up the base for starting with agenda stash visualization
* Checkbox to only display the agenda and stash
* Agenda and stash passed to EnvViz component
* Convert AgendaItems to their respective components with helper functions
* Very Basic Literal Value Item implemented

* Add generic Agenda Item Component

* Design for the stacks and generic stackItems implemented.
* Also did some refactoring and renaming of previous functions and components

* Add placeholder for each node and instruction

* Add display for binary/unary operators and for nodes using their program strings(not fully tested yet)

* Truncate text by width for agenda

* Use config ellipsis

* Fix bug where there was large space between item components

* Truncate text by height

* Integrate agenda and stash with environment
* only works for compact layout
* Shifted button group to the top so more area is available to display information

* Arrows from env instr to frmar

* Fixed bug with the arrows in the environment

* Fixed failing tetsts

* Modify setEditorHighlightedLines to highlight all lines from start to end

    * The saga for setEditorHighlightedLines was originally only
      highlighting the first line.
    * The reducer for setEditorHighlightedLines gave the correct state to
      the Editor component and added markers to the Ace Editor with
      className 'myMarker', but this class was not used.
    * The saga uses highlighting from inspector.js in public/externalLibs.
      We should remove that and use the reducer instead.

* Added line highlighting when hovering over agenda node

* The line highlighting probably needs a refactor. There isn't a way to
  unhighlight specific lines. It is being done by resetting the
  highlighted lines currently. We probably need to remember marker IDs,
  and have a way to highlight the gutter (which react-ace does not... (continued)

2011 of 6400 branches covered (31.42%)

Branch coverage included in aggregate %.

84 of 242 new or added lines in 20 files covered. (34.71%)

8 existing lines in 4 files now uncovered.

5335 of 13729 relevant lines covered (38.86%)

18.22 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
89.29
-0.71% src/commons/workspace/WorkspaceActions.ts
2
0.0
0.0% src/features/envVisualizer/compactComponents/ArrayUnit.tsx
2
0.0
0.0% src/features/envVisualizer/compactComponents/arrows/GenericArrow.tsx
6
56.67
-7.08% src/commons/utils/JsSlangHelper.ts
8
87.59
-2.75% src/commons/workspace/WorkspaceReducer.ts
11
68.05
-1.1% src/commons/sagas/WorkspaceSaga.ts
11
43.85
-3.65% src/commons/sideContent/SideContentEnvVisualizer.tsx
11
66.36
0.02% src/features/envVisualizer/EnvVisualizerLayout.tsx
12
27.64
-4.71% src/features/envVisualizer/EnvVisualizer.tsx
14
0.0
src/features/envVisualizer/compactComponents/arrows/ArrowFromStackItemComponent.tsx
16
36.36
src/features/envVisualizer/compactComponents/StackItemComponent.tsx
17
48.0
src/features/envVisualizer/compactComponents/Stack.tsx
47
56.01
-20.1% src/features/envVisualizer/EnvVisualizerUtils.ts

Uncovered Existing Lines

Lines Coverage ∆ File
2
68.05
-1.1% src/commons/sagas/WorkspaceSaga.ts
2
0.0
0.0% src/features/envVisualizer/compactComponents/values/GlobalFnValue.tsx
2
58.72
2.08% src/features/envVisualizer/components/values/FnValue.tsx
2
45.54
1.74% src/features/envVisualizer/components/values/GlobalFnValue.tsx
Jobs
ID Job ID Ran Files Coverage
1 5399648319.1 28 Jun 2023 09:49AM UTC 527
36.49
GitHub Action Run
Source Files on build 5399648319
  • Tree
  • List 527
  • Changed 26
  • Source Changed 0
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • eab48d40 on github
  • Prev Build on master (#5387263795)
  • Next Build on master (#5459397512)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc