soulasuna opened a new issue #10957:
URL: https://github.com/apache/shardingsphere/issues/10957


   # Test coverage check of shardingsphere-agent project
   
   hi, community
   Hello, ShardingSphere 5.0.0-beta will be released soon, shardingsphere-gent 
is an important feature, but I found that shardingsphere-gent lacks some types 
of tests. The following is the test coverage and the missing classes.
   
   ## Test module:shardingsphere-agent-core
   
   #### Test coverage
   | package         |cvoerage           |
   | --------------- | --------------------- |
   |org.apache.shardingsphere.agent.core.bytebuddy.listener|100% (1/1)|
   |org.apache.shardingsphere.agent.core.bytebuddy.transformer|100% (2/2)|
   |org.apache.shardingsphere.agent.core.bytebuddy.transformer.advice|33% (1/3)|
   |org.apache.shardingsphere.agent.core.config.loader|100% (1/1)|
   |org.apache.shardingsphere.agent.core.config.path|100% (1/1)|
   |org.apache.shardingsphere.agent.core.config.registry|0% (0/1)|
   |org.apache.shardingsphere.agent.core.config.yaml|00% (2/2)|
   |org.apache.shardingsphere.agent.core.config.yaml.engine|100% (1/1)|
   |org.apache.shardingsphere.agent.core.config.yaml.swapper|100% (1/1)|
   |org.apache.shardingsphere.agent.core.plugin.interceptor|100% (3/3)|
   |org.apache.shardingsphere.agent.core.plugin.interceptor.compose|33% (1/3)|
   
   
   #### Need to add junit test methods to the classes
   in the package: 
org.apache.shardingsphere.agent.core.bytebuddy.transformer.advice
   
   ```java
   ComposeClassStaticMethodAroundAdvice
   ComposeConstructorAdvice
   ```
   
   in the package: org.apache.shardingsphere.agent.core.exception
   ```java
   
org.apache.shardingsphere.agent.core.exception.AgentServiceProviderNotFoundException
   org.apache.shardingsphere.agent.core.exception.ShardingSphereAgentException
   ```
   
   in the package: 
org.apache.shardingsphere.agent.core.plugin.interceptor.compose
   ```java
   ComposeClassStaticMethodAroundInterceptor
   ComposeConstructorInterceptor
   ComposeInstanceMethodAroundInterceptor
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to