Debian Automated Code Analysis

checkbashisms analysis of libdmtx_0.7.2-1.dsc

possible bashism in ./script/check_comments.sh line 6 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ $? -eq 0 ]]; then
possible bashism in ./script/check_comments.sh line 7 (echo -e):
   echo -e "Bad comment style found in $FILE on line(s):\n$LINE"
possible bashism in ./script/check_comments.sh line 12 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ $? -eq 0 ]]; then
possible bashism in ./script/check_comments.sh line 13 (echo -e):
   echo -e "Bad comment style found in $FILE on line(s):\n$LINE"
possible bashism in ./script/check_copyright.sh line 7 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ $? -ne 0 ]]; then
possible bashism in ./script/check_copyright.sh line 14 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ $? -ne 0 ]]; then
possible bashism in ./script/check_whitespace.sh line 6 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ $? -eq 0 ]]; then
possible bashism in ./script/check_whitespace.sh line 7 (echo -e):
   echo -e "Trailing whitespace found in $FILE on line(s):\n$LINE"
possible bashism in ./script/check_license.sh line 20 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ "$COUNT" -gt 0 ]]; then
possible bashism in ./script/check_spacing.sh line 7 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ "$(basename $FILE)" = "dmtxfec.c" ]]; then
possible bashism in ./script/check_spacing.sh line 17 (alternative test command ([[ foo ]] should be [ foo ])):
   if [[ "$LINE_TYPE" = "C" ]]; then
possible bashism in ./script/check_spacing.sh line 20 (alternative test command ([[ foo ]] should be [ foo ])):
         if [[ $? -eq 0 ]]; then
possible bashism in ./script/check_spacing.sh line 28 (alternative test command ([[ foo ]] should be [ foo ])):
   elif [[ "$LINE_TYPE" = "X" ]]; then
possible bashism in ./script/check_spacing.sh line 30 (alternative test command ([[ foo ]] should be [ foo ])):
      if [[ $? -ne 0 ]]; then
possible bashism in ./script/check_spacing.sh line 36 (alternative test command ([[ foo ]] should be [ foo ])):
      if [[ $? -ne 0 ]]; then
possible bashism in ./script/check_todo.sh line 6 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ "$COUNT" -gt 0 ]]; then
possible bashism in ./script/check_all.sh line 3 ('function' is useless):
function RunTest()
possible bashism in ./script/check_all.sh line 13 (alternative test command ([[ foo ]] should be [ foo ])):
      if [[ "$dir" != "$LIBDMTX" &&
possible bashism in ./script/check_all.sh line 27 (alternative test command ([[ foo ]] should be [ foo ])):
         if [[ "$EXT" != "c" && "$EXT" != "h" && "$EXT" != "sh" && \
               "$EXT" != "py" && "$EXT" != "pl" ]]; then
possible bashism in ./script/check_all.sh line 31 (alternative test command ([[ foo ]] should be [ foo ])):
         if [[ "$(basename $file)" = "config.h" ||
possible bashism in ./script/check_all.sh line 36 (alternative test command ([[ foo ]] should be [ foo ])):
         if [[ $(cat $file | wc -l) -le 10 ]]; then
possible bashism in ./script/check_all.sh line 41 (alternative test command ([[ foo ]] should be [ foo ])):
         if [[ "$SCRIPT_TYPE" = "sh" ]]; then
possible bashism in ./script/check_all.sh line 44 (alternative test command ([[ foo ]] should be [ foo ])):
         elif [[ "$SCRIPT_TYPE" = "pl" ]]; then
possible bashism in ./script/check_all.sh line 46 (alternative test command ([[ foo ]] should be [ foo ])):
            if [[ $? -ne 0 ]]; then
possible bashism in ./script/check_all.sh line 60 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ -z "$LIBDMTX" || ! -d "$LIBDMTX/script" ]]; then
possible bashism in ./script/check_keyword.sh line 8 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ $? -ne 0 ]]; then

This report was generated on Fri, 17 Dec 2010 01:38:21 +0000, based on results by checkbashisms 2.10.65git5