Archives: software development process

open source linter and code coverage for C/C++ No ratings yet.

A poor man C/C++ linter and code coverage (gtests) C/C++ Linter: Cppcheck apt-get install cppcheck cppcheck –enable=all /your_cpp_source_dir   Test Code coverage : gcov/lcov g++ -o main –fprofile-arcs -ftest-coverage main_test.cpp -L /usr/lib -I/usr/include ./main gcov main_test.cpp lcov –coverage –directory . –output-file genhtml –output-directory out   CMake and code coverage for: • Read More »

How to use gradle to build java app/project from command line No ratings yet.

Install gradle ( on debian 10) Follow download latest gradle at: for example: wget -P /tmp sudo unzip -d /opt/gradle /tmp/ sudo nano /etc/profile.d/ export GRADLE_HOME=/opt/gradle/gradle-6.2.1 export PATH=${GRADLE_HOME}/bin:${PATH} sudo chmod +x /etc/profile.d/ source /etc/profile.d/ gradle -v   Try gradle demo Follow mkdir demo cd demo gradle init # setup gralde project • Read More »

how to cherry-pick a merge commit 5/5 (3)

Problem: For example: I have a merge in main dev branch, I want to cherry-pick that merge into a relatively old prod branch, If we directly do: git cherry-pick merge_commit_in_dev_branch, we will get a  error:  is a merge but no -m option was given. Solution So we need to do this: git cherry-pick -m 1  • Read More »

Agile scrum? No ratings yet.

It seems everyone has his option how scrum should be run. In an interview, Ken Schwaber said ”I estimate that 75% of those organizations using Scrum will not succeed in getting the benefits that they hope for from it.” ( Can anyone share some successful stories or failure lessons considering >50% (?) failure rate of scrum ( )? • Read More »

Testing/QA in Scrum team No ratings yet. Please rate this rating

Code Ownership on Software Quality No ratings yet. quotes from : The results of our analysis of ownership in Windows Vista can be interpreted as follows: 1) The number of minor contributors has a strong positive relationship with both pre- and post-release failures even when controlling for metrics such as size, churn, and complexity. 2) Higher levels of ownership for the top contributor to a component results • Read More »

Scrum or Kanban No ratings yet. Please rate this rating