Coding style.

- Tools should return a status and a text string,
  not a status and a fill3 widget.
This commit is contained in:
Andrew Hamilton 2019-07-18 23:58:01 +10:00
parent 8eff1d5a0f
commit 9b5ad3332e
25 changed files with 246 additions and 243 deletions

View file

@ -1,19 +1,19 @@
Test results:
No issues identified.
Code scanned:
Total lines of code: 2
Test results:
No issues identified.
Code scanned:
Total lines of code: 2
Total lines skipped (#nosec): 0
Run metrics:
Total issues (by severity):
Undefined: 0.0
Low: 0.0
Medium: 0.0
High: 0.0
Total issues (by confidence):
Undefined: 0.0
Low: 0.0
Medium: 0.0
High: 0.0
Files skipped (0):
Run metrics:
Total issues (by severity):
Undefined: 0.0
Low: 0.0
Medium: 0.0
High: 0.0
Total issues (by confidence):
Undefined: 0.0
Low: 0.0
Medium: 0.0
High: 0.0
Files skipped (0):

View file

@ -1 +1 @@
hello
hello

View file

@ -1,16 +1,16 @@
line 1 column 1 - Warning: missing <!DOCTYPE> declaration
line 2 column 3 - Warning: inserting missing 'title' element
Info: Document content looks like HTML5
Tidy found 2 warnings and 0 errors!
About HTML Tidy: https://github.com/htacg/tidy-html5
Bug reports and comments: https://github.com/htacg/tidy-html5/issues
Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/
Latest HTML specification: http://dev.w3.org/html5/spec-author-view/
Validate your HTML documents: http://validator.w3.org/nu/
Lobby your company to join the W3C: http://www.w3.org/Consortium
Do you speak a language other than English, or a different variant of
line 1 column 1 - Warning: missing <!DOCTYPE> declaration
line 2 column 3 - Warning: inserting missing 'title' element
Info: Document content looks like HTML5
Tidy found 2 warnings and 0 errors!
About HTML Tidy: https://github.com/htacg/tidy-html5
Bug reports and comments: https://github.com/htacg/tidy-html5/issues
Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/
Latest HTML specification: http://dev.w3.org/html5/spec-author-view/
Validate your HTML documents: http://validator.w3.org/nu/
Lobby your company to join the W3C: http://www.w3.org/Consortium
Do you speak a language other than English, or a different variant of
English? Consider helping us to localize HTML Tidy. For details please see
https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md
https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md

View file

@ -1,15 +1,16 @@
size: 12.0 B (12 bytes)
permissions: ?rwxr-xr-x (755)
size: 12.0 B (12 bytes)
permissions: ?rwxr-xr-x (755)
modified time: Sun Jan 31 23:14:05 2016 (1454282045 secs)
creation time: Sun Jan 31 23:14:05 2016 (1454282045 secs)
access time: Sun Jan 31 23:14:07 2016 (1454282047 secs)
owner: foo (1111 uid)
group: foo (1111 gid)
hardlinks: 2
symlink: no
mime type: text/x-python; charset=us-ascii
file type: Python script, ASCII text executable 
owner: foo (1111 uid)
group: foo (1111 gid)
hardlinks: 2
symlink: no
mime type: text/x-python; charset=us-ascii
file type: Python script, ASCII text executable


View file

@ -1 +1 @@
00000000 D _LIB_VERSION
00000000 D _LIB_VERSION

View file

@ -1 +1 @@
nm: ./input/libpcprofile.so: no symbols
nm: ./input/libpcprofile.so: no symbols

View file

@ -1,5 +1,5 @@
./input/Mcrt1.o: file format elf32-i386
./input/Mcrt1.o: file format elf32-i386
objdump: ./input/Mcrt1.o: not a dynamic object
objdump: ./input/Mcrt1.o: invalid operation
objdump: ./input/Mcrt1.o: invalid operation

View file

@ -1,23 +1,23 @@
./input/Mcrt1.o: file format elf32-i386
./input/Mcrt1.o
architecture: i386, flags 0x00000000:
start address 0x00000000
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 00000000 00000000 00000000 00000034 2**0
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .data 00000000 00000000 00000000 00000034 2**0
CONTENTS, ALLOC, LOAD, DATA
2 .bss 00000000 00000000 00000000 00000034 2**0
ALLOC
./input/Mcrt1.o: file format elf32-i386
./input/Mcrt1.o
architecture: i386, flags 0x00000000:
start address 0x00000000
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 00000000 00000000 00000000 00000034 2**0
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .data 00000000 00000000 00000000 00000034 2**0
CONTENTS, ALLOC, LOAD, DATA
2 .bss 00000000 00000000 00000000 00000034 2**0
ALLOC
3 .note.GNU-stack 00000000 00000000 00000000 00000034 2**0
CONTENTS, READONLY
4 .gnu_debuglink 0000000c 00000000 00000000 00000034 2**0
CONTENTS, READONLY
SYMBOL TABLE:
no symbols
CONTENTS, READONLY
4 .gnu_debuglink 0000000c 00000000 00000000 00000034 2**0
CONTENTS, READONLY
SYMBOL TABLE:
no symbols

View file

@ -1,3 +1,3 @@
Cover Page
#
#

View file

@ -1 +1 @@
./input/perl.pl syntax OK
./input/perl.pl syntax OK

View file

@ -1,70 +1,70 @@
Net::Z3950::AsyncZ
Intro
Net::Z3950::AsyncZ
Intro
Net::Z3950::AsyncZ adds an additional layer of asynchronous support for
the Z3950 module through the use of multiple forked processes. I hope
that users will also find that it provides a convenient front end to
the Z3950 module through the use of multiple forked processes. I hope
that users will also find that it provides a convenient front end to
"Net::Z3950". My initial idea was to write something that would provide
a convenient means of processing and formatting Z39.50 records--which I
did, using the "Z3950" synchronous code. But I also wanted something
that could handle queries to large numbers of servers at one session.
did, using the "Z3950" synchronous code. But I also wanted something
that could handle queries to large numbers of servers at one session.
Working on this part of my project, I found that I had trouble with the
"Z3950" asynchronous features and so ended up with what I have here.
I give a more detailed account in in the DESCRIPTION section of
"AsyncZ.pod".
Documentation
AsyncZ.pod
This is the starting point--it gives an overview of the AsyncZ
"Z3950" asynchronous features and so ended up with what I have here.
I give a more detailed account in in the DESCRIPTION section of
"AsyncZ.pod".
Documentation
AsyncZ.pod
This is the starting point--it gives an overview of the AsyncZ
module, describes the basic mechanics of its asynchronous workings,
and details the particulars of the objects and methods. But see
""Examples.pod" for detailed explanations of the sample scripts
which come with the "Net::Z3950::AsyncZ" distribution.
Options.pod
and details the particulars of the objects and methods. But see
""Examples.pod" for detailed explanations of the sample scripts
which come with the "Net::Z3950::AsyncZ" distribution.
Options.pod
This document details the various options that can be set to modify
the behavior of AsyncZ Index
Report.pod
Report.pod deals with how records are treated line by line and how
you can affect the apearance of a record's line by line output
Examples.pod
This document goes through the sample scripts that come with the
"Net::Z3950::AsyncZ" distribution and annotates them in a
line-by-line fashion. It's a basic HOW-TO.
The Modules
the behavior of AsyncZ Index
Report.pod
Report.pod deals with how records are treated line by line and how
you can affect the apearance of a record's line by line output
Examples.pod
This document goes through the sample scripts that come with the
"Net::Z3950::AsyncZ" distribution and annotates them in a
line-by-line fashion. It's a basic HOW-TO.
The Modules
There are more modules than there is documentation. The reason for this
is that the only module you have full and complete access to is
"Net::Z3950::AsyncZ". The other modules are either internal to
"Net::AsyncZ" or accessed indirectly or in part indirectly.
Here are the modules:
Net::Z3950::AsyncZ
The main module: direct access --documented in "AsyncZ" and
"Options" documentation
Net::Z3950::AsyncZ::ErrMsg
User error message handling: indirect access -- documented in
"AsyncZ" documentation
Net::Z3950::AsyncZ::Errors
Error handling for debugging: limited access -- documented in
"AsyncZ" documentation
Net::Z3950::AsyncZ::Report
Module reponsible for fetching and formatting records: limited
access -- documented
Net::Z3950::AsyncZ::ZLoop
Event loop for child processes: no access -- not documented
Net::Z3950::AsyncZ::ZSend
is that the only module you have full and complete access to is
"Net::Z3950::AsyncZ". The other modules are either internal to
"Net::AsyncZ" or accessed indirectly or in part indirectly.
Here are the modules:
Net::Z3950::AsyncZ
The main module: direct access --documented in "AsyncZ" and
"Options" documentation
Net::Z3950::AsyncZ::ErrMsg
User error message handling: indirect access -- documented in
"AsyncZ" documentation
Net::Z3950::AsyncZ::Errors
Error handling for debugging: limited access -- documented in
"AsyncZ" documentation
Net::Z3950::AsyncZ::Report
Module reponsible for fetching and formatting records: limited
access -- documented
Net::Z3950::AsyncZ::ZLoop
Event loop for child processes: no access -- not documented
Net::Z3950::AsyncZ::ZSend
Connection details for child processes: no access -- not documented
Net::Z3950::AsyncZ::Options::_params
Options for child processes: direct and indirect access --
documented in "Options" and "AsyncZ" documentation
INDEX
Net::Z3950::AsyncZ::Options::_params
Options for child processes: direct and indirect access --
documented in "Options" and "AsyncZ" documentation
INDEX

View file

@ -1 +1 @@
No documentation found for "./input/perl.pl".
No documentation found for "./input/perl.pl".

View file

@ -1 +1 @@
No syntax errors detected in ./input/root.php
No syntax errors detected in ./input/root.php

View file

@ -1,12 +1,12 @@
Help on module hi3:
NAME
hi3
FUNCTIONS
hi()
FILE
input/hi3.py
NAME
hi3
FUNCTIONS
hi()
FILE
input/hi3.py

View file

@ -1,4 +1,5 @@

> def hi():
> print("hi")

> def hi():
> print("hi")


View file

@ -1 +1 @@
3:0: 'hi' 1
3:0: 'hi' 1

View file

@ -1,4 +1,4 @@
Name File
---- ----
m __main__ ./input/hi3.py
Name File
---- ----
m __main__ ./input/hi3.py

View file

@ -1,47 +1,47 @@
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: REL (Relocatable file)
Machine: Intel 80386
Version: 0x1
Entry point address: 0x0
Start of program headers: 0 (bytes into file)
Start of section headers: 124 (bytes into file)
Flags: 0x0
Size of this header: 52 (bytes)
Size of program headers: 0 (bytes)
Number of program headers: 0
Size of section headers: 40 (bytes)
Number of section headers: 7
Section header string table index: 6
Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf Al
[ 0] NULL 00000000 000000 000000 00 0 0 0
[ 1] .text PROGBITS 00000000 000034 000000 00 AX 0 0 1
[ 2] .data PROGBITS 00000000 000034 000000 00 WA 0 0 1
[ 3] .bss NOBITS 00000000 000034 000000 00 WA 0 0 1
[ 4] .note.GNU-stack PROGBITS 00000000 000034 000000 00 0 0 1
[ 5] .gnu_debuglink PROGBITS 00000000 000034 00000c 00 0 0 1
[ 6] .shstrtab STRTAB 00000000 000040 00003b 00 0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
L (link order), O (extra OS processing required), G (group), T (TLS),
C (compressed), x (unknown), o (OS specific), E (exclude),
p (processor specific)
There are no section groups in this file.
There are no program headers in this file.
There is no dynamic section in this file.
There are no relocations in this file.
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: REL (Relocatable file)
Machine: Intel 80386
Version: 0x1
Entry point address: 0x0
Start of program headers: 0 (bytes into file)
Start of section headers: 124 (bytes into file)
Flags: 0x0
Size of this header: 52 (bytes)
Size of program headers: 0 (bytes)
Number of program headers: 0
Size of section headers: 40 (bytes)
Number of section headers: 7
Section header string table index: 6
Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf Al
[ 0] NULL 00000000 000000 000000 00 0 0 0
[ 1] .text PROGBITS 00000000 000034 000000 00 AX 0 0 1
[ 2] .data PROGBITS 00000000 000034 000000 00 WA 0 0 1
[ 3] .bss NOBITS 00000000 000034 000000 00 WA 0 0 1
[ 4] .note.GNU-stack PROGBITS 00000000 000034 000000 00 0 0 1
[ 5] .gnu_debuglink PROGBITS 00000000 000034 00000c 00 0 0 1
[ 6] .shstrtab STRTAB 00000000 000040 00003b 00 0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
L (link order), O (extra OS processing required), G (group), T (TLS),
C (compressed), x (unknown), o (OS specific), E (exclude),
p (processor specific)
There are no section groups in this file.
There are no program headers in this file.
There is no dynamic section in this file.
There are no relocations in this file.
The decoding of unwind sections for machine type Intel 80386 is not currently supported.
No version information found in this file.
No version information found in this file.

View file

@ -1 +1 @@
-rw-rw-r-- ahamilton/ahamilton 27 2016-02-09 21:50 hi.py
-rw-rw-r-- ahamilton/ahamilton 27 2016-02-09 21:50 hi.py

View file

@ -1 +1 @@
-rw-rw-r-- ahamilton/ahamilton 27 2016-02-09 21:50 hi.py
-rw-rw-r-- ahamilton/ahamilton 27 2016-02-09 21:50 hi.py

View file

@ -1 +1 @@
-rw-rw-r-- ahamilton/ahamilton 27 2016-02-09 21:50 hi.py
-rw-rw-r-- ahamilton/ahamilton 27 2016-02-09 21:50 hi.py

View file

@ -1,4 +1,4 @@
Archive: ./input/hi.zip
Zip file size: 187 bytes, number of entries: 1
Archive: ./input/hi.zip
Zip file size: 187 bytes, number of entries: 1
-rw-rw-r-- 3.0 unx 27 tx stor 16-Feb-09 21:50 hi.py
1 file, 27 bytes uncompressed, 27 bytes compressed: 0.0%
1 file, 27 bytes uncompressed, 27 bytes compressed: 0.0%