Book a Demo

Author Topic: Package Metrics  (Read 4332 times)

ps22571

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Package Metrics
« on: September 09, 2005, 08:02:20 am »
We would like to use the Package Metrics Documentation supplied with EA, but unfortunately the metrics are based on Use Cases whilst we base our metrics on the number and complexity of classes. I use the complexity drop down on the class specification but I can't seem to find anything that reports on this value - am I missing something?  ???

what I'm looking for is:

Man Hours = (number of classes * hours per class * complexity factor)

thanks

thomaskilian

  • Guest
Re: Package Metrics
« Reply #1 on: September 12, 2005, 12:34:16 am »
Try this SQL:
Code: [Select]
SELECT t_package.Name, t_object.Name, t_object.Complexity, t_object.Object_Type
FROM t_object t_object, t_package t_package
WHERE t_package.Package_ID = t_object.Package_ID AND ((t_package.Name=<pck>) AND (t_object.Object_Type='Class'))

and replace <pck> with the name of your according package. The rest should be obvious.

ps22571

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Package Metrics
« Reply #2 on: September 12, 2005, 12:39:27 am »
I'm assuming I execute the sql within Enterprise Manager - not EA?

thanks

thomaskilian

  • Guest
Re: Package Metrics
« Reply #3 on: September 12, 2005, 03:59:55 am »
Sure ;D The advantage of having a database driven tool is that you can deploy the database with other tools. Hope it helps.

fhritz

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Package Metrics
« Reply #4 on: September 22, 2005, 06:22:21 am »
An EAP file is an MS-Access 97 file.

Open a new Access DB and Open the dialogs:

File --> Get External Data --> Link Tables
then choose the directory where your EAP file resides and enter the filename (will not be displayed because of the extension .EAP).

Then select all tables. Thats all to do.

Frank

ps22571

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Package Metrics
« Reply #5 on: September 22, 2005, 08:22:17 am »
Sorry, I think this message is going a bit off track - what I would have liked to have done is do my metrics within EA, basing my calculations on classes rather than use cases, not building my own Metrics routine using the values direct from the database tables.


Thanks

thomaskilian

  • Guest
Re: Package Metrics
« Reply #6 on: September 22, 2005, 01:29:58 pm »
EA does not have such functionality and will likely not have it in the near future. Inspecting the underlying database is not too far off. So I suggest to give it a try. Create an ODBC connection and use MSQRY32 for the EAP files (Access driver) or use your SQL tools for other databases.