Dear Libreoffice community,

I'm Manish Bera, working on the *"Improve Word Processor Test Coverage"*
project this summer under the mentorship of Jonathan Clark. The project
focuses on improving test coverage of Writer's legacy layout engine (
*sw/source/core*) using *lcov metrics* and *parseLayoutDump() assertions*.
Accomplishments

   -

   Set up a *dual-repo workflow*: MSVC on Windows for test development and
   a lightweight GCC build in WSL2 (--enable-gcov, --disable-gui,
   --without-java) for fast lcov coverage analysis.
   -

   Generated baseline *lcov reports* for entire sw/source/core/
   -

   Analyzed txtdrop.cxx and identified multiple untested code paths.
   -

   Added new CppUnit tests covering:
   -

      lcl_IsDropFlyInter Drop Caps/Fly frame intersection handling.
      -

      SwTextFrame::GetDropLen logic for *ASIAN* and *COMPLEX* scripts.
      -

      Vertical text Drop Caps layout calculations.
      -

   Submitted a patch, increasing the coverage of txtdrop.cxx to almost all
   of testable lines and increasing the coverage to 10%.

Next Week

   -

   Review the first patch during my sync with my mentor.
   -

   Use lcov reports to identify the next high-value untested areas in core/text
   and core/txtnode

Thank you!

Best regards,
Manish Bera

Reply via email to