##### Coverage Report - com.ctrip.apollo.PortalApplication

Classes in this File | Line Coverage | Branch Coverage | Complexity
PortalApplication |
20% | 1/5
N/A | N/A
| 1.0;1

1 |  |
     package com.ctrip.apollo;
2 |  |
3 |  |
     import org.springframework.boot.SpringApplication;
4 |  |
     import org.springframework.boot.actuate.system.ApplicationPidFileWriter;
5 |  |
     import org.springframework.boot.actuate.system.EmbeddedServerPortFileWriter;
6 |  |
     import org.springframework.boot.autoconfigure.SpringBootApplication;
7 |  |
     import org.springframework.context.ConfigurableApplicationContext;
8 |  |
9 |  |
     @SpringBootApplication
10 | 1 |
     public class PortalApplication {
11 |  |
12 |  |
       public static void main(String[] args) throws Exception {
13 | 0 |
         ConfigurableApplicationContext context = SpringApplication.run(PortalApplication.class, args);
14 | 0 |
         context.addApplicationListener(new ApplicationPidFileWriter());
15 | 0 |
         context.addApplicationListener(new EmbeddedServerPortFileWriter());
16 | 0 |
       }
17 |  |
     }