Coding Insights to Reduce Future Technical Debt
Program Summary of C:\Sheerpower\sptools\maintain.spsrc
(Compiled On: 2025-03-24 at 01:29:48)
Summary Notes
Most Complex Routine: open_structure --
Complexity: 68)
Suggestions:
- Reduce nesting in complex routines.
- Replace literals with named constants where reasonable.
- Modularize large routines for better readability.
Routine: open_structure
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 833
| Metric | Value | Status |
| Complexity |
68 | moderate |
| Lines of Code (Adjusted) |
100 | critical |
| Literals |
39 | critical |
| Suggestions | Simplify logic and decompose into smaller local routines. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1648
| Metric | Value | Status |
| Complexity |
27 | good |
| Lines of Code (Adjusted) |
26 | good |
| Literals |
11 | good |
| Suggestions | Simplify logic and decompose into smaller local routines. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2671
| Metric | Value | Status |
| Complexity |
21 | good |
| Lines of Code (Adjusted) |
17 | good |
| Literals |
10 | good |
| Suggestions | Simplify logic and decompose into smaller local routines. |
Routine: display_field_data
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2600
| Metric | Value | Status |
| Complexity |
18 | good |
| Lines of Code (Adjusted) |
20 | good |
| Literals |
4 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: menu_process_command_item
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 713
| Metric | Value | Status |
| Complexity |
18 | good |
| Lines of Code (Adjusted) |
7 | good |
| Literals |
7 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: check_requests
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3761
| Metric | Value | Status |
| Complexity |
18 | good |
| Lines of Code (Adjusted) |
40 | moderate |
| Literals |
9 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1730
| Metric | Value | Status |
| Complexity |
17 | good |
| Lines of Code (Adjusted) |
29 | good |
| Literals |
19 | moderate |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: check_data_type
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3357
| Metric | Value | Status |
| Complexity |
16 | good |
| Lines of Code (Adjusted) |
38 | moderate |
| Literals |
53 | critical |
| Suggestions | Where possible, replace literals with named constants. |
Routine: get_key_field_data
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3041
| Metric | Value | Status |
| Complexity |
16 | good |
| Lines of Code (Adjusted) |
25 | good |
| Literals |
17 | moderate |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: open_structure_init
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1017
| Metric | Value | Status |
| Complexity |
15 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
11 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: select_key_value
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1297
| Metric | Value | Status |
| Complexity |
15 | good |
| Lines of Code (Adjusted) |
28 | good |
| Literals |
22 | moderate |
| Suggestions | Where possible, replace literals with named constants. |
Routine: setup_key_field
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1488
| Metric | Value | Status |
| Complexity |
15 | good |
| Lines of Code (Adjusted) |
55 | moderate |
| Literals |
23 | moderate |
| Suggestions | Where possible, replace literals with named constants. |
Routine: parse_row_request
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 215
| Metric | Value | Status |
| Complexity |
15 | good |
| Lines of Code (Adjusted) |
10 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: display_screen_head
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2528
| Metric | Value | Status |
| Complexity |
15 | good |
| Lines of Code (Adjusted) |
8 | good |
| Literals |
5 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 340
| Metric | Value | Status |
| Complexity |
15 | good |
| Lines of Code (Adjusted) |
19 | good |
| Literals |
12 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: menu_process_mcl_command
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 430
| Metric | Value | Status |
| Complexity |
13 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
13 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1511
| Metric | Value | Status |
| Complexity |
12 | good |
| Lines of Code (Adjusted) |
10 | good |
| Literals |
12 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: process_field_name
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1441
| Metric | Value | Status |
| Complexity |
12 | good |
| Lines of Code (Adjusted) |
14 | good |
| Literals |
5 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: mbm_item
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2409
| Metric | Value | Status |
| Complexity |
12 | good |
| Lines of Code (Adjusted) |
7 | good |
| Literals |
15 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: handle_field_scale
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3526
| Metric | Value | Status |
| Complexity |
12 | good |
| Lines of Code (Adjusted) |
22 | good |
| Literals |
29 | moderate |
| Suggestions | Where possible, replace literals with named constants. |
Routine: show_fields
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2302
| Metric | Value | Status |
| Complexity |
12 | good |
| Lines of Code (Adjusted) |
18 | good |
| Literals |
17 | moderate |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: parse_column_request
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 249
| Metric | Value | Status |
| Complexity |
12 | good |
| Lines of Code (Adjusted) |
8 | good |
| Literals |
4 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: mda_ask
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1897
| Metric | Value | Status |
| Complexity |
12 | good |
| Lines of Code (Adjusted) |
14 | good |
| Literals |
10 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1551
| Metric | Value | Status |
| Complexity |
12 | good |
| Lines of Code (Adjusted) |
8 | good |
| Literals |
12 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2138
| Metric | Value | Status |
| Complexity |
12 | good |
| Lines of Code (Adjusted) |
7 | good |
| Literals |
6 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: store_field_change
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1962
| Metric | Value | Status |
| Complexity |
12 | good |
| Lines of Code (Adjusted) |
20 | good |
| Literals |
5 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 83
| Metric | Value | Status |
| Complexity |
12 | good |
| Lines of Code (Adjusted) |
33 | moderate |
| Literals |
10 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: setup_description_fields
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1582
| Metric | Value | Status |
| Complexity |
12 | good |
| Lines of Code (Adjusted) |
60 | moderate |
| Literals |
24 | moderate |
| Suggestions | Where possible, replace literals with named constants. |
Routine: unlock_session
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 263
| Metric | Value | Status |
| Complexity |
12 | good |
| Lines of Code (Adjusted) |
13 | good |
| Literals |
11 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 448
| Metric | Value | Status |
| Complexity |
11 | good |
| Lines of Code (Adjusted) |
22 | good |
| Literals |
6 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1975
| Metric | Value | Status |
| Complexity |
11 | good |
| Lines of Code (Adjusted) |
13 | good |
| Literals |
10 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: display_and_ask
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1380
| Metric | Value | Status |
| Complexity |
9 | good |
| Lines of Code (Adjusted) |
10 | good |
| Literals |
16 | moderate |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1602
| Metric | Value | Status |
| Complexity |
9 | good |
| Lines of Code (Adjusted) |
20 | good |
| Literals |
7 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: ask_structure
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 420
| Metric | Value | Status |
| Complexity |
9 | good |
| Lines of Code (Adjusted) |
18 | good |
| Literals |
5 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: help_get_text
Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 467
| Metric | Value | Status |
| Complexity |
9 | good |
| Lines of Code (Adjusted) |
12 | good |
| Literals |
8 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: open_struc
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 518
| Metric | Value | Status |
| Complexity |
9 | good |
| Lines of Code (Adjusted) |
17 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: get_new_field_info
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1813
| Metric | Value | Status |
| Complexity |
9 | good |
| Lines of Code (Adjusted) |
22 | good |
| Literals |
12 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: chk$rule_8
Filename: c:\\sheerpower\\sptools\\check_company.spinc
Line#: 209
| Metric | Value | Status |
| Complexity |
9 | good |
| Lines of Code (Adjusted) |
20 | good |
| Literals |
18 | moderate |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: check_numeric_attribute
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3476
| Metric | Value | Status |
| Complexity |
9 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
11 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: menu_process_command_text
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 650
| Metric | Value | Status |
| Complexity |
9 | good |
| Lines of Code (Adjusted) |
8 | good |
| Literals |
11 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: setup_fields
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3131
| Metric | Value | Status |
| Complexity |
9 | good |
| Lines of Code (Adjusted) |
49 | moderate |
| Literals |
30 | moderate |
| Suggestions | Where possible, replace literals with named constants. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2189
| Metric | Value | Status |
| Complexity |
9 | good |
| Lines of Code (Adjusted) |
8 | good |
| Literals |
7 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: match_key_value
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1123
| Metric | Value | Status |
| Complexity |
9 | good |
| Lines of Code (Adjusted) |
26 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 978
| Metric | Value | Status |
| Complexity |
9 | good |
| Lines of Code (Adjusted) |
18 | good |
| Literals |
10 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: print_answer
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2657
| Metric | Value | Status |
| Complexity |
9 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
5 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2570
| Metric | Value | Status |
| Complexity |
9 | good |
| Lines of Code (Adjusted) |
15 | good |
| Literals |
7 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1370
| Metric | Value | Status |
| Complexity |
8 | good |
| Lines of Code (Adjusted) |
15 | good |
| Literals |
17 | moderate |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: ask_option
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 677
| Metric | Value | Status |
| Complexity |
8 | good |
| Lines of Code (Adjusted) |
16 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2300
| Metric | Value | Status |
| Complexity |
8 | good |
| Lines of Code (Adjusted) |
33 | moderate |
| Literals |
24 | moderate |
| Suggestions | Where possible, replace literals with named constants. |
Routine: lock_session
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 204
| Metric | Value | Status |
| Complexity |
8 | good |
| Lines of Code (Adjusted) |
30 | good |
| Literals |
20 | moderate |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: search_for_match
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2156
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
10 | good |
| Literals |
6 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: delete_record
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 985
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2363
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
15 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: display_a_screen
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2392
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: get_date
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 457
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
2 | good |
| Literals |
12 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2544
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
8 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2444
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
17 | good |
| Literals |
12 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: breakout_structure
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1404
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
10 | good |
| Literals |
13 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: display_background_line
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2565
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
4 | good |
| Literals |
7 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: do_delete
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 908
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
16 | good |
| Literals |
7 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 852
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
20 | good |
| Literals |
12 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: print_answer_wrap
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2692
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
6 | good |
| Literals |
11 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: print_error_char
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2733
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
6 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: parse_key_command
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1539
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
19 | good |
| Literals |
6 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 937
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
11 | good |
| Literals |
11 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2772
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
10 | good |
| Literals |
9 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: parse_field
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1357
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
21 | good |
| Literals |
8 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: parse_relate_finish
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1155
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
5 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: ask_new_data
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2011
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
10 | good |
| Literals |
1 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 164
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
25 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: ask_key_sequence
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3001
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
20 | good |
| Literals |
9 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: help_open
Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 318
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
10 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: check_ds_date
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1173
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
19 | good |
| Literals |
9 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: parse_validation_rules
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 574
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
19 | good |
| Literals |
5 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2063
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
2 | good |
| Literals |
5 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: parse_new_display_len
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 412
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
11 | good |
| Literals |
5 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: do_help
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4516
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
2 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: check_date_attribute
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3421
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
3 | good |
| Literals |
5 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: check_fulltime_attribute
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3446
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
4 | good |
| Literals |
5 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: finish_relate_arrays
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1254
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
13 | good |
| Literals |
11 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: screen_frame
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 384
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
18 | good |
| Literals |
12 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2025
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
10 | good |
| Literals |
8 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: bad_field
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1510
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
6 | good |
| Literals |
5 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: parse_screen_name
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 281
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
6 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: chk$rule_9
Filename: c:\\sheerpower\\sptools\\check_company.spinc
Line#: 261
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
19 | good |
| Literals |
22 | moderate |
| Suggestions | Where possible, replace literals with named constants. |
Routine: get_default
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1863
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
11 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: add_record
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 826
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
17 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: change_fields
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1740
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
25 | good |
| Literals |
8 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: mda_display_option
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1871
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
8 | good |
| Literals |
12 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: mda_process_items
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1839
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
12 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2721
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
15 | good |
| Literals |
11 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1795
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
5 | good |
| Literals |
1 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: digit_check_before
Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 383
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
10 | good |
| Literals |
9 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: show_info
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1685
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
18 | good |
| Literals |
4 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1433
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
4 | good |
| Literals |
12 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: check_relate_change
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4117
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
13 | good |
| Literals |
10 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: logoff_session
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 307
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
6 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: digit_check_after
Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 420
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
8 | good |
| Literals |
5 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 899
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
11 | good |
| Literals |
9 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: fulltime_ymd_mdy
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4369
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
4 | good |
| Literals |
13 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: check_valid_seq
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4299
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
7 | good |
| Literals |
4 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: fulltime_mdy_ymd
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4324
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
4 | good |
| Literals |
13 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: main_ymd_to_mdy
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4348
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
3 | good |
| Literals |
9 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: chk$rule_3
Filename: c:\\sheerpower\\sptools\\check_company.spinc
Line#: 155
| Metric | Value | Status |
| Complexity |
6 | good |
| Lines of Code (Adjusted) |
12 | good |
| Literals |
10 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: help_search_subtopic
Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 420
| Metric | Value | Status |
| Complexity |
5 | good |
| Lines of Code (Adjusted) |
8 | good |
| Literals |
7 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: find_parameters
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 614
| Metric | Value | Status |
| Complexity |
5 | good |
| Lines of Code (Adjusted) |
33 | moderate |
| Literals |
19 | moderate |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: check_valid_entry
Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 26
| Metric | Value | Status |
| Complexity |
5 | good |
| Lines of Code (Adjusted) |
13 | good |
| Literals |
11 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 394
| Metric | Value | Status |
| Complexity |
5 | good |
| Lines of Code (Adjusted) |
4 | good |
| Literals |
6 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 352
| Metric | Value | Status |
| Complexity |
5 | good |
| Lines of Code (Adjusted) |
10 | good |
| Literals |
21 | moderate |
| Suggestions | Where possible, replace literals with named constants. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1271
| Metric | Value | Status |
| Complexity |
5 | good |
| Lines of Code (Adjusted) |
4 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: parse_file_line
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 119
| Metric | Value | Status |
| Complexity |
5 | good |
| Lines of Code (Adjusted) |
34 | moderate |
| Literals |
40 | critical |
| Suggestions | Where possible, replace literals with named constants. |
Routine: parse_default_command
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 190
| Metric | Value | Status |
| Complexity |
5 | good |
| Lines of Code (Adjusted) |
4 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: ask_key_field
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2770
| Metric | Value | Status |
| Complexity |
5 | good |
| Lines of Code (Adjusted) |
7 | good |
| Literals |
16 | moderate |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: parse_open
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 771
| Metric | Value | Status |
| Complexity |
5 | good |
| Lines of Code (Adjusted) |
32 | moderate |
| Literals |
21 | moderate |
| Suggestions | Where possible, replace literals with named constants. |
Routine: display_file_command
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 698
| Metric | Value | Status |
| Complexity |
5 | good |
| Lines of Code (Adjusted) |
20 | good |
| Literals |
17 | moderate |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: read_background
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 664
| Metric | Value | Status |
| Complexity |
5 | good |
| Lines of Code (Adjusted) |
14 | good |
| Literals |
5 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: check_need_parameters
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 613
| Metric | Value | Status |
| Complexity |
5 | good |
| Lines of Code (Adjusted) |
4 | good |
| Literals |
12 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: change_mode
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3205
| Metric | Value | Status |
| Complexity |
5 | good |
| Lines of Code (Adjusted) |
16 | good |
| Literals |
4 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 485
| Metric | Value | Status |
| Complexity |
5 | good |
| Lines of Code (Adjusted) |
14 | good |
| Literals |
14 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: store_def_info
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3307
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
29 | good |
| Literals |
16 | moderate |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1051
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
3 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1028
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
2 | good |
| Literals |
1 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: menu_process_command_if
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1097
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
11 | good |
| Literals |
10 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 520
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
7 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: parse_option
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 543
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
4 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1215
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
15 | good |
| Literals |
10 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: parse_start_mode
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 342
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
6 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: select_key_field
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2847
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
22 | good |
| Literals |
13 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: check_valid_background_names
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 313
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
8 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: calc_field_lengths
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3649
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
8 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: find_keyed_fields
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2805
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
17 | good |
| Literals |
9 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1939
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
13 | good |
| Literals |
13 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: check_screen_counters
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3855
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
19 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: use_command_file
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 33
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
21 | good |
| Literals |
9 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: search_display
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2249
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
8 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: parse_relate_setup
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1094
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
6 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: parse_relate_field_check
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1125
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
6 | good |
| Literals |
4 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: search_done
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2228
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
4 | good |
| Literals |
1 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: ask_for_field
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2118
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
17 | good |
| Literals |
10 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: ask_new_data_wrap
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2039
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
14 | good |
| Literals |
6 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: store_new_data
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1904
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
14 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: finish_relate_check_multiple
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1289
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
10 | good |
| Literals |
7 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: get_numeric_key_fields
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1212
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
10 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: display_subsystem
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 428
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
6 | good |
| Literals |
8 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 739
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
19 | good |
| Literals |
11 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: show_report_status
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 767
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
19 | good |
| Literals |
11 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: menu_process_command_menu
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 492
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
15 | good |
| Literals |
6 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: help_convert_init
Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 764
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
10 | good |
| Literals |
4 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: do_change
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 861
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
12 | good |
| Literals |
1 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: show_help
Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 200
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
12 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: get_desc_fld
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3950
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
10 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: check_relate_for_more
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4070
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
20 | good |
| Literals |
8 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: do_range_check
Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 77
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
12 | good |
| Literals |
7 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 318
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: help_init_variables
Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 282
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
13 | good |
| Literals |
10 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 51
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
7 | good |
| Literals |
1 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: help_translate_nickname
Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 388
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
4 | good |
| Literals |
4 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: chk$rule_2
Filename: c:\\sheerpower\\sptools\\check_company.spinc
Line#: 304
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
10 | good |
| Literals |
8 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: do_relate_display
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4200
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: do_relate
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4232
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
8 | good |
| Literals |
5 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: chk$rule_5
Filename: c:\\sheerpower\\sptools\\check_company.spinc
Line#: 186
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
7 | good |
| Literals |
7 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 509
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
11 | good |
| Literals |
12 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: help_load_rel_topic_array
Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 584
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
19 | good |
| Literals |
22 | moderate |
| Suggestions | Where possible, replace literals with named constants. |
Routine: display_screen_background
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2424
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
13 | good |
| Literals |
4 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4264
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: chk$rule_4
Filename: c:\\sheerpower\\sptools\\check_company.spinc
Line#: 134
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
4 | good |
| Literals |
5 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: chk$rule_11
Filename: c:\\sheerpower\\sptools\\check_company.spinc
Line#: 115
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
6 | good |
| Literals |
12 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: help_get_nickname
Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 630
| Metric | Value | Status |
| Complexity |
3 | good |
| Lines of Code (Adjusted) |
7 | good |
| Literals |
12 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: check_records_found
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1244
| Metric | Value | Status |
| Complexity |
2 | good |
| Lines of Code (Adjusted) |
12 | good |
| Literals |
8 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2502
| Metric | Value | Status |
| Complexity |
2 | good |
| Lines of Code (Adjusted) |
15 | good |
| Literals |
8 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2257
| Metric | Value | Status |
| Complexity |
2 | good |
| Lines of Code (Adjusted) |
19 | good |
| Literals |
24 | moderate |
| Suggestions | Where possible, replace literals with named constants. |
Routine: convert_24hour_time_to_12hour
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 491
| Metric | Value | Status |
| Complexity |
2 | good |
| Lines of Code (Adjusted) |
22 | good |
| Literals |
29 | moderate |
| Suggestions | Where possible, replace literals with named constants. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 751
| Metric | Value | Status |
| Complexity |
2 | good |
| Lines of Code (Adjusted) |
21 | good |
| Literals |
10 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: do_contains_check
Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 209
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
13 | good |
| Literals |
16 | moderate |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: maintain_finished
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4540
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
3 | good |
| Literals |
0 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 29
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
4 | good |
| Literals |
1 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: do_allow_check
Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 165
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
13 | good |
| Literals |
15 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 109
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
36 | moderate |
| Literals |
20 | moderate |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: do_integer_check
Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 134
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
5 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 247
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
15 | good |
| Literals |
7 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 286
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
12 | good |
| Literals |
5 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: do_number_check
Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 111
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
5 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 347
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
7 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 372
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
5 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: unquote_the_rest
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1600
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
6 | good |
| Literals |
10 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: parse_attribute
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1584
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
6 | good |
| Literals |
1 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: check_field
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1485
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
7 | good |
| Literals |
1 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: menu_load_arrays_for_command_menu
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 543
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
14 | good |
| Literals |
18 | moderate |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: menu_process_command_heading
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 591
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
11 | good |
| Literals |
11 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: menu_process_command_title
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 621
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
10 | good |
| Literals |
10 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: finish_relate_check_structures
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1322
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
15 | good |
| Literals |
7 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: menu_load_array_for_command_text
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 683
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
7 | good |
| Literals |
8 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: finish_relate_setup
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1224
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
6 | good |
| Literals |
0 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: do_date_check
Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 243
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
8 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 798
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
4 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 827
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
8 | good |
| Literals |
5 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: relate_key_field
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1189
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: parse_relate
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1058
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
17 | good |
| Literals |
4 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: start_new_display_screen
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 742
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
11 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: check_ok_parameter
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 643
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
5 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: parse_new_help
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 465
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
5 | good |
| Literals |
0 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: parse_new_mask
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 446
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
6 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: menu_process_command_split
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1074
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
7 | good |
| Literals |
9 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: parse_new_prompt
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 386
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: menu_process_command_endif
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1129
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
3 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: menu_process_command_end
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1167
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
16 | good |
| Literals |
10 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: parse_background
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 365
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
7 | good |
| Literals |
1 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1249
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
2 | good |
| Literals |
1 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: initialize_to_use_file
Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 71
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
15 | good |
| Literals |
7 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1299
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
13 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1330
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
7 | good |
| Literals |
7 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: close_main_struc
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4444
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
16 | good |
| Literals |
0 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1414
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
4 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: close_all_struc
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4431
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
4 | good |
| Literals |
0 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1468
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
4 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1488
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
3 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: do_fulltime_check
Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 268
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
10 | good |
| Literals |
18 | moderate |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: paint_top_frame
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4392
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
10 | good |
| Literals |
9 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1584
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
3 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: check_relate_display
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4162
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
18 | good |
| Literals |
8 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: set_correct_structure
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4047
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
5 | good |
| Literals |
0 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: get_other_desc
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4014
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
8 | good |
| Literals |
4 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: get_key_desc
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3983
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
13 | good |
| Literals |
4 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: mda_init
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1817
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
12 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: find_desc_fld
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3922
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
8 | good |
| Literals |
4 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: goto_new_screen
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3891
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
6 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: add_to_screens
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3708
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
23 | good |
| Literals |
10 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: init_screen_data
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3679
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
4 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: calculate_screen_data
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3619
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
8 | good |
| Literals |
1 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: get_clearing_len
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3576
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
7 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: get_def_info
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3250
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
13 | good |
| Literals |
0 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2090
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
7 | good |
| Literals |
4 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2116
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
5 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: display_value_selection
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2970
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
7 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: add_key_opt
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2943
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
6 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2223
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
10 | good |
| Literals |
15 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: do_required_check
Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 298
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
4 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: remove_key_opt
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2922
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
6 | good |
| Literals |
4 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2370
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
2 | good |
| Literals |
0 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: mbm_get_info
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2388
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
5 | good |
| Literals |
6 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2893
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
13 | good |
| Literals |
10 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: display_screen_data
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2499
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
12 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: mbm_append_comma
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2483
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
2 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: do_digit_check
Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 346
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
16 | good |
| Literals |
9 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: display_screen_prompt
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2472
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
10 | good |
| Literals |
6 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: field_name_help
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2277
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
8 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2612
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
7 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2639
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
11 | good |
| Literals |
6 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: search_screen
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2206
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
8 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: search_name
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2186
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
6 | good |
| Literals |
1 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2757
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
2 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: ask_new_data_line
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2072
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
20 | good |
| Literals |
10 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2803
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
12 | good |
| Literals |
15 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 22
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
7 | good |
| Literals |
5 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: util_noop
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 48
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
2 | good |
| Literals |
1 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: check_company_for_store
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1933
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
14 | good |
| Literals |
1 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: init_ask_vars
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 159
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
26 | good |
| Literals |
10 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: switch_screens
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1786
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
5 | good |
| Literals |
0 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1442
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
11 | good |
| Literals |
4 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: check_setup
Filename: c:\\sheerpower\\sptools\\check_company.spinc
Line#: 1
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
67 | moderate |
| Literals |
42 | critical |
| Suggestions | Where possible, replace literals with named constants. |
Routine: ask_key_value
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1077
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
24 | good |
| Literals |
9 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: init_inquire
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1041
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
7 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: do_inquire
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1016
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
12 | good |
| Literals |
0 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: ask_delete
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 962
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
8 | good |
| Literals |
1 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: paint_bottom_frame
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4413
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
8 | good |
| Literals |
7 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: ymd_to_mdy
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 532
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
2 | good |
| Literals |
4 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: mdy_to_ymd
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 550
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
2 | good |
| Literals |
4 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: center_text
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 569
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
3 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: msg_display
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 586
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
12 | good |
| Literals |
5 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: err_display
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 617
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
12 | good |
| Literals |
5 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: err_pause
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 643
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
13 | good |
| Literals |
8 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: msg_pause
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 669
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
11 | good |
| Literals |
7 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: show_stats
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 686
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
47 | moderate |
| Literals |
35 | critical |
| Suggestions | Where possible, replace literals with named constants. |
Routine: init_delete
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 942
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
7 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: init_change
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 884
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
8 | good |
| Literals |
4 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: show_recs_searched
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 795
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
5 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: show_recs_selected
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 806
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
5 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: show_recs_printed
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 817
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
5 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: show_pages_printed
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 828
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
5 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: show_eoj
Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 839
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
19 | good |
| Literals |
13 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: help_initialize
Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 143
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
4 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: help_me
Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 169
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
2 | good |
| Literals |
0 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: init_add
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 802
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: help_init
Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 245
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
5 | good |
| Literals |
1 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: do_add
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 777
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
8 | good |
| Literals |
0 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: make_wide
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 754
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
0 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: help_find_topic
Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 356
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
11 | good |
| Literals |
3 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: make_narrow
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 725
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
9 | good |
| Literals |
0 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: init_variables
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 568
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
24 | good |
| Literals |
19 | moderate |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: init_struc_frame
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 485
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
14 | good |
| Literals |
12 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 468
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
8 | good |
| Literals |
6 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: get_related_topic_text
Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 550
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
8 | good |
| Literals |
7 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: get_parameters
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 390
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
7 | good |
| Literals |
1 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: check_company
Filename: c:\\sheerpower\\sptools\\check_company.spinc
Line#: 72
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
43 | moderate |
| Literals |
7 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: help_write_tmp_file
Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 657
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
10 | good |
| Literals |
4 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 685
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
19 | good |
| Literals |
23 | moderate |
| Suggestions | Where possible, replace literals with named constants. |
Routine: help_convert_to_html
Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 722
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
25 | good |
| Literals |
19 | moderate |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: open_all_files
Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 333
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
2 | good |
| Literals |
0 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Routine: help_cleanup_help
Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 797
| Metric | Value | Status |
| Complexity |
0 | good |
| Lines of Code (Adjusted) |
5 | good |
| Literals |
2 | good |
| Suggestions | Routine is well-optimized. No changes needed. |
Top Significant Include Files
| Name |
| `@check_company.spinc`
|
| `@help.spinc`
|
| `@menu_routines.spinc`
|
| `@parse_using.spinc`
|
| `@utility_routines.spinc`
|
| `@validation.spinc`
|
Top Significant Unused Variables
| Name |
| capture_default_taken? |
| bottom_frame_text$ |
| help_html_file_cnt |
| capture_response$ |
| default_lowercase |
| system_copyright$ |
| have_a_help_file |
| finished_entry? |
| max_topic_size% |
| oper_id_padded$ |
| u_monthddyyyy$ |
| capture_text$ |
| help_prompt$ |
| u_scr_width% |
| batch_mode? |
| help_state$ |
| max_display |
| oper_name$ |
| option_len |
| skipquote% |
| struct_len |
| d_channel |
| key_desc$ |
| page_ctr% |
| bailout% |
| nospace% |
| ret_val$ |
| u_change |
| user_id$ |
| error% |
| u_day$ |
| opt$ |
| tmp$ |
Top Significant Unused Routines
| Name |
| convert_24hour_time_to_12hour |
| display_value_selection |
| menu_get_operator_info |
| show_extract_status |
| show_report_status |
| help_cleanup_help |
| maintain_finished |
| menu_ask_operator |
| menu_ask_password |
| menu_get_username |
| ask_key_sequence |
| menu_verify_item |
| do_format_check |
| menu_paint_menu |
| menu_call_menu |
| open_all_files |
| menu_ask_item |
| menu_not_used |
| menu_run_item |
| err_display |
| make_narrow |
| menu_finish |
| msg_display |
| do_inquire |
| show_stats |
| do_change |
| do_delete |
| make_wide |
| msg_pause |
| util_noop |
| chk$rule_11 |
| help_me |
| chk$rule_2 |
| chk$rule_3 |
| chk$rule_4 |
| chk$rule_5 |
| chk$rule_8 |
| chk$rule_9 |
| do_add |
Top Significant Tables
| Name |
| str10 |
| str10 |
| help |
| help |
| proc |
| str1 |
| str1 |
| str2 |
| str2 |
| str3 |
| str3 |
| str4 |
| str4 |
| str5 |
| str5 |
| str6 |
| str6 |
| str7 |
| str7 |
| str8 |
| str8 |
| str9 |
| str9 |
| chk$abb |
| mc |
Top Significant Clusters
Top Significant Arrays
| Name |
| str_check_company |
| help_html_files$ |
| fld_relate_key$ |
| menu_ambiguous% |
| store_contents$ |
| max_validation |
| menu_line_ctr% |
| relate_success |
| related_topic$ |
| screen_window$ |
| str_attribute$ |
| str_disp_width |
| valid_element$ |
| fld_relate_in |
| fld_structure |
| fld_uppercase |
| mbm_last_info |
| tot_fld_lines |
| mbm_cur_info |
| screen_field |
| store_title$ |
| str_display$ |
| str_fulltime |
| dis_prompt$ |
| fld_option$ |
| menu_level$ |
| relate_fld$ |
| req_screen$ |
| screen_data |
| str_prompt$ |
| str_vrules$ |
| chk$rule_name$ |
| chk$rule_proc$ |
| fld_valid$ |
| menu_info$ |
| menu_item% |
| menu_menu$ |
| prompt_loc |
| relate_str |
| str_change |
| str_scale% |
| cur_recs$ |
| dspl_val$ |
| mbm_menus |
| mcl_name$ |
| str_desc$ |
| str_help$ |
| str_mask$ |
| str_name$ |
| menu_if? |
| records$ |
| ret_val$ |
| str_date |
| str_dlen |
| req_col |
| req_row |
| str_col |
| str_id$ |
| str_len |
| str_row |
| keys$ |
Top Significant Pass Statements
| Name |
| `oper_parameter :== ` + proc_parameter_text$
|
| proc_dispatch_text$
|
| url : help_html_file$
|
Top Significant Library Statements
Top Significant External Calls