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

moosetechnology / GitProjectHealth / 17262821407

27 Aug 2025 09:26AM UTC coverage: 73.322% (-1.6%) from 74.896%
17262821407

push

github

web-flow
Merge pull request #223 from moosetechnology/develop

Update main

1000 of 2102 new or added lines in 33 files covered. (47.57%)

28 existing lines in 2 files now uncovered.

18579 of 25339 relevant lines covered (73.32%)

0.73 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/GitLabHealth-Model-Visualization/GLHSpDiffView.class.st
1
Class {
2
        #name : #GLHSpDiffView,
3
        #superclass : #SpPresenterWithModel,
4
        #instVars : [
5
                'diff'
6
        ],
7
        #category : #'GitLabHealth-Model-Visualization'
8
}
9

10
{ #category : #layout }
NEW
11
GLHSpDiffView >> defaultLayout [
×
NEW
12

×
NEW
13
        ^ SpBoxLayout newTopToBottom
×
NEW
14
                  add: diff expand: true fill: true;
×
NEW
15
                  yourself
×
NEW
16
]
×
17

18
{ #category : #initialization }
NEW
19
GLHSpDiffView >> initializePresenters [
×
NEW
20

×
NEW
21
        | lines |
×
NEW
22
        super initializePresenters.
×
NEW
23
        diff := self newDiff.
×
NEW
24
        diff showOptions: false.
×
NEW
25
        lines := self model diffString lines.
×
NEW
26
        diff leftLabel: (lines first splitOn: '/') last.
×
NEW
27
        diff leftText: (String cr join: ((lines allButFirst: 2)
×
NEW
28
                                  reject: [ :line |
×
NEW
29
                                  (line beginsWith: '+') or: [ line beginsWith: '@@' ] ]
×
NEW
30
                                  thenCollect: [ :line | line withoutPrefix: '-' ])).
×
NEW
31
        diff rightLabel: (lines second splitOn: '/') last.
×
NEW
32
        diff rightText: (String cr join: ((lines allButFirst: 2)
×
NEW
33
                                  reject: [ :line |
×
NEW
34
                                  (line beginsWith: '-') or: [ line beginsWith: '@@' ] ]
×
NEW
35
                                  thenCollect: [ :line | line withoutPrefix: '+' ]))
×
NEW
36
]
×
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