Coding Insights to Reduce Future Technical Debt

Program Summary of C:\Sheerpower\sptools\maintain.spsrc

(Compiled On: 2025-03-24 at 01:29:48)

MetricValue
Total Lines of Code (LOC)11473
Total Adjusted LOC10100
Include Files6
Routines299
Variables615
Unused Routines39
Unused Variables33
Clusters0
Arrays61
Database Tables25
Literals2442
Constants0
Pass Statements3
External Libraries0
External Calls0

Summary Notes

Most Complex Routine: open_structure -- Complexity: 68)

Suggestions:
  1. Reduce nesting in complex routines.
  2. Replace literals with named constants where reasonable.
  3. Modularize large routines for better readability.

Routine: open_structure

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 833

MetricValueStatus
68moderate
100critical
39critical
SuggestionsSimplify logic and decompose into smaller local routines.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1648

MetricValueStatus
27good
26good
11good
SuggestionsSimplify logic and decompose into smaller local routines.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2671

MetricValueStatus
21good
17good
10good
SuggestionsSimplify logic and decompose into smaller local routines.

Routine: display_field_data

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2600

MetricValueStatus
18good
20good
4good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 713

MetricValueStatus
18good
7good
7good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: check_requests

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3761

MetricValueStatus
18good
40moderate
9good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1730

MetricValueStatus
17good
29good
19moderate
SuggestionsRoutine is well-optimized. No changes needed.

Routine: check_data_type

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3357

MetricValueStatus
16good
38moderate
53critical
SuggestionsWhere possible, replace literals with named constants.

Routine: get_key_field_data

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3041

MetricValueStatus
16good
25good
17moderate
SuggestionsRoutine is well-optimized. No changes needed.

Routine: open_structure_init

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1017

MetricValueStatus
15good
9good
11good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: select_key_value

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1297

MetricValueStatus
15good
28good
22moderate
SuggestionsWhere possible, replace literals with named constants.

Routine: setup_key_field

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1488

MetricValueStatus
15good
55moderate
23moderate
SuggestionsWhere possible, replace literals with named constants.

Routine: parse_row_request

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 215

MetricValueStatus
15good
10good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: display_screen_head

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2528

MetricValueStatus
15good
8good
5good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: input_response_menu

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 340

MetricValueStatus
15good
19good
12good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 430

MetricValueStatus
13good
9good
13good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1511

MetricValueStatus
12good
10good
12good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: process_field_name

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1441

MetricValueStatus
12good
14good
5good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: mbm_item

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2409

MetricValueStatus
12good
7good
15good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: handle_field_scale

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3526

MetricValueStatus
12good
22good
29moderate
SuggestionsWhere possible, replace literals with named constants.

Routine: show_fields

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2302

MetricValueStatus
12good
18good
17moderate
SuggestionsRoutine is well-optimized. No changes needed.

Routine: parse_column_request

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 249

MetricValueStatus
12good
8good
4good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: mda_ask

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1897

MetricValueStatus
12good
14good
10good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1551

MetricValueStatus
12good
8good
12good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2138

MetricValueStatus
12good
7good
6good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: store_field_change

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1962

MetricValueStatus
12good
20good
5good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: input_response

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 83

MetricValueStatus
12good
33moderate
10good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: setup_description_fields

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1582

MetricValueStatus
12good
60moderate
24moderate
SuggestionsWhere possible, replace literals with named constants.

Routine: unlock_session

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 263

MetricValueStatus
12good
13good
11good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: do_format_check

Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 448

MetricValueStatus
11good
22good
6good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1975

MetricValueStatus
11good
13good
10good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: display_and_ask

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1380

MetricValueStatus
9good
10good
16moderate
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1602

MetricValueStatus
9good
20good
7good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: ask_structure

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 420

MetricValueStatus
9good
18good
5good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: help_get_text

Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 467

MetricValueStatus
9good
12good
8good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: open_struc

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 518

MetricValueStatus
9good
17good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: get_new_field_info

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1813

MetricValueStatus
9good
22good
12good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: chk$rule_8

Filename: c:\\sheerpower\\sptools\\check_company.spinc
Line#: 209

MetricValueStatus
9good
20good
18moderate
SuggestionsRoutine is well-optimized. No changes needed.

Routine: check_numeric_attribute

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3476

MetricValueStatus
9good
9good
11good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 650

MetricValueStatus
9good
8good
11good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: setup_fields

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3131

MetricValueStatus
9good
49moderate
30moderate
SuggestionsWhere possible, replace literals with named constants.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2189

MetricValueStatus
9good
8good
7good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: match_key_value

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1123

MetricValueStatus
9good
26good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 978

MetricValueStatus
9good
18good
10good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2657

MetricValueStatus
9good
9good
5good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2570

MetricValueStatus
9good
15good
7good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1370

MetricValueStatus
8good
15good
17moderate
SuggestionsRoutine is well-optimized. No changes needed.

Routine: ask_option

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 677

MetricValueStatus
8good
16good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2300

MetricValueStatus
8good
33moderate
24moderate
SuggestionsWhere possible, replace literals with named constants.

Routine: lock_session

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 204

MetricValueStatus
8good
30good
20moderate
SuggestionsRoutine is well-optimized. No changes needed.

Routine: search_for_match

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2156

MetricValueStatus
6good
10good
6good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: delete_record

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 985

MetricValueStatus
6good
9good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: add_field_item_to_menu

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2363

MetricValueStatus
6good
9good
15good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: display_a_screen

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2392

MetricValueStatus
6good
9good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: get_date

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 457

MetricValueStatus
6good
2good
12good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2544

MetricValueStatus
6good
8good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: mbm_item_menu

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2444

MetricValueStatus
6good
17good
12good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: breakout_structure

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1404

MetricValueStatus
6good
10good
13good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: display_background_line

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2565

MetricValueStatus
6good
4good
7good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: do_delete

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 908

MetricValueStatus
6good
16good
7good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 852

MetricValueStatus
6good
20good
12good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2692

MetricValueStatus
6good
6good
11good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2733

MetricValueStatus
6good
6good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: parse_key_command

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1539

MetricValueStatus
6good
19good
6good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 937

MetricValueStatus
6good
11good
11good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2772

MetricValueStatus
6good
10good
9good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: parse_field

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1357

MetricValueStatus
6good
21good
8good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: parse_relate_finish

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1155

MetricValueStatus
6good
9good
5good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: ask_new_data

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2011

MetricValueStatus
6good
10good
1good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 164

MetricValueStatus
6good
25good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: ask_key_sequence

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3001

MetricValueStatus
6good
20good
9good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: help_open

Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 318

MetricValueStatus
6good
10good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: check_ds_date

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1173

MetricValueStatus
6good
19good
9good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: parse_validation_rules

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 574

MetricValueStatus
6good
19good
5good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2063

MetricValueStatus
6good
2good
5good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: parse_new_display_len

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 412

MetricValueStatus
6good
11good
5good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: do_help

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4516

MetricValueStatus
6good
2good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: check_date_attribute

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3421

MetricValueStatus
6good
3good
5good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: check_fulltime_attribute

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3446

MetricValueStatus
6good
4good
5good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: finish_relate_arrays

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1254

MetricValueStatus
6good
13good
11good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: screen_frame

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 384

MetricValueStatus
6good
18good
12good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2025

MetricValueStatus
6good
10good
8good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: bad_field

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1510

MetricValueStatus
6good
6good
5good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: parse_screen_name

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 281

MetricValueStatus
6good
6good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: chk$rule_9

Filename: c:\\sheerpower\\sptools\\check_company.spinc
Line#: 261

MetricValueStatus
6good
19good
22moderate
SuggestionsWhere possible, replace literals with named constants.

Routine: get_default

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1863

MetricValueStatus
6good
11good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: add_record

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 826

MetricValueStatus
6good
17good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: change_fields

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1740

MetricValueStatus
6good
25good
8good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: mda_display_option

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1871

MetricValueStatus
6good
8good
12good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: mda_process_items

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1839

MetricValueStatus
6good
12good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2721

MetricValueStatus
6good
15good
11good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1795

MetricValueStatus
6good
5good
1good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: digit_check_before

Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 383

MetricValueStatus
6good
10good
9good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: show_info

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1685

MetricValueStatus
6good
18good
4good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1433

MetricValueStatus
6good
4good
12good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: check_relate_change

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4117

MetricValueStatus
6good
13good
10good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: logoff_session

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 307

MetricValueStatus
6good
9good
6good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: digit_check_after

Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 420

MetricValueStatus
6good
8good
5good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 899

MetricValueStatus
6good
11good
9good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: fulltime_ymd_mdy

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4369

MetricValueStatus
6good
4good
13good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: check_valid_seq

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4299

MetricValueStatus
6good
7good
4good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: fulltime_mdy_ymd

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4324

MetricValueStatus
6good
4good
13good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: main_ymd_to_mdy

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4348

MetricValueStatus
6good
3good
9good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: chk$rule_3

Filename: c:\\sheerpower\\sptools\\check_company.spinc
Line#: 155

MetricValueStatus
6good
12good
10good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: help_search_subtopic

Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 420

MetricValueStatus
5good
8good
7good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: find_parameters

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 614

MetricValueStatus
5good
33moderate
19moderate
SuggestionsRoutine is well-optimized. No changes needed.

Routine: check_valid_entry

Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 26

MetricValueStatus
5good
13good
11good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 394

MetricValueStatus
5good
4good
6good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: setup_valid_menu_items

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 352

MetricValueStatus
5good
10good
21moderate
SuggestionsWhere possible, replace literals with named constants.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1271

MetricValueStatus
5good
4good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: parse_file_line

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 119

MetricValueStatus
5good
34moderate
40critical
SuggestionsWhere possible, replace literals with named constants.

Routine: parse_default_command

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 190

MetricValueStatus
5good
4good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: ask_key_field

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2770

MetricValueStatus
5good
7good
16moderate
SuggestionsRoutine is well-optimized. No changes needed.

Routine: parse_open

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 771

MetricValueStatus
5good
32moderate
21moderate
SuggestionsWhere possible, replace literals with named constants.

Routine: display_file_command

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 698

MetricValueStatus
5good
20good
17moderate
SuggestionsRoutine is well-optimized. No changes needed.

Routine: read_background

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 664

MetricValueStatus
5good
14good
5good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: check_need_parameters

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 613

MetricValueStatus
5good
4good
12good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: change_mode

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3205

MetricValueStatus
5good
16good
4good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: parse_menu_modification

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 485

MetricValueStatus
5good
14good
14good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: store_def_info

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3307

MetricValueStatus
3good
29good
16moderate
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1051

MetricValueStatus
3good
3good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1028

MetricValueStatus
3good
2good
1good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1097

MetricValueStatus
3good
11good
10good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: check_ok_menu_items

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 520

MetricValueStatus
3good
7good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: parse_option

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 543

MetricValueStatus
3good
9good
4good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1215

MetricValueStatus
3good
15good
10good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: parse_start_mode

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 342

MetricValueStatus
3good
6good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: select_key_field

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2847

MetricValueStatus
3good
22good
13good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: check_valid_background_names

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 313

MetricValueStatus
3good
9good
8good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: calc_field_lengths

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3649

MetricValueStatus
3good
8good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: find_keyed_fields

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2805

MetricValueStatus
3good
17good
9good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1939

MetricValueStatus
3good
13good
13good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: check_screen_counters

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3855

MetricValueStatus
3good
19good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: use_command_file

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 33

MetricValueStatus
3good
21good
9good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: search_display

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2249

MetricValueStatus
3good
8good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: parse_relate_setup

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1094

MetricValueStatus
3good
9good
6good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: parse_relate_field_check

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1125

MetricValueStatus
3good
6good
4good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: search_done

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2228

MetricValueStatus
3good
4good
1good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: ask_for_field

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2118

MetricValueStatus
3good
17good
10good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: ask_new_data_wrap

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2039

MetricValueStatus
3good
14good
6good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: store_new_data

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1904

MetricValueStatus
3good
14good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: finish_relate_check_multiple

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1289

MetricValueStatus
3good
10good
7good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: get_numeric_key_fields

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1212

MetricValueStatus
3good
10good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: display_subsystem

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 428

MetricValueStatus
3good
6good
8good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: show_extract_status

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 739

MetricValueStatus
3good
19good
11good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: show_report_status

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 767

MetricValueStatus
3good
19good
11good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 492

MetricValueStatus
3good
15good
6good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: help_convert_init

Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 764

MetricValueStatus
3good
10good
4good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: do_change

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 861

MetricValueStatus
3good
12good
1good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: show_help

Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 200

MetricValueStatus
3good
12good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: get_desc_fld

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3950

MetricValueStatus
3good
9good
10good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: check_relate_for_more

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4070

MetricValueStatus
3good
20good
8good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: do_range_check

Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 77

MetricValueStatus
3good
12good
7good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 318

MetricValueStatus
3good
9good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: help_init_variables

Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 282

MetricValueStatus
3good
13good
10good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 51

MetricValueStatus
3good
7good
1good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: help_translate_nickname

Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 388

MetricValueStatus
3good
4good
4good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: chk$rule_2

Filename: c:\\sheerpower\\sptools\\check_company.spinc
Line#: 304

MetricValueStatus
3good
10good
8good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: do_relate_display

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4200

MetricValueStatus
3good
9good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: do_relate

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4232

MetricValueStatus
3good
8good
5good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: chk$rule_5

Filename: c:\\sheerpower\\sptools\\check_company.spinc
Line#: 186

MetricValueStatus
3good
7good
7good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 509

MetricValueStatus
3good
11good
12good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: help_load_rel_topic_array

Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 584

MetricValueStatus
3good
19good
22moderate
SuggestionsWhere possible, replace literals with named constants.

Routine: display_screen_background

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2424

MetricValueStatus
3good
13good
4good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4264

MetricValueStatus
3good
9good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: chk$rule_4

Filename: c:\\sheerpower\\sptools\\check_company.spinc
Line#: 134

MetricValueStatus
3good
4good
5good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: chk$rule_11

Filename: c:\\sheerpower\\sptools\\check_company.spinc
Line#: 115

MetricValueStatus
3good
6good
12good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: help_get_nickname

Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 630

MetricValueStatus
3good
7good
12good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: check_records_found

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1244

MetricValueStatus
2good
12good
8good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2502

MetricValueStatus
2good
15good
8good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2257

MetricValueStatus
2good
19good
24moderate
SuggestionsWhere possible, replace literals with named constants.

Routine: convert_24hour_time_to_12hour

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 491

MetricValueStatus
2good
22good
29moderate
SuggestionsWhere possible, replace literals with named constants.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 751

MetricValueStatus
2good
21good
10good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: do_contains_check

Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 209

MetricValueStatus
0good
13good
16moderate
SuggestionsRoutine is well-optimized. No changes needed.

Routine: maintain_finished

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4540

MetricValueStatus
0good
3good
0good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 29

MetricValueStatus
0good
4good
1good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: do_allow_check

Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 165

MetricValueStatus
0good
13good
15good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 109

MetricValueStatus
0good
36moderate
20moderate
SuggestionsRoutine is well-optimized. No changes needed.

Routine: do_integer_check

Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 134

MetricValueStatus
0good
5good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 247

MetricValueStatus
0good
15good
7good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 286

MetricValueStatus
0good
12good
5good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: do_number_check

Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 111

MetricValueStatus
0good
5good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 347

MetricValueStatus
0good
7good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 372

MetricValueStatus
0good
5good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: unquote_the_rest

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1600

MetricValueStatus
0good
6good
10good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: parse_attribute

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1584

MetricValueStatus
0good
6good
1good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: check_field

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1485

MetricValueStatus
0good
7good
1good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 543

MetricValueStatus
0good
14good
18moderate
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 591

MetricValueStatus
0good
11good
11good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 621

MetricValueStatus
0good
10good
10good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: finish_relate_check_structures

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1322

MetricValueStatus
0good
15good
7good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 683

MetricValueStatus
0good
7good
8good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: finish_relate_setup

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1224

MetricValueStatus
0good
6good
0good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: do_date_check

Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 243

MetricValueStatus
0good
9good
8good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 798

MetricValueStatus
0good
9good
4good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 827

MetricValueStatus
0good
8good
5good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: relate_key_field

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1189

MetricValueStatus
0good
9good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: parse_relate

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 1058

MetricValueStatus
0good
17good
4good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: start_new_display_screen

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 742

MetricValueStatus
0good
11good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: check_ok_parameter

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 643

MetricValueStatus
0good
5good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: parse_new_help

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 465

MetricValueStatus
0good
5good
0good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: parse_new_mask

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 446

MetricValueStatus
0good
6good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1074

MetricValueStatus
0good
7good
9good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: parse_new_prompt

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 386

MetricValueStatus
0good
9good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1129

MetricValueStatus
0good
3good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1167

MetricValueStatus
0good
16good
10good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: parse_background

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 365

MetricValueStatus
0good
7good
1good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1249

MetricValueStatus
0good
2good
1good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: initialize_to_use_file

Filename: c:\\sheerpower\\sptools\\parse_using.spinc
Line#: 71

MetricValueStatus
0good
15good
7good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1299

MetricValueStatus
0good
13good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1330

MetricValueStatus
0good
7good
7good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: close_main_struc

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4444

MetricValueStatus
0good
16good
0good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1414

MetricValueStatus
0good
4good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: close_all_struc

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4431

MetricValueStatus
0good
4good
0good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1468

MetricValueStatus
0good
4good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1488

MetricValueStatus
0good
3good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: do_fulltime_check

Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 268

MetricValueStatus
0good
10good
18moderate
SuggestionsRoutine is well-optimized. No changes needed.

Routine: paint_top_frame

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4392

MetricValueStatus
0good
10good
9good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1584

MetricValueStatus
0good
3good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: check_relate_display

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4162

MetricValueStatus
0good
18good
8good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: set_correct_structure

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4047

MetricValueStatus
0good
5good
0good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: get_other_desc

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4014

MetricValueStatus
0good
8good
4good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: get_key_desc

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3983

MetricValueStatus
0good
13good
4good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: mda_init

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 1817

MetricValueStatus
0good
9good
12good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: find_desc_fld

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3922

MetricValueStatus
0good
8good
4good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: goto_new_screen

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3891

MetricValueStatus
0good
6good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: add_to_screens

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3708

MetricValueStatus
0good
23good
10good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: init_screen_data

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3679

MetricValueStatus
0good
9good
4good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: calculate_screen_data

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3619

MetricValueStatus
0good
8good
1good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: get_clearing_len

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3576

MetricValueStatus
0good
7good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: get_def_info

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 3250

MetricValueStatus
0good
13good
0good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2090

MetricValueStatus
0good
7good
4good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2116

MetricValueStatus
0good
5good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: display_value_selection

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2970

MetricValueStatus
0good
9good
7good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: add_key_opt

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2943

MetricValueStatus
0good
6good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2223

MetricValueStatus
0good
10good
15good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: do_required_check

Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 298

MetricValueStatus
0good
4good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: remove_key_opt

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2922

MetricValueStatus
0good
6good
4good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2370

MetricValueStatus
0good
2good
0good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: mbm_get_info

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2388

MetricValueStatus
0good
5good
6good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: setup_key_field_pop_up_menu

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2893

MetricValueStatus
0good
13good
10good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: display_screen_data

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2499

MetricValueStatus
0good
12good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: mbm_append_comma

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2483

MetricValueStatus
0good
2good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: do_digit_check

Filename: c:\\sheerpower\\sptools\\validation.spinc
Line#: 346

MetricValueStatus
0good
16good
9good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: display_screen_prompt

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2472

MetricValueStatus
0good
10good
6good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: field_name_help

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2277

MetricValueStatus
0good
8good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2612

MetricValueStatus
0good
7good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2639

MetricValueStatus
0good
11good
6good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: search_screen

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2206

MetricValueStatus
0good
8good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: search_name

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2186

MetricValueStatus
0good
6good
1good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2757

MetricValueStatus
0good
2good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: ask_new_data_line

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 2072

MetricValueStatus
0good
20good
10good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\menu_routines.spinc
Line#: 2803

MetricValueStatus
0good
12good
15good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: input_response_yn

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 22

MetricValueStatus
0good
7good
5good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: util_noop

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 48

MetricValueStatus
0good
2good
1good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: check_company_for_store

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1933

MetricValueStatus
0good
14good
1good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: init_ask_vars

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 159

MetricValueStatus
0good
26good
10good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: switch_screens

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1786

MetricValueStatus
0good
5good
0good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: add_item_to_menu

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1442

MetricValueStatus
0good
11good
4good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: check_setup

Filename: c:\\sheerpower\\sptools\\check_company.spinc
Line#: 1

MetricValueStatus
0good
67moderate
42critical
SuggestionsWhere possible, replace literals with named constants.

Routine: ask_key_value

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1077

MetricValueStatus
0good
24good
9good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: init_inquire

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1041

MetricValueStatus
0good
7good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: do_inquire

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 1016

MetricValueStatus
0good
12good
0good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: ask_delete

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 962

MetricValueStatus
0good
8good
1good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: paint_bottom_frame

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 4413

MetricValueStatus
0good
8good
7good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: ymd_to_mdy

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 532

MetricValueStatus
0good
2good
4good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: mdy_to_ymd

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 550

MetricValueStatus
0good
2good
4good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: center_text

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 569

MetricValueStatus
0good
3good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: msg_display

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 586

MetricValueStatus
0good
12good
5good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: err_display

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 617

MetricValueStatus
0good
12good
5good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: err_pause

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 643

MetricValueStatus
0good
13good
8good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: msg_pause

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 669

MetricValueStatus
0good
11good
7good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: show_stats

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 686

MetricValueStatus
0good
47moderate
35critical
SuggestionsWhere possible, replace literals with named constants.

Routine: init_delete

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 942

MetricValueStatus
0good
7good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: init_change

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 884

MetricValueStatus
0good
8good
4good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: show_recs_searched

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 795

MetricValueStatus
0good
5good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: show_recs_selected

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 806

MetricValueStatus
0good
5good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: show_recs_printed

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 817

MetricValueStatus
0good
5good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: show_pages_printed

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 828

MetricValueStatus
0good
5good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: show_eoj

Filename: c:\\sheerpower\\sptools\\utility_routines.spinc
Line#: 839

MetricValueStatus
0good
19good
13good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: help_initialize

Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 143

MetricValueStatus
0good
4good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: help_me

Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 169

MetricValueStatus
0good
2good
0good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: init_add

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 802

MetricValueStatus
0good
9good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: help_init

Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 245

MetricValueStatus
0good
5good
1good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: do_add

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 777

MetricValueStatus
0good
8good
0good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: make_wide

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 754

MetricValueStatus
0good
9good
0good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: help_find_topic

Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 356

MetricValueStatus
0good
11good
3good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: make_narrow

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 725

MetricValueStatus
0good
9good
0good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: init_variables

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 568

MetricValueStatus
0good
24good
19moderate
SuggestionsRoutine is well-optimized. No changes needed.

Routine: init_struc_frame

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 485

MetricValueStatus
0good
14good
12good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: input_structure

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 468

MetricValueStatus
0good
8good
6good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 550

MetricValueStatus
0good
8good
7good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: get_parameters

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 390

MetricValueStatus
0good
7good
1good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: check_company

Filename: c:\\sheerpower\\sptools\\check_company.spinc
Line#: 72

MetricValueStatus
0good
43moderate
7good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: help_write_tmp_file

Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 657

MetricValueStatus
0good
10good
4good
SuggestionsRoutine is well-optimized. No changes needed.

Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 685

MetricValueStatus
0good
19good
23moderate
SuggestionsWhere possible, replace literals with named constants.

Routine: help_convert_to_html

Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 722

MetricValueStatus
0good
25good
19moderate
SuggestionsRoutine is well-optimized. No changes needed.

Routine: open_all_files

Filename: C:\\Sheerpower\\sptools\\maintain.spsrc
Line#: 333

MetricValueStatus
0good
2good
0good
SuggestionsRoutine is well-optimized. No changes needed.

Routine: help_cleanup_help

Filename: c:\\sheerpower\\sptools\\help.spinc
Line#: 797

MetricValueStatus
0good
5good
2good
SuggestionsRoutine is well-optimized. No changes needed.

Top Significant Include Files

Name

Top Significant Unused Variables

Name

Top Significant Unused Routines

Name

Top Significant Tables

Name

Top Significant Clusters


Top Significant Arrays

Name

Top Significant Pass Statements

Name

Top Significant Library Statements


Top Significant External Calls