PingsFailedCount( 0 ),
     ExceededPingFailedCountLimit( false )
 {
-    BOOST_ASSERT( !host_address.empty() );
-    BOOST_ASSERT( ( 0 <= limit_ping_fail_percentage ) && ( limit_ping_fail_percentage <= 100 ) );
+    BOOST_ASSERT( !HostAddress.empty() );
+    BOOST_ASSERT( ( 0 <= LimitPingFailPercentage ) && ( LimitPingFailPercentage <= 100 ) );
 }
 
 PingAnalyzer::~PingAnalyzer()
 
 bool PingAnalyzer::tried_all_resolved_ip() const
 {
-    return ( PingsPerformedCount >= ResolvedIpCount );
+    BOOST_ASSERT( ( 0 <= PingsPerformedCount ) && ( PingsPerformedCount <= ResolvedIpCount ) );
+
+    return ( PingsPerformedCount == ResolvedIpCount );
 }
 
 void PingAnalyzer::analyze_ping_statistics()
 {
-    BOOST_ASSERT( PingsPerformedCount == ResolvedIpCount );
     BOOST_ASSERT( !HostAddress.empty() );
+    BOOST_ASSERT( PingsPerformedCount == ResolvedIpCount );
 
     // notify if the amount of pings that failed exceed the limit
     if ( exceeded_ping_failed_count_limit() )