Ticket #1 (assigned enhancement)

Opened 4 years ago

Last modified 16 months ago

Compute complexity statistics

Reported by: mgalloy Owned by: mgalloy
Priority: major Milestone: IDLdoc 3.4
Component: parsing Version: 3.3
Keywords: complexity Cc:

Description (last modified by mgalloy) (diff)

McCabe complexity statistics (McCabe cyclic, McCabe essential, McCabe modular design) were computed in the IDLdoc 2.0 code base. This functionality should be added to the IDLdoc 3.0 code base, though possibly in a simplified manner (i.e. reporting just one number).

Also, there should be user-defined limits for marking a routine as "complex" on the warnings page.

References for more information about the McCabe complexity statistics:

Change History

Changed 4 years ago by mgalloy

  • description modified (diff)

Changed 4 years ago by mgalloy

  • status changed from new to assigned
  • milestone changed from IDLdoc 3.1 to IDLdoc 3.2

Changed 3 years ago by mgalloy

  • version changed from 3.0 to 3.2
  • milestone changed from IDLdoc 3.2 to Future

Changed 3 years ago by mgalloy

r617 adds basic cyclomatic complexity calculations. There are user-defined limits with the COMPLEXITY_CUTOFFS keyword. The complexity computation should be further refined because currently it will parse comments and string literals while also not counting CASE and SWTICH statements correctly.

Changed 3 years ago by mgalloy

  • description modified (diff)

Changed 16 months ago by mgalloy

  • version changed from 3.2 to 3.3
  • milestone changed from Future to IDLdoc 3.4
Note: See TracTickets for help on using tickets.