[Bug 63923] New: Some more spelling errors

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 63923] New: Some more spelling errors

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=63923

            Bug ID: 63923
           Summary: Some more spelling errors
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: All
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

On the FOSS server fossies.org I recently added a new feature "Source code
misspelling reports". Animated by the bug report
https://bz.apache.org/bugzilla/show_bug.cgi?id=62960 I have now done such a
check for the current trunk version of "httpd" (since there some spelling
errors contained still in the release version are already patched):

 https://fossies.org/linux/test/httpd-trunk.tar.bz2/codespell.html

That URL hopefully redirects always to the last available report, currently to

 https://fossies.org/linux/test/httpd-trunk.191113_1757.tar.bz2/codespell.html

Since I am neither a real coder nor a native or good English speaker I have not
yet created a patch file since the risk is too high that something would be
wrongly corrected. But if that is really required I would do that but only for
the very obvious spelling errors and typos.

The analysis, that uses as basis the command line tool "codespell"
(https://github.com/codespell-project/codespell) has found still 261
occurrences of 194 different spelling error types (so most of the errors occur
only once).

Maybe some are False Positives but to minimize them some matched words were for
"httpd" manually excluded (see the according page
https://fossies.org/linux/test/httpd-trunk.tar.bz2/codespell_conf_info.html)

Especially also the words "depandancies" (130 matches) and "creater" (48
matches) were finally excluded to make the page clearer, but not in a first run
that was done for the last httpd release 2.4.41:

 https://fossies.org/linux/www/httpd-2.4.41.tar.bz2/codespell.html

By the way, the reports show the top found spelling error types and a sortable
list of all found errors together with the suggested fixes, the affected member
files and the according line numbers. Clicking on a red colored spelling error
in the "top" list jumps to the first match in the actual spelling error
occurrence list. Clicking on a matching member file let you browse that file
while jumping to the according red marked line containing the error (in some
cases the matching line may lie in the neighborhood).

And a further remark: Most errors are found "only" in the documentation or in
the code comments, but at least the following seven are in the code itself (but
probably and hopefully they are uncritical):


https://fossies.org/linux/test/httpd-trunk.tar.bz2/httpd-trunk/modules/dav/main/mod_dav.h?M=1324#l_1321
 "resrouce" -> "resource"


https://fossies.org/linux/test/httpd-trunk.tar.bz2/httpd-trunk/modules/md/md_acme_order.c?M=516#l_511
 "consideres" -> "considers" or "considered"


https://fossies.org/linux/test/httpd-trunk.tar.bz2/httpd-trunk/modules/http2/h2_session.c?M=388#l_386
 "errror" -> "error"


https://fossies.org/linux/test/httpd-trunk.tar.bz2/httpd-trunk/server/mpm/winnt/service.c?M=1160#l_1156
 "Adminstrator" -> "Administrator" (multiple occurrences)


https://fossies.org/linux/test/httpd-trunk.tar.bz2/httpd-trunk/docs/server-status/server-status.lua?M=682#l_681
 "avaialable" -> "available"


https://fossies.org/linux/test/httpd-trunk.tar.bz2/httpd-trunk/modules/arch/win32/mod_isapi.c?M=181#l_179
 "concatinated" -> "concatenated"


https://fossies.org/linux/test/httpd-trunk.tar.bz2/httpd-trunk/support/ab.c?M=1319#l_1317
 "Connnection" -> "Connection"

Maybe that information helps a little bit.

Jens

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 63923] Some more spelling errors

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=63923

--- Comment #1 from Christophe JAILLET <[hidden email]> ---
Nice.

I'll give a look at it, especially on the doc and on the one you have spotted
above.
Thx.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]