- 
                Notifications
    
You must be signed in to change notification settings  - Fork 30
 
code coverage runtime plugin #181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
      
          
      
      
            brig
  
      
      
      commented
        Dec 1, 2024 
      
    
  
    There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some notes, didn't try running it yet.
        
          
                ...ecoverage/src/main/java/com/walmartlabs/concord/plugins/codecoverage/CodecoverageModule.java
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                ...me/codecoverage/src/main/java/com/walmartlabs/concord/plugins/codecoverage/CodeCoverage.java
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                ...me/codecoverage/src/main/java/com/walmartlabs/concord/plugins/codecoverage/CodeCoverage.java
              
                Outdated
          
            Show resolved
            Hide resolved
        
      | @JsonIgnoreProperties(ignoreUnknown = true) | ||
| @JsonSerialize(as = ImmutableStepInfo.class) | ||
| @JsonDeserialize(as = ImmutableStepInfo.class) | ||
| public interface StepInfo { | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe StepInfo can be a record?
The builder is used only in one place and can be replaced with a static builder method or a constructor.
Minus one dependency and a build step. :-)
        
          
                ...me/codecoverage/src/main/java/com/walmartlabs/concord/plugins/codecoverage/CodeCoverage.java
              
                Outdated
          
            Show resolved
            Hide resolved
        
      There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of minor comments, docs and the README need another pass. Otherwise LGTM.
        
          
                ...e/codecoverage/src/main/java/com/walmartlabs/concord/plugins/codecoverage/StepsRecorder.java
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                ...me/codecoverage/src/main/java/com/walmartlabs/concord/plugins/codecoverage/CodeCoverage.java
              
                Outdated
          
            Show resolved
            Hide resolved
        
      …gins/codecoverage/CodecoverageModule.java Co-authored-by: Ivan Bodrov <[email protected]>
…gins/codecoverage/CodeCoverage.java Co-authored-by: Ivan Bodrov <[email protected]>
…gins/codecoverage/StepsRecorder.java Co-authored-by: Ivan Bodrov <[email protected]>
…gins/codecoverage/CodeCoverage.java Co-authored-by: Ivan Bodrov <[email protected]>
656f538    to
    f4e2b76      
    Compare