CodeCompare bug doesn't compare two folder

Discussion of open issues, suggestions and bugs regarding file and folder merge tool – Code Compare
Post Reply
softy007
Posts: 7
Joined: Thu 04 Jan 2018 07:50

CodeCompare bug doesn't compare two folder

Post by softy007 » Thu 04 Jan 2018 08:17

Hi.

CodeCompare V4.2.236 dosn't show the differences of two similar folders.

I try to compare two folders with different *.c und *.h files.

If i choose folder1 in the explorer context with: select left
and choose folder2 in the explorer context with: Compare with CodeCompare

-> the result is: no differences

If i choose folder2 in the explorer context with: select left
and choose folder1 in the explorer context with: Compare with CodeCompare

-> the result is: 13 files differently

That's not good and uncertain!!!!

If i choose the wrong sequence with no differences found,
and press the swap Left to Right icon,
the differences are there..

If i presss the swap icon a second time -> no differences (what is wrong!!)


If a programmer check's the folders and the program says that everything is ok
i can't trust the program.

Please try to fix this critical bug.


Info: Folder1 is bigger than folder2 ( Folder1 16000 files, Folder2 11000 files).
The folder are big, because a eclipse ide saves many files in a subdir,
but in codecompare are include filter with "*.c;*.h;" present
and exclude folder filter with: ".svn;.git;.hg;bin;obj;resources;.metadata"

So codecompare can concentrate on c and h-files.

mstislavs
Devart Team
Posts: 56
Joined: Mon 16 Jan 2017 12:48

Re: CodeCompare bug doesn't compare two folder

Post by mstislavs » Thu 04 Jan 2018 14:38

Hi,

Thank you for reporting the problem.
I try to compare two folders with different *.c und *.h files.
If i choose folder1 in the explorer context with: select left
and choose folder2 in the explorer context with: Compare with CodeCompare
the result is: no differences
Unfortunately, we cannot reproduce this problem.
Please, check the following option "Hide Identical Files"
Image

And also please check the filter options
Image

It might be helpful. If the problem will not resolved, please provide us with the screen-shoots of problem using the following forms:
https://www.devart.com/codecompare/feedback.html
https://www.devart.com/company/contactf ... odecompare

Best regards,
Mstislav Sakidon
Devart Team
www.devart.com

softy007
Posts: 7
Joined: Thu 04 Jan 2018 07:50

Re: CodeCompare bug doesn't compare two folder

Post by softy007 » Fri 05 Jan 2018 06:42

Hi Mstislav Sakidon.

Thanks for reply.

I uncheck the option: Hide identical Files. -> no difference.. The bug is still there.

I add the exclude file filter ".meta" -> no difference.. The bug is still there.

I delete in folder1 a subdir, a the count of files is lower than folder2 -> that's not the reason. The bug is still there.

It seems this is a bug on a other problem?

What can i test to help you finding the bug?

softy007
Posts: 7
Joined: Thu 04 Jan 2018 07:50

Re: CodeCompare bug doesn't compare two folder

Post by softy007 » Fri 05 Jan 2018 07:07

Hi.

I erase more unneeded subdirs and files...

Now Codecompare doesn't find any differences, even if i swap the folder.

If i chooce only the subdir with *.c and *.h files (not the two base-directory's) CodeCompare find's all differences....

???

softy007
Posts: 7
Joined: Thu 04 Jan 2018 07:50

Re: CodeCompare bug doesn't compare two folder

Post by softy007 » Fri 05 Jan 2018 08:03

Hi.

i think i found your bug.

I erased one after another, untill compare work's.

I found: if a empty subdir-folder exist, codecompare turn off comparing....

Example of compare directory:
D:\Temp\Test\WrkSpace
D:\Temp\Test\WrkSpace_1

I create a empty subdir:
D:\Temp\Test\WrkSpace\MotorControl\test
and codecompare shows no more differences/results....

even if there are some unheeded file's there (*.7z) codecompare stop comparing....

softy007
Posts: 7
Joined: Thu 04 Jan 2018 07:50

Re: CodeCompare bug doesn't compare two folder

Post by softy007 » Fri 05 Jan 2018 14:28

Hi.

Oh my god.
that's just the tip of the iceberg....

I have found more big serious mistakes......... :-(
I'm surprised they have not noticed anyone yet.

(I'm frustrated. post it next week...)

softy007
Posts: 7
Joined: Thu 04 Jan 2018 07:50

Re: CodeCompare bug doesn't compare two folder

Post by softy007 » Mon 08 Jan 2018 09:11

Hi to all.

An empty folder alone does not seem to be the source of the error.

If i try to compare other sourcecode folders and create some empty folders, the compare is working on this.



The bug with my folders is still there......
I select and deselect option: Hide empty folder, but no change....

The time to compare the two dirctories is identical (6 seconds), even if code compare shows a difference or is bugy.

What else can i test?
Do you have a Test-Version of the compare tool, that creates a log-file or a simple debug output over the microsoft sysinternals debugview ( simply call windows function OutputDebugString("debugstring") )? With this, it could be possible to find the bug?

Post Reply