<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ishay Zekri on Medium]]></title>
        <description><![CDATA[Stories by Ishay Zekri on Medium]]></description>
        <link>https://medium.com/@ishay.zekri?source=rss-7d7c45e6fec2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*QR8zOp_qduzcMv9acaZ9vw.png</url>
            <title>Stories by Ishay Zekri on Medium</title>
            <link>https://medium.com/@ishay.zekri?source=rss-7d7c45e6fec2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 11:49:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ishay.zekri/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Tips and Tricks for Beginner Bloggers]]></title>
            <link>https://medium.com/@ishay.zekri/tips-and-tricks-for-beginner-bloggers-673803b23e8b?source=rss-7d7c45e6fec2------2</link>
            <guid isPermaLink="false">https://medium.com/p/673803b23e8b</guid>
            <category><![CDATA[tips]]></category>
            <category><![CDATA[blogging]]></category>
            <category><![CDATA[tips-and-tricks]]></category>
            <category><![CDATA[blogger]]></category>
            <dc:creator><![CDATA[Ishay Zekri]]></dc:creator>
            <pubDate>Tue, 13 Dec 2022 09:40:29 GMT</pubDate>
            <atom:updated>2022-12-13T10:07:32.471Z</atom:updated>
            <content:encoded><![CDATA[<h4>BLOG WRITING / TIPS AND TRICKS</h4><h4>Make the best out of yourself as a blogger with these hints.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*g1RrQxEZiAOvamlZ" /></figure><p>As a beginner blogger, I’ve found the links below very useful:</p><h4><a href="http://bloggerhangout.com/popular-writing-styles/">10 Popular Writing Styles of Bloggers</a></h4><p>In the blogging world, you easily get noticed when you get to have a unique style in blogging. As having a unique trademark in blogging, using an authentic style plays a crucial role in the success of your blog articles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/142/0*2m_sI3dAJwS-_zWg.png" /></figure><h4><a href="https://app.grammarly.com/">Grammarly</a></h4><p>Grammarly is an American cloud-based typing assistant that reviews spelling, grammar, punctuation, clarity, engagement, and delivery mistakes in English language text.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/65/1*WtK-H6LqtlLopT6pL1_Mcg.png" /></figure><h4><a href="https://help.medium.com/hc/en-us/articles/214672207-Editor-keyboard-shortcuts">Editor keyboard shortcuts</a></h4><p>Handy keyboard shortcuts will let you format your posts like a pro in medium blogging platform.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/236/1*alqenipwGZvzCKPOje41nA.png" /></figure><h4><a href="https://www.pexels.com/">Pexels</a></h4><p>Free stock photos &amp; videos you can use everywhere. Browse millions of high-quality royalty free stock images &amp; copyright free pictures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/86/1*EVAK5K6cIR9NzMkRQaV-Gg.png" /></figure><h4><a href="https://excalidraw.com/">Excalidraw</a></h4><p>Excalidraw is a virtual collaborative whiteboard tool that lets you easily sketch diagrams that have a hand-drawn feel to them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/276/1*9MjxHVx43kH1qzntLiBW-Q.png" /></figure><h4><a href="https://medium.com/pythoneers/9-different-ways-to-embedded-code-in-medium-9213cb4c0a2e">Embed Code in Medium</a></h4><p>Learn to embed code in a beautiful way</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/1*Q4yMp1UgmXqai4TrHo7w2Q.png" /><figcaption>Blog by Abhay Parashar on Medium</figcaption></figure><p>I hope that my tips help to improve your blog writing experience<br>Feel free to share your hints with me :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=673803b23e8b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Code coverage from build to report Part 1]]></title>
            <link>https://medium.com/@ishay.zekri/code-coverage-from-build-to-report-part-1-48d27543015e?source=rss-7d7c45e6fec2------2</link>
            <guid isPermaLink="false">https://medium.com/p/48d27543015e</guid>
            <category><![CDATA[gcc]]></category>
            <category><![CDATA[gcno]]></category>
            <category><![CDATA[cmake]]></category>
            <category><![CDATA[coverage]]></category>
            <dc:creator><![CDATA[Ishay Zekri]]></dc:creator>
            <pubDate>Thu, 14 Jul 2022 06:40:22 GMT</pubDate>
            <atom:updated>2023-04-24T07:45:03.829Z</atom:updated>
            <content:encoded><![CDATA[<h4>Software development / Software quality</h4><h3>Code coverage — from build to report — Part 1</h3><h4>gcov build — gcc and CMakefile</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IHZhOiDZfXkqtjMx" /><figcaption>Photo by <a href="https://unsplash.com/@swimstaralex?utm_source=medium&amp;utm_medium=referral">Alexander Sinn</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In this blogs series I will summarize the full (and simple) procedure of how to build and create code coverage report using gcc, lcov and genhtml.</p><p>I will cover the following topics:</p><ul><li>gcov build</li><li>lcov info file</li><li>html covergae report</li></ul><p>Software developers use coverage testing in concert with test suites, to make sure software is good enough for a release.</p><p>A coverage program tests to see how much of the program is exercised by the test suite. Developers can determine what kinds of test cases need to be added to the test suites to create both better testing and a better final product.</p><h3>Example code:</h3><pre>#include &lt;stdio.h&gt;<br>int main()<br>{<br>        int cond = 1;<br>        if ( cond ) {<br>                printf(&quot;Condition is true...!\n&quot;);<br>        } else {<br>                printf(&quot;Condition is false...!\n&quot;);<br>                return(1);<br>        }<br>        printf(&quot;End of program\n&quot;);<br>        return(0);<br>}</pre><h3>Build using gcc:</h3><pre>gcc -fprofile-arcs -ftest-coverage</pre><blockquote>GCC supports number of command-line options that control adding run-time instrumentation to the code it normally generates.<br>one purpose of instrumentation is to collect profiling statistics for use in code coverage analysis.</blockquote><p><strong>fprofile-arcs<br> </strong>During execution, the program records how many times each branch and call is executed and how many times it is taken or returns.</p><p><strong>ftest-coverage</strong><br> Produce a notes file that the gcov code-coverage utility can use to show program coverage.</p><h3>gcov build output</h3><p>*.gcno — notes file<br>Generated when the source file is compiled with the GCC -ftest-coverage option. It contains information to reconstruct the basic block graphs and assign source line numbers to blocks.</p><h3>CMake</h3><p>It is required to avoid CMake source extension i.e. Sample.c.gcno, as the default naming conventions creates trouble to run gcov/lcov.</p><p><strong>Solution:</strong><br>Set the (undocumented) variable as follow:</p><pre>set(CMAKE_C_OUTPUT_EXTENSION_REPLACE 1)<br>set(CMAKE_CXX_OUTPUT_EXTENSION_REPLACE 1)</pre><p>Summary:<br>In this part, I described how to build code using gcov (and CMake) and gcov build output file.<br>In the next part, I will elaborate on lcov info file and how we can combine several info files from several runs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=48d27543015e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>