google / shipshape

Program analysis platform
Apache License 2.0
271 stars 35 forks source link

Show subcategories #115

Open khatchad opened 9 years ago

khatchad commented 9 years ago

Please add an option to show subcategories of the various categories displayed upon using the --categories command line option. Perhaps --subcategories can take a category argument, e.g., :

shipshape --subcategories error-prone
ciera commented 8 years ago

This is going to be somewhat difficult. Some of the analysis tools do not make the subcategories easy to determine. There are others that create the subcategory dynamically.

supertriceratops commented 8 years ago

We could add a "GetSubcategories" call to the individual analyzer API...

On Sun, Nov 8, 2015 at 1:00 PM, Ciera Jaspan notifications@github.com wrote:

This is going to be somewhat difficult. Some of the analysis tools do not make the subcategories easy to determine. There are others that create the subcategory dynamically.

— Reply to this email directly or view it on GitHub https://github.com/google/shipshape/issues/115#issuecomment-154871548.

ciera commented 8 years ago

Yes, the problem is how the analyzers actually implement that. Most of the open source analyzers do not make getting this easy. Additionally, it implies that there is a static list. It prevents analyzers from being able to dynamically generate subcategory names.