Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.1.1 & Your IP : 18.117.73.33
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
git /
contrib /
Delete
Unzip
Name
Size
Permission
Date
Action
buildsystems
[ DIR ]
drwxr-xr-x
2025-01-15 06:48
coccinelle
[ DIR ]
drwxr-xr-x
2025-01-15 06:48
contacts
[ DIR ]
drwxr-xr-x
2025-01-15 06:48
credential
[ DIR ]
drwxr-xr-x
2024-02-16 18:51
diff-highlight
[ DIR ]
drwxr-xr-x
2025-01-15 06:48
examples
[ DIR ]
drwxr-xr-x
2025-01-15 06:48
fast-import
[ DIR ]
drwxr-xr-x
2025-01-15 06:48
git-jump
[ DIR ]
drwxr-xr-x
2025-01-15 06:48
git-shell-commands
[ DIR ]
drwxr-xr-x
2025-01-15 06:48
hg-to-git
[ DIR ]
drwxr-xr-x
2025-01-15 06:48
hooks
[ DIR ]
drwxr-xr-x
2025-01-15 06:48
long-running-filter
[ DIR ]
drwxr-xr-x
2025-01-15 06:48
persistent-https
[ DIR ]
drwxr-xr-x
2025-01-15 06:48
remote-helpers
[ DIR ]
drwxr-xr-x
2025-01-15 06:48
stats
[ DIR ]
drwxr-xr-x
2025-01-15 06:48
subtree
[ DIR ]
drwxr-xr-x
2025-01-15 06:48
thunderbird-patch-inline
[ DIR ]
drwxr-xr-x
2025-01-15 06:48
update-unicode
[ DIR ]
drwxr-xr-x
2025-01-15 06:48
vscode
[ DIR ]
drwxr-xr-x
2025-01-15 06:48
workdir
[ DIR ]
drwxr-xr-x
2025-01-15 06:48
README
2.06
KB
-rw-r--r--
2021-11-24 19:29
coverage-diff.sh
2.05
KB
-rw-r--r--
2021-11-24 19:29
git-resurrect.sh
4.25
KB
-rw-r--r--
2021-11-24 19:29
remotes2config.sh
770
B
-rw-r--r--
2021-11-24 19:29
rerere-train.sh
1.6
KB
-rw-r--r--
2021-11-24 19:29
Save
Rename
#!/bin/sh # Usage: Run 'contrib/coverage-diff.sh <version1> <version2>' from source-root # after running # # make coverage-test # make coverage-report # # while checked out at <version2>. This script combines the *.gcov files # generated by the 'make' commands above with 'git diff <version1> <version2>' # to report new lines that are not covered by the test suite. V1=$1 V2=$2 diff_lines () { perl -e ' my $line_num; while (<>) { # Hunk header? Grab the beginning in postimage. if (/^@@ -\d+(?:,\d+)? \+(\d+)(?:,\d+)? @@/) { $line_num = $1; next; } # Have we seen a hunk? Ignore "diff --git" etc. next unless defined $line_num; # Deleted line? Ignore. if (/^-/) { next; } # Show only the line number of added lines. if (/^\+/) { print "$line_num\n"; } # Either common context or added line appear in # the postimage. Count it. $line_num++; } ' } files=$(git diff --name-only "$V1" "$V2" -- \*.c) # create empty file >coverage-data.txt for file in $files do git diff "$V1" "$V2" -- "$file" | diff_lines | sort >new_lines.txt if ! test -s new_lines.txt then continue fi hash_file=$(echo $file | sed "s/\//\#/") if ! test -s "$hash_file.gcov" then continue fi sed -ne '/#####:/{ s/ #####:// s/:.*// s/ //g p }' "$hash_file.gcov" | sort >uncovered_lines.txt comm -12 uncovered_lines.txt new_lines.txt | sed -e 's/$/\)/' | sed -e 's/^/ /' >uncovered_new_lines.txt grep -q '[^[:space:]]' <uncovered_new_lines.txt && echo $file >>coverage-data.txt && git blame -s "$V2" -- "$file" | sed 's/\t//g' | grep -f uncovered_new_lines.txt >>coverage-data.txt && echo >>coverage-data.txt rm -f new_lines.txt uncovered_lines.txt uncovered_new_lines.txt done cat coverage-data.txt echo "Commits introducing uncovered code:" commit_list=$(cat coverage-data.txt | grep -E '^[0-9a-f]{7,} ' | awk '{print $1;}' | sort | uniq) ( for commit in $commit_list do git log --no-decorate --pretty=format:'%an %h: %s' -1 $commit echo done ) | sort rm coverage-data.txt