You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider this code:
result_set = UserTraffic.connection.select_all("select utmcsr as source,
utmcmd as medium,
utmctr as keyword,
utmcct as ad_content,
sum(label='register') as registrations,
sum(label='create-demo-account') as demo_accounts,
sum(label='create-contest-account') as contest_accounts,
sum(label='create-real-account') as real_accounts
from #{UserTraffic.table_name}
where utmccn = #{partner.id} and label is not null#{date_conditions}
group by utmcsr, utmcmd, utmctr, utmcct")
Last 3 lines here showed by RCov like lines of code and the last line is showed as uncovered
The text was updated successfully, but these errors were encountered:
I'm seeing a similar issue. My multi-line string shows up as uncovered. Well, the first line where the variable is declared is marked covered while the rest are uncovered. This is with rcov 0.9.10
Can you please submit this issue with the version and patchlevel of Ruby you are using, your operating system and version, and the version of gcc you are running?
Consider this code:
result_set = UserTraffic.connection.select_all("select utmcsr as source,
utmcmd as medium,
utmctr as keyword,
utmcct as ad_content,
sum(label='register') as registrations,
sum(label='create-demo-account') as demo_accounts,
sum(label='create-contest-account') as contest_accounts,
sum(label='create-real-account') as real_accounts
from #{UserTraffic.table_name}
where utmccn = #{partner.id} and label is not null#{date_conditions}
group by utmcsr, utmcmd, utmctr, utmcct")
Last 3 lines here showed by RCov like lines of code and the last line is showed as uncovered
The text was updated successfully, but these errors were encountered: